toy-dynamo 0.1.7 → 0.1.8
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/table.rb +1 -1
- data/lib/toy/dynamo/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc1356fd3bf6cd5882b60deaa7c0647c3a462e1a
|
4
|
+
data.tar.gz: f44fbc6a3eea8d34b4886cac170138c657abab64
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d36e61b7ce094d6a88181b6ba0396b819cfb7b124bd64acb385cf891f5d0b95d832de34520e4349d5dd41d61b056ea016a9f35bc55ec1eadc0fc18b9d345862
|
7
|
+
data.tar.gz: 008a9a582dd701d8da86110b560da1089780f82762eaf86f7c676dc6698a8dd0dbc82edae196a14bea5c2b2fc5126855bad6fa5e0c5c111e16b3b11d2990d9d8
|
data/lib/toy/dynamo/table.rb
CHANGED
@@ -182,7 +182,7 @@ module Toy
|
|
182
182
|
raise ArgumentError, ":range key must be a Range if using the operator BETWEEN" if comparison_operator == "between" && !options[:range].values.first.is_a?(Range)
|
183
183
|
|
184
184
|
if range_key.has_key?(:index_name) # Local/Global Secondary Index
|
185
|
-
|
185
|
+
options[:select] = :projected unless options[:select].present?
|
186
186
|
query_request.merge!(:index_name => range_key[:index_name])
|
187
187
|
end
|
188
188
|
|
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.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Cary Dunn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
138
|
rubyforge_project:
|
139
|
-
rubygems_version: 2.
|
139
|
+
rubygems_version: 2.0.14
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: ActiveModel based DynamoDB ORM - extension to toystore
|