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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2db84904a2691fb149f666fb9e56e7ea707d436a
4
- data.tar.gz: 0dd2e5cfee4373b03b92990b33a310ff7564cfa8
3
+ metadata.gz: 8196bc118382a1649ef4f32e0dc002b5a18cb0b4
4
+ data.tar.gz: db25f568a6a652edb99ff95664baa07fdb1fcd95
5
5
  SHA512:
6
- metadata.gz: 74e6b7f42f6c456c9ea1ee8c586e2a1564ab8457838b772db7753c03681b38c06ce713f442f30a822dd80ddfaddf8bf564cfed23c6625058ac9bc516d2f046b4
7
- data.tar.gz: c8b3693a162c4eb7967da6d55501ec40a163a0fd178e3d7848715e588cb1c9970c8529c3ae9cf152837b85142cad2c02492322dae3e6fbe8e3370a87daec3ccc
6
+ metadata.gz: b270ff56f956de3336dbb04dddbab3fa47872c932072ff3eec6f22b86a0f578b6ce865e9885c7ac178c8292474885567807156c601c2b8ead0add20d151883b5
7
+ data.tar.gz: 2cb7557ff735c0a921ab21ad942acd59f8762236abceb43af9ef80950a06efe80cdbcfd0dbf76fc57dc7ee0c1841e220a9f23c0d32de44b2da9d9f795ae9f6cd
@@ -1,5 +1,5 @@
1
1
  module Phonehome
2
2
  module Gem
3
- VERSION = "0.0.30"
3
+ VERSION = "0.0.31"
4
4
  end
5
5
  end
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.30
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-03 00:00:00.000000000 Z
11
+ date: 2018-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler