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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/toccatore/base.rb +6 -1
- data/lib/toccatore/version.rb +1 -1
- data/spec/cli_spec.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce151d6752fdc70c341f0428bc73f77993b67a79bfe0b1dcba67597554ce340e
|
4
|
+
data.tar.gz: ed947694fd1cdcb1cba459e0c9c4fa02f5dbf93bf77fc3abfc73c46c549e609b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 79a261df46ec58dfa1cc2475bc38329ccdccbfaecb32fd2b48e23bd49646ab734a0e83e190d6d40c87811fd6e96605588877e40dacf669e334f63ed5ada57563
|
7
|
+
data.tar.gz: 6ebea01a81e005988e24a74873481f78cce50376a779fedab0c1f2262c8967cdbacf416772483ddf838ea9302006917c63ad0ab51f73bfc608fd392d5bfa9d0d
|
data/Gemfile.lock
CHANGED
data/lib/toccatore/base.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/toccatore/version.rb
CHANGED
data/spec/cli_spec.rb
CHANGED