opro 0.3.0.pre → 0.3.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,12 +2,12 @@
2
2
 
3
3
  - Properly set attr_accessible for those apps that are requiring all attributes to be whitelisted.
4
4
  - Allow access_token to be passed in header `curl -H "Authorization: token iAmAOaUthToken" http://localhost:3000`
5
- - Default `config.allow_password_exchange' to true
5
+ - Default `config.password_exchange_enabled' to true
6
6
  - Allow multiple `find_user_for_auth` calls in setup to allow custom finders for facebook, etc.
7
7
 
8
8
  ## 0.2.0
9
9
 
10
- - Allow password exchange for access_token using `config.allow_password_exchange = true`
10
+ - Allow password exchange for access_token using `config.password_exchange_enabled = true`
11
11
 
12
12
  ## 0.1.0
13
13
 
data/README.md CHANGED
@@ -141,7 +141,7 @@ By default refresh tokens are disabled, you can enable them in your application
141
141
 
142
142
  If a client application has a user's password and username/email they can exchange these for a token. This is much safer than storing username and password on a local device, but does not offer the traditional OAuth "Flow". Because of this all available permissions will be granted to the client application. If you want to disable this feature you can set the configuration below to false:
143
143
 
144
- config.allow_password_exchange = true
144
+ config.password_exchange_enabled = true
145
145
 
146
146
  If you have this feature enabled you can further control what applications can use the feature. Some providers may wish to have "Blessed" client applications that have this ability while restricting all other clients. To accomplish this you can create a method in your ApplicationController called `oauth_valid_password_auth?` that accepts a client_id and client_secret, and returns a true or false based on whether that application can use password auth
147
147
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0.pre
1
+ 0.3.0.pre1
@@ -21,6 +21,6 @@ Opro.setup do |config|
21
21
  # password, etc. for an access token.
22
22
  # Caution: This bypasses the traditional OAuth flow
23
23
  # as a result users cannot opt out of client permissions, all permissions are granted
24
- config.allow_password_exchange = true
24
+ config.password_exchange_enabled = true
25
25
 
26
26
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "opro"
8
- s.version = "0.3.0.pre"
8
+ s.version = "0.3.0.pre1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["schneems"]
12
- s.date = "2012-06-30"
12
+ s.date = "2012-07-01"
13
13
  s.description = " Enable OAuth clients (iphone, android, web sites, etc.) to access and use your Rails application, what you do with it is up to you"
14
14
  s.email = "richard.schneeman@gmail.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.pre
4
+ version: 0.3.0.pre1
5
5
  prerelease: 6
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-06-30 00:00:00.000000000Z
12
+ date: 2012-07-01 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
- requirement: &70196426967100 !ruby/object:Gem::Requirement
16
+ requirement: &70236297859480 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70196426967100
24
+ version_requirements: *70236297859480
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rails
27
- requirement: &70196426966240 !ruby/object:Gem::Requirement
27
+ requirement: &70236297858660 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.1.0
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70196426966240
35
+ version_requirements: *70236297858660
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bluecloth
38
- requirement: &70196426965380 !ruby/object:Gem::Requirement
38
+ requirement: &70236297857420 !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: *70196426965380
46
+ version_requirements: *70236297857420
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: mocha
49
- requirement: &70196426964780 !ruby/object:Gem::Requirement
49
+ requirement: &70236297856460 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70196426964780
57
+ version_requirements: *70236297856460
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: timecop
60
- requirement: &70196426964140 !ruby/object:Gem::Requirement
60
+ requirement: &70236297855480 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70196426964140
68
+ version_requirements: *70236297855480
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: jeweler
71
- requirement: &70196426963520 !ruby/object:Gem::Requirement
71
+ requirement: &70236297854520 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 1.6.4
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70196426963520
79
+ version_requirements: *70236297854520
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: bundler
82
- requirement: &70196426962980 !ruby/object:Gem::Requirement
82
+ requirement: &70236297849720 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 1.1.3
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *70196426962980
90
+ version_requirements: *70236297849720
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: capybara
93
- requirement: &70196426962460 !ruby/object:Gem::Requirement
93
+ requirement: &70236297849140 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: 0.4.0
99
99
  type: :development
100
100
  prerelease: false
101
- version_requirements: *70196426962460
101
+ version_requirements: *70236297849140
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: sqlite3
104
- requirement: &70196426961860 !ruby/object:Gem::Requirement
104
+ requirement: &70236297848460 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :development
111
111
  prerelease: false
112
- version_requirements: *70196426961860
112
+ version_requirements: *70236297848460
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: launchy
115
- requirement: &70196426961260 !ruby/object:Gem::Requirement
115
+ requirement: &70236297847820 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,10 +120,10 @@ dependencies:
120
120
  version: '0'
121
121
  type: :development
122
122
  prerelease: false
123
- version_requirements: *70196426961260
123
+ version_requirements: *70236297847820
124
124
  - !ruby/object:Gem::Dependency
125
125
  name: devise
126
- requirement: &70196426960660 !ruby/object:Gem::Requirement
126
+ requirement: &70236297847060 !ruby/object:Gem::Requirement
127
127
  none: false
128
128
  requirements:
129
129
  - - ! '>='
@@ -131,10 +131,10 @@ dependencies:
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
- version_requirements: *70196426960660
134
+ version_requirements: *70236297847060
135
135
  - !ruby/object:Gem::Dependency
136
136
  name: rcov
137
- requirement: &70196426960060 !ruby/object:Gem::Requirement
137
+ requirement: &70236297846500 !ruby/object:Gem::Requirement
138
138
  none: false
139
139
  requirements:
140
140
  - - ! '>='
@@ -142,10 +142,10 @@ dependencies:
142
142
  version: '0'
143
143
  type: :development
144
144
  prerelease: false
145
- version_requirements: *70196426960060
145
+ version_requirements: *70236297846500
146
146
  - !ruby/object:Gem::Dependency
147
147
  name: simplecov
148
- requirement: &70196426959380 !ruby/object:Gem::Requirement
148
+ requirement: &70236297845900 !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
151
151
  - - ! '>='
@@ -153,7 +153,7 @@ dependencies:
153
153
  version: '0'
154
154
  type: :development
155
155
  prerelease: false
156
- version_requirements: *70196426959380
156
+ version_requirements: *70236297845900
157
157
  description: ! ' Enable OAuth clients (iphone, android, web sites, etc.) to access
158
158
  and use your Rails application, what you do with it is up to you'
159
159
  email: richard.schneeman@gmail.com
@@ -275,7 +275,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
275
275
  version: '0'
276
276
  segments:
277
277
  - 0
278
- hash: 2196355823502899805
278
+ hash: -3624448401310655652
279
279
  required_rubygems_version: !ruby/object:Gem::Requirement
280
280
  none: false
281
281
  requirements: