doorkeeper 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of doorkeeper might be problematic. Click here for more details.

Files changed (32) hide show
  1. data/README.md +63 -48
  2. data/app/assets/stylesheets/doorkeeper/application.css +10 -2
  3. data/app/controllers/doorkeeper/application_controller.rbc +663 -0
  4. data/app/controllers/doorkeeper/applications_controller.rbc +954 -0
  5. data/app/controllers/doorkeeper/authorizations_controller.rb +8 -1
  6. data/app/controllers/doorkeeper/authorizations_controller.rbc +595 -0
  7. data/app/controllers/doorkeeper/tokens_controller.rbc +423 -0
  8. data/app/helpers/doorkeeper/application_helper.rbc +127 -0
  9. data/app/models/access_grant.rb +10 -2
  10. data/app/models/access_grant.rbc +656 -0
  11. data/app/models/access_token.rbc +781 -0
  12. data/app/models/application.rbc +507 -0
  13. data/app/views/doorkeeper/authorizations/new.html.erb +16 -12
  14. data/app/views/layouts/doorkeeper/application.html.erb +9 -0
  15. data/config/initializers/form_errors.rbc +272 -0
  16. data/config/routes.rbc +322 -0
  17. data/lib/doorkeeper.rbc +407 -0
  18. data/lib/doorkeeper/config.rbc +941 -0
  19. data/lib/doorkeeper/doorkeeper_for.rbc +1029 -0
  20. data/lib/doorkeeper/engine.rbc +318 -0
  21. data/lib/doorkeeper/oauth/access_token_request.rb +9 -2
  22. data/lib/doorkeeper/oauth/access_token_request.rbc +1853 -0
  23. data/lib/doorkeeper/oauth/authorization_request.rb +5 -0
  24. data/lib/doorkeeper/oauth/authorization_request.rbc +2107 -0
  25. data/lib/doorkeeper/oauth/random_string.rbc +437 -0
  26. data/lib/doorkeeper/validations.rbc +774 -0
  27. data/lib/doorkeeper/version.rb +1 -1
  28. data/lib/doorkeeper/version.rbc +130 -0
  29. data/lib/generators/doorkeeper/install_generator.rbc +453 -0
  30. data/lib/generators/doorkeeper/templates/migration.rb +1 -0
  31. data/lib/tasks/doorkeeper_tasks.rake.compiled.rbc +40 -0
  32. metadata +44 -17
@@ -15,6 +15,7 @@ class CreateDoorkeeperTables < ActiveRecord::Migration
15
15
  t.integer :expires_in, :null => false
16
16
  t.string :redirect_uri, :null => false
17
17
  t.datetime :created_at, :null => false
18
+ t.datetime :revoked_at
18
19
  end
19
20
 
20
21
  create_table :oauth_access_tokens do |t|
@@ -0,0 +1,40 @@
1
+ !RBIX
2
+ 9595534255132031488
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 4
13
+ 1
14
+ 15
15
+ 2
16
+ 11
17
+ I
18
+ 1
19
+ I
20
+ 0
21
+ I
22
+ 0
23
+ I
24
+ 0
25
+ n
26
+ p
27
+ 0
28
+ p
29
+ 3
30
+ I
31
+ 0
32
+ I
33
+ 1
34
+ I
35
+ 4
36
+ x
37
+ 71
38
+ /Users/felipeelias/Applicake/doorkeeper/lib/tasks/doorkeeper_tasks.rake
39
+ p
40
+ 0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doorkeeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-11-28 00:00:00.000000000Z
13
+ date: 2011-11-30 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &70336834072240 !ruby/object:Gem::Requirement
17
+ requirement: &70324893080380 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.1.1
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70336834072240
25
+ version_requirements: *70324893080380
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: sqlite3
28
- requirement: &70336834071600 !ruby/object:Gem::Requirement
28
+ requirement: &70324893079400 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *70336834071600
36
+ version_requirements: *70324893079400
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec-rails
39
- requirement: &70336834070820 !ruby/object:Gem::Requirement
39
+ requirement: &70324893088760 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '0'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *70336834070820
47
+ version_requirements: *70324893088760
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: capybara
50
- requirement: &70336834070040 !ruby/object:Gem::Requirement
50
+ requirement: &70324893121600 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: '0'
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *70336834070040
58
+ version_requirements: *70324893121600
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: generator_spec
61
- requirement: &70336834069340 !ruby/object:Gem::Requirement
61
+ requirement: &70324893117520 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: '0'
67
67
  type: :development
68
68
  prerelease: false
69
- version_requirements: *70336834069340
69
+ version_requirements: *70324893117520
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: factory_girl_rails
72
- requirement: &70336834068500 !ruby/object:Gem::Requirement
72
+ requirement: &70324893116100 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: '0'
78
78
  type: :development
79
79
  prerelease: false
80
- version_requirements: *70336834068500
80
+ version_requirements: *70324893116100
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: timecop
83
- requirement: &70336834068020 !ruby/object:Gem::Requirement
83
+ requirement: &70324893159780 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ! '>='
@@ -88,7 +88,7 @@ dependencies:
88
88
  version: '0'
89
89
  type: :development
90
90
  prerelease: false
91
- version_requirements: *70336834068020
91
+ version_requirements: *70324893159780
92
92
  description: Doorkeeper is an OAuth 2 provider for Rails.
93
93
  email:
94
94
  - felipe@applicake.com
@@ -101,13 +101,21 @@ files:
101
101
  - app/assets/stylesheets/doorkeeper/application.css
102
102
  - app/assets/stylesheets/doorkeeper/form.css
103
103
  - app/controllers/doorkeeper/application_controller.rb
104
+ - app/controllers/doorkeeper/application_controller.rbc
104
105
  - app/controllers/doorkeeper/applications_controller.rb
106
+ - app/controllers/doorkeeper/applications_controller.rbc
105
107
  - app/controllers/doorkeeper/authorizations_controller.rb
108
+ - app/controllers/doorkeeper/authorizations_controller.rbc
106
109
  - app/controllers/doorkeeper/tokens_controller.rb
110
+ - app/controllers/doorkeeper/tokens_controller.rbc
107
111
  - app/helpers/doorkeeper/application_helper.rb
112
+ - app/helpers/doorkeeper/application_helper.rbc
108
113
  - app/models/access_grant.rb
114
+ - app/models/access_grant.rbc
109
115
  - app/models/access_token.rb
116
+ - app/models/access_token.rbc
110
117
  - app/models/application.rb
118
+ - app/models/application.rbc
111
119
  - app/views/doorkeeper/applications/_form.html.erb
112
120
  - app/views/doorkeeper/applications/edit.html.erb
113
121
  - app/views/doorkeeper/applications/index.html.erb
@@ -117,21 +125,34 @@ files:
117
125
  - app/views/doorkeeper/authorizations/new.html.erb
118
126
  - app/views/layouts/doorkeeper/application.html.erb
119
127
  - config/initializers/form_errors.rb
128
+ - config/initializers/form_errors.rbc
120
129
  - config/routes.rb
130
+ - config/routes.rbc
121
131
  - lib/doorkeeper/config.rb
132
+ - lib/doorkeeper/config.rbc
122
133
  - lib/doorkeeper/doorkeeper_for.rb
134
+ - lib/doorkeeper/doorkeeper_for.rbc
123
135
  - lib/doorkeeper/engine.rb
136
+ - lib/doorkeeper/engine.rbc
124
137
  - lib/doorkeeper/oauth/access_token_request.rb
138
+ - lib/doorkeeper/oauth/access_token_request.rbc
125
139
  - lib/doorkeeper/oauth/authorization_request.rb
140
+ - lib/doorkeeper/oauth/authorization_request.rbc
126
141
  - lib/doorkeeper/oauth/random_string.rb
142
+ - lib/doorkeeper/oauth/random_string.rbc
127
143
  - lib/doorkeeper/validations.rb
144
+ - lib/doorkeeper/validations.rbc
128
145
  - lib/doorkeeper/version.rb
146
+ - lib/doorkeeper/version.rbc
129
147
  - lib/doorkeeper.rb
148
+ - lib/doorkeeper.rbc
130
149
  - lib/generators/doorkeeper/install_generator.rb
150
+ - lib/generators/doorkeeper/install_generator.rbc
131
151
  - lib/generators/doorkeeper/templates/initializer.rb
132
152
  - lib/generators/doorkeeper/templates/migration.rb
133
153
  - lib/generators/doorkeeper/templates/README
134
154
  - lib/tasks/doorkeeper_tasks.rake
155
+ - lib/tasks/doorkeeper_tasks.rake.compiled.rbc
135
156
  - MIT-LICENSE
136
157
  - Rakefile
137
158
  - README.md
@@ -147,15 +168,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
168
  - - ! '>='
148
169
  - !ruby/object:Gem::Version
149
170
  version: '0'
171
+ segments:
172
+ - 0
173
+ hash: 1474017127702159549
150
174
  required_rubygems_version: !ruby/object:Gem::Requirement
151
175
  none: false
152
176
  requirements:
153
177
  - - ! '>='
154
178
  - !ruby/object:Gem::Version
155
179
  version: '0'
180
+ segments:
181
+ - 0
182
+ hash: 1474017127702159549
156
183
  requirements: []
157
184
  rubyforge_project:
158
- rubygems_version: 1.8.10
185
+ rubygems_version: 1.8.11
159
186
  signing_key:
160
187
  specification_version: 3
161
188
  summary: Doorkeeper is an OAuth 2 provider for Rails.