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.

Files changed (96) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +9 -9
  3. data/CHANGELOG.md +33 -1188
  4. data/Gemfile +0 -1
  5. data/Gemfile.lock +15 -18
  6. data/MIT-LICENSE +1 -1
  7. data/README.md +20 -10
  8. data/app/controllers/devise/omniauth_callbacks_controller.rb +4 -4
  9. data/app/controllers/devise/passwords_controller.rb +2 -2
  10. data/app/controllers/devise/registrations_controller.rb +2 -2
  11. data/app/controllers/devise/sessions_controller.rb +4 -4
  12. data/app/controllers/devise/unlocks_controller.rb +1 -1
  13. data/app/controllers/devise_controller.rb +11 -7
  14. data/devise.gemspec +2 -3
  15. data/gemfiles/Gemfile.rails-4.1-stable +0 -1
  16. data/gemfiles/Gemfile.rails-4.1-stable.lock +38 -41
  17. data/gemfiles/Gemfile.rails-4.2-stable +0 -1
  18. data/gemfiles/Gemfile.rails-4.2-stable.lock +47 -50
  19. data/gemfiles/Gemfile.rails-5.0-beta +37 -0
  20. data/gemfiles/Gemfile.rails-5.0-beta.lock +242 -0
  21. data/lib/devise.rb +8 -8
  22. data/lib/devise/controllers/helpers.rb +7 -11
  23. data/lib/devise/failure_app.rb +17 -9
  24. data/lib/devise/models/authenticatable.rb +5 -1
  25. data/lib/devise/models/confirmable.rb +3 -4
  26. data/lib/devise/models/database_authenticatable.rb +1 -0
  27. data/lib/devise/models/lockable.rb +1 -5
  28. data/lib/devise/models/rememberable.rb +5 -11
  29. data/lib/devise/parameter_sanitizer.rb +176 -61
  30. data/lib/devise/rails.rb +1 -10
  31. data/lib/devise/rails/routes.rb +25 -14
  32. data/lib/devise/rails/warden_compat.rb +1 -10
  33. data/lib/devise/strategies/rememberable.rb +6 -3
  34. data/lib/devise/test_helpers.rb +9 -4
  35. data/lib/devise/token_generator.rb +1 -41
  36. data/lib/devise/version.rb +1 -1
  37. data/lib/generators/active_record/devise_generator.rb +3 -3
  38. data/lib/generators/active_record/templates/migration.rb +1 -1
  39. data/lib/generators/active_record/templates/migration_existing.rb +1 -1
  40. data/lib/generators/devise/orm_helpers.rb +0 -17
  41. data/lib/generators/templates/controllers/registrations_controller.rb +4 -4
  42. data/lib/generators/templates/controllers/sessions_controller.rb +2 -2
  43. data/lib/generators/templates/devise.rb +4 -5
  44. data/test/controllers/custom_registrations_controller_test.rb +5 -5
  45. data/test/controllers/custom_strategy_test.rb +7 -5
  46. data/test/controllers/helper_methods_test.rb +3 -2
  47. data/test/controllers/helpers_test.rb +1 -1
  48. data/test/controllers/inherited_controller_i18n_messages_test.rb +2 -2
  49. data/test/controllers/internal_helpers_test.rb +8 -10
  50. data/test/controllers/load_hooks_controller_test.rb +1 -1
  51. data/test/controllers/passwords_controller_test.rb +4 -3
  52. data/test/controllers/sessions_controller_test.rb +21 -18
  53. data/test/controllers/url_helpers_test.rb +1 -1
  54. data/test/failure_app_test.rb +19 -14
  55. data/test/generators/active_record_generator_test.rb +0 -26
  56. data/test/helpers/devise_helper_test.rb +1 -1
  57. data/test/integration/authenticatable_test.rb +18 -18
  58. data/test/integration/confirmable_test.rb +5 -5
  59. data/test/integration/database_authenticatable_test.rb +1 -1
  60. data/test/integration/http_authenticatable_test.rb +4 -5
  61. data/test/integration/lockable_test.rb +4 -3
  62. data/test/integration/omniauthable_test.rb +1 -1
  63. data/test/integration/recoverable_test.rb +10 -10
  64. data/test/integration/registerable_test.rb +9 -11
  65. data/test/integration/rememberable_test.rb +7 -43
  66. data/test/integration/timeoutable_test.rb +4 -4
  67. data/test/integration/trackable_test.rb +1 -1
  68. data/test/models/confirmable_test.rb +5 -13
  69. data/test/models/lockable_test.rb +0 -22
  70. data/test/models/rememberable_test.rb +0 -12
  71. data/test/models/validatable_test.rb +2 -10
  72. data/test/omniauth/url_helpers_test.rb +1 -2
  73. data/test/orm/active_record.rb +6 -1
  74. data/test/parameter_sanitizer_test.rb +103 -53
  75. data/test/rails_app/app/active_record/user.rb +3 -0
  76. data/test/rails_app/app/controllers/admins_controller.rb +1 -1
  77. data/test/rails_app/app/controllers/application_controller.rb +2 -2
  78. data/test/rails_app/app/controllers/home_controller.rb +5 -1
  79. data/test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb +2 -2
  80. data/test/rails_app/app/controllers/users_controller.rb +5 -5
  81. data/test/rails_app/config/application.rb +1 -1
  82. data/test/rails_app/config/boot.rb +3 -3
  83. data/test/rails_app/config/environments/test.rb +6 -1
  84. data/test/rails_app/config/initializers/secret_token.rb +1 -6
  85. data/test/routes_test.rb +26 -11
  86. data/test/support/http_method_compatibility.rb +51 -0
  87. data/test/support/webrat/integrations/rails.rb +9 -0
  88. data/test/test_helpers_test.rb +3 -3
  89. metadata +13 -31
  90. data/gemfiles/Gemfile.rails-3.2-stable +0 -29
  91. data/gemfiles/Gemfile.rails-3.2-stable.lock +0 -172
  92. data/gemfiles/Gemfile.rails-4.0-stable +0 -30
  93. data/gemfiles/Gemfile.rails-4.0-stable.lock +0 -166
  94. data/script/cached-bundle +0 -49
  95. data/script/s3-put +0 -71
  96. data/test/time_helpers.rb +0 -137
data/Gemfile CHANGED
@@ -6,7 +6,6 @@ gem "rails", "4.2.2"
6
6
  gem "omniauth", "~> 1.2.0"
7
7
  gem "omniauth-oauth2", "~> 1.1.0"
8
8
  gem "rdoc"
9
- gem "mime-types", "~> 2.99"
10
9
 
11
10
  group :test do
12
11
  gem "omniauth-facebook"
@@ -1,12 +1,11 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- devise (3.5.10)
4
+ devise (4.0.0.rc1)
5
5
  bcrypt (~> 3.0)
6
6
  orm_adapter (~> 0.1)
7
- railties (>= 3.2.6, < 5)
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.11)
50
+ bcrypt (3.1.10)
52
51
  bson (3.2.6)
53
52
  builder (3.2.2)
54
- concurrent-ruby (1.0.1)
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.4)
63
+ jwt (1.5.2)
65
64
  loofah (2.0.3)
66
65
  nokogiri (>= 1.5.9)
67
- mail (2.6.4)
68
- mime-types (>= 1.16, < 4)
66
+ mail (2.6.3)
67
+ mime-types (>= 1.16, < 3)
69
68
  metaclass (0.0.4)
70
- mime-types (2.99.1)
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.3)
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 (11.1.2)
142
- rdoc (4.2.2)
143
- json (~> 1.4)
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.6.0)
145
+ sprockets (3.5.2)
148
146
  concurrent-ruby (~> 1.0)
149
147
  rack (> 1, < 3)
150
- sprockets-rails (3.0.4)
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.12.3
184
+ 1.11.2
@@ -1,4 +1,4 @@
1
- Copyright 2009-2015 Plataformatec. http://plataformatec.com.br
1
+ Copyright 2009-2016 Plataformatec. http://plataformatec.com.br
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
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 3.0 works with Rails 3.2 onwards. You can add it to your Gemfile with:
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.for(:sign_up) << :username
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.for(:sign_in) { |u| u.permit(:username, :email) }
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.for(:sign_up) { |u| u.permit({ roles: [] }, :email, :password, :password_confirmation) }
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 sign_in
235
- default_params.permit(:username, :email)
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
- before_filter :authenticate_admin!
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-2015 Plataformatec. http://plataformatec.com.br
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
- prepend_before_filter { request.env["devise.skip_timeout"] = true }
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
- prepend_before_filter :require_no_authentication
2
+ prepend_before_action :require_no_authentication
3
3
  # Render the #edit only if coming from a reset password email link
