toccatore 0.4.13 → 0.4.14

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
  SHA256:
3
- metadata.gz: c2e7bd1c2f2e2c09c0fe6adcab866b0dbb20b2b80904f961c19b47a2c1fb5d7c
4
- data.tar.gz: ba2940625807aa1010be4a1e420338cfee27e303d9ed07647753931709d25829
3
+ metadata.gz: ce151d6752fdc70c341f0428bc73f77993b67a79bfe0b1dcba67597554ce340e
4
+ data.tar.gz: ed947694fd1cdcb1cba459e0c9c4fa02f5dbf93bf77fc3abfc73c46c549e609b
5
5
  SHA512:
6
- metadata.gz: 692694881c5c8d48542ce05abd38397b1dc656535851646e722e2bb42d3e95f512c3d62a3c6ab6894e55e9b8cfff93916c7fb8ab2aa42f6b308a8ab7cec2bdea
7
- data.tar.gz: 16faa9f7e9015f81203b8c738ef584933778fc569e3d29d9d74cf455810cf249e1b9a54606c6b73a9ebfae38ef44899412c748318cef4e674821f60a34e55f0a
6
+ metadata.gz: 79a261df46ec58dfa1cc2475bc38329ccdccbfaecb32fd2b48e23bd49646ab734a0e83e190d6d40c87811fd6e96605588877e40dacf669e334f63ed5ada57563
7
+ data.tar.gz: 6ebea01a81e005988e24a74873481f78cce50376a779fedab0c1f2262c8967cdbacf416772483ddf838ea9302006917c63ad0ab51f73bfc608fd392d5bfa9d0d
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- toccatore (0.4.13)
4
+ toccatore (0.4.14)
5
5
  activesupport (>= 4.2.5, < 6)
6
6
  aws-sdk-sqs
7
7
  dotenv (~> 2.1, >= 2.1.1)
@@ -72,7 +72,12 @@ module Toccatore
72
72
  (0...total_pages).each do |page|
73
73
  options[:offset] = page * job_batch_size
74
74
  options[:total] = total
75
- error_total += process_data(options)
75
+ err = process_data(options)
76
+ if err.is_a?(Integer)
77
+ error_total += err
78
+ else
79
+ puts err.inspect
80
+ end
76
81
  end
77
82
  text = "#{total} works processed with #{error_total} errors for date range #{options[:from_date]} - #{options[:until_date]}."
78
83
  else
@@ -1,3 +1,3 @@
1
1
  module Toccatore
2
- VERSION = "0.4.13"
2
+ VERSION = "0.4.14"
3
3
  end
@@ -8,7 +8,7 @@ describe Toccatore::CLI do
8
8
 
9
9
  describe "version" do
10
10
  it 'has version' do
11
- expect { subject.__print_version }.to output("0.4.13\n").to_stdout
11
+ expect { subject.__print_version }.to output("0.4.14\n").to_stdout
12
12
  end
13
13
  end
14
14
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toccatore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.13
4
+ version: 0.4.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner