RubyGems
npm
Organizations
Log in
Sign up
RubyGems
enum_field
Versions diffs
0.1.3 → 0.1.4
enum_field 0.1.3 → 0.1.4
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/enum_field/builder.rb
+1
-1
metadata
+1
-1
data/lib/enum_field/builder.rb
CHANGED
Viewed
@@ -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
Viewed
@@ -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"