doorkeeper 1.0.0 → 1.1.0

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 (53) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/.travis.yml +3 -3
  4. data/CHANGELOG.md +9 -0
  5. data/Gemfile +5 -1
  6. data/README.md +33 -15
  7. data/app/assets/stylesheets/doorkeeper/admin/application.css +14 -0
  8. data/app/assets/stylesheets/doorkeeper/application.css +50 -4
  9. data/app/controllers/doorkeeper/applications_controller.rb +1 -0
  10. data/app/helpers/doorkeeper/form_errors_helper.rb +5 -3
  11. data/app/views/doorkeeper/applications/_delete_form.html.erb +3 -14
  12. data/app/views/doorkeeper/applications/_form.html.erb +29 -27
  13. data/app/views/doorkeeper/applications/edit.html.erb +3 -11
  14. data/app/views/doorkeeper/applications/index.html.erb +24 -31
  15. data/app/views/doorkeeper/applications/new.html.erb +3 -11
  16. data/app/views/doorkeeper/applications/show.html.erb +31 -21
  17. data/app/views/doorkeeper/authorizations/error.html.erb +6 -5
  18. data/app/views/doorkeeper/authorizations/new.html.erb +21 -18
  19. data/app/views/doorkeeper/authorizations/show.html.erb +6 -3
  20. data/app/views/doorkeeper/authorized_applications/_delete_form.html.erb +5 -0
  21. data/app/views/doorkeeper/authorized_applications/index.html.erb +19 -19
  22. data/app/views/layouts/doorkeeper/admin.html.erb +34 -0
  23. data/app/views/layouts/doorkeeper/application.html.erb +13 -22
  24. data/lib/doorkeeper/config.rb +15 -4
  25. data/lib/doorkeeper/helpers/filter.rb +1 -1
  26. data/lib/doorkeeper/models/active_record/access_grant.rb +1 -1
  27. data/lib/doorkeeper/models/active_record/access_token.rb +1 -1
  28. data/lib/doorkeeper/models/active_record/application.rb +2 -2
  29. data/lib/doorkeeper/models/application.rb +2 -1
  30. data/lib/doorkeeper/models/mongoid/version.rb +15 -0
  31. data/lib/doorkeeper/models/{mongoid3 → mongoid3_4}/access_grant.rb +8 -1
  32. data/lib/doorkeeper/models/{mongoid3 → mongoid3_4}/access_token.rb +8 -1
  33. data/lib/doorkeeper/models/{mongoid3 → mongoid3_4}/application.rb +0 -0
  34. data/lib/doorkeeper/oauth/error_response.rb +2 -1
  35. data/lib/doorkeeper/oauth/helpers/uri_checker.rb +7 -2
  36. data/lib/doorkeeper/version.rb +1 -1
  37. data/lib/generators/doorkeeper/templates/initializer.rb +5 -0
  38. data/spec/dummy/app/models/user.rb +1 -1
  39. data/spec/dummy/config/application.rb +1 -1
  40. data/spec/dummy/config/environments/development.rb +2 -3
  41. data/spec/dummy/config/environments/production.rb +2 -0
  42. data/spec/dummy/config/environments/test.rb +8 -0
  43. data/spec/dummy/config/mongoid4.yml +18 -0
  44. data/spec/lib/config_spec.rb +5 -0
  45. data/spec/lib/oauth/helpers/uri_checker_spec.rb +45 -0
  46. data/spec/requests/applications/applications_request_spec.rb +4 -4
  47. data/spec/requests/flows/authorization_code_spec.rb +1 -1
  48. data/spec/requests/flows/client_credentials_spec.rb +1 -1
  49. data/spec/spec_helper_integration.rb +6 -0
  50. data/spec/support/helpers/request_spec_helper.rb +4 -0
  51. data/vendor/assets/stylesheets/doorkeeper/bootstrap.min.css +7 -356
  52. metadata +10 -6
  53. data/app/assets/stylesheets/doorkeeper/form.css +0 -13
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: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felipe Elias Philipp
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-01-13 00:00:00.000000000 Z
12
+ date: 2014-03-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -153,8 +153,8 @@ files:
153
153
  - MIT-LICENSE
154
154
  - README.md
155
155
  - Rakefile
156
+ - app/assets/stylesheets/doorkeeper/admin/application.css
156
157
  - app/assets/stylesheets/doorkeeper/application.css
157
- - app/assets/stylesheets/doorkeeper/form.css
158
158
  - app/controllers/doorkeeper/application_controller.rb
159
159
  - app/controllers/doorkeeper/applications_controller.rb
160
160
  - app/controllers/doorkeeper/authorizations_controller.rb
@@ -172,7 +172,9 @@ files:
172
172
  - app/views/doorkeeper/authorizations/error.html.erb
173
173
  - app/views/doorkeeper/authorizations/new.html.erb
174
174
  - app/views/doorkeeper/authorizations/show.html.erb
175
+ - app/views/doorkeeper/authorized_applications/_delete_form.html.erb
175
176
  - app/views/doorkeeper/authorized_applications/index.html.erb
177
+ - app/views/layouts/doorkeeper/admin.html.erb
176
178
  - app/views/layouts/doorkeeper/application.html.erb
177
179
  - config/locales/en.yml
178
180
  - doorkeeper.gemspec
@@ -197,12 +199,13 @@ files:
197
199
  - lib/doorkeeper/models/mongo_mapper/revocable.rb
198
200
  - lib/doorkeeper/models/mongoid/revocable.rb
199
201
  - lib/doorkeeper/models/mongoid/scopes.rb
202
+ - lib/doorkeeper/models/mongoid/version.rb
200
203
  - lib/doorkeeper/models/mongoid2/access_grant.rb
201
204
  - lib/doorkeeper/models/mongoid2/access_token.rb
202
205
  - lib/doorkeeper/models/mongoid2/application.rb
203
- - lib/doorkeeper/models/mongoid3/access_grant.rb
204
- - lib/doorkeeper/models/mongoid3/access_token.rb
205
- - lib/doorkeeper/models/mongoid3/application.rb
206
+ - lib/doorkeeper/models/mongoid3_4/access_grant.rb
207
+ - lib/doorkeeper/models/mongoid3_4/access_token.rb
208
+ - lib/doorkeeper/models/mongoid3_4/application.rb
206
209
  - lib/doorkeeper/models/ownership.rb
207
210
  - lib/doorkeeper/models/revocable.rb
208
211
  - lib/doorkeeper/models/scopes.rb
@@ -290,6 +293,7 @@ files:
290
293
  - spec/dummy/config/mongo.yml
291
294
  - spec/dummy/config/mongoid2.yml
292
295
  - spec/dummy/config/mongoid3.yml
296
+ - spec/dummy/config/mongoid4.yml
293
297
  - spec/dummy/config/routes.rb
294
298
  - spec/dummy/db/migrate/20111122132257_create_users.rb
295
299
  - spec/dummy/db/migrate/20120312140401_add_password_to_users.rb
@@ -1,13 +0,0 @@
1
- .field_with_errors {
2
- display: inline;
3
- }
4
-
5
- .field_with_errors input {
6
- color: #B94A48;
7
- border-color: #EE5F5B;
8
- }
9
-
10
- .input .help-inline.error {
11
- color: #B94A48;
12
- }
13
-