fb_graph 2.4.3 → 2.4.4

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,17 +1,17 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fb_graph (2.4.1)
4
+ fb_graph (2.4.4)
5
5
  httpclient (>= 2.2.0.2)
6
- rack-oauth2 (>= 0.14.0)
6
+ rack-oauth2 (>= 0.14.4)
7
7
  tzinfo
8
8
 
9
9
  GEM
10
10
  remote: http://rubygems.org/
11
11
  specs:
12
- actionpack (3.2.1)
13
- activemodel (= 3.2.1)
14
- activesupport (= 3.2.1)
12
+ actionpack (3.2.2)
13
+ activemodel (= 3.2.2)
14
+ activesupport (= 3.2.2)
15
15
  builder (~> 3.0.0)
16
16
  erubis (~> 2.7.0)
17
17
  journey (~> 1.0.1)
@@ -19,10 +19,10 @@ GEM
19
19
  rack-cache (~> 1.1)
20
20
  rack-test (~> 0.6.1)
21
21
  sprockets (~> 2.1.2)
22
- activemodel (3.2.1)
23
- activesupport (= 3.2.1)
22
+ activemodel (3.2.2)
23
+ activesupport (= 3.2.2)
24
24
  builder (~> 3.0.0)
25
- activesupport (3.2.1)
25
+ activesupport (3.2.2)
26
26
  i18n (~> 0.6)
27
27
  multi_json (~> 1.0)
28
28
  addressable (2.2.7)
@@ -46,7 +46,7 @@ GEM
46
46
  rack (1.4.1)
47
47
  rack-cache (1.1)
48
48
  rack (>= 0.4)
49
- rack-oauth2 (0.14.2)
49
+ rack-oauth2 (0.14.4)
50
50
  activesupport (>= 2.3)
51
51
  attr_required (>= 0.0.5)
52
52
  httpclient (>= 2.2.0.2)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.3
1
+ 2.4.4
data/fb_graph.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
  s.files = `git ls-files`.split("\n")
14
14
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
15
15
  s.add_runtime_dependency "httpclient", ">= 2.2.0.2"
16
- s.add_runtime_dependency "rack-oauth2", ">= 0.14.0"
16
+ s.add_runtime_dependency "rack-oauth2", ">= 0.14.4"
17
17
  s.add_runtime_dependency "tzinfo"
18
18
  s.add_development_dependency "rake", ">= 0.8"
19
19
  if RUBY_VERSION >= '1.9'
@@ -56,7 +56,7 @@ module FbGraph
56
56
  def get_access_token(secret = nil)
57
57
  self.secret ||= secret
58
58
  auth = Auth.new(self.identifier, self.secret)
59
- self.access_token = auth.client.access_token!
59
+ self.access_token = auth.client.access_token! :client_auth_body
60
60
  end
61
61
 
62
62
  def access_token_with_auto_fetch
data/lib/fb_graph/auth.rb CHANGED
@@ -53,7 +53,7 @@ module FbGraph
53
53
  def exchange_token!(access_token)
54
54
  raise Unauthorized.new('No Access Token') unless access_token
55
55
  client.fb_exchange_token = access_token
56
- self.access_token = client.access_token!
56
+ self.access_token = client.access_token! :client_auth_body
57
57
  self
58
58
  rescue Rack::OAuth2::Client::Error => e
59
59
  raise Exception.new(e.status, e.message)
@@ -65,7 +65,7 @@ module FbGraph
65
65
  raise Unauthorized.new('No Authorization Code') unless code
66
66
  client.redirect_uri = ''
67
67
  client.authorization_code = code
68
- self.access_token = client.access_token!
68
+ self.access_token = client.access_token! :client_auth_body
69
69
  self.user = User.new(data[:user_id], :access_token => access_token)
70
70
  self
71
71
  rescue Rack::OAuth2::Client::Error => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fb_graph
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.3
4
+ version: 2.4.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-25 00:00:00.000000000Z
12
+ date: 2012-03-04 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httpclient
16
- requirement: &70181998150120 !ruby/object:Gem::Requirement
16
+ requirement: &70164815888120 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,21 +21,21 @@ dependencies:
21
21
  version: 2.2.0.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70181998150120
24
+ version_requirements: *70164815888120
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rack-oauth2
27
- requirement: &70181998149180 !ruby/object:Gem::Requirement
27
+ requirement: &70164815887620 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
31
31
  - !ruby/object:Gem::Version
32
- version: 0.14.0
32
+ version: 0.14.4
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70181998149180
35
+ version_requirements: *70164815887620
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: tzinfo
38
- requirement: &70181998148580 !ruby/object:Gem::Requirement
38
+ requirement: &70164815887240 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70181998148580
46
+ version_requirements: *70164815887240
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rake
49
- requirement: &70181998146800 !ruby/object:Gem::Requirement
49
+ requirement: &70164815886700 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0.8'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70181998146800
57
+ version_requirements: *70164815886700
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: cover_me
60
- requirement: &70181998146000 !ruby/object:Gem::Requirement
60
+ requirement: &70164815886180 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.2.0
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70181998146000
68
+ version_requirements: *70164815886180
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
- requirement: &70181998144940 !ruby/object:Gem::Requirement
71
+ requirement: &70164815885720 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '2'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70181998144940
79
+ version_requirements: *70164815885720
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: webmock
82
- requirement: &70181998143380 !ruby/object:Gem::Requirement
82
+ requirement: &70164815885260 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 1.6.2
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70181998143380
90
+ version_requirements: *70164815885260
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: actionpack
93
- requirement: &70181998138100 !ruby/object:Gem::Requirement
93
+ requirement: &70164815884800 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,7 +98,7 @@ dependencies:
98
98
  version: 3.0.6
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70181998138100
101
+ version_requirements: *70164815884800
102
102
  description: A full-stack Facebook Graph API wrapper in Ruby.
103
103
  email: nov@matake.jp
104
104
  executables: []