restfully 1.0.6 → 1.0.7

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.
@@ -134,7 +134,8 @@ module Restfully
134
134
  def default_headers
135
135
  @default_headers ||= {
136
136
  'Accept' => '*/*',
137
- 'Accept-Encoding' => 'gzip, deflate'
137
+ 'Accept-Encoding' => 'gzip, deflate',
138
+ 'User-Agent' => "Restfully/#{Restfully::VERSION}"
138
139
  }
139
140
  end
140
141
 
@@ -1,3 +1,3 @@
1
1
  module Restfully
2
- VERSION = "1.0.6"
2
+ VERSION = "1.0.7"
3
3
  end
@@ -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.6
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: 2012-09-08 00:00:00.000000000 Z
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.21
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: