toy-dynamo 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/toy/dynamo/schema.rb +1 -0
- data/lib/toy/dynamo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 26adbe6ed91bc6404764076fa4a8cf89261597e6
|
4
|
+
data.tar.gz: 49628a7f3143baa115424d15018c2405fb08a350
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4b817bc3fd46858022e85473ee9fff66b8dbfc8437d2562c97aed3af4303ca548414f75fa25c577bdf976d309d4c42c3f779ee3c3f0b6ea3e18515d6f543d27
|
7
|
+
data.tar.gz: 73182f130442e510ff3ad6e725b0d288584525c75cec34d3d631186fab0f74b53c49f5ed53072433e614b4187b6a258c7acba3a422aec35222d3dc05b89dacd5
|
data/lib/toy/dynamo/schema.rb
CHANGED
@@ -241,6 +241,7 @@ module Toy
|
|
241
241
|
:key_type => KEY_TYPE[:range]
|
242
242
|
}
|
243
243
|
]
|
244
|
+
return false if (@local_secondary_indexes ||= []).select {|i| i[:index_name] == local_secondary_index_hash[:index_name] }.present? # Do not add if we already have a range key set for this attr
|
244
245
|
(@local_secondary_indexes ||= []) << local_secondary_index_hash
|
245
246
|
end
|
246
247
|
|
data/lib/toy/dynamo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toy-dynamo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cary Dunn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|