dynamini 2.9.0 → 2.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +20 -17
- data/dynamini.gemspec +1 -1
- data/lib/dynamini/batch_operations.rb +2 -2
- 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: d5e2c24bc6e120e7bb25eebcc819ec7081aef462
|
4
|
+
data.tar.gz: e484085550e7692f05431a5b79b38a6f4f002cda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e82d4a69eb80db5534cd3a70e4c1f795ba13651202ca6b228945a7fb58fd5c7289c173f7cbf12a8ca9b3a255f986b14c7b6410e63d8e8e44168c82f417dbf18
|
7
|
+
data.tar.gz: 387de4884bedfed45b9a475a617d2666382271221288eb45ae2d9d32fb3bcdf51f8f05e5fe5d7e511533526e7c4b7166a11977984a923abf61e9453eb71aae03
|
data/Gemfile.lock
CHANGED
@@ -1,29 +1,30 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dynamini (2.9.
|
4
|
+
dynamini (2.9.1)
|
5
5
|
activemodel (>= 3, < 5.0)
|
6
6
|
aws-sdk (~> 2)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activemodel (4.2.
|
12
|
-
activesupport (= 4.2.
|
11
|
+
activemodel (4.2.9)
|
12
|
+
activesupport (= 4.2.9)
|
13
13
|
builder (~> 3.1)
|
14
|
-
activesupport (4.2.
|
14
|
+
activesupport (4.2.9)
|
15
15
|
i18n (~> 0.7)
|
16
|
-
json (~> 1.7, >= 1.7.7)
|
17
16
|
minitest (~> 5.1)
|
18
17
|
thread_safe (~> 0.3, >= 0.3.4)
|
19
18
|
tzinfo (~> 1.1)
|
20
|
-
aws-sdk (2.
|
21
|
-
aws-sdk-resources (= 2.
|
22
|
-
aws-sdk-core (2.
|
19
|
+
aws-sdk (2.10.44)
|
20
|
+
aws-sdk-resources (= 2.10.44)
|
21
|
+
aws-sdk-core (2.10.44)
|
22
|
+
aws-sigv4 (~> 1.0)
|
23
23
|
jmespath (~> 1.0)
|
24
|
-
aws-sdk-resources (2.
|
25
|
-
aws-sdk-core (= 2.
|
26
|
-
|
24
|
+
aws-sdk-resources (2.10.44)
|
25
|
+
aws-sdk-core (= 2.10.44)
|
26
|
+
aws-sigv4 (1.0.2)
|
27
|
+
builder (3.2.3)
|
27
28
|
coderay (1.1.0)
|
28
29
|
diff-lcs (1.2.5)
|
29
30
|
ffi (1.9.10)
|
@@ -48,15 +49,14 @@ GEM
|
|
48
49
|
guard-shell (0.7.1)
|
49
50
|
guard (>= 2.0.0)
|
50
51
|
guard-compat (~> 1.0)
|
51
|
-
i18n (0.
|
52
|
-
jmespath (1.1
|
53
|
-
json (1.8.3)
|
52
|
+
i18n (0.8.6)
|
53
|
+
jmespath (1.3.1)
|
54
54
|
listen (3.0.3)
|
55
55
|
rb-fsevent (>= 0.9.3)
|
56
56
|
rb-inotify (>= 0.9)
|
57
57
|
lumberjack (1.0.9)
|
58
58
|
method_source (0.8.2)
|
59
|
-
minitest (5.
|
59
|
+
minitest (5.10.3)
|
60
60
|
nenv (0.2.0)
|
61
61
|
notiffany (0.0.8)
|
62
62
|
nenv (~> 0.1)
|
@@ -85,8 +85,8 @@ GEM
|
|
85
85
|
shellany (0.0.1)
|
86
86
|
slop (3.6.0)
|
87
87
|
thor (0.19.1)
|
88
|
-
thread_safe (0.3.
|
89
|
-
tzinfo (1.2.
|
88
|
+
thread_safe (0.3.6)
|
89
|
+
tzinfo (1.2.3)
|
90
90
|
thread_safe (~> 0.1)
|
91
91
|
|
92
92
|
PLATFORMS
|
@@ -99,3 +99,6 @@ DEPENDENCIES
|
|
99
99
|
guard-shell
|
100
100
|
pry (~> 0)
|
101
101
|
rspec (~> 3)
|
102
|
+
|
103
|
+
BUNDLED WITH
|
104
|
+
1.16.0.pre.2
|
data/dynamini.gemspec
CHANGED
@@ -72,7 +72,7 @@ module Dynamini
|
|
72
72
|
end
|
73
73
|
|
74
74
|
def dynamo_scan(options)
|
75
|
-
|
75
|
+
client.scan({
|
76
76
|
consistent_read: options[:consistent_read],
|
77
77
|
exclusive_start_key: options[:exclusive_start_key],
|
78
78
|
secondary_index_name: options[:index_name],
|
@@ -80,7 +80,7 @@ module Dynamini
|
|
80
80
|
segment: options[:segment],
|
81
81
|
total_segments: options[:total_segments],
|
82
82
|
table_name: table_name
|
83
|
-
)
|
83
|
+
}.select { |_, v| !v.nil? })
|
84
84
|
end
|
85
85
|
|
86
86
|
def validate_scan_options(options)
|