hugs 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hugs (2.4.0)
4
+ hugs (2.5.0)
5
5
  multipart-post (~> 1.0.1)
6
6
  net-http-persistent (~> 1.4.1)
7
7
  nokogiri (~> 1.4.4)
data/README.md CHANGED
@@ -9,9 +9,10 @@ Opted to write this gem for four reasons:
9
9
  [rest-client](https://github.com/archiloque/rest-client) does not do.
10
10
  * Wanted a [fast](http://blog.segment7.net/articles/2010/05/07/net-http-is-not-slow),
11
11
  thread-safe, and persistent client.
12
- * [Excon](https://github.com/geemus/excon) does most everything right, but is not
12
+ * [Excon](https://github.com/geemus/excon) does most everything right, <del>but is not
13
13
  compatible with [VCR](https://github.com/myronmarston/vcr) (more specifically
14
- [webmock](https://github.com/bblimke/webmock) and [fakeweb](https://github.com/chrisk/fakeweb)).
14
+ [webmock](https://github.com/bblimke/webmock) and [fakeweb](https://github.com/chrisk/fakeweb))</del>.
15
+ There looks to be [work on this front](https://github.com/geemus/excon/issues#issue/29).
15
16
  * Wanted to learn how to handle this pattern.
16
17
 
17
18
  The XML usage of this gem will probably change. In the next couple of weeks Hugs
@@ -21,6 +21,7 @@ module Hugs
21
21
  Net::HTTP::Delete,
22
22
  Net::HTTP::Post,
23
23
  Net::HTTP::Put,
24
+ Net::HTTP::Head
24
25
  ].freeze
25
26
 
26
27
  ##
@@ -1,3 +1,3 @@
1
1
  module Hugs
2
- VERSION = "2.5.0"
2
+ VERSION = "2.5.1"
3
3
  end
@@ -177,6 +177,10 @@ describe Hugs::Client do
177
177
  it "supports json PUT" do
178
178
  assert_supports_http_verb :json, :put
179
179
  end
180
+
181
+ it "supports json HEAD" do
182
+ assert_supports_http_verb :json, :head
183
+ end
180
184
  end
181
185
 
182
186
  describe "XML" do
@@ -195,6 +199,10 @@ describe Hugs::Client do
195
199
  it "supports xml PUT" do
196
200
  assert_supports_http_verb :xml, :put
197
201
  end
202
+
203
+ it "supports xml HEAD" do
204
+ assert_supports_http_verb :xml, :head
205
+ end
198
206
  end
199
207
  end
200
208
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: hugs
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.5.0
5
+ version: 2.5.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - John Dewey
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-20 00:00:00 -08:00
13
+ date: 2011-04-05 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency