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.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.travis.yml +3 -3
- data/CHANGELOG.md +9 -0
- data/Gemfile +5 -1
- data/README.md +33 -15
- data/app/assets/stylesheets/doorkeeper/admin/application.css +14 -0
- data/app/assets/stylesheets/doorkeeper/application.css +50 -4
- data/app/controllers/doorkeeper/applications_controller.rb +1 -0
- data/app/helpers/doorkeeper/form_errors_helper.rb +5 -3
- data/app/views/doorkeeper/applications/_delete_form.html.erb +3 -14
- data/app/views/doorkeeper/applications/_form.html.erb +29 -27
- data/app/views/doorkeeper/applications/edit.html.erb +3 -11
- data/app/views/doorkeeper/applications/index.html.erb +24 -31
- data/app/views/doorkeeper/applications/new.html.erb +3 -11
- data/app/views/doorkeeper/applications/show.html.erb +31 -21
- data/app/views/doorkeeper/authorizations/error.html.erb +6 -5
- data/app/views/doorkeeper/authorizations/new.html.erb +21 -18
- data/app/views/doorkeeper/authorizations/show.html.erb +6 -3
- data/app/views/doorkeeper/authorized_applications/_delete_form.html.erb +5 -0
- data/app/views/doorkeeper/authorized_applications/index.html.erb +19 -19
- data/app/views/layouts/doorkeeper/admin.html.erb +34 -0
- data/app/views/layouts/doorkeeper/application.html.erb +13 -22
- data/lib/doorkeeper/config.rb +15 -4
- data/lib/doorkeeper/helpers/filter.rb +1 -1
- data/lib/doorkeeper/models/active_record/access_grant.rb +1 -1
- data/lib/doorkeeper/models/active_record/access_token.rb +1 -1
- data/lib/doorkeeper/models/active_record/application.rb +2 -2
- data/lib/doorkeeper/models/application.rb +2 -1
- data/lib/doorkeeper/models/mongoid/version.rb +15 -0
- data/lib/doorkeeper/models/{mongoid3 → mongoid3_4}/access_grant.rb +8 -1
- data/lib/doorkeeper/models/{mongoid3 → mongoid3_4}/access_token.rb +8 -1
- data/lib/doorkeeper/models/{mongoid3 → mongoid3_4}/application.rb +0 -0
- data/lib/doorkeeper/oauth/error_response.rb +2 -1
- data/lib/doorkeeper/oauth/helpers/uri_checker.rb +7 -2
- data/lib/doorkeeper/version.rb +1 -1
- data/lib/generators/doorkeeper/templates/initializer.rb +5 -0
- data/spec/dummy/app/models/user.rb +1 -1
- data/spec/dummy/config/application.rb +1 -1
- data/spec/dummy/config/environments/development.rb +2 -3
- data/spec/dummy/config/environments/production.rb +2 -0
- data/spec/dummy/config/environments/test.rb +8 -0
- data/spec/dummy/config/mongoid4.yml +18 -0
- data/spec/lib/config_spec.rb +5 -0
- data/spec/lib/oauth/helpers/uri_checker_spec.rb +45 -0
- data/spec/requests/applications/applications_request_spec.rb +4 -4
- data/spec/requests/flows/authorization_code_spec.rb +1 -1
- data/spec/requests/flows/client_credentials_spec.rb +1 -1
- data/spec/spec_helper_integration.rb +6 -0
- data/spec/support/helpers/request_spec_helper.rb +4 -0
- data/vendor/assets/stylesheets/doorkeeper/bootstrap.min.css +7 -356
- metadata +10 -6
- 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.
|
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-
|
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/
|
204
|
-
- lib/doorkeeper/models/
|
205
|
-
- lib/doorkeeper/models/
|
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
|