doorkeeper 2.1.4 → 3.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 (135) hide show
  1. checksums.yaml +4 -4
  2. data/.hound.yml +4 -0
  3. data/.travis.yml +5 -24
  4. data/CONTRIBUTING.md +23 -13
  5. data/Gemfile +3 -7
  6. data/{CHANGELOG.md → NEWS.md} +137 -42
  7. data/README.md +60 -46
  8. data/RELEASING.md +5 -3
  9. data/app/assets/stylesheets/doorkeeper/admin/application.css +1 -5
  10. data/app/controllers/doorkeeper/applications_controller.rb +2 -2
  11. data/app/helpers/doorkeeper/dashboard_helper.rb +1 -1
  12. data/app/validators/redirect_uri_validator.rb +1 -1
  13. data/app/views/doorkeeper/applications/_form.html.erb +13 -2
  14. data/app/views/doorkeeper/applications/show.html.erb +3 -2
  15. data/app/views/doorkeeper/authorizations/new.html.erb +1 -1
  16. data/app/views/layouts/doorkeeper/admin.html.erb +5 -2
  17. data/config/locales/en.yml +4 -32
  18. data/doorkeeper.gemspec +4 -8
  19. data/lib/doorkeeper/config.rb +20 -29
  20. data/lib/doorkeeper/engine.rb +7 -1
  21. data/lib/doorkeeper/errors.rb +12 -0
  22. data/lib/doorkeeper/grape/helpers.rb +1 -1
  23. data/lib/doorkeeper/helpers/controller.rb +6 -0
  24. data/lib/doorkeeper/models/access_grant_mixin.rb +3 -2
  25. data/lib/doorkeeper/models/access_token_mixin.rb +12 -4
  26. data/lib/doorkeeper/models/application_mixin.rb +11 -18
  27. data/lib/doorkeeper/models/concerns/revocable.rb +2 -2
  28. data/lib/doorkeeper/oauth/authorization/token.rb +15 -6
  29. data/lib/doorkeeper/oauth/authorization_code_request.rb +10 -5
  30. data/lib/doorkeeper/oauth/client.rb +9 -8
  31. data/lib/doorkeeper/oauth/client_credentials/creator.rb +3 -4
  32. data/lib/doorkeeper/oauth/error.rb +5 -1
  33. data/lib/doorkeeper/oauth/helpers/scope_checker.rb +1 -1
  34. data/lib/doorkeeper/oauth/refresh_token_request.rb +17 -7
  35. data/lib/doorkeeper/orm/active_record/access_grant.rb +2 -2
  36. data/lib/doorkeeper/orm/active_record/access_token.rb +2 -2
  37. data/lib/doorkeeper/orm/active_record/application.rb +2 -2
  38. data/lib/doorkeeper/orm/active_record.rb +22 -0
  39. data/lib/doorkeeper/rails/helpers.rb +19 -29
  40. data/lib/doorkeeper/request/authorization_code.rb +10 -15
  41. data/lib/doorkeeper/request/client_credentials.rb +9 -15
  42. data/lib/doorkeeper/request/code.rb +7 -13
  43. data/lib/doorkeeper/request/password.rb +10 -15
  44. data/lib/doorkeeper/request/refresh_token.rb +11 -13
  45. data/lib/doorkeeper/request/strategy.rb +17 -0
  46. data/lib/doorkeeper/request/token.rb +7 -13
  47. data/lib/doorkeeper/request.rb +18 -8
  48. data/lib/doorkeeper/server.rb +2 -2
  49. data/lib/doorkeeper/version.rb +1 -1
  50. data/lib/doorkeeper.rb +0 -4
  51. data/lib/generators/doorkeeper/templates/README +0 -20
  52. data/lib/generators/doorkeeper/templates/initializer.rb +5 -3
  53. data/lib/generators/doorkeeper/templates/migration.rb +8 -0
  54. data/spec/controllers/applications_controller_spec.rb +0 -1
  55. data/spec/controllers/protected_resources_controller_spec.rb +115 -14
  56. data/spec/controllers/token_info_controller_spec.rb +0 -4
  57. data/spec/controllers/tokens_controller_spec.rb +34 -3
  58. data/spec/dummy/app/models/user.rb +2 -24
  59. data/spec/dummy/config/application.rb +2 -1
  60. data/spec/dummy/config/initializers/doorkeeper.rb +0 -2
  61. data/spec/helpers/doorkeeper/dashboard_helper_spec.rb +24 -0
  62. data/spec/lib/config_spec.rb +20 -4
  63. data/spec/lib/models/revocable_spec.rb +2 -2
  64. data/spec/lib/oauth/authorization_code_request_spec.rb +1 -1
  65. data/spec/lib/oauth/client/credentials_spec.rb +2 -2
  66. data/spec/lib/oauth/client_credentials/creator_spec.rb +25 -1
  67. data/spec/lib/oauth/error_response_spec.rb +7 -7
  68. data/spec/lib/oauth/error_spec.rb +9 -5
  69. data/spec/lib/oauth/helpers/scope_checker_spec.rb +3 -3
  70. data/spec/lib/oauth/password_access_token_request_spec.rb +1 -1
  71. data/spec/lib/oauth/pre_authorization_spec.rb +9 -10
  72. data/spec/lib/oauth/refresh_token_request_spec.rb +26 -6
  73. data/spec/lib/oauth/scopes_spec.rb +1 -1
  74. data/spec/lib/oauth/token_request_spec.rb +6 -3
  75. data/spec/lib/request/strategy_spec.rb +53 -0
  76. data/spec/lib/server_spec.rb +4 -2
  77. data/spec/models/doorkeeper/access_grant_spec.rb +5 -5
  78. data/spec/models/doorkeeper/access_token_spec.rb +102 -5
  79. data/spec/models/doorkeeper/application_spec.rb +13 -16
  80. data/spec/requests/applications/applications_request_spec.rb +1 -1
  81. data/spec/requests/endpoints/authorization_spec.rb +2 -1
  82. data/spec/requests/endpoints/token_spec.rb +9 -9
  83. data/spec/requests/flows/authorization_code_errors_spec.rb +4 -4
  84. data/spec/requests/flows/authorization_code_spec.rb +36 -2
  85. data/spec/requests/flows/implicit_grant_spec.rb +14 -5
  86. data/spec/requests/flows/password_spec.rb +14 -20
  87. data/spec/requests/flows/refresh_token_spec.rb +15 -7
  88. data/spec/requests/flows/revoke_token_spec.rb +9 -31
  89. data/spec/requests/protected_resources/metal_spec.rb +3 -3
  90. data/spec/requests/protected_resources/private_api_spec.rb +11 -0
  91. data/spec/routing/custom_controller_routes_spec.rb +1 -2
  92. data/spec/routing/default_routes_spec.rb +1 -2
  93. data/spec/routing/scoped_routes_spec.rb +0 -1
  94. data/spec/spec_helper_integration.rb +10 -7
  95. data/spec/support/helpers/access_token_request_helper.rb +1 -1
  96. data/spec/support/helpers/authorization_request_helper.rb +1 -1
  97. data/spec/support/helpers/config_helper.rb +1 -1
  98. data/spec/support/helpers/model_helper.rb +1 -1
  99. data/spec/support/helpers/request_spec_helper.rb +1 -1
  100. data/spec/support/helpers/url_helper.rb +1 -1
  101. data/spec/support/shared/models_shared_examples.rb +1 -1
  102. data/spec/validators/redirect_uri_validator_spec.rb +5 -0
  103. metadata +127 -98
  104. data/gemfiles/Gemfile.common.rb +0 -14
  105. data/gemfiles/Gemfile.mongo_mapper.rb +0 -5
  106. data/gemfiles/Gemfile.mongoid2.rb +0 -5
  107. data/gemfiles/Gemfile.mongoid3.rb +0 -4
  108. data/gemfiles/Gemfile.mongoid4.rb +0 -5
  109. data/lib/doorkeeper/generators/doorkeeper/mongo_mapper/indexes_generator.rb +0 -12
  110. data/lib/doorkeeper/generators/doorkeeper/mongo_mapper/templates/indexes.rb +0 -3
  111. data/lib/doorkeeper/orm/mongo_mapper/access_grant.rb +0 -24
  112. data/lib/doorkeeper/orm/mongo_mapper/access_token.rb +0 -43
  113. data/lib/doorkeeper/orm/mongo_mapper/application.rb +0 -29
  114. data/lib/doorkeeper/orm/mongo_mapper.rb +0 -11
  115. data/lib/doorkeeper/orm/mongoid2/access_grant.rb +0 -22
  116. data/lib/doorkeeper/orm/mongoid2/access_token.rb +0 -37
  117. data/lib/doorkeeper/orm/mongoid2/application.rb +0 -25
  118. data/lib/doorkeeper/orm/mongoid2/concerns/scopes.rb +0 -30
  119. data/lib/doorkeeper/orm/mongoid2.rb +0 -11
  120. data/lib/doorkeeper/orm/mongoid3/access_grant.rb +0 -22
  121. data/lib/doorkeeper/orm/mongoid3/access_token.rb +0 -37
  122. data/lib/doorkeeper/orm/mongoid3/application.rb +0 -25
  123. data/lib/doorkeeper/orm/mongoid3/concerns/scopes.rb +0 -30
  124. data/lib/doorkeeper/orm/mongoid3.rb +0 -11
  125. data/lib/doorkeeper/orm/mongoid4/access_grant.rb +0 -22
  126. data/lib/doorkeeper/orm/mongoid4/access_token.rb +0 -37
  127. data/lib/doorkeeper/orm/mongoid4/application.rb +0 -25
  128. data/lib/doorkeeper/orm/mongoid4/concerns/scopes.rb +0 -17
  129. data/lib/doorkeeper/orm/mongoid4.rb +0 -11
  130. data/spec/dummy/config/mongo.yml +0 -11
  131. data/spec/dummy/config/mongoid2.yml +0 -9
  132. data/spec/dummy/config/mongoid3.yml +0 -18
  133. data/spec/dummy/config/mongoid4.yml +0 -19
  134. data/spec/support/orm/mongo_mapper.rb +0 -10
  135. data/spec/support/orm/mongoid.rb +0 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f81bfc8acb70b14d07f1d1cfa39d608b70488890
4
- data.tar.gz: e27b15693c23faf2348358e307757a0cdf088e7d
3
+ metadata.gz: 03417189314de7b84fcfa05699c35a0346a55035
4
+ data.tar.gz: e4026de8e9ed39d2bb270abc9efc4e1ccca20775
5
5
  SHA512:
6
- metadata.gz: f0981eb39aba13e7191309b2d6703d58c175dd28df746867b1b466f9a62c9e5978f705f7df617268d082a210ff4bc5da1206a17849a0e1b0ee87746cf96d77fb
7
- data.tar.gz: 207f6e7ec14a8369e3c27ee9af38a87d273556681438938c61c80454dd23628c838b2ff4c8e462e49ce6ed0cdfcf99481fb9c54b5b8752422a598c9bf238d78b
6
+ metadata.gz: bbe0a1693809bfc8802a66c50df30a128a527a3f239114ffdc69d46e948ac0516594fe3872f3624157632e91078a0ad64aa1f98932b26bdf389228b22bed246b
7
+ data.tar.gz: 6d434e7dc34b65d1022914f8fd348c9d1c8e6ef41bb30761411eb0c693531ccb12c87c237c1e54fbcbee11a8dd0bf68c82768a6801f273dab2bcaf1fe96afea6
data/.hound.yml CHANGED
@@ -1,3 +1,7 @@
1
+ AllCops:
2
+ Exclude:
3
+ - "spec/dummy/db/*"
4
+
1
5
  LineLength:
2
6
  Exclude:
3
7
  - spec/**/*
data/.travis.yml CHANGED
@@ -1,41 +1,22 @@
1
+ cache: bundler
1
2
  language: ruby
2
3
  sudo: false
3
- cache: bundler
4
4
 
5
5
  rvm:
6
6
  - 2.0
7
7
  - 2.1
8
8
  - 2.2
9
+ - jruby-head
9
10
 
10
11
  env:
11
12
  - rails=3.2.0
12
13
  - rails=4.1.0
13
14
  - rails=4.2.0
14
15
 
15
- gemfile:
16
- - Gemfile
17
- - gemfiles/Gemfile.mongoid2.rb
18
- - gemfiles/Gemfile.mongoid3.rb
19
- - gemfiles/Gemfile.mongoid4.rb
20
- - gemfiles/Gemfile.mongo_mapper.rb
21
-
22
- services:
23
- - mongodb
24
-
25
16
  matrix:
17
+ exclude:
18
+ - env: rails=3.2.0
19
+ rvm: jruby-head
26
20
  exclude:
27
21
  - env: rails=3.2.0
28
22
  rvm: 2.2
29
-
30
- - gemfile: gemfiles/Gemfile.mongoid2.rb
31
- env: rails=4.1.0
32
- - gemfile: gemfiles/Gemfile.mongoid2.rb
33
- env: rails=4.2.0
34
-
35
- - gemfile: gemfiles/Gemfile.mongoid3.rb
36
- env: rails=4.1.0
37
- - gemfile: gemfiles/Gemfile.mongoid3.rb
38
- env: rails=4.2.0
39
-
40
- - gemfile: gemfiles/Gemfile.mongoid4.rb
41
- env: rails=3.2.0
data/CONTRIBUTING.md CHANGED
@@ -1,6 +1,9 @@
1
1
  # Contributing
2
2
 
3
- We love pull requests. Here's a quick guide.
3
+ We love pull requests from everyone. By participating in this project, you agree
4
+ to abide by the thoughtbot [code of conduct].
5
+
6
+ [code of conduct]: https://thoughtbot.com/open-source-code-of-conduct
4
7
 
5
8
  Fork, then clone the repo:
6
9
 
@@ -14,22 +17,29 @@ Make sure the tests pass:
14
17
 
15
18
  rake
16
19
 
17
- Make your change. Add tests for your change. Make the tests pass:
20
+ Make your change.
21
+ Write tests.
22
+ Follow our [style guide][style].
23
+ Make the tests pass:
24
+
25
+ [style]: https://github.com/thoughtbot/guides/tree/master/style
18
26
 
19
27
  rake
20
28
 
21
- Push to your fork and submit a pull request.
29
+ Write a [good commit message][commit].
30
+ Push to your fork.
31
+ [Submit a pull request][pr].
22
32
 
23
- At this point you're waiting on us. We like to at least comment on pull requests
24
- within three business days (and, typically, one business day). We may suggest
25
- some changes or improvements or alternatives.
33
+ [commit]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
34
+ [pr]: https://github.com/doorkeeper-gem/doorkeeper/compare/
26
35
 
27
- Some things that will increase the chance that your pull request is accepted:
36
+ If [Hound] catches style violations,
37
+ fix them.
28
38
 
29
- * Write tests.
30
- * Follow our [style guide][style]. Address Hound CI comments unless you have a
31
- good reason not to.
32
- * Write a [good commit message][commit].
39
+ [hound]: https://houndci.com
33
40
 
34
- [style]: https://github.com/thoughtbot/guides/tree/master/style
35
- [commit]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
41
+ Wait for us.
42
+ We try to at least comment on pull requests within one business day.
43
+ We may suggest changes.
44
+
45
+ Thank you for your contribution!
data/Gemfile CHANGED
@@ -1,14 +1,10 @@
1
- ENV['rails'] ||= '4.2.0.rc2'
1
+ ENV['rails'] ||= '4.2.0'
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gem 'rails', "~> #{ENV['rails']}"
6
6
 
7
- if ENV['rails'][0] == '4'
8
- gem 'database_cleaner'
9
- end
10
- if ENV['rails'] =~ /4.0|3.2/
11
- gem 'rubysl-test-unit'
12
- end
7
+ gem "sqlite3", platform: [:ruby, :mswin, :mingw]
8
+ gem "activerecord-jdbcsqlite3-adapter", platform: :jruby
13
9
 
14
10
  gemspec
@@ -1,6 +1,96 @@
1
- # Changelog
1
+ # News
2
2
 
3
- ## 2.1.4
3
+ User-visible changes worth mentioning.
4
+
5
+ ---
6
+
7
+ ## 3.1.0
8
+
9
+ - [#736] Existing valid tokens are now reused in client_credentials flow
10
+ - [#749] Allow user to raise authorization error with custom messages.
11
+ Under `resource_owner_authenticator` block a user can
12
+ `raise Doorkeeper::Errors::DoorkeeperError.new('custom_message')`
13
+ - [#762] Check doesn’t abort the actual migration, so it runs
14
+ - [#722] `doorkeeper_forbidden_render_options` now supports returning a 404 by
15
+ specifying `respond_not_found_when_forbidden: true` in the
16
+ `doorkeeper_forbidden_render_options` method.
17
+ - [#734] Simplify and remove duplication in request strategy classes
18
+
19
+ ## 3.0.1
20
+
21
+ - [#712] Wrap exchange of grant token for access token and access token refresh
22
+ in transactions
23
+ - [#704] Allow applications scopes to be mass assigned
24
+ - [#707] Fixed order of Mixin inclusion and table_name configuration in models
25
+ - [#712] Wrap access token and refresh grants in transactions
26
+ - Adds JRuby support
27
+ - Specs, views and documentation adjustments
28
+
29
+ ## 3.0.0
30
+
31
+ ### Other changes
32
+
33
+ - [#693] Updates `en.yml`.
34
+
35
+ ## 3.0.0 (rc2)
36
+
37
+ ### Backward incompatible changes
38
+
39
+ - [#678] Change application-specific scopes to take precedence over server-wide
40
+ scopes. This removes the previous behavior where the intersection between
41
+ application and server scopes was used.
42
+
43
+ ### Other changes
44
+
45
+ - [#671] Fixes `NoMethodError - undefined method 'getlocal'` when calling
46
+ the /oauth/token path. Switch from using a DateTime object to update
47
+ AR to using a Time object. (Issue #668)
48
+ - [#677] Support editing application-specific scopes via the standard forms
49
+ - [#682] Pass error hash to Grape `error!`
50
+ - [#683] Generate application secret/UID if fields are blank strings
51
+
52
+ ## 3.0.0 (rc1)
53
+
54
+ ### Backward incompatible changes
55
+
56
+ - [#648] Extracts mongodb ORMs to
57
+ https://github.com/doorkeeper-gem/doorkeeper-mongodb. If you use ActiveRecord
58
+ you don’t need to do any change, otherwise you will need to install the new
59
+ plugin.
60
+ - [#665] `doorkeeper_unauthorized_render_options(error:)` and
61
+ `doorkeeper_forbidden_render_options(error:)` now accept `error` keyword
62
+ argument.
63
+
64
+ ### Removed deprecations
65
+
66
+ - Removes `doorkeeper_for` deprecation notice.
67
+ - Remove `applications.scopes` upgrade notice.
68
+
69
+
70
+ ## 2.2.2 (unreleased)
71
+
72
+ - [#541] Fixed `undefined method attr_accessible` problem on Rails 4
73
+ (happens only when ProtectedAttributes gem is used) in #599
74
+
75
+ ## 2.2.1
76
+
77
+ - [#636] `custom_access_token_expires_in` bugfixes
78
+ - [#641] syntax error fix (Issue #612)
79
+ - [#633] Send extra details to Custom Token Generator
80
+ - [#628] Refactor: improve orm adapters to ease extension
81
+ - [#637] Upgrade to rspec to 3.2
82
+
83
+ ## 2.2.0 - 2015-04-19
84
+
85
+ - [#611] Allow custom access token generators to be used
86
+ - [#632] Properly fallback to `default_scopes` when no scope is specified
87
+ - [#622] Clarify that there is a logical OR between scopes for authorizing
88
+ - [#635] Upgrade to rspec 3
89
+ - [#627] i18n fallbacks to english
90
+ - Moved CHANGELOG to NEWS.md
91
+
92
+
93
+ ## 2.1.4 - 2015-03-27
4
94
 
5
95
  - [#595] HTTP spec: Add `scope` for refresh token scope param
6
96
  - [#596] Limit scopes in app scopes for client credentials
@@ -8,12 +98,12 @@
8
98
  - [#606] Add custom access token expiration support for Client Credentials flow
9
99
 
10
100
 
11
- ## 2.1.3
101
+ ## 2.1.3 - 2015-03-01
12
102
 
13
103
  - [#588] Fixes scopes_match? bug that skipped authorization form in some cases
14
104
 
15
105
 
16
- ## 2.1.2
106
+ ## 2.1.2 - 2015-02-25
17
107
 
18
108
  - [#574] Remove unused update authorization route.
19
109
  - [#576] Filter out sensitive parameters from logs.
@@ -22,7 +112,7 @@
22
112
  - Testing improvements
23
113
 
24
114
 
25
- ## 2.1.1
115
+ ## 2.1.1 - 2015-02-06
26
116
 
27
117
  - Remove `wildcard_redirect_url` option
28
118
  - [#481] Customize token flow OAuth expirations with a config lambda
@@ -32,7 +122,7 @@
32
122
  - Documentation improvements
33
123
 
34
124
 
35
- ## 2.1.0
125
+ ## 2.1.0 - 2015-01-13
36
126
 
37
127
  - [#540] Include `created_at` in response.
38
128
  - [#538] Check application-level scopes in client_credentials and password flow.
@@ -52,12 +142,12 @@
52
142
  - [#510, #544, 722113f] Revoked refresh token response bugfix.
53
143
 
54
144
 
55
- ## 2.0.1
145
+ ## 2.0.1 - 2014-12-17
56
146
 
57
147
  - [#525, #526, #527] Fix `ActiveRecord::NoDatabaseError` on gem load.
58
148
 
59
149
 
60
- ## 2.0.0
150
+ ## 2.0.0 - 2014-12-16
61
151
 
62
152
  ### Backward incompatible changes
63
153
 
@@ -100,13 +190,17 @@
100
190
  - [#516] SECURITY: Adds `protect_from_forgery` to `Doorkeeper::ApplicationController`
101
191
  - [#518] Fix random failures in mongodb.
102
192
 
193
+ ---
103
194
 
104
- ## 1.4.1
195
+ ## 1.4.2 - 2015-03-02
105
196
 
106
- - [#516] SECURITY: Adds `protect_from_forgery` to `Doorkeeper::ApplicationController`
197
+ - [#576] Filter out sensitive parameters from logs
107
198
 
199
+ ## 1.4.1 - 2014-12-17
108
200
 
109
- ## 1.4.0
201
+ - [#516] SECURITY: Adds `protect_from_forgery` to `Doorkeeper::ApplicationController`
202
+
203
+ ## 1.4.0 - 2014-07-31
110
204
 
111
205
  - internals
112
206
  - [#427] Adds specs expectations.
@@ -122,7 +216,7 @@
122
216
  - enhancements
123
217
  - [#432] Keeps query parameters
124
218
 
125
- ## 1.3.1
219
+ ## 1.3.1 - 2014-07-06
126
220
 
127
221
  - enhancements
128
222
  - [#405] Adds facade to more easily get the token from a request in a route
@@ -138,12 +232,12 @@
138
232
  - [#413] fixes #340, routing scope is now taken into account in redirect.
139
233
  - [#401] and [#425] application is not required any longer for access_token.
140
234
 
141
- ## 1.3.0
235
+ ## 1.3.0 - 2014-05-23
142
236
 
143
237
  - enhancements
144
238
  - [#387] Adds reuse_access_token configuration option.
145
239
 
146
- ## 1.2.0
240
+ ## 1.2.0 - 2014-05-02
147
241
 
148
242
  - enhancements
149
243
  - [#376] Allow users to enable basic header authorization for access tokens.
@@ -155,7 +249,7 @@
155
249
  - [#390] Style adjustments in accordance with Ruby Style Guide form
156
250
  Thoughtbot.
157
251
 
158
- ## 1.1.0
252
+ ## 1.1.0 - 2014-03-29
159
253
 
160
254
  - enhancements
161
255
  - [#336] mongoid4 support.
@@ -164,7 +258,7 @@
164
258
  - [#343] separate OAuth's admin and user end-point to different layouts, upgrade theme to Bootstrap 3.1.
165
259
  - [#348] Move render_options in filter after `@error` has been set
166
260
 
167
- ## 1.0.0
261
+ ## 1.0.0 - 2014-01-13
168
262
 
169
263
  - bug (spec)
170
264
  - [#228] token response `expires_in` value is now in seconds, relative to
@@ -191,12 +285,14 @@
191
285
  - [#316] Test warnings addressed.
192
286
  - [#338] Rspec 3 syntax.
193
287
 
194
- ## 0.7.4
288
+ ---
289
+
290
+ ## 0.7.4 - 2013-12-01
195
291
 
196
292
  - bug
197
293
  - Symbols instead of strings for user input.
198
294
 
199
- ## 0.7.3
295
+ ## 0.7.3 - 2013-10-04
200
296
 
201
297
  - enhancements
202
298
  - [#204] Allow to overwrite scope in routes
@@ -206,8 +302,7 @@
206
302
  - bug
207
303
  - [#290] Support for Rails 4 when 'protected_attributes' gem is present.
208
304
 
209
-
210
- ## 0.7.2
305
+ ## 0.7.2 - 2013-09-11
211
306
 
212
307
  - enhancements
213
308
  - [#272] Allow issuing multiple access_tokens for one user/application for multiple devices
@@ -215,12 +310,12 @@
215
310
  - [#239] Do not try to load unavailable Request class for the current phase.
216
311
  - [#273] Relax jquery-rails gem dependency
217
312
 
218
- ## 0.7.1
313
+ ## 0.7.1 - 2013-08-30
219
314
 
220
315
  - bug
221
316
  - [#269] Rails 3.2 raised `ActiveModel::MassAssignmentSecurity::Error`.
222
317
 
223
- ## 0.7.0
318
+ ## 0.7.0 - 2013-08-21
224
319
 
225
320
  - enhancements
226
321
  - [#229] Rails 4!
@@ -232,27 +327,27 @@
232
327
  - [#263] Add a configuration for ActiveRecord.establish_connection
233
328
  - Deprecation and Ruby warnings (PRs merged outside of GitHub).
234
329
 
235
- ## 0.6.7
330
+ ## 0.6.7 - 2013-01-13
236
331
 
237
332
  - internals
238
333
  - [#188] Add IDs to the show views for integration testing [@egtann](https://github.com/egtann)
239
334
 
240
- ## 0.6.6
335
+ ## 0.6.6 - 2013-01-04
241
336
 
242
337
  - enhancements
243
338
  - [#187] Raise error if configuration is not set
244
339
 
245
- ## 0.6.5
340
+ ## 0.6.5 - 2012-12-26
246
341
 
247
342
  - enhancements
248
343
  - [#184] Vendor the Bootstrap CSS [@tylerhunt](https://github.com/tylerhunt)
249
344
 
250
- ## 0.6.4
345
+ ## 0.6.4 - 2012-12-15
251
346
 
252
347
  - bug
253
348
  - [#180] Add localization to authorized_applications destroy notice [@aalvarado](https://github.com/aalvarado)
254
349
 
255
- ## 0.6.3
350
+ ## 0.6.3 - 2012-12-07
256
351
 
257
352
  - bugfixes
258
353
  - [#163] Error response content-type header should be application/json [@ggayan](https://github.com/ggayan)
@@ -262,19 +357,19 @@
262
357
  - internals
263
358
  - [#168] Using expectation syntax for controller specs [@rdsoze](https://github.com/rdsoze)
264
359
 
265
- ## 0.6.2
360
+ ## 0.6.2 - 2012-11-10
266
361
 
267
362
  - bugfixes
268
363
  - [#162] Remove ownership columns from base migration template [@rdsoze](https://github.com/rdsoze)
269
364
 
270
- ## 0.6.1
365
+ ## 0.6.1 - 2012-11-07
271
366
 
272
367
  - bugfixes
273
368
  - [#160] Removed |routes| argument from initializer authenticator blocks
274
369
  - documentation
275
370
  - [#160] Fixed description of context of authenticator blocks
276
371
 
277
- ## 0.6.0
372
+ ## 0.6.0 - 2012-11-05
278
373
 
279
374
  - enhancements
280
375
  - Mongoid `orm` configuration accepts only :mongoid2 or :mongoid3
@@ -293,7 +388,7 @@
293
388
  - Rails/ORM are easily swichable with env vars (rails and orm)
294
389
  - Travis now tests against Mongoid v2
295
390
 
296
- ## 0.5.0.rc1
391
+ ## 0.5.0 - 2012-10-20
297
392
 
298
393
  Official support for rubinius was removed.
299
394
 
@@ -321,17 +416,17 @@ Official support for rubinius was removed.
321
416
  - documentation
322
417
  - [#141] Add rack-cors middleware to readme [@gottfrois](https://github.com/gottfrois)
323
418
 
324
- ## 0.4.2
419
+ ## 0.4.2 - 2012-06-05
325
420
 
326
421
  - bugfixes:
327
422
  - [#94] Uninitialized Constant in Password Flow
328
423
 
329
- ## 0.4.1
424
+ ## 0.4.1 - 2012-06-02
330
425
 
331
426
  - enhancements:
332
427
  - Backport: Move doorkeeper_for extension to Filter helper
333
428
 
334
- ## 0.4.0
429
+ ## 0.4.0 - 2012-05-26
335
430
 
336
431
  - deprecation
337
432
  - Deprecate authorization_scopes
@@ -345,15 +440,15 @@ Official support for rubinius was removed.
345
440
  - internals
346
441
  - [#2ece8d, #f93778] Introduce Client and ErrorResponse classes
347
442
 
348
- ## 0.3.4
443
+ ## 0.3.4 - 2012-05-24
349
444
 
350
445
  - Fix attr_accessible for rails 3.2.x
351
446
 
352
- ## 0.3.3
447
+ ## 0.3.3 - 2012-05-07
353
448
 
354
449
  - [#86] shrink gem package size
355
450
 
356
- ## 0.3.2
451
+ ## 0.3.2 - 2012-04-29
357
452
 
358
453
  - enhancements
359
454
  - [#54] Ignore Authorization: headers that are not Bearer [@miyagawa](https://github.com/miyagawa)
@@ -369,7 +464,7 @@ Official support for rubinius was removed.
369
464
  - [#75] Fix unknown method #authenticate_admin! [@mattgreen](https://github.com/mattgreen)
370
465
  - Remove application link in authorized app view
371
466
 
372
- ## 0.3.1
467
+ ## 0.3.1 - 2012-02-17
373
468
 
374
469
  - enhancements
375
470
  - [#48] Add if, else options to doorkeeper_for
@@ -377,7 +472,7 @@ Official support for rubinius was removed.
377
472
  - internals
378
473
  - Namespace models
379
474
 
380
- ## 0.3.0
475
+ ## 0.3.0 - 2012-02-11
381
476
 
382
477
  - enhancements
383
478
  - [#17, #31] Add support for client credentials in basic auth header [@GoldsteinTechPartners](https://github.com/GoldsteinTechPartners)
@@ -396,7 +491,7 @@ Official support for rubinius was removed.
396
491
  - Depends on railties instead of whole rails framework
397
492
  - CI now integrates with rails 3.1 and 3.2
398
493
 
399
- ## 0.2.0
494
+ ## 0.2.0 - 2011-12-17
400
495
 
401
496
  - enhancements
402
497
  - [#4] Add authorized applications endpoint
@@ -414,7 +509,7 @@ Official support for rubinius was removed.
414
509
  - deprecation
415
510
  - deprecate :only and :except options in doorkeeper_for
416
511
 
417
- ## 0.1.1
512
+ ## 0.1.1 - 2011-11-30
418
513
 
419
514
  - enhancements
420
515
  - [#3] Authorization code must be short lived and single use
@@ -424,7 +519,7 @@ Official support for rubinius was removed.
424
519
  - bugfixes
425
520
  - Fix issue when creating the access token (wrong client id)
426
521
 
427
- ## 0.1.0
522
+ ## 0.1.0 - 2011-11-25
428
523
 
429
524
  - Authorization Code flow
430
525
  - OAuth applications endpoint