r18n-core 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ == 1.1.3 (Saint Petersburg)
2
+ * Fix memory leak from cache key missmatch in Rails plugin (by silentshade).
3
+
1
4
  == 1.1.2 (Marshal)
2
5
  * Fix translation and untranslated marshalizing (by silentshade).
3
6
  * Allow to compare untranslated strings.
@@ -191,9 +191,9 @@ module R18n
191
191
  @available_codes ||= @translation_places.inject([]) { |all, i|
192
192
  all + i.available }.uniq.map { |i| i.code.downcase }
193
193
  (@locales_codes & @available_codes).join(',') + '@' +
194
- @filters.hash.to_s +
195
- R18n.default_loader.hash.to_s +
196
- @translation_places.hash.to_s +
194
+ @filters.hash.to_s + '_' +
195
+ R18n.default_loader.hash.to_s + '_' +
196
+ @translation_places.hash.to_s + '_' +
197
197
  R18n.extension_places.hash.to_s
198
198
  end
199
199
 
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module R18n
3
- VERSION = '1.1.2'.freeze unless defined? R18n::VERSION
3
+ VERSION = '1.1.3'.freeze unless defined? R18n::VERSION
4
4
  end
data/spec/i18n_spec.rb CHANGED
@@ -133,10 +133,12 @@ describe R18n::I18n do
133
133
  it "shouldn't clear cache when custom filters are specified" do
134
134
  counter = CounterLoader.new('en')
135
135
 
136
- R18n::I18n.new('en', counter, :off_filters => :untranslated, :on_filters => :untranslated_html)
136
+ R18n::I18n.new('en', counter, :off_filters => :untranslated,
137
+ :on_filters => :untranslated_html)
137
138
  counter.loaded.should == 1
138
139
 
139
- R18n::I18n.new('en', counter, :off_filters => :untranslated, :on_filters => :untranslated_html)
140
+ R18n::I18n.new('en', counter, :off_filters => :untranslated,
141
+ :on_filters => :untranslated_html)
140
142
  counter.loaded.should == 1
141
143
  end
142
144
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r18n-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,44 +9,42 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-19 00:00:00.000000000 Z
12
+ date: 2012-11-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
- name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.0.10
20
+ none: false
22
21
  type: :development
23
- prerelease: false
22
+ name: bundler
24
23
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
25
  - - ! '>='
28
26
  - !ruby/object:Gem::Version
29
27
  version: 1.0.10
28
+ none: false
29
+ prerelease: false
30
30
  - !ruby/object:Gem::Dependency
31
- name: yard
32
31
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
32
  requirements:
35
33
  - - ! '>='
36
34
  - !ruby/object:Gem::Version
37
35
  version: '0'
36
+ none: false
38
37
  type: :development
39
- prerelease: false
38
+ name: yard
40
39
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
40
  requirements:
43
41
  - - ! '>='
44
42
  - !ruby/object:Gem::Version
45
43
  version: '0'
44
+ none: false
45
+ prerelease: false
46
46
  - !ruby/object:Gem::Dependency
47
- name: rake
48
47
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
48
  requirements:
51
49
  - - ! '>='
52
50
  - !ruby/object:Gem::Version
@@ -54,10 +52,10 @@ dependencies:
54
52
  - - ! '!='
55
53
  - !ruby/object:Gem::Version
56
54
  version: 0.9.0
55
+ none: false
57
56
  type: :development
58
- prerelease: false
57
+ name: rake
59
58
  version_requirements: !ruby/object:Gem::Requirement
60
- none: false
61
59
  requirements:
62
60
  - - ! '>='
63
61
  - !ruby/object:Gem::Version
@@ -65,102 +63,104 @@ dependencies:
65
63
  - - ! '!='
66
64
  - !ruby/object:Gem::Version
67
65
  version: 0.9.0
66
+ none: false
67
+ prerelease: false
68
68
  - !ruby/object:Gem::Dependency
69
- name: rspec-core
70
69
  requirement: !ruby/object:Gem::Requirement
71
- none: false
72
70
  requirements:
73
71
  - - ! '>='
74
72
  - !ruby/object:Gem::Version
75
73
  version: '0'
74
+ none: false
76
75
  type: :development
77
- prerelease: false
76
+ name: rspec-core
78
77
  version_requirements: !ruby/object:Gem::Requirement
79
- none: false
80
78
  requirements:
81
79
  - - ! '>='
82
80
  - !ruby/object:Gem::Version
83
81
  version: '0'
82
+ none: false
83
+ prerelease: false
84
84
  - !ruby/object:Gem::Dependency
85
- name: rspec-expectations
86
85
  requirement: !ruby/object:Gem::Requirement
87
- none: false
88
86
  requirements:
89
87
  - - ! '>='
90
88
  - !ruby/object:Gem::Version
91
89
  version: '0'
90
+ none: false
92
91
  type: :development
93
- prerelease: false
92
+ name: rspec-expectations
94
93
  version_requirements: !ruby/object:Gem::Requirement
95
- none: false
96
94
  requirements:
97
95
  - - ! '>='
98
96
  - !ruby/object:Gem::Version
99
97
  version: '0'
98
+ none: false
99
+ prerelease: false
100
100
  - !ruby/object:Gem::Dependency
101
- name: rspec-mocks
102
101
  requirement: !ruby/object:Gem::Requirement
103
- none: false
104
102
  requirements:
105
103
  - - ! '>='
106
104
  - !ruby/object:Gem::Version
107
105
  version: '0'
106
+ none: false
108
107
  type: :development
109
- prerelease: false
108
+ name: rspec-mocks
110
109
  version_requirements: !ruby/object:Gem::Requirement
111
- none: false
112
110
  requirements:
113
111
  - - ! '>='
114
112
  - !ruby/object:Gem::Version
115
113
  version: '0'
114
+ none: false
115
+ prerelease: false
116
116
  - !ruby/object:Gem::Dependency
117
- name: kramdown
118
117
  requirement: !ruby/object:Gem::Requirement
119
- none: false
120
118
  requirements:
121
119
  - - ! '>='
122
120
  - !ruby/object:Gem::Version
123
121
  version: '0'
122
+ none: false
124
123
  type: :development
125
- prerelease: false
124
+ name: kramdown
126
125
  version_requirements: !ruby/object:Gem::Requirement
127
- none: false
128
126
  requirements:
129
127
  - - ! '>='
130
128
  - !ruby/object:Gem::Version
131
129
  version: '0'
130
+ none: false
131
+ prerelease: false
132
132
  - !ruby/object:Gem::Dependency
133
- name: RedCloth
134
133
  requirement: !ruby/object:Gem::Requirement
135
- none: false
136
134
  requirements:
137
135
  - - ! '>='
138
136
  - !ruby/object:Gem::Version
139
137
  version: '0'
138
+ none: false
140
139
  type: :development
141
- prerelease: false
140
+ name: RedCloth
142
141
  version_requirements: !ruby/object:Gem::Requirement
143
- none: false
144
142
  requirements:
145
143
  - - ! '>='
146
144
  - !ruby/object:Gem::Version
147
145
  version: '0'
146
+ none: false
147
+ prerelease: false
148
148
  - !ruby/object:Gem::Dependency
149
- name: redcarpet
150
149
  requirement: !ruby/object:Gem::Requirement
151
- none: false
152
150
  requirements:
153
151
  - - ! '>='
154
152
  - !ruby/object:Gem::Version
155
153
  version: '0'
154
+ none: false
156
155
  type: :development
157
- prerelease: false
156
+ name: redcarpet
158
157
  version_requirements: !ruby/object:Gem::Requirement
159
- none: false
160
158
  requirements:
161
159
  - - ! '>='
162
160
  - !ruby/object:Gem::Version
163
161
  version: '0'
162
+ none: false
163
+ prerelease: false
164
164
  description: ! " R18n is a i18n tool to translate your Ruby application.\n It
165
165
  has nice Ruby-style syntax, filters, flexible locales, custom loaders,\n translation
166
166
  support for any classes, time and number localization, several\n user language
@@ -291,23 +291,23 @@ rdoc_options: []
291
291
  require_paths:
292
292
  - lib
293
293
  required_ruby_version: !ruby/object:Gem::Requirement
294
- none: false
295
294
  requirements:
296
295
  - - ! '>='
297
296
  - !ruby/object:Gem::Version
297
+ hash: -2892883410893894166
298
298
  version: '0'
299
299
  segments:
300
300
  - 0
301
- hash: 631700017419690142
302
- required_rubygems_version: !ruby/object:Gem::Requirement
303
301
  none: false
302
+ required_rubygems_version: !ruby/object:Gem::Requirement
304
303
  requirements:
305
304
  - - ! '>='
306
305
  - !ruby/object:Gem::Version
306
+ hash: -2892883410893894166
307
307
  version: '0'
308
308
  segments:
309
309
  - 0
310
- hash: 631700017419690142
310
+ none: false
311
311
  requirements: []
312
312
  rubyforge_project:
313
313
  rubygems_version: 1.8.23