shb 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shb/abstract_client.rb +2 -2
- data/lib/shb/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b52683cf3840473f329bf856b00f9d9e0215670
|
4
|
+
data.tar.gz: edf1ae06b42c82f58e6ce2677acf398c5b6a6447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b1de83541dca51578f2826ecb120b368a6fbb0424f9721d869844f433f215488f352a6f1ae9b12fcbc8656558b1377f9c453e676439d402e1dbc09d8cf9fb97
|
7
|
+
data.tar.gz: 82e031a28d4771979a0225b2aded294ffc18d2da23f920883d60d12c6404e8bd99939227b2997a1e2fc515598f0056695b0a0322c8f421f51084327bac93aed1
|
data/lib/shb/abstract_client.rb
CHANGED
@@ -93,7 +93,7 @@ module Shb
|
|
93
93
|
io.puts "#{response.request.http_method::METHOD} #{response.request.last_uri.to_s}"
|
94
94
|
response.request.options[:headers].sort.each do |k,vs|
|
95
95
|
[vs].flatten.each do |v|
|
96
|
-
io.puts "#{k}: #{v}"
|
96
|
+
io.puts "#{k}: #{v}".force_encoding('utf-8')
|
97
97
|
end
|
98
98
|
end
|
99
99
|
io.puts
|
@@ -104,7 +104,7 @@ module Shb
|
|
104
104
|
io.puts "#{response.code} #{response.message}"
|
105
105
|
response.headers.sort.each do |k,vs|
|
106
106
|
[vs].flatten.each do |v|
|
107
|
-
io.puts "#{k}: #{v}"
|
107
|
+
io.puts "#{k}: #{v}".force_encoding('utf-8')
|
108
108
|
end
|
109
109
|
end
|
110
110
|
io.puts
|
data/lib/shb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Philip Hallstrom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -158,7 +158,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
158
|
version: '0'
|
159
159
|
requirements: []
|
160
160
|
rubyforge_project:
|
161
|
-
rubygems_version: 2.4.
|
161
|
+
rubygems_version: 2.4.6
|
162
162
|
signing_key:
|
163
163
|
specification_version: 4
|
164
164
|
summary: ''
|
@@ -173,4 +173,3 @@ test_files:
|
|
173
173
|
- spec/user_agent_spec.rb
|
174
174
|
- spec/user_cookies_spec.rb
|
175
175
|
- spec/xml_spec.rb
|
176
|
-
has_rdoc:
|