i18n 0.5.0beta3 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of i18n might be problematic. Click here for more details.

@@ -1,3 +1,12 @@
1
+ # This backports the Ruby 1.9 String interpolation syntax to Ruby 1.8.
2
+ #
3
+ # This backport has been shipped with I18n for a number of versions. Meanwhile
4
+ # Rails has started to rely on it and we are going to move it to ActiveSupport.
5
+ # See https://rails.lighthouseapp.com/projects/8994/tickets/6013-move-19-string-interpolation-syntax-backport-from-i18n-to-activesupport
6
+ #
7
+ # Once the above patch has been applied to Rails the following code will be
8
+ # removed from I18n.
9
+
1
10
  =begin
2
11
  heavily based on Masao Mutoh's gettext String interpolation extension
3
12
  http://github.com/mutoh/gettext/blob/f6566738b981fe0952548c421042ad1e0cdfb31e/lib/gettext/core_ext/string.rb
data/lib/i18n/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module I18n
2
- VERSION = "0.5.0beta3"
2
+ VERSION = "0.5.0"
3
3
  end
@@ -1,4 +1,5 @@
1
1
  require 'test_helper'
2
+ require 'i18n/core_ext/string/interpolate'
2
3
 
3
4
  # thanks to Masao's String extensions, some tests taken from Masao's tests
4
5
  # http://github.com/mutoh/gettext/blob/edbbe1fa8238fa12c7f26f2418403015f0270e47/test/test_string.rb
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n
3
3
  version: !ruby/object:Gem::Version
4
- hash: -1150612295
5
- prerelease: true
4
+ hash: 11
5
+ prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0beta3
10
- version: 0.5.0beta3
9
+ - 0
10
+ version: 0.5.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sven Fuchs
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2010-11-18 00:00:00 +01:00
22
+ date: 2010-11-29 00:00:00 +01:00
23
23
  default_executable:
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency