toccatore 0.4.8 → 0.4.9
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/usage_update.rb +7 -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: 4d2393ac345f665ff869026daac1b7b682a9e030a7d789282a0bdd2948e03f16
|
4
|
+
data.tar.gz: 7430af2a9767e27c9db91e16146f02c0f63c2f756610ebfd3b07497851c00f01
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df1fc16c9eae4ef0559d8ce8fc182642eb685204e979da0888b0283d164f820f81b3acdbf2c98f8ae4cd370788cb1a62f0f8687d06b2908dc4f7fef4f3a5f307
|
7
|
+
data.tar.gz: 48b01f06f65370caeae8610041c16df4111af98b1cafc748f901d71053168f4d036f7c3757d48d2a276a2c804586a8d0346bdce87d6b19299a903a75ee79f7b6
|
data/Gemfile.lock
CHANGED
@@ -56,7 +56,13 @@ module Toccatore
|
|
56
56
|
|
57
57
|
def get_data reponse
|
58
58
|
body = JSON.parse(reponse.messages[0].body)
|
59
|
-
|
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
|
|
data/lib/toccatore/version.rb
CHANGED
data/spec/cli_spec.rb
CHANGED