ocean-dynamo 0.2.7 → 0.2.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 99a7fdeedf47206def2f07501ab36165d7ee7c84
4
- data.tar.gz: ace248ecd2db539947ae61831db8391d560ed693
3
+ metadata.gz: 896d2e968a831668a896372adc8ebd0344e439f5
4
+ data.tar.gz: f1428e81f7bdafe5a1bb848aacc94c614925f459
5
5
  SHA512:
6
- metadata.gz: 784b06eb7dec03a353240b3fd79fa875cbe02401d1344dd022f5f4c32b8a49941f5b87620076849b69abe481b7efef6c84067494c7a8845fe720e654ed504386
7
- data.tar.gz: 43b28bfc7f77c7ae72fb8cec148ac1bb63623ccc1ff4d7e3f65aee1b42a82a41e0ce27cc5eab1d7525b48540110c00d3b798701bffcdc365d39348112c7afdba
6
+ metadata.gz: f42fddb0d0d7570dd86402d82d43b62aa60bd15ebea03c7ca0cdbf6a0279403529303a134c1bedae1eb85e5121e537bbf216447be941f57e52c6b4e8f258c876
7
+ data.tar.gz: d3e35015bb8f00789424c45746087adcc4451c8bbad80d19b4c15114987c142a380069d6d4a1b0e02882cd1584a00c3c805f2a388bcb72669f2c36d2bf9be4f5
@@ -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 lock_attribute, :integer, default: 0
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|
@@ -1,3 +1,3 @@
1
1
  module OceanDynamo
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-dynamo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson