symbolize 4.4.1 → 4.5.0

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.
@@ -7,6 +7,7 @@ class Person
7
7
  include Mongoid::Document
8
8
  include Mongoid::Symbolize
9
9
  include Mongoid::Timestamps
10
+ include Mongoid::Attributes::Dynamic
10
11
 
11
12
  symbolize :other, :i18n => false
12
13
 
@@ -49,6 +50,7 @@ end
49
50
  class Right
50
51
  include Mongoid::Document
51
52
  include Mongoid::Symbolize
53
+ include Mongoid::Attributes::Dynamic
52
54
 
53
55
  validates :name, :presence => true
54
56
  symbolize :kind, :in => [:temp, :perm], :default => :perm
@@ -62,9 +64,9 @@ class Project
62
64
  field :state, :default => 'active'
63
65
 
64
66
  # Comment 1 line and it works, both fails:
65
- default_scope where(:state => 'active')
66
- # scope :inactive, any_in(:state => [:done, :wip])
67
- scope :dead, all_of(:state => :wip, :name => "zim")
67
+ default_scope -> { where(:state => 'active') }
68
+ scope :inactive, -> { any_in(:state => [:done, :wip]) }
69
+ scope :dead, -> { all_of(:state => :wip, :name => 'zim') }
68
70
 
69
71
  end
70
72
 
@@ -72,13 +74,13 @@ end
72
74
  describe "Symbolize" do
73
75
 
74
76
  it "should be a module" do
75
- Mongoid.const_defined?("Symbolize").should be_true
77
+ expect(Mongoid.const_defined?("Symbolize")).to be true
76
78
  end
77
79
 
78
80
  it "should instantiate" do
79
81
  anna = Person.create(:name => 'Anna', :so => :mac, :gui => :cocoa, :language => :pt, :status => :active, :sex => true)
80
82
  #anna.should be_valid
81
- anna.errors.messages.should eql({})
83
+ expect(anna.errors.messages).to eql({})
82
84
  end
83
85
 
84
86
  describe "Person Instantiated" do
@@ -86,22 +88,22 @@ describe "Symbolize" do
86
88
 
87
89
  it "test_symbolize_string" do
88
90
  person.status = 'inactive'
89
- person.status.should eql(:inactive)
90
- person.read_attribute(:status).should eql(:inactive)
91
+ expect(person.status).to eql(:inactive)
92
+ expect(person.read_attribute(:status)).to eql(:inactive)
91
93
  end
92
94
 
93
95
  it "test_symbolize_symbol" do
94
96
  person.status = :active
95
- person.status.should eql(:active)
97
+ expect(person.status).to eql(:active)
96
98
  person.save
97
- person.status.should eql(:active)
98
- person[:status].should eql(:active)
99
+ expect(person.status).to eql(:active)
100
+ expect(person[:status]).to eql(:active)
99
101
  end
100
102
 
101
103
  it "should make strings symbols from initializer" do
102
104
  other = Person.new(language: 'en', :so => :mac, :gui => :cocoa, :language => :pt, :sex => true, :status => 'active')
103
- other[:status].should eq(:active)
104
- other.status.should eq(:active)
105
+ expect(other[:status]).to eq(:active)
106
+ expect(other.status).to eq(:active)
105
107
  end
106
108
 
107
109
  # it "should work nice with numbers" do
@@ -112,125 +114,139 @@ describe "Symbolize" do
112
114
  # # person.read_attribute(:status).should be_nil
113
115
  # end
114
116
 
115
- it "should acts nice with nil" do
117
+ it "should acts nice with nil when reading" do
116
118
  person.karma = nil
117
- person.karma.should be_nil
119
+ expect(person.karma).to be_nil
118
120
  person.save
119
- person.read_attribute(:karma).should be_nil
121
+ expect(person.read_attribute(:karma)).to be_nil
120
122
  end
121
123
 
122
- it "should acts nice with blank" do
124
+ it "should acts nice with nil #symbol_text" do
125
+ person.karma = nil
126
+ expect(person.karma).to be_nil
127
+ person.save
128
+ expect(person.karma_text).to be_nil
129
+ end
130
+
131
+ it "should acts nice with blank when reading" do
132
+ person.so = ""
133
+ expect(person.so).to be_blank
134
+ person.save
135
+ expect(person.read_attribute(:so)).to be_blank
136
+ end
137
+
138
+ it "should acts nice with blank #symbol_text" do
123
139
  person.so = ""
124
- person.so.should be_blank
140
+ expect(person.so).to be_blank
125
141
  person.save
126
- person.read_attribute(:so).should be_blank
142
+ expect(person.so_text).to be_nil
127
143
  end
128
144
 
129
145
  it "should not validates other" do
130
146
  person.other = nil
131
- person.should be_valid
147
+ expect(person).to be_valid
132
148
  person.other = ""
133
- person.should be_valid
149
+ expect(person).to be_valid
134
150
  end
135
151
 
136
152
  it "should get the correct values" do
137
- Person.get_status_values.should eql([["Active", :active],["Inactive", :inactive]])
138
- Person::STATUS_VALUES.should eql({ inactive: "Inactive", active: "Active"})
153
+ expect(Person.get_status_values).to eql([["Active", :active],["Inactive", :inactive]])
154
+ expect(Person::STATUS_VALUES).to eql({ inactive: "Inactive", active: "Active"})
139
155
  end
140
156
 
141
157
  it "should get the values for RailsAdmin" do
142
- Person.status_enum.should eql([["Active", :active],["Inactive", :inactive]])
158
+ expect(Person.status_enum).to eql([["Active", :active],["Inactive", :inactive]])
143
159
  end
144
160
 
145
161
  it "should have a human _text method" do
146
- person.status_text.should eql("Active")
162
+ expect(person.status_text).to eql("Active")
147
163
  end
148
164
 
149
165
  it "should work nice with i18n" do
150
- person.language_text.should eql("Português")
166
+ expect(person.language_text).to eql("Português")
151
167
  end
152
168
 
153
169
  it "test_symbolize_humanize" do
154
- person.status_text.should eql("Active")
170
+ expect(person.status_text).to eql("Active")
155
171
  end
156
172
 
157
173
  it "should get the correct values" do
158
- Person.get_gui_values.should =~ [["cocoa", :cocoa], ["qt", :qt], ["gtk", :gtk]]
159
- Person::GUI_VALUES.should eql({cocoa: "cocoa", qt: "qt", gtk: "gtk"})
174
+ expect(Person.get_gui_values).to match_array([["cocoa", :cocoa], ["qt", :qt], ["gtk", :gtk]])
175
+ expect(Person::GUI_VALUES).to eql({cocoa: "cocoa", qt: "qt", gtk: "gtk"})
160
176
  end
161
177
 
162
178
  it "test_symbolize_humanize" do
163
- person.gui_text.should eql("qt")
179
+ expect(person.gui_text).to eql("qt")
164
180
  end
165
181
 
166
182
  it "should get the correct values" do
167
- Person.get_so_values.should =~ [["Linux", :linux], ["Mac OS X", :mac], ["Videogame", :win]]
168
- Person::SO_VALUES.should eql({linux: "Linux", mac: "Mac OS X", win: "Videogame"})
183
+ expect(Person.get_so_values).to match_array([["Linux", :linux], ["Mac OS X", :mac], ["Videogame", :win]])
184
+ expect(Person::SO_VALUES).to eql({linux: "Linux", mac: "Mac OS X", win: "Videogame"})
169
185
  end
170
186
 
171
187
  it "test_symbolize_humanize" do
172
- person.so_text.should eql("Linux")
188
+ expect(person.so_text).to eql("Linux")
173
189
  end
174
190
 
175
191
  it "test_symbolize_humanize" do
176
192
  person.so = :mac
177
- person.so_text.should eql("Mac OS X")
193
+ expect(person.so_text).to eql("Mac OS X")
178
194
  end
179
195
 
180
196
  it "should stringify" do
181
- person.other_text.should eql("fo")
197
+ expect(person.other_text).to eql("fo")
182
198
  person.other = :foo
183
- person.other_text.should eql("foo")
199
+ expect(person.other_text).to eql("foo")
184
200
  end
185
201
 
186
202
  it "should work with weird chars" do
187
203
  person.status = :"weird'; chars"
188
- person.status.should eql(:"weird'; chars")
204
+ expect(person.status).to eql(:"weird'; chars")
189
205
  end
190
206
 
191
207
  it "should work fine through relations" do
192
208
  person.extras.create(:key => :one)
193
- PersonExtra.first.key.should eql(:one)
209
+ expect(PersonExtra.first.key).to eql(:one)
194
210
  end
195
211
 
196
212
  it "should work fine through embeds" do
197
213
  person.skills.create(:kind => :magic)
198
- person.skills.first.kind.should eql(:magic)
214
+ expect(person.skills.first.kind).to eql(:magic)
199
215
  end
200
216
 
201
217
  it "should default planet to earth" do
202
- Person.new.planet.should eql(:earth)
218
+ expect(Person.new.planet).to eql(:earth)
203
219
  end
204
220
 
205
221
  describe "validation" do
206
222
 
207
223
  it "should validate from initializer" do
208
224
  other = Person.new(language: 'en', :so => :mac, :gui => :cocoa, :language => :pt, :sex => true, :status => 'active')
209
- other.should be_valid
210
- other.errors.messages.should eq({})
225
+ expect(other).to be_valid
226
+ expect(other.errors.messages).to eq({})
211
227
  end
212
228
 
213
229
  it "should validate nil" do
214
230
  person.status = nil
215
- person.should_not be_valid
216
- person.errors.messages.should have_key(:status)
231
+ expect(person).not_to be_valid
232
+ expect(person.errors.messages).to have_key(:status)
217
233
  end
218
234
 
219
235
  it "should validate not included" do
220
236
  person.language = 'xx'
221
- person.should_not be_valid
222
- person.errors.messages.should have_key(:language)
237
+ expect(person).not_to be_valid
238
+ expect(person.errors.messages).to have_key(:language)
223
239
  end
224
240
 
225
241
  it "should not validate so" do
226
242
  person.so = nil
227
- person.should be_valid
243
+ expect(person).to be_valid
228
244
  end
229
245
 
230
246
  it "should validate ok" do
231
247
  person.language = 'pt'
232
- person.should be_valid
233
- person.errors.messages.should eq({})
248
+ expect(person).to be_valid
249
+ expect(person.errors.messages).to eq({})
234
250
  end
235
251
 
236
252
  end
@@ -238,46 +254,46 @@ describe "Symbolize" do
238
254
  describe "i18n" do
239
255
 
240
256
  it "should test i18n ones" do
241
- person.language_text.should eql("Português")
257
+ expect(person.language_text).to eql("Português")
242
258
  end
243
259
 
244
260
  it "should get the correct values" do
245
- Person.get_language_values.should =~ [["Português", :pt], ["Inglês", :en]]
261
+ expect(Person.get_language_values).to match_array([["Português", :pt], ["Inglês", :en]])
246
262
  end
247
263
 
248
264
  it "should get the correct values" do
249
- Person::LANGUAGE_VALUES.should eql({:pt=>"pt", :en=>"en"})
265
+ expect(Person::LANGUAGE_VALUES).to eql({:pt=>"pt", :en=>"en"})
250
266
  end
251
267
 
252
268
  it "should test boolean" do
253
- person.sex_text.should eql("Feminino")
269
+ expect(person.sex_text).to eql("Feminino")
254
270
  end
255
271
 
256
272
  it "should get the correct values" do
257
- Person.get_sex_values.should eql([["Feminino", true],["Masculino", false]])
273
+ expect(Person.get_sex_values).to eql([["Feminino", true],["Masculino", false]])
258
274
  end
259
275
 
260
276
  it "should get the correct values" do
261
- Person::SEX_VALUES.should eql({true=>"true", false=>"false"})
277
+ expect(Person::SEX_VALUES).to eql({true=>"true", false=>"false"})
262
278
  end
263
279
 
264
280
  it "should translate a multiword classname" do
265
281
  skill = PersonSkill.new(:kind => :magic)
266
- skill.kind_text.should eql("Mágica")
282
+ expect(skill.kind_text).to eql("Mágica")
267
283
  end
268
284
 
269
285
  it "should return nil if there's no value" do
270
286
  skill = PersonSkill.new(:kind => nil)
271
- skill.kind_text.should be_nil
287
+ expect(skill.kind_text).to be_nil
272
288
  end
273
289
 
274
290
  it "should return the proper 'false' i18n if the attr value is false" do
275
291
  person = Person.new(:sex => false)
276
- person.sex_text.should == "Masculino"
292
+ expect(person.sex_text).to eq("Masculino")
277
293
  end
278
294
 
279
295
  it "should use i18n if i18n => true" do
280
- person.sex_text.should eql("Feminino")
296
+ expect(person.sex_text).to eql("Feminino")
281
297
  end
282
298
 
283
299
  end
@@ -285,20 +301,20 @@ describe "Symbolize" do
285
301
  describe "Methods" do
286
302
 
287
303
  it "should play nice with other stuff" do
288
- person.karma.should be_nil
289
- Person::KARMA_VALUES.should eql({:bad => "bad", :ugly => "ugly", :good => "good"})
304
+ expect(person.karma).to be_nil
305
+ expect(Person::KARMA_VALUES).to eql({:bad => "bad", :ugly => "ugly", :good => "good"})
290
306
  end
291
307
 
292
308
  it "should provide a boolean method" do
293
- person.should_not be_good
309
+ expect(person).not_to be_good
294
310
  person.karma = :ugly
295
- person.should be_ugly
311
+ expect(person).to be_ugly
296
312
  end
297
313
 
298
314
  it "should work" do
299
315
  person.karma = "good"
300
- person.should be_good
301
- person.should_not be_bad
316
+ expect(person).to be_good
317
+ expect(person).not_to be_bad
302
318
  end
303
319
 
304
320
  end
@@ -309,18 +325,18 @@ describe "Symbolize" do
309
325
 
310
326
  it "should not interfer on create" do
311
327
  Right.create!(:name => "p7", :kind => :temp)
312
- Right.where(name: "p7").first.kind.should eql(:temp)
328
+ expect(Right.where(name: "p7").first.kind).to eql(:temp)
313
329
  end
314
330
 
315
331
  it "should work on create" do
316
332
  pm = Right.new(:name => "p7")
317
- pm.should be_valid
318
- pm.save.should be_true
333
+ expect(pm).to be_valid
334
+ expect(pm.save).to be true
319
335
  end
320
336
 
321
337
  it "should work on create" do
322
338
  Right.create(:name => "p8")
323
- Right.find_by(name: "p8").kind.should eql(:perm)
339
+ expect(Right.find_by(name: "p8").kind).to eql(:perm)
324
340
  end
325
341
 
326
342
  it "should work on edit" do
@@ -328,7 +344,7 @@ describe "Symbolize" do
328
344
  pm = Right.where(name: "p8").first
329
345
  pm.kind = :temp
330
346
  pm.save
331
- Right.where(name: "p8").first.kind.should eql(:temp)
347
+ expect(Right.where(name: "p8").first.kind).to eql(:temp)
332
348
  end
333
349
 
334
350
  end
@@ -336,11 +352,11 @@ describe "Symbolize" do
336
352
  describe "Default Values" do
337
353
 
338
354
  it "should use default value on object build" do
339
- Right.new.kind.should eql(:perm)
355
+ expect(Right.new.kind).to eql(:perm)
340
356
  end
341
357
 
342
358
  it "should use default value in string" do
343
- Project.new.state.should eql('active')
359
+ expect(Project.new.state).to eql('active')
344
360
  end
345
361
 
346
362
  end
@@ -356,24 +372,24 @@ describe "Symbolize" do
356
372
  it "should work under scope" do
357
373
  Project.create(:name => "A", :state => :done)
358
374
  Project.create(:name => "B", :state => :active)
359
- Project.count.should eql(1)
375
+ expect(Project.count).to eql(1)
360
376
  end
361
377
 
362
378
  it "should now shallow scoped scopes" do
363
379
  Person.create(:name => 'Bob' , :other => :bar, :status => :active, :so => :linux, :gui => :gtk, :language => :en, :sex => false, :cool => false)
364
- Person.should_not respond_to(:status)
380
+ expect(Person).not_to respond_to(:status)
365
381
  end
366
382
 
367
383
  it "should set some scopes" do
368
384
  Person.create(:name => 'Bob' , :other => :bar, :status => :active, :so => :linux, :gui => :gtk, :language => :en, :sex => false, :cool => false)
369
- Person.so(:linux).should be_a(Mongoid::Criteria)
370
- Person.so(:linux).count.should eq(1)
385
+ expect(Person.so(:linux)).to be_a(Mongoid::Criteria)
386
+ expect(Person.so(:linux).count).to eq(1)
371
387
  end
372
388
 
373
389
  it "should work with a shallow scope too" do
374
390
  Person.create!(:name => 'Bob' , :other => :bar, :status => :active, :so => :linux, :gui => :gtk, :language => :en, :sex => false, :cool => false)
375
- Person.active.should be_a(Mongoid::Criteria)
376
- Person.active.count.should eq(1)
391
+ expect(Person.active).to be_a(Mongoid::Criteria)
392
+ expect(Person.active.count).to eq(1)
377
393
  end
378
394
 
379
395
  end
@@ -383,8 +399,8 @@ describe "Symbolize" do
383
399
  it "test_symbolized_finder" do
384
400
  Person.create(:name => 'Bob' , :other => :bar, :status => :inactive, :so => :mac, :gui => :gtk, :language => :en, :sex => false, :cool => false)
385
401
 
386
- Person.where({ :status => :inactive }).all.map(&:name).should eql(['Bob'])
387
- Person.where(status: :inactive).map(&:name).should eql(['Bob'])
402
+ expect(Person.where({ :status => :inactive }).all.map(&:name)).to eql(['Bob'])
403
+ expect(Person.where(status: :inactive).map(&:name)).to eql(['Bob'])
388
404
  end
389
405
 
390
406
  describe "dirty tracking / changed flag" do
@@ -395,21 +411,21 @@ describe "Symbolize" do
395
411
  end
396
412
 
397
413
  it "is dirty if you change the attribute value" do
398
- @anna.language.should == :pt
399
- @anna.language_changed?.should be_false
414
+ expect(@anna.language).to eq(:pt)
415
+ expect(@anna.language_changed?).to be false
400
416
 
401
417
  return_value = @anna.language = :en
402
- return_value.should == :en
403
- @anna.language_changed?.should be_true
418
+ expect(return_value).to eq(:en)
419
+ expect(@anna.language_changed?).to be true
404
420
  end
405
421
 
406
422
  it "is not dirty if you set the attribute value to the same value it was originally" do
407
- @anna.language.should == :pt
408
- @anna.language_changed?.should be_false
423
+ expect(@anna.language).to eq(:pt)
424
+ expect(@anna.language_changed?).to be false
409
425
 
410
426
  return_value = @anna.language = :pt
411
- return_value.should == :pt
412
- @anna.language_changed?.should be_false
427
+ expect(return_value).to eq(:pt)
428
+ expect(@anna.language_changed?).to be false
413
429
  end
414
430
 
415
431
  end
