packed-model 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/packed_model/base.rb +1 -1
- data/packed-model.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.3
|
data/lib/packed_model/base.rb
CHANGED
@@ -165,7 +165,7 @@ module PackedModel
|
|
165
165
|
def self.bit_vector(name, fields, options={})
|
166
166
|
raise "too many fields for bit vecotr #{name}" if fields.size > 32
|
167
167
|
|
168
|
-
self.attribute name, {:type => :integer}.merge(options)
|
168
|
+
self.attribute name, {:type => :integer, :fields => fields}.merge(options)
|
169
169
|
|
170
170
|
name_equals = "#{name}="
|
171
171
|
|
data/packed-model.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: packed-model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -83,7 +83,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
83
|
version: '0'
|
84
84
|
segments:
|
85
85
|
- 0
|
86
|
-
hash: -
|
86
|
+
hash: -849361634013391073
|
87
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
88
|
none: false
|
89
89
|
requirements:
|