awful 0.0.66 → 0.0.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 57dacf6336b652aa2c0d7cc5919e9a80a701ed2c
4
- data.tar.gz: c967f4c6f5ee11643ba4faf175b05928127b78a3
3
+ metadata.gz: 3417964c4b141a0c31c4c3f3b138d272c5f11a61
4
+ data.tar.gz: 057174af836697f83f6763a5a9a994df3359bc3e
5
5
  SHA512:
6
- metadata.gz: 67012d564e08dfadf310ef222f7dcaf1a4fc9c44ec1db4b54bad0e2a465353671ae6c4743aebdf7d339295b74d9e5a8e4f6b55afc18d65c59f274ba4e592ec00
7
- data.tar.gz: 991406fa1cad2c52941e44c3a65e001bd5a55f6f1c6649e22c378430c8616258a7f4029e5d5aedcf024b59d64a1337ace6b07e6d21ff1e4e6b37b49b24443b68
6
+ metadata.gz: 4524049f3348effb159b96fa99291c173dc0b423675c2317008e6414a4443dab6fcef8a1353f7c421373ad2a66ff8142c0735d9762a58593efddc4dd61d40a26
7
+ data.tar.gz: 6df9d07aadd7cf07a1f495fa8f188a6e1f7f23ad2c6dfeaa0fb62fdf9f6789e32eb2c883aa56f3bbd9565abfd49d408fadb407f4949ceed32093cb20fafb5e8a
@@ -146,7 +146,7 @@ module Awful
146
146
  ## would be more studly as an anonymous y-combinator, but we should write readable code instead
147
147
  scan_and_put = ->(myself, key) {
148
148
  r = src_client.scan(table_name: src_table, exclusive_start_key: key, return_consumed_capacity: 'INDEXES')
149
- print "[#{Time.now}] [#{src_table}] [scanned:#{r.count}] last key: #{r.last_evaluated_key || 'nil'}"
149
+ print "[#{Time.now}] [#{src_table}] scanned:#{r.count} key:#{r.last_evaluated_key || 'nil'}"
150
150
  put = skipped = 0
151
151
  r.items.each do |item|
152
152
  begin
@@ -159,7 +159,7 @@ module Awful
159
159
  end
160
160
  end
161
161
  print "\n"
162
- puts "[#{Time.now}] [#{dst_table}] [put:#{put} skipped:#{skipped}]"
162
+ puts "[#{Time.now}] [#{dst_table}] put:#{put} skipped:#{skipped}"
163
163
 
164
164
  ## recurse if there are more keys to scan
165
165
  if r.last_evaluated_key
@@ -1,3 +1,3 @@
1
1
  module Awful
2
- VERSION = "0.0.66"
2
+ VERSION = "0.0.67"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.66
4
+ version: 0.0.67
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ric Lister