ocean-dynamo 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ocean-dynamo/schema.rb +1 -1
- data/lib/ocean-dynamo/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 896d2e968a831668a896372adc8ebd0344e439f5
|
4
|
+
data.tar.gz: f1428e81f7bdafe5a1bb848aacc94c614925f459
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f42fddb0d0d7570dd86402d82d43b62aa60bd15ebea03c7ca0cdbf6a0279403529303a134c1bedae1eb85e5121e537bbf216447be941f57e52c6b4e8f258c876
|
7
|
+
data.tar.gz: d3e35015bb8f00789424c45746087adcc4451c8bbad80d19b4c15114987c142a380069d6d4a1b0e02882cd1584a00c3c805f2a388bcb72669f2c36d2bf9be4f5
|
data/lib/ocean-dynamo/schema.rb
CHANGED
@@ -34,7 +34,7 @@ module OceanDynamo
|
|
34
34
|
self.fields = HashWithIndifferentAccess.new
|
35
35
|
attribute table_hash_key, :string, default: ''
|
36
36
|
timestamp_attributes.each { |name| attribute name, :datetime } if timestamp_attributes
|
37
|
-
attribute
|
37
|
+
attribute(lock_attribute, :integer, default: 0) if lock_attribute
|
38
38
|
block.call
|
39
39
|
# Define attribute accessors
|
40
40
|
fields.each do |name, md|
|
data/lib/ocean-dynamo/version.rb
CHANGED