ocean-dynamo 1.2.0 → 1.2.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: 0a277c429cc29e02d55452ba4bca425a2b330cd4
4
- data.tar.gz: d21e7ae3f0dcd90e5cf993bc43f5ccb4e6148e26
3
+ metadata.gz: 9093b06c18bfab10ad838fabcfa6b193cbd8bfe7
4
+ data.tar.gz: 8343febaa0690023516a27585d2d1857710b94ff
5
5
  SHA512:
6
- metadata.gz: eac3188b5e301a633ee829651adae2c9f228f824e35d3ffb798abb3ff6e382ca76b9ed0e985957aebdd83207875608fc2e31843cbe25cf8547988a3a44dc4885
7
- data.tar.gz: 42b49827d66a23bb4a65ec9ed55c24ad25a34fdebca03b61648b6615aed753c5339e737eca41e6f58ab3057d381defc3887946df00cfb632350dedfbcf853c98
6
+ metadata.gz: 1cc8858fec48e9796f12d60120989f0fad06a04cbcc15805b8af58551efb2d673fc56360efea679d1ebd4453d32aa417c18a30a1a40a2fbc17ee0573db3dd8be
7
+ data.tar.gz: f1246850490184ce41e24044207924ec2ecc24aeb1dd180e1f3c8c42c671ca446161d2ed67ed93c154ad98d3b18f288b17fb08eb89fddee83b09153831f746fb
@@ -273,9 +273,9 @@ block:
273
273
  Each +global_secondary_index+ clause takes the following arguments:
274
274
  * +hash_value+ (required),
275
275
  * +range_value+ (optional),
276
- * +:projection (default :keys_only, :all for all attributes)
277
- * read_capacity_units (default 10)
278
- * write_capacity_units (default 5)
276
+ * +:projection+ (default :keys_only, :all for all attributes)
277
+ * +:read_capacity_units+ (defaults to the table's read capacity, normally 10)
278
+ * +:write_capacity_units+ (default to the table's write capacity, normally 5)
279
279
 
280
280
 
281
281
  == Installation
@@ -41,8 +41,8 @@ module OceanDynamo
41
41
 
42
42
  def global_secondary_index(hash_key, range_key=nil,
43
43
  projection: :keys_only,
44
- read_capacity_units: 10,
45
- write_capacity_units: 5)
44
+ read_capacity_units: table_read_capacity_units,
45
+ write_capacity_units: table_write_capacity_units)
46
46
  if range_key
47
47
  name = "#{hash_key}_#{range_key}"
48
48
  keys = [hash_key.to_s, range_key.to_s]
@@ -1,3 +1,3 @@
1
1
  module OceanDynamo
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-dynamo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson