toccatore 0.4.8 → 0.4.9

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
  SHA256:
3
- metadata.gz: 55e2a53127ea93f4ff29eae04869643a71cf93d7dfbbef5c5adb08ba9429a554
4
- data.tar.gz: 0255e46b3397ab45fe7907af3df06eecf56c10c8a17990635407810571c9477b
3
+ metadata.gz: 4d2393ac345f665ff869026daac1b7b682a9e030a7d789282a0bdd2948e03f16
4
+ data.tar.gz: 7430af2a9767e27c9db91e16146f02c0f63c2f756610ebfd3b07497851c00f01
5
5
  SHA512:
6
- metadata.gz: 5534fdb448aeed235bed5b00071075aed4003607223c780420f89586bf99bae16d459024ede6fc32103918dc513dd4437377a4c3c6a78f0348c9a73d7b6cb10c
7
- data.tar.gz: 0b290fb6ce398e87d601b3356cdd6e1818b538c444c8f2b62ffece7ee953857f8be6e13185b1c55072473940493e2bfcc9d54c2a4e69975e66e3e9224613e442
6
+ metadata.gz: df1fc16c9eae4ef0559d8ce8fc182642eb685204e979da0888b0283d164f820f81b3acdbf2c98f8ae4cd370788cb1a62f0f8687d06b2908dc4f7fef4f3a5f307
7
+ data.tar.gz: 48b01f06f65370caeae8610041c16df4111af98b1cafc748f901d71053168f4d036f7c3757d48d2a276a2c804586a8d0346bdce87d6b19299a903a75ee79f7b6
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- toccatore (0.4.8)
4
+ toccatore (0.4.9)
5
5
  activesupport (~> 4.2, >= 4.2.5)
6
6
  aws-sdk-sqs
7
7
  dotenv (~> 2.1, >= 2.1.1)
@@ -56,7 +56,13 @@ module Toccatore
56
56
 
57
57
  def get_data reponse
58
58
  body = JSON.parse(reponse.messages[0].body)
59
- Maremma.get(body["report_id"])
59
+ url = body["report_id"]
60
+ host = URI.parse(body["report_id"]).host.downcase
61
+ puts url
62
+ puts host
63
+ puts body
64
+ puts "%%%%%%%%%%"
65
+ Maremma.get(url, timeout: 120, host: host)
60
66
  end
61
67
 
62
68
 
@@ -1,3 +1,3 @@
1
1
  module Toccatore
2
- VERSION = "0.4.8"
2
+ VERSION = "0.4.9"
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.8\n").to_stdout
11
+ expect { subject.__print_version }.to output("0.4.9\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.8
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martin Fenner