dynamodb_framework 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dynamodb_framework/dynamodb_table.rb +1 -1
- data/lib/dynamodb_framework/version.rb +1 -1
- 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: 55a46773068e83886458c0eee5039bd178b19fbc
|
4
|
+
data.tar.gz: 20f5be12c0088c57f66bcbb6000b3a46513a9979
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07451860166a51aafc5d9f19f0fe91e96c92f3fc97a5946f17912cc0848b807e74426577ff7a856a081967282c9510ac0d7a8abaa39da0a4713dac42abae057d
|
7
|
+
data.tar.gz: c91698ba754717a5c523d80cd25b92793453106a5b1676acca0bb815eece2742cea1d733f0c468b9d9cda08bb41c87c1f62a685bc1f247e51d123ba89fe7a661
|
@@ -68,7 +68,7 @@ module DynamoDbFramework
|
|
68
68
|
if indexes != nil && indexes.length > 0
|
69
69
|
global_indexes = []
|
70
70
|
indexes.each do |i|
|
71
|
-
global_indexes << i.create(store: store, submit: false)
|
71
|
+
global_indexes << i.create(store: store, submit: false, read_capacity: read_capacity, write_capacity: write_capacity)
|
72
72
|
index_partition_key = i.instance_variable_get(:@partition_key)
|
73
73
|
unless builder.contains(name: index_partition_key[:field])
|
74
74
|
builder.add({ name: index_partition_key[:field], type: index_partition_key[:type] })
|