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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6bc03a0efcc9da7a30ed72044a0e7733cae9dd6
4
- data.tar.gz: 3f0d131c9dec2a3f1e8af932a6daf6e513eb9b62
3
+ metadata.gz: d5e2c24bc6e120e7bb25eebcc819ec7081aef462
4
+ data.tar.gz: e484085550e7692f05431a5b79b38a6f4f002cda
5
5
  SHA512:
6
- metadata.gz: bc65042442a651365977bd108350e7ba3d516009060696f33834ffad426903fa86e01b99e5ae9627c3b62b0d3dddbda7ca5ec2a77ac3e35bd2aa5ba96dc6d966
7
- data.tar.gz: de6f8de47956820198714c9887238fd4eef803eae0dcd42907b310c57a5a9dcdc59408625011472b2fbfc4128d1efcadb8e7883fa2b183d5e2ef44da1a281f10
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.0)
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.5.1)
12
- activesupport (= 4.2.5.1)
11
+ activemodel (4.2.9)
12
+ activesupport (= 4.2.9)
13
13
  builder (~> 3.1)
14
- activesupport (4.2.5.1)
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.2.22)
21
- aws-sdk-resources (= 2.2.22)
22
- aws-sdk-core (2.2.22)
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.2.22)
25
- aws-sdk-core (= 2.2.22)
26
- builder (3.2.2)
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.7.0)
52
- jmespath (1.1.3)
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.8.4)
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.5)
89
- tzinfo (1.2.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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'dynamini'
3
- s.version = '2.9.0'
3
+ s.version = '2.9.1'
4
4
  s.summary = 'DynamoDB interface'
5
5
  s.description = 'Lightweight DynamoDB interface gem designed as
6
6
  a drop-in replacement for ActiveRecord.
@@ -72,7 +72,7 @@ module Dynamini
72
72
  end
73
73
 
74
74
  def dynamo_scan(options)
75
- response = client.scan(
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamini
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.0
4
+ version: 2.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Greg Ward