4
- append_before_filter :assert_reset_token_passed, only: :edit
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
- prepend_before_filter :require_no_authentication, only: [:new, :create, :cancel]
3
- prepend_before_filter :authenticate_scope!, only: [:edit, :update, :destroy]
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
- prepend_before_filter :require_no_authentication, only: [:new, :create]
3
- prepend_before_filter :allow_params_authentication!, only: :create
4
- prepend_before_filter :verify_signed_out_user, only: :destroy
5
- prepend_before_filter only: [:create, :destroy] { request.env["devise.skip_timeout"] = true }
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
@@ -1,5 +1,5 @@
1
1
  class Devise::UnlocksController < DeviseController
2
- prepend_before_filter :require_no_authentication
2
+ prepend_before_action :require_no_authentication
3
3
 
4
4
  # GET /resource/unlock/new
5
5
  def new
@@ -2,13 +2,17 @@
2
2
  class DeviseController < Devise.parent_controller.constantize
3
3
  include Devise::Controllers::ScopedViews
4
4
 
5
- helper DeviseHelper
5
+ if respond_to?(:helper)
6
+ helper DeviseHelper
7
+ end
6
8
 
7
- helpers = %w(resource scope_name resource_name signed_in_resource
8
- resource_class resource_params devise_mapping)
9
- helper_method(*helpers)
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
- prepend_before_filter :assert_is_devise_resource!
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 before_filters where no authentication is required.
96
+ # Helper for use in before_actions where no authentication is required.
93
97
  #
94
98
  # Example:
95
- # before_filter :require_no_authentication, only: :new
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?
@@ -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.9.3'
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("thread_safe", "~> 0.1")
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
@@ -6,7 +6,6 @@ gem "rails", github: 'rails/rails', branch: '4-1-stable'
6
6
  gem "omniauth", "~> 1.2.0"
7
7
  gem "omniauth-oauth2", "~> 1.1.0"
8
8
  gem "rdoc"
9
- gem "mime-types", "~> 2.99"
10
9
 
11
10
  group :test do
12
11
  gem "omniauth-facebook"
@@ -1,69 +1,68 @@
1
1
  GIT
2
2
  remote: git://github.com/rails/rails.git
3
- revision: 41b4d81b4fd14cbf43060c223bea0f461256d099
3
+ revision: e8eda76893479a29ace8d85cf4e4cfc67cd6fd4b
4
4
  branch: 4-1-stable
5
5
  specs:
6
- actionmailer (4.1.15)
7
- actionpack (= 4.1.15)
8
- actionview (= 4.1.15)
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.15)
11
- actionview (= 4.1.15)
12
- activesupport (= 4.1.15)
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.15)
16
- activesupport (= 4.1.15)
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.15)
20
- activesupport (= 4.1.15)
19
+ activemodel (4.1.14.1)
20
+ activesupport (= 4.1.14.1)
21
21
  builder (~> 3.1)
22
- activerecord (4.1.15)
23
- activemodel (= 4.1.15)
24
- activesupport (= 4.1.15)
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.15)
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.15)
33
- actionmailer (= 4.1.15)
34
- actionpack (= 4.1.15)
35
- actionview (= 4.1.15)
36
- activemodel (= 4.1.15)
37
- activerecord (= 4.1.15)
38
- activesupport (= 4.1.15)
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.15)
40
+ railties (= 4.1.14.1)
41
41
  sprockets-rails (~> 2.0)
42
- railties (4.1.15)
43
- actionpack (= 4.1.15)
44
- activesupport (= 4.1.15)
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 (3.5.8)
51
+ devise (4.0.0.rc1)
52
52
  bcrypt (~> 3.0)
53
53
  orm_adapter (~> 0.1)
54
- railties (>= 3.2.6, < 5)
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.11)
62
+ bcrypt (3.1.10)
64
63
  bson (3.2.6)
65
64
  builder (3.2.2)
66
- concurrent-ruby (1.0.1)
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.4)
75
- mail (2.6.4)
76
- mime-types (>= 1.16, < 4)
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.1)
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.3)
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 (11.1.2)
126
- rdoc (4.2.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.6.0)
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)