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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b00ad5ad33e8444707d5fe3205a42fee4e6a4edf
4
- data.tar.gz: e2a2bd6540f2b494569dcc291e3837b2bebb42f7
3
+ metadata.gz: 4b52683cf3840473f329bf856b00f9d9e0215670
4
+ data.tar.gz: edf1ae06b42c82f58e6ce2677acf398c5b6a6447
5
5
  SHA512:
6
- metadata.gz: bc81febb62c5e77afdd046212278b3d8a1c145c5cd0edfd9c78a017e590a96c11fef724216e8b491208d022f4b4ab1263537809e48cb1df72184245208c973cb
7
- data.tar.gz: 6a5fb07260335f9505479e2ec0e5a690e5e66e80735ec7f5971c4849bb3069ef3003751cfd33651e2003b42d822607630d39732fc3dae70a0a6fef8bdc63916c
6
+ metadata.gz: 9b1de83541dca51578f2826ecb120b368a6fbb0424f9721d869844f433f215488f352a6f1ae9b12fcbc8656558b1377f9c453e676439d402e1dbc09d8cf9fb97
7
+ data.tar.gz: 82e031a28d4771979a0225b2aded294ffc18d2da23f920883d60d12c6404e8bd99939227b2997a1e2fc515598f0056695b0a0322c8f421f51084327bac93aed1
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Shb
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
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.2
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-02-04 00:00:00.000000000 Z
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.5
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: