parallel_http 0.0.12 → 0.0.13

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.
Files changed (2) hide show
  1. data/lib/parallel_http.rb +1 -1
  2. metadata +1 -1
data/lib/parallel_http.rb CHANGED
@@ -25,7 +25,7 @@ class ParallelHttp
25
25
  body = result.response.force_encoding('UTF-8').encode('UTF-16', :invalid => :replace, :replace => '').encode('UTF-8')
26
26
  end
27
27
  hsh = {:id => id, :response_code => result.response_header.status, :body => body}
28
- hsh.merge!(:error => error.message) if error
28
+ hsh.merge!(:error => error.map{|e| e.message}.join(', ')) if error
29
29
  @@results << hsh
30
30
  if @@request_size == @@results.size
31
31
  EM.stop
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parallel_http
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: