toccatore 0.4.7 → 0.4.8

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: e7669490a8154bc8df633f15dcab74164562e4b554bcd94b921b88a3fff31eea
4
- data.tar.gz: 9c0319f0fac52344ce69244ec42eb729c8e856e99195dd6b221f0d8cc1fbdc01
3
+ metadata.gz: 55e2a53127ea93f4ff29eae04869643a71cf93d7dfbbef5c5adb08ba9429a554
4
+ data.tar.gz: 0255e46b3397ab45fe7907af3df06eecf56c10c8a17990635407810571c9477b
5
5
  SHA512:
6
- metadata.gz: 2a3f745ef43f570eb3106802dca20c074d7cf79f00834e88a6cbfd16b8d688910cd92f9b12edb01d2b3dab1f0c82728d02a24215c5550bdacbb8ba22ca9cda88
7
- data.tar.gz: f49a285f138b13fd38c75b98e012f65138c7ece13f2e60f7a7206ec4075fc35f93e6c27518f9966868931ff86cea42e28e3da98ec3255b2ca83a664140b5e76f
6
+ metadata.gz: 5534fdb448aeed235bed5b00071075aed4003607223c780420f89586bf99bae16d459024ede6fc32103918dc513dd4437377a4c3c6a78f0348c9a73d7b6cb10c
7
+ data.tar.gz: 0b290fb6ce398e87d601b3356cdd6e1818b538c444c8f2b62ffece7ee953857f8be6e13185b1c55072473940493e2bfcc9d54c2a4e69975e66e3e9224613e442
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- toccatore (0.4.7)
4
+ toccatore (0.4.8)
5
5
  activesupport (~> 4.2, >= 4.2.5)
6
6
  aws-sdk-sqs
7
7
  dotenv (~> 2.1, >= 2.1.1)
@@ -71,6 +71,8 @@ module Toccatore
71
71
  else
72
72
  error_total = 0
73
73
  Array(items).each do |item|
74
+ puts item
75
+ puts "*************"
74
76
  error_total += push_item(item, options)
75
77
  end
76
78
  error_total
@@ -104,6 +106,8 @@ module Toccatore
104
106
  end
105
107
 
106
108
  def parse_data(result, options={})
109
+ puts result.status
110
+ puts "*************"
107
111
  return result.body.fetch("errors") if result.body.fetch("errors", nil).present?
108
112
  return [{ "errors" => { "title" => "The report is blank" }}] if result.body.blank?
109
113
 
@@ -1,3 +1,3 @@
1
1
  module Toccatore
2
- VERSION = "0.4.7"
2
+ VERSION = "0.4.8"
3
3
  end
data/spec/cli_spec.rb CHANGED
@@ -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.7\n").to_stdout
11
+ expect { subject.__print_version }.to output("0.4.8\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.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner