oauth2 0.4.0 → 0.4.1

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.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # CHANGELOG
2
2
 
3
+ * [0.4.1 - April 20, 2011](https://github.com/intridea/oauth2/compare/v0.4.0...v0.4.1)
3
4
  * [0.4.0 - April 20, 2011](https://github.com/intridea/oauth2/compare/v0.3.0...v0.4.0)
4
5
  * [0.3.0 - April 8, 2011](https://github.com/intridea/oauth2/compare/v0.2.0...v0.3.0)
5
6
  * [0.2.0 - April 1, 2011](https://github.com/intridea/oauth2/compare/v0.1.1...v0.2.0)
data/lib/oauth2/client.rb CHANGED
@@ -25,7 +25,7 @@ module OAuth2
25
25
  # <tt>:raise_errors</tt> :: Default true. When false it will then return the error status and response instead of raising an exception.
26
26
  def initialize(client_id, client_secret, opts={})
27
27
  self.options = opts.dup
28
- self.token_method = self.options.delete(:access_token_method) || :get
28
+ self.token_method = self.options.delete(:access_token_method) || :post
29
29
  adapter = self.options.delete(:adapter)
30
30
  ssl_opts = self.options.delete(:ssl) || {}
31
31
  connection_opts = ssl_opts ? {:ssl => ssl_opts} : {}
@@ -1,3 +1,3 @@
1
1
  module OAuth2
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
data/oauth2.gemspec CHANGED
@@ -14,8 +14,8 @@ Gem::Specification.new do |s|
14
14
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
15
15
  s.files = `git ls-files`.split("\n")
16
16
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
17
- s.add_runtime_dependency("faraday", "~> 0.6.0")
18
- s.add_runtime_dependency("multi_json", "~> 0.0.4")
17
+ s.add_runtime_dependency("faraday", "~> 0.6.1")
18
+ s.add_runtime_dependency("multi_json", ">= 0.0.5")
19
19
  s.add_development_dependency("json_pure", "~> 1.5")
20
20
  s.add_development_dependency("rake", "~> 0.8")
21
21
  s.add_development_dependency("simplecov", "~> 0.4")
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: oauth2
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.0
5
+ version: 0.4.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Michael Bleigh
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-20 00:00:00 Z
13
+ date: 2011-04-22 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: faraday
@@ -20,7 +20,7 @@ dependencies:
20
20
  requirements:
21
21
  - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: 0.6.0
23
+ version: 0.6.1
24
24
  type: :runtime
25
25
  version_requirements: *id001
26
26
  - !ruby/object:Gem::Dependency
@@ -29,9 +29,9 @@ dependencies:
29
29
  requirement: &id002 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
- - - ~>
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 0.0.4
34
+ version: 0.0.5
35
35
  type: :runtime
36
36
  version_requirements: *id002
37
37
  - !ruby/object:Gem::Dependency