enum_field 0.1.3 → 0.1.4

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.
Files changed (2) hide show
  1. data/lib/enum_field/builder.rb +1 -1
  2. metadata +1 -1
@@ -10,10 +10,10 @@ module EnumField
10
10
 
11
11
  def member(name, options = {})
12
12
  obj, candidate_id = process_options(options)
13
- obj.freeze
14
13
  assign_id(obj, candidate_id)
15
14
  define_in_meta(name) { obj }
16
15
  save(name, obj)
16
+ obj.freeze
17
17
  end
18
18
 
19
19
  def all
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enum_field
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Sebasti\xC3\xA1n Bernardo Galkin"