phonehome 0.0.30 → 0.0.31
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/phonehome/gem/version.rb +1 -1
- data/lib/phonehome.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8196bc118382a1649ef4f32e0dc002b5a18cb0b4
|
4
|
+
data.tar.gz: db25f568a6a652edb99ff95664baa07fdb1fcd95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b270ff56f956de3336dbb04dddbab3fa47872c932072ff3eec6f22b86a0f578b6ce865e9885c7ac178c8292474885567807156c601c2b8ead0add20d151883b5
|
7
|
+
data.tar.gz: 2cb7557ff735c0a921ab21ad942acd59f8762236abceb43af9ef80950a06efe80cdbcfd0dbf76fc57dc7ee0c1841e220a9f23c0d32de44b2da9d9f795ae9f6cd
|
data/lib/phonehome.rb
CHANGED
@@ -88,7 +88,7 @@ module Phonehome
|
|
88
88
|
if (result_of_work.nil?)
|
89
89
|
# text =
|
90
90
|
else
|
91
|
-
text = result_of_work.to_s + " (" + text + ")"
|
91
|
+
text = result_of_work.to_s.gsub("."," ") + " (" + text + ")"
|
92
92
|
end
|
93
93
|
debug("Stopping text.size #{text.size}")
|
94
94
|
excon_post("http://#{@@phonehomeURL}/query_update/#{job_info.api_job_id}/#{status}/#{URI.encode_www_form('result' => text)}")
|
@@ -102,7 +102,7 @@ module Phonehome
|
|
102
102
|
debug("Error #{id}")
|
103
103
|
if @events_info.include?(id)
|
104
104
|
job_info = @events_info[id]
|
105
|
-
excon_post("http://#{@@phonehomeURL}/query_update/#{job_info.api_job_id}/failed/#{URI.encode_www_form('error' => e)}")
|
105
|
+
excon_post("http://#{@@phonehomeURL}/query_update/#{job_info.api_job_id}/failed/#{URI.encode_www_form('error' => e.to_s.gsub("."," "))}")
|
106
106
|
end
|
107
107
|
end
|
108
108
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phonehome
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- info@phonehome.io
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|