This project is archived and is in readonly mode.
[PATCH] Update vendored i18n gem to version 0.3.3
-
Jeremy Kemper
- State changed from new to open
Hey Sven, I happened to try this a few days ago but ran into breakage on Ruby 1.9.
On 1.8, all tests pass except AS test_time_zone_localization_with_default_format: "Sat, 01 Jan 2000 00:00:00 -0800" expected but was "Wed, 01 Jul 2000 00:00:00 -0800"
On 1.9: same AS failure, three AP failures with test_number_to_human_size (ArgumentError: malformed format string - %n), and two AMo failures (e.g. test_percent_s_interpolation_syntax_in_error_messages_was_deprecated).
-
Sven Fuchs
Ummmm ...
Ok, the failing test on 1.8 looks like you've tried I18n 0.2.0. iirc that's the bug we've fixed in 0.2.1
Dunno about 1.9 though - will look into it asap. Thanks! :)
-
Jeremy Kemper
Could you release a 0.2.1 (or 0.2.1.pre) gem?
-
Sven Fuchs
Hi Jeremy,
I've fixed a few Ruby 1.9 issues and will do another bugfix release 0.2.2 for these (0.2.1 is on gemcutter meanwhile): http://github.com/svenfuchs/i18n/commits/0.2.x
I've removed the old patch and will attach a new one that contains these fixes and already uses the version number 0.2.2. Tests pass on Ruby 1.9 now, too.
I'll push the 0.2.2 gem as soon as you've merged the patch - just in case you still find something that needs to be fixed :)
Thanks!
-
Sven Fuchs
Hi Jeremy,
I've merged your changes from http://github.com/jeremy/i18n/commits to master: http://github.com/svenfuchs/i18n/commits/master
Thanks :)
-
stanislav
- Tag changed from gem, i18n, vendor to gem, i18n, ruby1.9, vendor
- Assigned user cleared.
I have one more issue with ruby 1.9 and the gem for i18n.
In our project we're using strings as keys and as a result I get this Exception:
undefined method
inject' for "Андора":String<br/> .../ruby-1.9.1-p376/gems/activesupport-2.3.5/lib/active_support/vendor/i18n-0.1.3/lib/i18n/backend/simple.rb:206:indeep_symbolize_keys' -
Prem Sichanugrist (sikachu)
- Assigned user set to Prem Sichanugrist (sikachu)
@stanislav
Please try to install latest i18n gem (0.3.3) and see if problem still exists.
I'll upload patch for 2-3-stable with i18n-0.3.3 soon.
-
Prem Sichanugrist (sikachu)
- Tag changed from gem, i18n, ruby1.9, vendor to gem, i18n, patch, review, ruby1.9, vendor
- Assigned user changed from Prem Sichanugrist (sikachu) to José Valim
All tests pass on i18n-0.3.3 with Ruby 1.8.7p174 and 1.9.1p376
All tests pass on active_support after update the vendored gem on 2-3-stable
Please review this patch :)
-
Prem Sichanugrist (sikachu)
- State changed from open to verified
- Title changed from Update vendored i18n gem to version 0.2.1 to [PATCH] Update vendored i18n gem to version 0.3.3
-
Repository
(from [652bdeb3c3ef3692108cb3364f92df672f1dc1a7]) Update vendored i18n gem to 0.3.3 [#3492 [PATCH] Update vendored i18n gem to version 0.3.3 status:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/652bdeb3c3ef3692108cb3364f92df... -
José Valim
- State changed from verified to resolved