metadata CHANGED
@@ -1,74 +1,144 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: symbolize
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.4.1
4
+ version: 4.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcos Piccinini
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-22 00:00:00.000000000 Z
11
+ date: 2014-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: activesupport
14
+ name: activemodel
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.2'
20
- - - <
20
+ - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '5'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - '>='
27
+ - - ">="
28
28
  - !ruby/object:Gem::Version
29
29
  version: '3.2'
30
- - - <
30
+ - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '5'
33
33
  - !ruby/object:Gem::Dependency
34
- name: activemodel
34
+ name: activesupport
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - '>='
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
39
  version: '3.2'
40
- - - <
40
+ - - "<"
41
41
  - !ruby/object:Gem::Version
42
42
  version: '5'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - '>='
47
+ - - ">="
48
48
  - !ruby/object:Gem::Version
49
49
  version: '3.2'
50
- - - <
50
+ - - "<"
51
51
  - !ruby/object:Gem::Version
52
52
  version: '5'
53
+ - !ruby/object:Gem::Dependency
54
+ name: activerecord
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: '0'
60
+ type: :development
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ - !ruby/object:Gem::Dependency
68
+ name: coveralls
69
+ requirement: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ type: :development
75
+ prerelease: false
76
+ version_requirements: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: '0'
81
+ - !ruby/object:Gem::Dependency
82
+ name: mongoid
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
92
+ - - ">="
93
+ - !ruby/object:Gem::Version
94
+ version: '0'
95
+ - !ruby/object:Gem::Dependency
96
+ name: rake
97
+ requirement: !ruby/object:Gem::Requirement
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ requirements:
106
+ - - ">="
107
+ - !ruby/object:Gem::Version
108
+ version: '0'
109
+ - !ruby/object:Gem::Dependency
110
+ name: rspec
111
+ requirement: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - ">="
114
+ - !ruby/object:Gem::Version
115
+ version: '3'
116
+ type: :development
117
+ prerelease: false
118
+ version_requirements: !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: '3'
53
123
  description: ActiveRecord/Mongoid enums with i18n
54
124
  email: x@nofxx.com
55
125
  executables: []
56
126
  extensions: []
57
127
  extra_rdoc_files: []
58
128
  files:
129
+ - README.md
130
+ - Rakefile
59
131
  - lib/symbolize.rb
60
- - lib/symbolize/mongoid.rb
61
- - lib/symbolize/version.rb
62
132
  - lib/symbolize/active_record.rb
133
+ - lib/symbolize/mongoid.rb
63
134
  - lib/symbolize/railtie.rb
135
+ - lib/symbolize/version.rb
136
+ - spec/db/001_create_testing_structure.rb
64
137
  - spec/locales/en.yml
65
138
  - spec/locales/pt.yml
66
139
  - spec/spec_helper.rb
67
- - spec/symbolize/mongoid_spec.rb
68
140
  - spec/symbolize/active_record_spec.rb
69
- - spec/db/001_create_testing_structure.rb
70
- - README.md
71
- - Rakefile
141
+ - spec/symbolize/mongoid_spec.rb
72
142
  homepage: http://github.com/nofxx/symbolize
73
143
  licenses:
74
144
  - MIT
@@ -79,17 +149,17 @@ require_paths:
79
149
  - lib
80
150
  required_ruby_version: !ruby/object:Gem::Requirement
81
151
  requirements:
82
- - - '>='
152
+ - - ">="
83
153
  - !ruby/object:Gem::Version
84
154
  version: '0'
85
155
  required_rubygems_version: !ruby/object:Gem::Requirement
86
156
  requirements:
87
- - - '>='
157
+ - - ">="
88
158
  - !ruby/object:Gem::Version
89
159
  version: '0'
90
160
  requirements: []
91
161
  rubyforge_project:
92
- rubygems_version: 2.0.3
162
+ rubygems_version: 2.2.2
93
163
  signing_key:
94
164
  specification_version: 4
95
165
  summary: Object enums with i18n in AR or Mongoid