shb 0.1.0 → 0.1.1
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.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/shb/abstract_client.rb +4 -2
- data/lib/shb/version.rb +1 -1
- 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: a0eada1a487c62146890bfa250a94077c8ed0973
|
|
4
|
+
data.tar.gz: ed28e6bca96e97b73e0c45e1d3b30d891559d17b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae15ca37d3de3a0c79c3b0465609f114aefa384666b8bb942169c19323d2cf8beaee95c838473fa27a2a0d0bb05a74e44f6b38c61d6b3867ac2b1468fb5c9a10
|
|
7
|
+
data.tar.gz: 6e1fa2ffc2f11ab80bbdf41b3fe02238f369e7b0d18a33456ff44961716677fad8c4de5dd683ee27e4751cfc666f052d279275c646a01f1e96777aba04f926bc
|
data/README.md
CHANGED
data/lib/shb/abstract_client.rb
CHANGED
|
@@ -89,7 +89,8 @@ module Shb
|
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
io.puts
|
|
92
|
-
io.puts
|
|
92
|
+
io.puts '>' * 80
|
|
93
|
+
io.puts "#{response.request.http_method::METHOD} #{response.request.last_uri.to_s}"
|
|
93
94
|
response.request.options[:headers].sort.each do |k,vs|
|
|
94
95
|
[vs].flatten.each do |v|
|
|
95
96
|
io.puts "#{k}: #{v}"
|
|
@@ -99,7 +100,8 @@ module Shb
|
|
|
99
100
|
io.puts response.request.options[:body]
|
|
100
101
|
|
|
101
102
|
io.puts
|
|
102
|
-
io.puts
|
|
103
|
+
io.puts '<' * 80
|
|
104
|
+
io.puts "#{response.code} #{response.message}"
|
|
103
105
|
response.headers.sort.each do |k,vs|
|
|
104
106
|
[vs].flatten.each do |v|
|
|
105
107
|
io.puts "#{k}: #{v}"
|
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.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Philip Hallstrom
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-10-
|
|
11
|
+
date: 2014-10-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|