restfully 1.0.6 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/restfully/session.rb +2 -1
- data/lib/restfully/version.rb +1 -1
- data/spec/restfully/session_spec.rb +2 -1
- metadata +3 -4
data/lib/restfully/session.rb
CHANGED
data/lib/restfully/version.rb
CHANGED
@@ -34,7 +34,8 @@ describe Restfully::Session do
|
|
34
34
|
session.default_headers.should == {
|
35
35
|
'Accept' => 'application/xml',
|
36
36
|
'Cache-Control' => 'no-cache',
|
37
|
-
'Accept-Encoding' => 'gzip, deflate'
|
37
|
+
'Accept-Encoding' => 'gzip, deflate',
|
38
|
+
'User-Agent' => "Restfully/#{Restfully::VERSION}"
|
38
39
|
}
|
39
40
|
end
|
40
41
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: restfully
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-06-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -365,7 +365,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
365
365
|
version: '1.3'
|
366
366
|
requirements: []
|
367
367
|
rubyforge_project:
|
368
|
-
rubygems_version: 1.8.
|
368
|
+
rubygems_version: 1.8.23
|
369
369
|
signing_key:
|
370
370
|
specification_version: 3
|
371
371
|
summary: Consume RESTful APIs effortlessly
|
@@ -394,4 +394,3 @@ test_files:
|
|
394
394
|
- spec/restfully/resource_spec.rb
|
395
395
|
- spec/restfully/session_spec.rb
|
396
396
|
- spec/spec_helper.rb
|
397
|
-
has_rdoc:
|