devise 3.5.10 → 4.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of devise might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.travis.yml +9 -9
- data/CHANGELOG.md +33 -1188
- data/Gemfile +0 -1
- data/Gemfile.lock +15 -18
- data/MIT-LICENSE +1 -1
- data/README.md +20 -10
- data/app/controllers/devise/omniauth_callbacks_controller.rb +4 -4
- data/app/controllers/devise/passwords_controller.rb +2 -2
- data/app/controllers/devise/registrations_controller.rb +2 -2
- data/app/controllers/devise/sessions_controller.rb +4 -4
- data/app/controllers/devise/unlocks_controller.rb +1 -1
- data/app/controllers/devise_controller.rb +11 -7
- data/devise.gemspec +2 -3
- data/gemfiles/Gemfile.rails-4.1-stable +0 -1
- data/gemfiles/Gemfile.rails-4.1-stable.lock +38 -41
- data/gemfiles/Gemfile.rails-4.2-stable +0 -1
- data/gemfiles/Gemfile.rails-4.2-stable.lock +47 -50
- data/gemfiles/Gemfile.rails-5.0-beta +37 -0
- data/gemfiles/Gemfile.rails-5.0-beta.lock +242 -0
- data/lib/devise.rb +8 -8
- data/lib/devise/controllers/helpers.rb +7 -11
- data/lib/devise/failure_app.rb +17 -9
- data/lib/devise/models/authenticatable.rb +5 -1
- data/lib/devise/models/confirmable.rb +3 -4
- data/lib/devise/models/database_authenticatable.rb +1 -0
- data/lib/devise/models/lockable.rb +1 -5
- data/lib/devise/models/rememberable.rb +5 -11
- data/lib/devise/parameter_sanitizer.rb +176 -61
- data/lib/devise/rails.rb +1 -10
- data/lib/devise/rails/routes.rb +25 -14
- data/lib/devise/rails/warden_compat.rb +1 -10
- data/lib/devise/strategies/rememberable.rb +6 -3
- data/lib/devise/test_helpers.rb +9 -4
- data/lib/devise/token_generator.rb +1 -41
- data/lib/devise/version.rb +1 -1
- data/lib/generators/active_record/devise_generator.rb +3 -3
- data/lib/generators/active_record/templates/migration.rb +1 -1
- data/lib/generators/active_record/templates/migration_existing.rb +1 -1
- data/lib/generators/devise/orm_helpers.rb +0 -17
- data/lib/generators/templates/controllers/registrations_controller.rb +4 -4
- data/lib/generators/templates/controllers/sessions_controller.rb +2 -2
- data/lib/generators/templates/devise.rb +4 -5
- data/test/controllers/custom_registrations_controller_test.rb +5 -5
- data/test/controllers/custom_strategy_test.rb +7 -5
- data/test/controllers/helper_methods_test.rb +3 -2
- data/test/controllers/helpers_test.rb +1 -1
- data/test/controllers/inherited_controller_i18n_messages_test.rb +2 -2
- data/test/controllers/internal_helpers_test.rb +8 -10
- data/test/controllers/load_hooks_controller_test.rb +1 -1
- data/test/controllers/passwords_controller_test.rb +4 -3
- data/test/controllers/sessions_controller_test.rb +21 -18
- data/test/controllers/url_helpers_test.rb +1 -1
- data/test/failure_app_test.rb +19 -14
- data/test/generators/active_record_generator_test.rb +0 -26
- data/test/helpers/devise_helper_test.rb +1 -1
- data/test/integration/authenticatable_test.rb +18 -18
- data/test/integration/confirmable_test.rb +5 -5
- data/test/integration/database_authenticatable_test.rb +1 -1
- data/test/integration/http_authenticatable_test.rb +4 -5
- data/test/integration/lockable_test.rb +4 -3
- data/test/integration/omniauthable_test.rb +1 -1
- data/test/integration/recoverable_test.rb +10 -10
- data/test/integration/registerable_test.rb +9 -11
- data/test/integration/rememberable_test.rb +7 -43
- data/test/integration/timeoutable_test.rb +4 -4
- data/test/integration/trackable_test.rb +1 -1
- data/test/models/confirmable_test.rb +5 -13
- data/test/models/lockable_test.rb +0 -22
- data/test/models/rememberable_test.rb +0 -12
- data/test/models/validatable_test.rb +2 -10
- data/test/omniauth/url_helpers_test.rb +1 -2
- data/test/orm/active_record.rb +6 -1
- data/test/parameter_sanitizer_test.rb +103 -53
- data/test/rails_app/app/active_record/user.rb +3 -0
- data/test/rails_app/app/controllers/admins_controller.rb +1 -1
- data/test/rails_app/app/controllers/application_controller.rb +2 -2
- data/test/rails_app/app/controllers/home_controller.rb +5 -1
- data/test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb +2 -2
- data/test/rails_app/app/controllers/users_controller.rb +5 -5
- data/test/rails_app/config/application.rb +1 -1
- data/test/rails_app/config/boot.rb +3 -3
- data/test/rails_app/config/environments/test.rb +6 -1
- data/test/rails_app/config/initializers/secret_token.rb +1 -6
- data/test/routes_test.rb +26 -11
- data/test/support/http_method_compatibility.rb +51 -0
- data/test/support/webrat/integrations/rails.rb +9 -0
- data/test/test_helpers_test.rb +3 -3
- metadata +13 -31
- data/gemfiles/Gemfile.rails-3.2-stable +0 -29
- data/gemfiles/Gemfile.rails-3.2-stable.lock +0 -172
- data/gemfiles/Gemfile.rails-4.0-stable +0 -30
- data/gemfiles/Gemfile.rails-4.0-stable.lock +0 -166
- data/script/cached-bundle +0 -49
- data/script/s3-put +0 -71
- data/test/time_helpers.rb +0 -137
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
devise (
|
4
|
+
devise (4.0.0.rc1)
|
5
5
|
bcrypt (~> 3.0)
|
6
6
|
orm_adapter (~> 0.1)
|
7
|
-
railties (>=
|
7
|
+
railties (>= 4.1.0, < 5.1)
|
8
8
|
responders
|
9
|
-
thread_safe (~> 0.1)
|
10
9
|
warden (~> 1.2.3)
|
11
10
|
|
12
11
|
GEM
|
@@ -48,10 +47,10 @@ GEM
|
|
48
47
|
thread_safe (~> 0.3, >= 0.3.4)
|
49
48
|
tzinfo (~> 1.1)
|
50
49
|
arel (6.0.3)
|
51
|
-
bcrypt (3.1.
|
50
|
+
bcrypt (3.1.10)
|
52
51
|
bson (3.2.6)
|
53
52
|
builder (3.2.2)
|
54
|
-
concurrent-ruby (1.0.
|
53
|
+
concurrent-ruby (1.0.0)
|
55
54
|
connection_pool (2.2.0)
|
56
55
|
erubis (2.7.0)
|
57
56
|
faraday (0.9.2)
|
@@ -61,13 +60,13 @@ GEM
|
|
61
60
|
hashie (3.4.3)
|
62
61
|
i18n (0.7.0)
|
63
62
|
json (1.8.3)
|
64
|
-
jwt (1.5.
|
63
|
+
jwt (1.5.2)
|
65
64
|
loofah (2.0.3)
|
66
65
|
nokogiri (>= 1.5.9)
|
67
|
-
mail (2.6.
|
68
|
-
mime-types (>= 1.16, <
|
66
|
+
mail (2.6.3)
|
67
|
+
mime-types (>= 1.16, < 3)
|
69
68
|
metaclass (0.0.4)
|
70
|
-
mime-types (2.99
|
69
|
+
mime-types (2.99)
|
71
70
|
mini_portile2 (2.0.0)
|
72
71
|
minitest (5.8.4)
|
73
72
|
mocha (1.1.0)
|
@@ -81,7 +80,7 @@ GEM
|
|
81
80
|
bson (~> 3.0)
|
82
81
|
connection_pool (~> 2.0)
|
83
82
|
optionable (~> 0.2.0)
|
84
|
-
multi_json (1.11.
|
83
|
+
multi_json (1.11.2)
|
85
84
|
multi_xml (0.5.5)
|
86
85
|
multipart-post (2.0.0)
|
87
86
|
nokogiri (1.6.7.2)
|
@@ -138,16 +137,15 @@ GEM
|
|
138
137
|
activesupport (= 4.2.2)
|
139
138
|
rake (>= 0.8.7)
|
140
139
|
thor (>= 0.18.1, < 2.0)
|
141
|
-
rake (
|
142
|
-
rdoc (4.2.
|
143
|
-
|
144
|
-
responders (2.2.0)
|
140
|
+
rake (10.5.0)
|
141
|
+
rdoc (4.2.1)
|
142
|
+
responders (2.1.1)
|
145
143
|
railties (>= 4.2.0, < 5.1)
|
146
144
|
ruby-openid (2.7.0)
|
147
|
-
sprockets (3.
|
145
|
+
sprockets (3.5.2)
|
148
146
|
concurrent-ruby (~> 1.0)
|
149
147
|
rack (> 1, < 3)
|
150
|
-
sprockets-rails (3.0.
|
148
|
+
sprockets-rails (3.0.0)
|
151
149
|
actionpack (>= 4.0)
|
152
150
|
activesupport (>= 4.0)
|
153
151
|
sprockets (>= 3.0.0)
|
@@ -171,7 +169,6 @@ DEPENDENCIES
|
|
171
169
|
activerecord-jdbcsqlite3-adapter
|
172
170
|
devise!
|
173
171
|
jruby-openssl
|
174
|
-
mime-types (~> 2.99)
|
175
172
|
mocha (~> 1.1)
|
176
173
|
mongoid (~> 4.0)
|
177
174
|
omniauth (~> 1.2.0)
|
@@ -184,4 +181,4 @@ DEPENDENCIES
|
|
184
181
|
webrat (= 0.7.3)
|
185
182
|
|
186
183
|
BUNDLED WITH
|
187
|
-
1.
|
184
|
+
1.11.2
|
data/MIT-LICENSE
CHANGED
data/README.md
CHANGED
@@ -92,7 +92,7 @@ Once you have solidified your understanding of Rails and authentication mechanis
|
|
92
92
|
|
93
93
|
## Getting started
|
94
94
|
|
95
|
-
Devise
|
95
|
+
Devise 4.0 works with Rails 4.2 onwards. You can add it to your Gemfile with:
|
96
96
|
|
97
97
|
```ruby
|
98
98
|
gem 'devise'
|
@@ -184,6 +184,10 @@ Besides `:stretches`, you can define `:pepper`, `:encryptor`, `:confirm_within`,
|
|
184
184
|
|
185
185
|
### Strong Parameters
|
186
186
|
|
187
|
+
![The Parameter Sanitizer API has changed for Devise 4](http://messages.hellobits.com/warning.svg?message=The%20Parameter%20Sanitizer%20API%20has%20changed%20for%20Devise%204)
|
188
|
+
|
189
|
+
*For previous Devise versions see https://github.com/plataformatec/devise/tree/3-stable#strong-parameters*
|
190
|
+
|
187
191
|
When you customize your own views, you may end up adding new attributes to forms. Rails 4 moved the parameter sanitization from the model to the controller, causing Devise to handle this concern at the controller as well.
|
188
192
|
|
189
193
|
There are just three actions in Devise that allow any set of parameters to be passed down to the model, therefore requiring sanitization. Their names and the permitted parameters by default are:
|
@@ -201,7 +205,7 @@ class ApplicationController < ActionController::Base
|
|
201
205
|
protected
|
202
206
|
|
203
207
|
def configure_permitted_parameters
|
204
|
-
devise_parameter_sanitizer.
|
208
|
+
devise_parameter_sanitizer.permit(:sign_up, keys: [:username])
|
205
209
|
end
|
206
210
|
end
|
207
211
|
```
|
@@ -212,7 +216,9 @@ To permit simple scalar values for username and email, use this
|
|
212
216
|
|
213
217
|
```ruby
|
214
218
|
def configure_permitted_parameters
|
215
|
-
devise_parameter_sanitizer.
|
219
|
+
devise_parameter_sanitizer.permit(:sign_in) do |user_params|
|
220
|
+
user_params.permit(:username, :email)
|
221
|
+
end
|
216
222
|
end
|
217
223
|
```
|
218
224
|
|
@@ -220,7 +226,9 @@ If you have some checkboxes that express the roles a user may take on registrati
|
|
220
226
|
|
221
227
|
```ruby
|
222
228
|
def configure_permitted_parameters
|
223
|
-
devise_parameter_sanitizer.
|
229
|
+
devise_parameter_sanitizer.permit(:sign_up) do |user_params|
|
230
|
+
user_params.permit({ roles: [] }, :email, :password, :password_confirmation)
|
231
|
+
end
|
224
232
|
end
|
225
233
|
```
|
226
234
|
For the list of permitted scalars, and how to declare permitted keys in nested hashes and arrays, see
|
@@ -231,8 +239,9 @@ If you have multiple Devise models, you may want to set up a different parameter
|
|
231
239
|
|
232
240
|
```ruby
|
233
241
|
class User::ParameterSanitizer < Devise::ParameterSanitizer
|
234
|
-
def
|
235
|
-
|
242
|
+
def initialize(*)
|
243
|
+
super
|
244
|
+
permit(:sign_up, keys: [:username, :email])
|
236
245
|
end
|
237
246
|
end
|
238
247
|
```
|
@@ -347,7 +356,7 @@ Devise also ships with default routes. If you need to customize them, you should
|
|
347
356
|
devise_for :users, path: "auth", path_names: { sign_in: 'login', sign_out: 'logout', password: 'secret', confirmation: 'verification', unlock: 'unblock', registration: 'register', sign_up: 'cmon_let_me_in' }
|
348
357
|
```
|
349
358
|
|
350
|
-
Be sure to check `devise_for` documentation for details.
|
359
|
+
Be sure to check `devise_for` [documentation](http://www.rubydoc.info/github/plataformatec/devise/master/ActionDispatch/Routing/Mapper%3Adevise_for) for details.
|
351
360
|
|
352
361
|
If you have the need for more deep customization, for instance to also allow "/sign_in" besides "/users/sign_in", all you need to do is create your routes normally and wrap them in a `devise_scope` block in the router:
|
353
362
|
|
@@ -416,6 +425,7 @@ If you're using RSpec, you can put the following inside a file named `spec/suppo
|
|
416
425
|
```ruby
|
417
426
|
RSpec.configure do |config|
|
418
427
|
config.include Devise::TestHelpers, type: :controller
|
428
|
+
config.include Devise::TestHelpers, type: :view
|
419
429
|
end
|
420
430
|
```
|
421
431
|
|
@@ -433,7 +443,7 @@ sign_out @user # sign_out(resource)
|
|
433
443
|
|
434
444
|
There are two things that are important to keep in mind:
|
435
445
|
|
436
|
-
1. These helpers are not going to work for integration tests driven by Capybara or Webrat. They are meant to be used with functional tests only. Instead, fill in the form or explicitly set the user in session;
|
446
|
+
1. These helpers are not going to work for integration tests driven by Capybara or Webrat. They are meant to be used with functional tests only. It is undesirable even to include `Devise::TestHelpers` during integration tests. Instead, fill in the form or explicitly set the user in session;
|
437
447
|
|
438
448
|
2. If you are testing Devise internal controllers or a controller that inherits from Devise's, you need to tell Devise which mapping should be used before a request. This is necessary because Devise gets this information from the router, but since functional tests do not pass through the router, it needs to be stated explicitly. For example, if you are testing the user scope, simply use:
|
439
449
|
|
@@ -477,7 +487,7 @@ devise :database_authenticatable, :timeoutable
|
|
477
487
|
devise_for :admins
|
478
488
|
|
479
489
|
# Inside your protected controller
|
480
|
-
|
490
|
+
before_action :authenticate_admin!
|
481
491
|
|
482
492
|
# Inside your controllers and views
|
483
493
|
admin_signed_in?
|
@@ -545,6 +555,6 @@ https://github.com/plataformatec/devise/graphs/contributors
|
|
545
555
|
|
546
556
|
## License
|
547
557
|
|
548
|
-
MIT License. Copyright 2009-
|
558
|
+
MIT License. Copyright 2009-2016 Plataformatec. http://plataformatec.com.br
|
549
559
|
|
550
560
|
You are not granted rights or licenses to the trademarks of Plataformatec, including without limitation the Devise name or logo.
|
@@ -1,5 +1,5 @@
|
|
1
1
|
class Devise::OmniauthCallbacksController < DeviseController
|
2
|
-
|
2
|
+
prepend_before_action { request.env["devise.skip_timeout"] = true }
|
3
3
|
|
4
4
|
def passthru
|
5
5
|
render status: 404, text: "Not found. Authentication passthru."
|
@@ -13,14 +13,14 @@ class Devise::OmniauthCallbacksController < DeviseController
|
|
13
13
|
protected
|
14
14
|
|
15
15
|
def failed_strategy
|
16
|
-
env["omniauth.error.strategy"]
|
16
|
+
request.respond_to?(:get_header) ? request.get_header("omniauth.error.strategy") : env["omniauth.error.strategy"]
|
17
17
|
end
|
18
18
|
|
19
19
|
def failure_message
|
20
|
-
exception = env["omniauth.error"]
|
20
|
+
exception = request.respond_to?(:get_header) ? request.get_header("omniauth.error") : env["omniauth.error"]
|
21
21
|
error = exception.error_reason if exception.respond_to?(:error_reason)
|
22
22
|
error ||= exception.error if exception.respond_to?(:error)
|
23
|
-
error ||= env["omniauth.error.type"].to_s
|
23
|
+
error ||= (request.respond_to?(:get_header) ? request.get_header("omniauth.error.type") : env["omniauth.error.type"]).to_s
|
24
24
|
error.to_s.humanize if error
|
25
25
|
end
|
26
26
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class Devise::PasswordsController < DeviseController
|
2
|
-
|
2
|
+
prepend_before_action :require_no_authentication
|
3
3
|
# Render the #edit only if coming from a reset password email link
|
4
|
-
|
4
|
+
append_before_action :assert_reset_token_passed, only: :edit
|
5
5
|
|
6
6
|
# GET /resource/password/new
|
7
7
|
def new
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class Devise::RegistrationsController < DeviseController
|
2
|
-
|
3
|
-
|
2
|
+
prepend_before_action :require_no_authentication, only: [:new, :create, :cancel]
|
3
|
+
prepend_before_action :authenticate_scope!, only: [:edit, :update, :destroy]
|
4
4
|
|
5
5
|
# GET /resource/sign_up
|
6
6
|
def new
|
@@ -1,8 +1,8 @@
|
|
1
1
|
class Devise::SessionsController < DeviseController
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
2
|
+
prepend_before_action :require_no_authentication, only: [:new, :create]
|
3
|
+
prepend_before_action :allow_params_authentication!, only: :create
|
4
|
+
prepend_before_action :verify_signed_out_user, only: :destroy
|
5
|
+
prepend_before_action only: [:create, :destroy] { request.env["devise.skip_timeout"] = true }
|
6
6
|
|
7
7
|
# GET /resource/sign_in
|
8
8
|
def new
|
@@ -2,13 +2,17 @@
|
|
2
2
|
class DeviseController < Devise.parent_controller.constantize
|
3
3
|
include Devise::Controllers::ScopedViews
|
4
4
|
|
5
|
-
helper
|
5
|
+
if respond_to?(:helper)
|
6
|
+
helper DeviseHelper
|
7
|
+
end
|
6
8
|
|
7
|
-
|
8
|
-
|
9
|
-
|
9
|
+
if respond_to?(:helper_method)
|
10
|
+
helpers = %w(resource scope_name resource_name signed_in_resource
|
11
|
+
resource_class resource_params devise_mapping)
|
12
|
+
helper_method(*helpers)
|
13
|
+
end
|
10
14
|
|
11
|
-
|
15
|
+
prepend_before_action :assert_is_devise_resource!
|
12
16
|
respond_to :html if mimes_for_respond_to.empty?
|
13
17
|
|
14
18
|
# Override prefixes to consider the scoped view.
|
@@ -89,10 +93,10 @@ MESSAGE
|
|
89
93
|
instance_variable_set(:"@#{resource_name}", new_resource)
|
90
94
|
end
|
91
95
|
|
92
|
-
# Helper for use in
|
96
|
+
# Helper for use in before_actions where no authentication is required.
|
93
97
|
#
|
94
98
|
# Example:
|
95
|
-
#
|
99
|
+
# before_action :require_no_authentication, only: :new
|
96
100
|
def require_no_authentication
|
97
101
|
assert_is_devise_resource!
|
98
102
|
return unless is_navigational_format?
|
data/devise.gemspec
CHANGED
@@ -16,12 +16,11 @@ Gem::Specification.new do |s|
|
|
16
16
|
s.files = `git ls-files`.split("\n")
|
17
17
|
s.test_files = `git ls-files -- test/*`.split("\n")
|
18
18
|
s.require_paths = ["lib"]
|
19
|
-
s.required_ruby_version = '>= 1.
|
19
|
+
s.required_ruby_version = '>= 2.1.0'
|
20
20
|
|
21
21
|
s.add_dependency("warden", "~> 1.2.3")
|
22
22
|
s.add_dependency("orm_adapter", "~> 0.1")
|
23
23
|
s.add_dependency("bcrypt", "~> 3.0")
|
24
|
-
s.add_dependency("
|
25
|
-
s.add_dependency("railties", ">= 3.2.6", "< 5")
|
24
|
+
s.add_dependency("railties", ">= 4.1.0", "< 5.1")
|
26
25
|
s.add_dependency("responders")
|
27
26
|
end
|
@@ -1,69 +1,68 @@
|
|
1
1
|
GIT
|
2
2
|
remote: git://github.com/rails/rails.git
|
3
|
-
revision:
|
3
|
+
revision: e8eda76893479a29ace8d85cf4e4cfc67cd6fd4b
|
4
4
|
branch: 4-1-stable
|
5
5
|
specs:
|
6
|
-
actionmailer (4.1.
|
7
|
-
actionpack (= 4.1.
|
8
|
-
actionview (= 4.1.
|
6
|
+
actionmailer (4.1.14.1)
|
7
|
+
actionpack (= 4.1.14.1)
|
8
|
+
actionview (= 4.1.14.1)
|
9
9
|
mail (~> 2.5, >= 2.5.4)
|
10
|
-
actionpack (4.1.
|
11
|
-
actionview (= 4.1.
|
12
|
-
activesupport (= 4.1.
|
10
|
+
actionpack (4.1.14.1)
|
11
|
+
actionview (= 4.1.14.1)
|
12
|
+
activesupport (= 4.1.14.1)
|
13
13
|
rack (~> 1.5.2)
|
14
14
|
rack-test (~> 0.6.2)
|
15
|
-
actionview (4.1.
|
16
|
-
activesupport (= 4.1.
|
15
|
+
actionview (4.1.14.1)
|
16
|
+
activesupport (= 4.1.14.1)
|
17
17
|
builder (~> 3.1)
|
18
18
|
erubis (~> 2.7.0)
|
19
|
-
activemodel (4.1.
|
20
|
-
activesupport (= 4.1.
|
19
|
+
activemodel (4.1.14.1)
|
20
|
+
activesupport (= 4.1.14.1)
|
21
21
|
builder (~> 3.1)
|
22
|
-
activerecord (4.1.
|
23
|
-
activemodel (= 4.1.
|
24
|
-
activesupport (= 4.1.
|
22
|
+
activerecord (4.1.14.1)
|
23
|
+
activemodel (= 4.1.14.1)
|
24
|
+
activesupport (= 4.1.14.1)
|
25
25
|
arel (~> 5.0.0)
|
26
|
-
activesupport (4.1.
|
26
|
+
activesupport (4.1.14.1)
|
27
27
|
i18n (~> 0.6, >= 0.6.9)
|
28
28
|
json (~> 1.7, >= 1.7.7)
|
29
29
|
minitest (~> 5.1)
|
30
30
|
thread_safe (~> 0.1)
|
31
31
|
tzinfo (~> 1.1)
|
32
|
-
rails (4.1.
|
33
|
-
actionmailer (= 4.1.
|
34
|
-
actionpack (= 4.1.
|
35
|
-
actionview (= 4.1.
|
36
|
-
activemodel (= 4.1.
|
37
|
-
activerecord (= 4.1.
|
38
|
-
activesupport (= 4.1.
|
32
|
+
rails (4.1.14.1)
|
33
|
+
actionmailer (= 4.1.14.1)
|
34
|
+
actionpack (= 4.1.14.1)
|
35
|
+
actionview (= 4.1.14.1)
|
36
|
+
activemodel (= 4.1.14.1)
|
37
|
+
activerecord (= 4.1.14.1)
|
38
|
+
activesupport (= 4.1.14.1)
|
39
39
|
bundler (>= 1.3.0, < 2.0)
|
40
|
-
railties (= 4.1.
|
40
|
+
railties (= 4.1.14.1)
|
41
41
|
sprockets-rails (~> 2.0)
|
42
|
-
railties (4.1.
|
43
|
-
actionpack (= 4.1.
|
44
|
-
activesupport (= 4.1.
|
42
|
+
railties (4.1.14.1)
|
43
|
+
actionpack (= 4.1.14.1)
|
44
|
+
activesupport (= 4.1.14.1)
|
45
45
|
rake (>= 0.8.7)
|
46
46
|
thor (>= 0.18.1, < 2.0)
|
47
47
|
|
48
48
|
PATH
|
49
49
|
remote: ..
|
50
50
|
specs:
|
51
|
-
devise (
|
51
|
+
devise (4.0.0.rc1)
|
52
52
|
bcrypt (~> 3.0)
|
53
53
|
orm_adapter (~> 0.1)
|
54
|
-
railties (>=
|
54
|
+
railties (>= 4.1.0, < 5.1)
|
55
55
|
responders
|
56
|
-
thread_safe (~> 0.1)
|
57
56
|
warden (~> 1.2.3)
|
58
57
|
|
59
58
|
GEM
|
60
59
|
remote: https://rubygems.org/
|
61
60
|
specs:
|
62
61
|
arel (5.0.1.20140414130214)
|
63
|
-
bcrypt (3.1.
|
62
|
+
bcrypt (3.1.10)
|
64
63
|
bson (3.2.6)
|
65
64
|
builder (3.2.2)
|
66
|
-
concurrent-ruby (1.0.
|
65
|
+
concurrent-ruby (1.0.0)
|
67
66
|
connection_pool (2.2.0)
|
68
67
|
erubis (2.7.0)
|
69
68
|
faraday (0.9.2)
|
@@ -71,11 +70,11 @@ GEM
|
|
71
70
|
hashie (3.4.3)
|
72
71
|
i18n (0.7.0)
|
73
72
|
json (1.8.3)
|
74
|
-
jwt (1.5.
|
75
|
-
mail (2.6.
|
76
|
-
mime-types (>= 1.16, <
|
73
|
+
jwt (1.5.2)
|
74
|
+
mail (2.6.3)
|
75
|
+
mime-types (>= 1.16, < 3)
|
77
76
|
metaclass (0.0.4)
|
78
|
-
mime-types (2.99
|
77
|
+
mime-types (2.99)
|
79
78
|
mini_portile2 (2.0.0)
|
80
79
|
minitest (5.8.4)
|
81
80
|
mocha (1.1.0)
|
@@ -89,7 +88,7 @@ GEM
|
|
89
88
|
bson (~> 3.0)
|
90
89
|
connection_pool (~> 2.0)
|
91
90
|
optionable (~> 0.2.0)
|
92
|
-
multi_json (1.11.
|
91
|
+
multi_json (1.11.2)
|
93
92
|
multi_xml (0.5.5)
|
94
93
|
multipart-post (2.0.0)
|
95
94
|
nokogiri (1.6.7.2)
|
@@ -122,13 +121,12 @@ GEM
|
|
122
121
|
ruby-openid (>= 2.1.8)
|
123
122
|
rack-test (0.6.3)
|
124
123
|
rack (>= 1.0)
|
125
|
-
rake (
|
126
|
-
rdoc (4.2.
|
127
|
-
json (~> 1.4)
|
124
|
+
rake (10.5.0)
|
125
|
+
rdoc (4.2.1)
|
128
126
|
responders (1.1.2)
|
129
127
|
railties (>= 3.2, < 4.2)
|
130
128
|
ruby-openid (2.7.0)
|
131
|
-
sprockets (3.
|
129
|
+
sprockets (3.5.2)
|
132
130
|
concurrent-ruby (~> 1.0)
|
133
131
|
rack (> 1, < 3)
|
134
132
|
sprockets-rails (2.3.3)
|
@@ -155,7 +153,6 @@ DEPENDENCIES
|
|
155
153
|
activerecord-jdbcsqlite3-adapter
|
156
154
|
devise!
|
157
155
|
jruby-openssl
|
158
|
-
mime-types (~> 2.99)
|
159
156
|
mocha (~> 1.1)
|
160
157
|
mongoid (~> 4.0.0)
|
161
158
|
omniauth (~> 1.2.0)
|