Source: ruby-i18n-inflector-rails Version: 1.0.7-4.1 Severity: normal -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
While fixing the package for the Ruby 3.0 and Rails 6.1 transition, I discovered that the tests actually hide a bug in the code. Several tests throw: NameError: uninitialized constant I18n::Inflector::Rails::BadInflectionKind and indeed, this class is called twice via I18n::Inflector::Rails::BadInflectionKind.new() but I cannot find any definiton. The i18n-inflector gem contains a I18n::BadInflectionKind class, but it requires to pass the locale as well, which is not available in the no_inflection_method_for() method. This looks like a genuine bug and the upstream project hasn't seen any development since 2013. The only package using this gem is diaspora. Regards, Daniel - -- System Information: Debian Release: bookworm/sid APT prefers unstable APT policy: (990, 'unstable'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.14.0-4-amd64 (SMP w/8 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmGgL9MACgkQS80FZ8KW 0F15bw//f8p2/V2FElGchMN7QUt1JsswDs4NYDOXjGf9OIAA62VQCzP3a5izgYgb 9XFoSyh8DzU1CVXH908+kwHkhbQfVfaQSdj0IopdztCiRztlHgbsYQXLf6meQqpT 9OHBTL4HeUFaObI915IR1F9YmHfL7c9Pu0zwxTjkGwEBmX/5iAtR7NE6YELL2fBT uvOdqKAcnbc+kf8hbWbVBC/efcx+I7ajdax77q7QYrTnLjjQsdwys878ZxrkYg0p Tbrm2YE01P3t20PLSIDrsIVNrdA96tru6IyFaqnZZARI/WIi1b8MKryYrPA1/qjd SczUOFZbgslaWN3nc7RS7ybA5bbAEhF6H3ZORtlEvcGvKLnCa7LKPOqwt3JEh5G+ 97XJD/vLOzn26rco2LhuPU35B8Ls1WWT3TPQPr/AdLRdE4jzHepAioy9V2d1EXI3 FmT6KxD4QoJ8e0OcVXr50Abz+Ftmoi4VjEZNJyHV5Nr+icIUFwpoFWPuMJ4FTxyQ VMGYBYct5Z6C/HiKPn554+BlmhGp9FD7LJIqmHv+kcHmJLdFGHxfTS1cdeZ7uNFc B9S3aZLG3QBZPL1T2BKsk+D7YOOxGF8ng4AWKqEzxW56KfoGbvF/TllJwXq0VxOm c/x/1nVsMOrWRaDveDWm03UpJF5o0930G63lOLXHmWEUBYlNNLM= =a9YU -----END PGP SIGNATURE-----