devise_oauth2_providable 1.0.0.beta1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,6 @@
|
|
1
1
|
class Devise::Oauth2Providable::TokensController < ApplicationController
|
2
2
|
before_filter :authenticate_user!
|
3
|
+
skip_before_filter :verify_authenticity_token, :only => :create
|
3
4
|
|
4
5
|
def create
|
5
6
|
@refresh_token = oauth2_current_refresh_token || oauth2_current_client.refresh_tokens.create!(:user => current_user)
|
metadata
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devise_oauth2_providable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 0
|
10
|
-
|
11
|
-
- 1
|
12
|
-
version: 1.0.0.beta1
|
10
|
+
version: 1.0.0
|
13
11
|
platform: ruby
|
14
12
|
authors:
|
15
13
|
- Ryan Sonnek
|
@@ -17,7 +15,7 @@ autorequire:
|
|
17
15
|
bindir: bin
|
18
16
|
cert_chain: []
|
19
17
|
|
20
|
-
date: 2011-10-
|
18
|
+
date: 2011-10-26 00:00:00 Z
|
21
19
|
dependencies:
|
22
20
|
- !ruby/object:Gem::Dependency
|
23
21
|
name: rails
|
@@ -251,14 +249,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
251
249
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
250
|
none: false
|
253
251
|
requirements:
|
254
|
-
- - "
|
252
|
+
- - ">="
|
255
253
|
- !ruby/object:Gem::Version
|
256
|
-
hash:
|
254
|
+
hash: 3
|
257
255
|
segments:
|
258
|
-
-
|
259
|
-
|
260
|
-
- 1
|
261
|
-
version: 1.3.1
|
256
|
+
- 0
|
257
|
+
version: "0"
|
262
258
|
requirements: []
|
263
259
|
|
264
260
|
rubyforge_project: devise_oauth2_providable
|