adamwiggins-rest-client 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/restclient/request.rb +1 -1
- data/spec/request_spec.rb +2 -2
- metadata +4 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.4
|
data/lib/restclient/request.rb
CHANGED
data/spec/request_spec.rb
CHANGED
@@ -17,8 +17,8 @@ describe RestClient::Request do
|
|
17
17
|
@net.stub!(:verify_mode=)
|
18
18
|
end
|
19
19
|
|
20
|
-
it "
|
21
|
-
@request.default_headers[:accept].should == 'application/xml'
|
20
|
+
it "accept */* mimetype, preferring xml" do
|
21
|
+
@request.default_headers[:accept].should == '*/*; q=0.5, application/xml'
|
22
22
|
end
|
23
23
|
|
24
24
|
it "decodes an uncompressed result body by passing it straight through" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adamwiggins-rest-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Wiggins
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-29 00:00:00 -07:00
|
13
13
|
default_executable: restclient
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -44,6 +44,7 @@ files:
|
|
44
44
|
- spec/restclient_spec.rb
|
45
45
|
has_rdoc: true
|
46
46
|
homepage: http://rest-client.heroku.com/
|
47
|
+
licenses:
|
47
48
|
post_install_message:
|
48
49
|
rdoc_options:
|
49
50
|
- --charset=UTF-8
|
@@ -64,7 +65,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
65
|
requirements: []
|
65
66
|
|
66
67
|
rubyforge_project: rest-client
|
67
|
-
rubygems_version: 1.
|
68
|
+
rubygems_version: 1.3.5
|
68
69
|
signing_key:
|
69
70
|
specification_version: 2
|
70
71
|
summary: Simple REST client for Ruby, inspired by microframework syntax for specifying actions.
|