toy-dynamo 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6531d75a60cddac48bf7a08e651e992173ff8d6b
4
- data.tar.gz: d232e86af63d1ebb1fd96b64f5c0e7f94862c751
3
+ metadata.gz: c5d8387f139d7bb7a5482897fd890b4313f2c3b8
4
+ data.tar.gz: 5c51caec159188855d0280b5e99b8bb0ca56e167
5
5
  SHA512:
6
- metadata.gz: 572df43d197d7882c53f726b92e9235c8b8746111582698248ac8610bba044ae21e1285e29ec4ef7ec324d8a5717c314cabc7b5c709e74e7a70a603fcad6afe0
7
- data.tar.gz: 9d9bdc14bbef5779f473a5add745214282508f309a794d6b5d6d411faa51c275e3da66b279733b5f0a7dad3e8b0640ef0c8a1fe05370e7be19e0553db32cbe5e
6
+ metadata.gz: d1666bd47f3ea19b098720387c59411eb15ef7a4c31202724ff1bdb6c02c3671cb16edaf5617c46b0a415408b885e4ad4feeee0dd186e92796cdcd51e1c7bb9f
7
+ data.tar.gz: 31ae6e655e45998dfe43279dc46a710d30ef65f5274bc52d91a3716ae580344b6dd71a0457c81080f9487f485af44db0bfbc434f3b2858821d870c0b79650d78
@@ -162,7 +162,7 @@ module Toy
162
162
  end
163
163
 
164
164
  def validate_key_schema
165
- if @dynamo_table.schema_loaded_from_dynamo[:table][:key_schema].sort_by { |k| k[:key_type] } != table_schema[:key_schema].sort_by { |k| k[:key_type] })
165
+ if @dynamo_table.schema_loaded_from_dynamo[:table][:key_schema].sort_by { |k| k[:key_type] } != table_schema[:key_schema].sort_by { |k| k[:key_type] }
166
166
  raise ArgumentError, "It appears your key schema (Hash Key/Range Key) have changed from the table definition. Rebuilding the table is necessary."
167
167
  end
168
168
 
@@ -1,5 +1,5 @@
1
1
  module Toy
2
2
  module Dynamo
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toy-dynamo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cary Dunn