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.
Potentially problematic release.
This version of rest-client might be problematic. Click here for more details.
- data/VERSION +1 -1
- data/lib/restclient/request.rb +1 -1
- data/spec/request_spec.rb +2 -2
- metadata +6 -4
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: 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-12-12 00:00:00 -08:00
|
13
13
|
default_executable: restclient
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -44,6 +44,8 @@ files:
|
|
44
44
|
- spec/restclient_spec.rb
|
45
45
|
has_rdoc: true
|
46
46
|
homepage: http://rest-client.heroku.com/
|
47
|
+
licenses: []
|
48
|
+
|
47
49
|
post_install_message:
|
48
50
|
rdoc_options:
|
49
51
|
- --charset=UTF-8
|
@@ -64,9 +66,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
64
66
|
requirements: []
|
65
67
|
|
66
68
|
rubyforge_project: rest-client
|
67
|
-
rubygems_version: 1.3.
|
69
|
+
rubygems_version: 1.3.5
|
68
70
|
signing_key:
|
69
|
-
specification_version:
|
71
|
+
specification_version: 3
|
70
72
|
summary: Simple REST client for Ruby, inspired by microframework syntax for specifying actions.
|
71
73
|
test_files:
|
72
74
|
- spec/base.rb
|