globalize 4.0.1 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +38 -73
- data/LICENSE +2 -1
- data/lib/globalize/active_record/adapter.rb +3 -2
- data/lib/globalize/active_record/class_methods.rb +1 -1
- data/lib/globalize/active_record/query_methods.rb +1 -1
- data/lib/globalize/version.rb +1 -1
- metadata +67 -40
- checksums.yaml +0 -7
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Globalize Changelog
|
|
2
2
|
|
|
3
|
+
## 4.0.2 (2014-6-29)
|
|
4
|
+
* Use `reflections` class method so `ensure_foreign_key_for` works in AR >= 4.1.2, fixes [#353](https://github.com/globalize/globalize/pull/353).
|
|
5
|
+
* Set `touch:true` on `belongs_to` for the globalized model, fixes [#330](https://github.com/globalize/globalize/pull/330) (thanks [shlensky](https://github.com/shlensky)).
|
|
6
|
+
* Accept optional arguments passed to `where_values_hash`, fixes [#354](https://github.com/globalize/globalize/pull/354) (thanks [felixbuenemann](https://github.com/felixbuenemann)).
|
|
7
|
+
|
|
3
8
|
## 4.0.1 (2014-3-29)
|
|
4
9
|
* Fix bug where `with_translations` only works if called after `where` in relation chain, fixes [#343](https://github.com/globalize/globalize/issues/343).
|
|
5
10
|
* Use `preload` and `joins` instead of `includes` in `with_translations`, fixes [#329](https://github.com/globalize/globalize/issues/329) (thanks [Andrew Volozhanin](https://github.com/scarfacedeb)).
|
data/Gemfile.lock
CHANGED
|
@@ -1,80 +1,51 @@
|
|
|
1
|
-
GIT
|
|
2
|
-
remote: git://github.com/bmabey/database_cleaner.git
|
|
3
|
-
revision: 072492166e82969136d1abaeccbcadaae4fe6539
|
|
4
|
-
branch: master
|
|
5
|
-
specs:
|
|
6
|
-
database_cleaner (1.2.0)
|
|
7
|
-
|
|
8
1
|
PATH
|
|
9
2
|
remote: .
|
|
10
3
|
specs:
|
|
11
|
-
globalize (4.0.
|
|
12
|
-
activemodel (
|
|
13
|
-
activerecord (
|
|
4
|
+
globalize (4.0.1)
|
|
5
|
+
activemodel (~> 4.1.0.beta1)
|
|
6
|
+
activerecord (~> 4.1.0.beta1)
|
|
14
7
|
|
|
15
8
|
GEM
|
|
16
9
|
remote: https://rubygems.org/
|
|
17
10
|
specs:
|
|
18
|
-
activemodel (4.
|
|
19
|
-
activesupport (= 4.
|
|
20
|
-
builder (~> 3.1
|
|
21
|
-
activerecord (4.
|
|
22
|
-
activemodel (= 4.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
minitest (~> 4.2)
|
|
30
|
-
multi_json (~> 1.3)
|
|
11
|
+
activemodel (4.1.2)
|
|
12
|
+
activesupport (= 4.1.2)
|
|
13
|
+
builder (~> 3.1)
|
|
14
|
+
activerecord (4.1.2)
|
|
15
|
+
activemodel (= 4.1.2)
|
|
16
|
+
activesupport (= 4.1.2)
|
|
17
|
+
arel (~> 5.0.0)
|
|
18
|
+
activesupport (4.1.2)
|
|
19
|
+
i18n (~> 0.6, >= 0.6.9)
|
|
20
|
+
json (~> 1.7, >= 1.7.7)
|
|
21
|
+
minitest (~> 5.1)
|
|
31
22
|
thread_safe (~> 0.1)
|
|
32
|
-
tzinfo (~>
|
|
23
|
+
tzinfo (~> 1.1)
|
|
33
24
|
ansi (1.4.3)
|
|
34
|
-
arel (
|
|
35
|
-
|
|
36
|
-
binding_of_caller (0.7.2)
|
|
37
|
-
debug_inspector (>= 0.0.1)
|
|
38
|
-
builder (3.1.4)
|
|
25
|
+
arel (5.0.1.20140414130214)
|
|
26
|
+
builder (3.2.2)
|
|
39
27
|
coderay (1.1.0)
|
|
40
|
-
|
|
41
|
-
debug_inspector (0.0.2)
|
|
42
|
-
debugger (1.6.3)
|
|
43
|
-
columnize (>= 0.3.1)
|
|
44
|
-
debugger-linecache (~> 1.2.0)
|
|
45
|
-
debugger-ruby_core_source (~> 1.2.4)
|
|
46
|
-
debugger-linecache (1.2.0)
|
|
47
|
-
debugger-ruby_core_source (1.2.4)
|
|
28
|
+
database_cleaner (1.2.0)
|
|
48
29
|
ffi2-generators (0.1.1)
|
|
49
|
-
hashie (2.0.5)
|
|
50
30
|
i18n (0.6.9)
|
|
51
31
|
json (1.8.1)
|
|
52
32
|
method_source (0.8.2)
|
|
53
|
-
minitest (
|
|
54
|
-
minitest-reporters (0.
|
|
33
|
+
minitest (5.3.5)
|
|
34
|
+
minitest-reporters (1.0.4)
|
|
55
35
|
ansi
|
|
56
36
|
builder
|
|
57
|
-
minitest (>=
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
polyamorous (0.6.4)
|
|
61
|
-
activerecord (>= 3.0)
|
|
62
|
-
powerbar (1.0.11)
|
|
63
|
-
ansi (~> 1.4.0)
|
|
64
|
-
hashie (>= 1.1.0)
|
|
65
|
-
pry (0.9.12.4)
|
|
37
|
+
minitest (>= 5.0)
|
|
38
|
+
ruby-progressbar
|
|
39
|
+
pry (0.9.12.6)
|
|
66
40
|
coderay (~> 1.0)
|
|
67
41
|
method_source (~> 0.8)
|
|
68
42
|
slop (~> 3.4)
|
|
69
|
-
pry-
|
|
70
|
-
debugger (~> 1.3)
|
|
43
|
+
pry-nav (0.2.3)
|
|
71
44
|
pry (~> 0.9.10)
|
|
72
|
-
|
|
73
|
-
binding_of_caller (>= 0.7)
|
|
74
|
-
pry (>= 0.9.11)
|
|
75
|
-
rake (10.1.1)
|
|
45
|
+
rake (10.3.2)
|
|
76
46
|
rdoc (4.1.1)
|
|
77
47
|
json (~> 1.4)
|
|
48
|
+
ruby-progressbar (1.5.1)
|
|
78
49
|
rubysl (2.0.15)
|
|
79
50
|
rubysl-abbrev (~> 2.0)
|
|
80
51
|
rubysl-base64 (~> 2.0)
|
|
@@ -233,12 +204,12 @@ GEM
|
|
|
233
204
|
rubysl-observer (2.0.0)
|
|
234
205
|
rubysl-open-uri (2.0.0)
|
|
235
206
|
rubysl-open3 (2.0.0)
|
|
236
|
-
rubysl-openssl (2.0
|
|
207
|
+
rubysl-openssl (2.1.0)
|
|
237
208
|
rubysl-optparse (2.0.1)
|
|
238
209
|
rubysl-shellwords (~> 2.0)
|
|
239
210
|
rubysl-ostruct (2.0.4)
|
|
240
211
|
rubysl-pathname (2.0.0)
|
|
241
|
-
rubysl-prettyprint (2.0.
|
|
212
|
+
rubysl-prettyprint (2.0.3)
|
|
242
213
|
rubysl-prime (2.0.1)
|
|
243
214
|
rubysl-profile (2.0.0)
|
|
244
215
|
rubysl-profiler (2.0.1)
|
|
@@ -246,9 +217,9 @@ GEM
|
|
|
246
217
|
rubysl-pty (2.0.2)
|
|
247
218
|
rubysl-rational (2.0.1)
|
|
248
219
|
rubysl-readline (2.0.2)
|
|
249
|
-
rubysl-resolv (2.
|
|
220
|
+
rubysl-resolv (2.1.0)
|
|
250
221
|
rubysl-rexml (2.0.2)
|
|
251
|
-
rubysl-rinda (2.0.
|
|
222
|
+
rubysl-rinda (2.0.1)
|
|
252
223
|
rubysl-rss (2.0.0)
|
|
253
224
|
rubysl-scanf (2.0.0)
|
|
254
225
|
rubysl-securerandom (2.0.0)
|
|
@@ -266,7 +237,7 @@ GEM
|
|
|
266
237
|
rubysl-thwait (2.0.0)
|
|
267
238
|
rubysl-time (2.0.3)
|
|
268
239
|
rubysl-timeout (2.0.0)
|
|
269
|
-
rubysl-tmpdir (2.0.
|
|
240
|
+
rubysl-tmpdir (2.0.1)
|
|
270
241
|
rubysl-tsort (2.0.1)
|
|
271
242
|
rubysl-un (2.0.0)
|
|
272
243
|
rubysl-fileutils (~> 2.0)
|
|
@@ -277,29 +248,23 @@ GEM
|
|
|
277
248
|
rubysl-xmlrpc (2.0.0)
|
|
278
249
|
rubysl-yaml (2.0.4)
|
|
279
250
|
rubysl-zlib (2.0.1)
|
|
280
|
-
slop (3.
|
|
281
|
-
sqlite3 (1.3.
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
polyamorous (~> 0.6.0)
|
|
286
|
-
thread_safe (0.1.3)
|
|
287
|
-
atomic
|
|
288
|
-
tzinfo (0.3.38)
|
|
251
|
+
slop (3.5.0)
|
|
252
|
+
sqlite3 (1.3.9)
|
|
253
|
+
thread_safe (0.3.4)
|
|
254
|
+
tzinfo (1.2.1)
|
|
255
|
+
thread_safe (~> 0.1)
|
|
289
256
|
|
|
290
257
|
PLATFORMS
|
|
291
258
|
ruby
|
|
292
259
|
|
|
293
260
|
DEPENDENCIES
|
|
294
|
-
database_cleaner
|
|
261
|
+
database_cleaner (~> 1.2.0)
|
|
295
262
|
globalize!
|
|
296
263
|
minitest
|
|
297
264
|
minitest-reporters
|
|
298
265
|
pry
|
|
299
|
-
pry-
|
|
300
|
-
pry-stack_explorer
|
|
266
|
+
pry-nav
|
|
301
267
|
rake
|
|
302
268
|
rdoc
|
|
303
269
|
rubysl (~> 2.0)
|
|
304
270
|
sqlite3
|
|
305
|
-
squeel
|
data/LICENSE
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
The MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2008
|
|
3
|
+
Copyright (c) 2008-2014 Sven Fuchs, Joshua Harvey, Clemens Kofler, John-Paul
|
|
4
|
+
Bader, Tomasz Stachewicz, Philip Arndt, Chris Salzberg
|
|
4
5
|
|
|
5
6
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
7
|
of this software and associated documentation files (the "Software"), to deal
|
|
@@ -51,9 +51,10 @@ module Globalize
|
|
|
51
51
|
|
|
52
52
|
protected
|
|
53
53
|
|
|
54
|
+
# Sometimes the translation is initialised before a foreign key can be set.
|
|
54
55
|
def ensure_foreign_key_for(translation)
|
|
55
|
-
#
|
|
56
|
-
translation[translation.reflections[:globalized_model].foreign_key] = record.id
|
|
56
|
+
# AR >= 4.1 reflections renamed to _reflections
|
|
57
|
+
translation[translation.class.reflections[:globalized_model].foreign_key] = record.id
|
|
57
58
|
end
|
|
58
59
|
|
|
59
60
|
def type_cast(name, value)
|
|
@@ -44,7 +44,7 @@ module Globalize
|
|
|
44
44
|
klass = self.const_set(:Translation, Class.new(Globalize::ActiveRecord::Translation))
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
klass.belongs_to :globalized_model, :class_name => self.name, :foreign_key => translation_options[:foreign_key]
|
|
47
|
+
klass.belongs_to :globalized_model, :class_name => self.name, :foreign_key => translation_options[:foreign_key], :touch => true
|
|
48
48
|
klass
|
|
49
49
|
end
|
|
50
50
|
end
|
|
@@ -42,7 +42,7 @@ module Globalize
|
|
|
42
42
|
end
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
-
def where_values_hash
|
|
45
|
+
def where_values_hash(*args)
|
|
46
46
|
equalities = respond_to?(:with_default_scope) ? with_default_scope.where_values : where_values
|
|
47
47
|
equalities = equalities.grep(Arel::Nodes::Equality).find_all { |node|
|
|
48
48
|
node.left.relation.name == translations_table_name
|
data/lib/globalize/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: globalize
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.2
|
|
5
|
+
prerelease:
|
|
5
6
|
platform: ruby
|
|
6
7
|
authors:
|
|
7
8
|
- Sven Fuchs
|
|
@@ -14,13 +15,14 @@ authors:
|
|
|
14
15
|
autorequire:
|
|
15
16
|
bindir: bin
|
|
16
17
|
cert_chain: []
|
|
17
|
-
date: 2014-
|
|
18
|
+
date: 2014-06-29 00:00:00.000000000 Z
|
|
18
19
|
dependencies:
|
|
19
20
|
- !ruby/object:Gem::Dependency
|
|
20
21
|
name: activerecord
|
|
21
22
|
requirement: !ruby/object:Gem::Requirement
|
|
23
|
+
none: false
|
|
22
24
|
requirements:
|
|
23
|
-
- - '>='
|
|
25
|
+
- - ! '>='
|
|
24
26
|
- !ruby/object:Gem::Version
|
|
25
27
|
version: 4.0.0
|
|
26
28
|
- - <
|
|
@@ -29,8 +31,9 @@ dependencies:
|
|
|
29
31
|
type: :runtime
|
|
30
32
|
prerelease: false
|
|
31
33
|
version_requirements: !ruby/object:Gem::Requirement
|
|
34
|
+
none: false
|
|
32
35
|
requirements:
|
|
33
|
-
- - '>='
|
|
36
|
+
- - ! '>='
|
|
34
37
|
- !ruby/object:Gem::Version
|
|
35
38
|
version: 4.0.0
|
|
36
39
|
- - <
|
|
@@ -39,8 +42,9 @@ dependencies:
|
|
|
39
42
|
- !ruby/object:Gem::Dependency
|
|
40
43
|
name: activemodel
|
|
41
44
|
requirement: !ruby/object:Gem::Requirement
|
|
45
|
+
none: false
|
|
42
46
|
requirements:
|
|
43
|
-
- - '>='
|
|
47
|
+
- - ! '>='
|
|
44
48
|
- !ruby/object:Gem::Version
|
|
45
49
|
version: 4.0.0
|
|
46
50
|
- - <
|
|
@@ -49,8 +53,9 @@ dependencies:
|
|
|
49
53
|
type: :runtime
|
|
50
54
|
prerelease: false
|
|
51
55
|
version_requirements: !ruby/object:Gem::Requirement
|
|
56
|
+
none: false
|
|
52
57
|
requirements:
|
|
53
|
-
- - '>='
|
|
58
|
+
- - ! '>='
|
|
54
59
|
- !ruby/object:Gem::Version
|
|
55
60
|
version: 4.0.0
|
|
56
61
|
- - <
|
|
@@ -59,6 +64,7 @@ dependencies:
|
|
|
59
64
|
- !ruby/object:Gem::Dependency
|
|
60
65
|
name: database_cleaner
|
|
61
66
|
requirement: !ruby/object:Gem::Requirement
|
|
67
|
+
none: false
|
|
62
68
|
requirements:
|
|
63
69
|
- - ~>
|
|
64
70
|
- !ruby/object:Gem::Version
|
|
@@ -66,6 +72,7 @@ dependencies:
|
|
|
66
72
|
type: :development
|
|
67
73
|
prerelease: false
|
|
68
74
|
version_requirements: !ruby/object:Gem::Requirement
|
|
75
|
+
none: false
|
|
69
76
|
requirements:
|
|
70
77
|
- - ~>
|
|
71
78
|
- !ruby/object:Gem::Version
|
|
@@ -73,71 +80,81 @@ dependencies:
|
|
|
73
80
|
- !ruby/object:Gem::Dependency
|
|
74
81
|
name: minitest
|
|
75
82
|
requirement: !ruby/object:Gem::Requirement
|
|
83
|
+
none: false
|
|
76
84
|
requirements:
|
|
77
|
-
- - '>='
|
|
85
|
+
- - ! '>='
|
|
78
86
|
- !ruby/object:Gem::Version
|
|
79
87
|
version: '0'
|
|
80
88
|
type: :development
|
|
81
89
|
prerelease: false
|
|
82
90
|
version_requirements: !ruby/object:Gem::Requirement
|
|
91
|
+
none: false
|
|
83
92
|
requirements:
|
|
84
|
-
- - '>='
|
|
93
|
+
- - ! '>='
|
|
85
94
|
- !ruby/object:Gem::Version
|
|
86
95
|
version: '0'
|
|
87
96
|
- !ruby/object:Gem::Dependency
|
|
88
97
|
name: minitest-reporters
|
|
89
98
|
requirement: !ruby/object:Gem::Requirement
|
|
99
|
+
none: false
|
|
90
100
|
requirements:
|
|
91
|
-
- - '>='
|
|
101
|
+
- - ! '>='
|
|
92
102
|
- !ruby/object:Gem::Version
|
|
93
103
|
version: '0'
|
|
94
104
|
type: :development
|
|
95
105
|
prerelease: false
|
|
96
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
+
none: false
|
|
97
108
|
requirements:
|
|
98
|
-
- - '>='
|
|
109
|
+
- - ! '>='
|
|
99
110
|
- !ruby/object:Gem::Version
|
|
100
111
|
version: '0'
|
|
101
112
|
- !ruby/object:Gem::Dependency
|
|
102
113
|
name: sqlite3
|
|
103
114
|
requirement: !ruby/object:Gem::Requirement
|
|
115
|
+
none: false
|
|
104
116
|
requirements:
|
|
105
|
-
- - '>='
|
|
117
|
+
- - ! '>='
|
|
106
118
|
- !ruby/object:Gem::Version
|
|
107
119
|
version: '0'
|
|
108
120
|
type: :development
|
|
109
121
|
prerelease: false
|
|
110
122
|
version_requirements: !ruby/object:Gem::Requirement
|
|
123
|
+
none: false
|
|
111
124
|
requirements:
|
|
112
|
-
- - '>='
|
|
125
|
+
- - ! '>='
|
|
113
126
|
- !ruby/object:Gem::Version
|
|
114
127
|
version: '0'
|
|
115
128
|
- !ruby/object:Gem::Dependency
|
|
116
129
|
name: rdoc
|
|
117
130
|
requirement: !ruby/object:Gem::Requirement
|
|
131
|
+
none: false
|
|
118
132
|
requirements:
|
|
119
|
-
- - '>='
|
|
133
|
+
- - ! '>='
|
|
120
134
|
- !ruby/object:Gem::Version
|
|
121
135
|
version: '0'
|
|
122
136
|
type: :development
|
|
123
137
|
prerelease: false
|
|
124
138
|
version_requirements: !ruby/object:Gem::Requirement
|
|
139
|
+
none: false
|
|
125
140
|
requirements:
|
|
126
|
-
- - '>='
|
|
141
|
+
- - ! '>='
|
|
127
142
|
- !ruby/object:Gem::Version
|
|
128
143
|
version: '0'
|
|
129
144
|
- !ruby/object:Gem::Dependency
|
|
130
145
|
name: rake
|
|
131
146
|
requirement: !ruby/object:Gem::Requirement
|
|
147
|
+
none: false
|
|
132
148
|
requirements:
|
|
133
|
-
- - '>='
|
|
149
|
+
- - ! '>='
|
|
134
150
|
- !ruby/object:Gem::Version
|
|
135
151
|
version: '0'
|
|
136
152
|
type: :development
|
|
137
153
|
prerelease: false
|
|
138
154
|
version_requirements: !ruby/object:Gem::Requirement
|
|
155
|
+
none: false
|
|
139
156
|
requirements:
|
|
140
|
-
- - '>='
|
|
157
|
+
- - ! '>='
|
|
141
158
|
- !ruby/object:Gem::Version
|
|
142
159
|
version: '0'
|
|
143
160
|
description: Rails I18n de-facto standard library for ActiveRecord model/data translation.
|
|
@@ -146,65 +163,75 @@ executables: []
|
|
|
146
163
|
extensions: []
|
|
147
164
|
extra_rdoc_files: []
|
|
148
165
|
files:
|
|
149
|
-
- lib/globalize
|
|
150
|
-
- lib/
|
|
166
|
+
- lib/globalize.rb
|
|
167
|
+
- lib/patches/active_record/xml_attribute_serializer.rb
|
|
168
|
+
- lib/patches/active_record/uniqueness_validator.rb
|
|
169
|
+
- lib/patches/active_record/query_method.rb
|
|
151
170
|
- lib/globalize/active_record.rb
|
|
152
|
-
- lib/globalize/active_record/attributes.rb
|
|
153
|
-
- lib/globalize/active_record/instance_methods.rb
|
|
154
171
|
- lib/globalize/active_record/adapter.rb
|
|
155
|
-
- lib/globalize/active_record/translation.rb
|
|
156
|
-
- lib/globalize/active_record/act_macro.rb
|
|
157
|
-
- lib/globalize/active_record/exceptions.rb
|
|
158
172
|
- lib/globalize/active_record/query_methods.rb
|
|
159
|
-
- lib/globalize/active_record/class_methods.rb
|
|
160
173
|
- lib/globalize/active_record/migration.rb
|
|
161
|
-
- lib/globalize.rb
|
|
174
|
+
- lib/globalize/active_record/act_macro.rb
|
|
175
|
+
- lib/globalize/active_record/translation.rb
|
|
176
|
+
- lib/globalize/active_record/instance_methods.rb
|
|
177
|
+
- lib/globalize/active_record/class_methods.rb
|
|
178
|
+
- lib/globalize/active_record/exceptions.rb
|
|
179
|
+
- lib/globalize/active_record/attributes.rb
|
|
180
|
+
- lib/globalize/version.rb
|
|
181
|
+
- lib/globalize/interpolation.rb
|
|
162
182
|
- lib/i18n/missing_translations_raise_handler.rb
|
|
163
183
|
- lib/i18n/missing_translations_log_handler.rb
|
|
164
|
-
- lib/patches/active_record/uniqueness_validator.rb
|
|
165
|
-
- lib/patches/active_record/query_method.rb
|
|
166
|
-
- lib/patches/active_record/xml_attribute_serializer.rb
|
|
167
184
|
- CONTRIBUTING.md
|
|
168
|
-
- Gemfile.lock
|
|
169
|
-
- CHANGELOG.md
|
|
170
|
-
- LICENSE
|
|
171
185
|
- Rakefile
|
|
186
|
+
- LICENSE
|
|
187
|
+
- CHANGELOG.md
|
|
172
188
|
- Gemfile
|
|
189
|
+
- Gemfile.lock
|
|
173
190
|
homepage: http://github.com/globalize/globalize
|
|
174
191
|
licenses:
|
|
175
192
|
- MIT
|
|
176
|
-
|
|
177
|
-
post_install_message: |2+
|
|
193
|
+
post_install_message: ! '
|
|
178
194
|
|
|
179
195
|
Globalize has extracted versioning support to a separate gem named
|
|
196
|
+
|
|
180
197
|
globalize-versioning. If you are using versioning (with paper_trail
|
|
198
|
+
|
|
181
199
|
or any other versioning gem), please add the line
|
|
182
|
-
|
|
200
|
+
|
|
201
|
+
"gem ''globalize-versioning''" to your Gemfile and go to the github
|
|
202
|
+
|
|
183
203
|
page at globalize/globalize-versioning if you encounter any problems.
|
|
184
204
|
|
|
205
|
+
|
|
185
206
|
Note that the globalize-versioning gem does not delegate versions to
|
|
207
|
+
|
|
186
208
|
the translation table, so you will have to update your syntax to
|
|
209
|
+
|
|
187
210
|
the form: `post.translation.versions`. See the globalize-versioning
|
|
211
|
+
|
|
188
212
|
readme for details.
|
|
189
213
|
|
|
214
|
+
|
|
215
|
+
'
|
|
190
216
|
rdoc_options: []
|
|
191
217
|
require_paths:
|
|
192
218
|
- lib
|
|
193
219
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
220
|
+
none: false
|
|
194
221
|
requirements:
|
|
195
|
-
- - '>='
|
|
222
|
+
- - ! '>='
|
|
196
223
|
- !ruby/object:Gem::Version
|
|
197
224
|
version: '0'
|
|
198
225
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
|
+
none: false
|
|
199
227
|
requirements:
|
|
200
|
-
- - '>='
|
|
228
|
+
- - ! '>='
|
|
201
229
|
- !ruby/object:Gem::Version
|
|
202
230
|
version: '0'
|
|
203
231
|
requirements: []
|
|
204
|
-
rubyforge_project: '[none]'
|
|
205
|
-
rubygems_version:
|
|
232
|
+
rubyforge_project: ! '[none]'
|
|
233
|
+
rubygems_version: 1.8.23
|
|
206
234
|
signing_key:
|
|
207
|
-
specification_version:
|
|
235
|
+
specification_version: 3
|
|
208
236
|
summary: Rails I18n de-facto standard library for ActiveRecord model/data translation
|
|
209
237
|
test_files: []
|
|
210
|
-
has_rdoc:
|
checksums.yaml
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
SHA1:
|
|
3
|
-
metadata.gz: d231d24dbd88077635e6a9252927db9581754f9a
|
|
4
|
-
data.tar.gz: 33f23cc80e09b4d7a31993c729fb1fa5fc6be140
|
|
5
|
-
SHA512:
|
|
6
|
-
metadata.gz: 0fa224e4b6bd57d262c957e48309fd94e46f06cd5b78a9441e4309ba7182b6fff7ed6a98bbae3b41a5662afc18ac6bd727b04827ac94f7a1bc96db39a1b790c9
|
|
7
|
-
data.tar.gz: d5edeb87b6e85ad499bedeec83c4df6174171897ea8916f109a116f10bb0fad86fefa8205a67acd0d5eb205c0a30b9d617b0a64c9635cb0986faa771465c577e
|