devise 3.5.2 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +14 -15
  3. data/CHANGELOG.md +57 -1125
  4. data/CODE_OF_CONDUCT.md +22 -0
  5. data/CONTRIBUTING.md +2 -0
  6. data/Gemfile +3 -3
  7. data/Gemfile.lock +80 -80
  8. data/MIT-LICENSE +1 -1
  9. data/README.md +27 -18
  10. data/app/controllers/devise/confirmations_controller.rb +1 -1
  11. data/app/controllers/devise/omniauth_callbacks_controller.rb +4 -4
  12. data/app/controllers/devise/passwords_controller.rb +5 -4
  13. data/app/controllers/devise/registrations_controller.rb +5 -5
  14. data/app/controllers/devise/sessions_controller.rb +7 -7
  15. data/app/controllers/devise/unlocks_controller.rb +2 -2
  16. data/app/controllers/devise_controller.rb +20 -9
  17. data/app/mailers/devise/mailer.rb +4 -0
  18. data/app/views/devise/confirmations/new.html.erb +1 -1
  19. data/app/views/devise/mailer/password_change.html.erb +3 -0
  20. data/app/views/devise/shared/_links.html.erb +1 -1
  21. data/bin/test +13 -0
  22. data/config/locales/en.yml +2 -0
  23. data/devise.gemspec +2 -3
  24. data/gemfiles/Gemfile.rails-4.1-stable +4 -4
  25. data/gemfiles/Gemfile.rails-4.1-stable.lock +69 -71
  26. data/gemfiles/Gemfile.rails-4.2-stable +4 -4
  27. data/gemfiles/Gemfile.rails-4.2-stable.lock +81 -83
  28. data/gemfiles/{Gemfile.rails-3.2-stable → Gemfile.rails-5.0-beta} +15 -7
  29. data/gemfiles/Gemfile.rails-5.0-beta.lock +199 -0
  30. data/lib/devise/controllers/helpers.rb +20 -24
  31. data/lib/devise/controllers/rememberable.rb +8 -1
  32. data/lib/devise/encryptor.rb +4 -4
  33. data/lib/devise/failure_app.rb +33 -12
  34. data/lib/devise/hooks/timeoutable.rb +5 -3
  35. data/lib/devise/mailers/helpers.rb +1 -1
  36. data/lib/devise/models/authenticatable.rb +5 -1
  37. data/lib/devise/models/confirmable.rb +6 -6
  38. data/lib/devise/models/database_authenticatable.rb +20 -7
  39. data/lib/devise/models/lockable.rb +1 -1
  40. data/lib/devise/models/recoverable.rb +3 -7
  41. data/lib/devise/models/rememberable.rb +38 -24
  42. data/lib/devise/models/timeoutable.rb +0 -6
  43. data/lib/devise/models.rb +1 -1
  44. data/lib/devise/omniauth/url_helpers.rb +62 -4
  45. data/lib/devise/parameter_sanitizer.rb +176 -61
  46. data/lib/devise/rails/routes.rb +54 -31
  47. data/lib/devise/rails/warden_compat.rb +1 -10
  48. data/lib/devise/rails.rb +1 -10
  49. data/lib/devise/strategies/authenticatable.rb +1 -1
  50. data/lib/devise/strategies/database_authenticatable.rb +3 -3
  51. data/lib/devise/strategies/rememberable.rb +3 -6
  52. data/lib/devise/test_helpers.rb +10 -5
  53. data/lib/devise/token_generator.rb +1 -41
  54. data/lib/devise/version.rb +1 -1
  55. data/lib/devise.rb +115 -20
  56. data/lib/generators/active_record/devise_generator.rb +11 -5
  57. data/lib/generators/active_record/templates/migration.rb +2 -2
  58. data/lib/generators/active_record/templates/migration_existing.rb +2 -2
  59. data/lib/generators/devise/install_generator.rb +15 -0
  60. data/lib/generators/devise/orm_helpers.rb +1 -18
  61. data/lib/generators/devise/views_generator.rb +14 -3
  62. data/lib/generators/templates/controllers/registrations_controller.rb +4 -4
  63. data/lib/generators/templates/controllers/sessions_controller.rb +2 -2
  64. data/lib/generators/templates/devise.rb +19 -17
  65. data/lib/generators/templates/markerb/confirmation_instructions.markerb +1 -1
  66. data/lib/generators/templates/markerb/password_change.markerb +3 -0
  67. data/lib/generators/templates/markerb/reset_password_instructions.markerb +1 -1
  68. data/lib/generators/templates/markerb/unlock_instructions.markerb +1 -1
  69. data/test/controllers/custom_registrations_controller_test.rb +5 -5
  70. data/test/controllers/custom_strategy_test.rb +7 -5
  71. data/test/controllers/helper_methods_test.rb +22 -0
  72. data/test/controllers/helpers_test.rb +1 -1
  73. data/test/controllers/inherited_controller_i18n_messages_test.rb +2 -2
  74. data/test/controllers/internal_helpers_test.rb +8 -10
  75. data/test/controllers/load_hooks_controller_test.rb +1 -1
  76. data/test/controllers/passwords_controller_test.rb +4 -3
  77. data/test/controllers/sessions_controller_test.rb +21 -18
  78. data/test/controllers/url_helpers_test.rb +1 -1
  79. data/test/devise_test.rb +27 -0
  80. data/test/failure_app_test.rb +37 -15
  81. data/test/generators/active_record_generator_test.rb +0 -26
  82. data/test/generators/install_generator_test.rb +14 -3
  83. data/test/generators/views_generator_test.rb +7 -0
  84. data/test/helpers/devise_helper_test.rb +1 -1
  85. data/test/integration/authenticatable_test.rb +18 -18
  86. data/test/integration/confirmable_test.rb +5 -5
  87. data/test/integration/database_authenticatable_test.rb +1 -1
  88. data/test/integration/http_authenticatable_test.rb +4 -5
  89. data/test/integration/lockable_test.rb +4 -3
  90. data/test/integration/omniauthable_test.rb +12 -10
  91. data/test/integration/recoverable_test.rb +10 -10
  92. data/test/integration/registerable_test.rb +9 -11
  93. data/test/integration/rememberable_test.rb +42 -7
  94. data/test/integration/timeoutable_test.rb +16 -4
  95. data/test/integration/trackable_test.rb +1 -1
  96. data/test/mailers/confirmation_instructions_test.rb +6 -6
  97. data/test/mailers/reset_password_instructions_test.rb +5 -5
  98. data/test/mailers/unlock_instructions_test.rb +5 -5
  99. data/test/models/confirmable_test.rb +25 -1
  100. data/test/models/database_authenticatable_test.rb +26 -6
  101. data/test/models/lockable_test.rb +1 -1
  102. data/test/models/recoverable_test.rb +23 -0
  103. data/test/models/rememberable_test.rb +48 -95
  104. data/test/models/validatable_test.rb +2 -10
  105. data/test/models_test.rb +15 -6
  106. data/test/omniauth/url_helpers_test.rb +4 -7
  107. data/test/orm/active_record.rb +6 -1
  108. data/test/parameter_sanitizer_test.rb +103 -53
  109. data/test/rails_app/app/active_record/user.rb +1 -0
  110. data/test/rails_app/app/active_record/user_without_email.rb +8 -0
  111. data/test/rails_app/app/controllers/admins_controller.rb +1 -1
  112. data/test/rails_app/app/controllers/application_controller.rb +2 -2
  113. data/test/rails_app/app/controllers/home_controller.rb +5 -1
  114. data/test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb +2 -2
  115. data/test/rails_app/app/controllers/users_controller.rb +5 -5
  116. data/test/rails_app/app/mongoid/user_without_email.rb +33 -0
  117. data/test/rails_app/config/application.rb +1 -1
  118. data/test/rails_app/config/boot.rb +4 -4
  119. data/test/rails_app/config/environments/test.rb +6 -1
  120. data/test/rails_app/config/initializers/devise.rb +1 -1
  121. data/test/rails_app/config/initializers/secret_token.rb +1 -6
  122. data/test/rails_app/config/routes.rb +5 -0
  123. data/test/rails_app/lib/shared_user_without_email.rb +26 -0
  124. data/test/routes_test.rb +28 -13
  125. data/test/support/helpers.rb +4 -0
  126. data/test/support/http_method_compatibility.rb +51 -0
  127. data/test/support/webrat/integrations/rails.rb +9 -0
  128. data/test/test_helpers_test.rb +5 -5
  129. data/test/test_models.rb +1 -1
  130. metadata +41 -45
  131. data/gemfiles/Gemfile.rails-3.2-stable.lock +0 -169
  132. data/gemfiles/Gemfile.rails-4.0-stable +0 -29
  133. data/gemfiles/Gemfile.rails-4.0-stable.lock +0 -163
  134. data/script/cached-bundle +0 -49
  135. data/script/s3-put +0 -71
@@ -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?
@@ -123,13 +127,13 @@ MESSAGE
123
127
  end
124
128
 
125
129
  if notice
126
- set_flash_message :notice, notice if is_flashing_format?
130
+ set_flash_message! :notice, notice
127
131
  true
128
132
  end
129
133
  end
130
134
 
131
135
  # Sets the flash message with :key, using I18n. By default you are able
132
- # to setup your messages using specific resource scope, and if no message is
136
+ # to set up your messages using specific resource scope, and if no message is
133
137
  # found we look to the default scope. Set the "now" options key to a true
134
138
  # value to populate the flash.now hash in lieu of the default flash hash (so
135
139
  # the flash message will be available to the current action instead of the
@@ -154,6 +158,13 @@ MESSAGE
154
158
  end
155
159
  end
156
160
 
161
+ # Sets flash message if is_flashing_format? equals true
162
+ def set_flash_message!(key, kind, options = {})
163
+ if is_flashing_format?
164
+ set_flash_message(key, kind, options)
165
+ end
166
+ end
167
+
157
168
  # Sets minimum password length to show to user
158
169
  def set_minimum_password_length
159
170
  if devise_mapping.validatable?
@@ -16,5 +16,9 @@ if defined?(ActionMailer)
16
16
  @token = token
17
17
  devise_mail(record, :unlock_instructions, opts)
18
18
  end
19
+
20
+ def password_change(record, opts={})
21
+ devise_mail(record, :password_change, opts)
22
+ end
19
23
  end
20
24
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  <div class="field">
7
7
  <%= f.label :email %><br />
8
- <%= f.email_field :email, autofocus: true, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
8
+ <%= f.email_field :email, autofocus: true, value: (resource.pending_reconfirmation? ? resource.unconfirmed_email : resource.email) %>
9
9
  </div>
10
10
 
11
11
  <div class="actions">
@@ -0,0 +1,3 @@
1
+ <p>Hello <%= @resource.email %>!</p>
2
+
3
+ <p>We're contacting you to notify you that your password has been changed.</p>
@@ -20,6 +20,6 @@
20
20
 
21
21
  <%- if devise_mapping.omniauthable? %>
22
22
  <%- resource_class.omniauth_providers.each do |provider| %>
23
- <%= link_to "Sign in with #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider) %><br />
23
+ <%= link_to "Sign in with #{OmniAuth::Utils.camelize(provider)}", omniauth_authorize_path(resource_name, provider) %><br />
24
24
  <% end -%>
25
25
  <% end -%>
data/bin/test ADDED
@@ -0,0 +1,13 @@
1
+ #!/usr/bin/env ruby
2
+ $: << File.expand_path(File.expand_path('../../test', __FILE__))
3
+
4
+ require 'bundler/setup'
5
+ begin
6
+ require 'rails/test_unit/minitest_plugin'
7
+ rescue LoadError
8
+ exec 'rake'
9
+ end
10
+
11
+ Rails::TestUnitReporter.executable = 'bin/test'
12
+
13
+ exit Minitest.run(ARGV)
@@ -23,6 +23,8 @@ en:
23
23
  subject: "Reset password instructions"
24
24
  unlock_instructions:
25
25
  subject: "Unlock instructions"
26
+ password_change:
27
+ subject: "Password Changed"
26
28
  omniauth_callbacks:
27
29
  failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
28
30
  success: "Successfully authenticated from %{kind} account."
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.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
@@ -1,10 +1,10 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gemspec path: '..'
3
+ gemspec path: ".."
4
4
 
5
- gem "rails", github: 'rails/rails', branch: '4-1-stable'
6
- gem "omniauth", "~> 1.2.0"
7
- gem "omniauth-oauth2", "~> 1.1.0"
5
+ gem "rails", github: "rails/rails", branch: "4-1-stable"
6
+ gem "omniauth", "~> 1.3"
7
+ gem "omniauth-oauth2", "~> 1.4"
8
8
  gem "rdoc"
9
9
 
10
10
  group :test do
@@ -1,83 +1,82 @@
1
1
  GIT
2
2
  remote: git://github.com/rails/rails.git
3
- revision: bf32ec7b8611e6b4c7e9398f7d297a1f0221e9b9
3
+ revision: 41b4d81b4fd14cbf43060c223bea0f461256d099
4
4
  branch: 4-1-stable
5
5
  specs:
6
- actionmailer (4.1.10)
7
- actionpack (= 4.1.10)
8
- actionview (= 4.1.10)
6
+ actionmailer (4.1.15)
7
+ actionpack (= 4.1.15)
8
+ actionview (= 4.1.15)
9
9
  mail (~> 2.5, >= 2.5.4)
10
- actionpack (4.1.10)
11
- actionview (= 4.1.10)
12
- activesupport (= 4.1.10)
10
+ actionpack (4.1.15)
11
+ actionview (= 4.1.15)
12
+ activesupport (= 4.1.15)
13
13
  rack (~> 1.5.2)
14
14
  rack-test (~> 0.6.2)
15
- actionview (4.1.10)
16
- activesupport (= 4.1.10)
15
+ actionview (4.1.15)
16
+ activesupport (= 4.1.15)
17
17
  builder (~> 3.1)
18
18
  erubis (~> 2.7.0)
19
- activemodel (4.1.10)
20
- activesupport (= 4.1.10)
19
+ activemodel (4.1.15)
20
+ activesupport (= 4.1.15)
21
21
  builder (~> 3.1)
22
- activerecord (4.1.10)
23
- activemodel (= 4.1.10)
24
- activesupport (= 4.1.10)
22
+ activerecord (4.1.15)
23
+ activemodel (= 4.1.15)
24
+ activesupport (= 4.1.15)
25
25
  arel (~> 5.0.0)
26
- activesupport (4.1.10)
26
+ activesupport (4.1.15)
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.10)
33
- actionmailer (= 4.1.10)
34
- actionpack (= 4.1.10)
35
- actionview (= 4.1.10)
36
- activemodel (= 4.1.10)
37
- activerecord (= 4.1.10)
38
- activesupport (= 4.1.10)
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)
39
39
  bundler (>= 1.3.0, < 2.0)
40
- railties (= 4.1.10)
40
+ railties (= 4.1.15)
41
41
  sprockets-rails (~> 2.0)
42
- railties (4.1.10)
43
- actionpack (= 4.1.10)
44
- activesupport (= 4.1.10)
42
+ railties (4.1.15)
43
+ actionpack (= 4.1.15)
44
+ activesupport (= 4.1.15)
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.4.1)
51
+ devise (4.0.0.rc2)
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.10)
64
- bson (2.3.0)
62
+ bcrypt (3.1.11)
63
+ bson (3.2.6)
65
64
  builder (3.2.2)
66
- connection_pool (2.1.3)
65
+ concurrent-ruby (1.0.1)
66
+ connection_pool (2.2.0)
67
67
  erubis (2.7.0)
68
- faraday (0.9.1)
68
+ faraday (0.9.2)
69
69
  multipart-post (>= 1.2, < 3)
70
- hashie (3.4.0)
71
- hike (1.2.3)
70
+ hashie (3.4.3)
72
71
  i18n (0.7.0)
73
- json (1.8.2)
74
- jwt (1.4.1)
72
+ json (1.8.3)
73
+ jwt (1.5.1)
75
74
  mail (2.6.3)
76
75
  mime-types (>= 1.16, < 3)
77
76
  metaclass (0.0.4)
78
- mime-types (2.4.3)
79
- mini_portile (0.6.2)
80
- minitest (5.5.1)
77
+ mime-types (2.99.1)
78
+ mini_portile2 (2.0.0)
79
+ minitest (5.8.4)
81
80
  mocha (1.1.0)
82
81
  metaclass (~> 0.0.1)
83
82
  mongoid (4.0.2)
@@ -85,64 +84,60 @@ GEM
85
84
  moped (~> 2.0.0)
86
85
  origin (~> 2.1)
87
86
  tzinfo (>= 0.3.37)
88
- moped (2.0.4)
89
- bson (~> 2.2)
87
+ moped (2.0.7)
88
+ bson (~> 3.0)
90
89
  connection_pool (~> 2.0)
91
90
  optionable (~> 0.2.0)
92
- multi_json (1.11.0)
91
+ multi_json (1.11.2)
93
92
  multi_xml (0.5.5)
94
93
  multipart-post (2.0.0)
95
- nokogiri (1.6.6.2)
96
- mini_portile (~> 0.6.0)
97
- oauth2 (0.9.4)
94
+ nokogiri (1.6.7.2)
95
+ mini_portile2 (~> 2.0.0.rc2)
96
+ oauth2 (1.1.0)
98
97
  faraday (>= 0.8, < 0.10)
99
- jwt (~> 1.0)
98
+ jwt (~> 1.0, < 1.5.2)
100
99
  multi_json (~> 1.3)
101
100
  multi_xml (~> 0.5)
102
- rack (~> 1.2)
103
- omniauth (1.2.2)
101
+ rack (>= 1.2, < 3)
102
+ omniauth (1.3.1)
104
103
  hashie (>= 1.2, < 4)
105
- rack (~> 1.0)
106
- omniauth-facebook (1.6.0)
107
- omniauth-oauth2 (~> 1.1)
108
- omniauth-oauth2 (1.1.2)
109
- faraday (>= 0.8, < 0.10)
110
- multi_json (~> 1.3)
111
- oauth2 (~> 0.9.3)
104
+ rack (>= 1.0, < 3)
105
+ omniauth-facebook (3.0.0)
106
+ omniauth-oauth2 (~> 1.2)
107
+ omniauth-oauth2 (1.4.0)
108
+ oauth2 (~> 1.0)
112
109
  omniauth (~> 1.2)
113
110
  omniauth-openid (1.0.1)
114
111
  omniauth (~> 1.0)
115
112
  rack-openid (~> 1.3.1)
116
113
  optionable (0.2.0)
117
- origin (2.1.1)
114
+ origin (2.2.0)
118
115
  orm_adapter (0.5.0)
119
- rack (1.5.2)
116
+ rack (1.5.5)
120
117
  rack-openid (1.3.1)
121
118
  rack (>= 1.1.0)
122
119
  ruby-openid (>= 2.1.8)
123
120
  rack-test (0.6.3)
124
121
  rack (>= 1.0)
125
- rake (10.4.2)
126
- rdoc (4.2.0)
122
+ rake (11.0.1)
123
+ rdoc (4.2.2)
124
+ json (~> 1.4)
127
125
  responders (1.1.2)
128
126
  railties (>= 3.2, < 4.2)
129
127
  ruby-openid (2.7.0)
130
- sprockets (2.12.3)
131
- hike (~> 1.2)
132
- multi_json (~> 1.0)
133
- rack (~> 1.0)
134
- tilt (~> 1.1, != 1.3.0)
135
- sprockets-rails (2.2.4)
128
+ sprockets (3.5.2)
129
+ concurrent-ruby (~> 1.0)
130
+ rack (> 1, < 3)
131
+ sprockets-rails (2.3.3)
136
132
  actionpack (>= 3.0)
137
133
  activesupport (>= 3.0)
138
134
  sprockets (>= 2.8, < 4.0)
139
- sqlite3 (1.3.10)
135
+ sqlite3 (1.3.11)
140
136
  thor (0.19.1)
141
137
  thread_safe (0.3.5)
142
- tilt (1.4.1)
143
138
  tzinfo (1.2.2)
144
139
  thread_safe (~> 0.1)
145
- warden (1.2.3)
140
+ warden (1.2.6)
146
141
  rack (>= 1.0)
147
142
  webrat (0.7.3)
148
143
  nokogiri (>= 1.2.0)
@@ -159,11 +154,14 @@ DEPENDENCIES
159
154
  jruby-openssl
160
155
  mocha (~> 1.1)
161
156
  mongoid (~> 4.0.0)
162
- omniauth (~> 1.2.0)
157
+ omniauth (~> 1.3)
163
158
  omniauth-facebook
164
- omniauth-oauth2 (~> 1.1.0)
159
+ omniauth-oauth2 (~> 1.4)
165
160
  omniauth-openid (~> 1.0.1)
166
161
  rails!
167
162
  rdoc
168
163
  sqlite3
169
164
  webrat (= 0.7.3)
165
+
166
+ BUNDLED WITH
167
+ 1.11.2
@@ -1,10 +1,10 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gemspec path: '..'
3
+ gemspec path: ".."
4
4
 
5
- gem "rails", github: 'rails/rails', branch: '4-2-stable'
6
- gem "omniauth", "~> 1.2.2"
7
- gem "omniauth-oauth2", "~> 1.2.0"
5
+ gem "rails", github: "rails/rails", branch: "4-2-stable"
6
+ gem "omniauth", "~> 1.3"
7
+ gem "omniauth-oauth2", "~> 1.4"
8
8
  gem "rdoc"
9
9
 
10
10
  group :test do
@@ -1,97 +1,96 @@
1
1
  GIT
2
2
  remote: git://github.com/rails/rails.git
3
- revision: f12ff8ddab7b199707ec36d72bd72f206f142c8b
3
+ revision: 2aa27582c202148296bb169159b0bf9a47a7bd80
4
4
  branch: 4-2-stable
5
5
  specs:
6
- actionmailer (4.2.1)
7
- actionpack (= 4.2.1)
8
- actionview (= 4.2.1)
9
- activejob (= 4.2.1)
6
+ actionmailer (4.2.6)
7
+ actionpack (= 4.2.6)
8
+ actionview (= 4.2.6)
9
+ activejob (= 4.2.6)
10
10
  mail (~> 2.5, >= 2.5.4)
11
11
  rails-dom-testing (~> 1.0, >= 1.0.5)
12
- actionpack (4.2.1)
13
- actionview (= 4.2.1)
14
- activesupport (= 4.2.1)
12
+ actionpack (4.2.6)
13
+ actionview (= 4.2.6)
14
+ activesupport (= 4.2.6)
15
15
  rack (~> 1.6)
16
16
  rack-test (~> 0.6.2)
17
17
  rails-dom-testing (~> 1.0, >= 1.0.5)
18
18
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
19
- actionview (4.2.1)
20
- activesupport (= 4.2.1)
19
+ actionview (4.2.6)
20
+ activesupport (= 4.2.6)
21
21
  builder (~> 3.1)
22
22
  erubis (~> 2.7.0)
23
23
  rails-dom-testing (~> 1.0, >= 1.0.5)
24
24
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
25
- activejob (4.2.1)
26
- activesupport (= 4.2.1)
25
+ activejob (4.2.6)
26
+ activesupport (= 4.2.6)
27
27
  globalid (>= 0.3.0)
28
- activemodel (4.2.1)
29
- activesupport (= 4.2.1)
28
+ activemodel (4.2.6)
29
+ activesupport (= 4.2.6)
30
30
  builder (~> 3.1)
31
- activerecord (4.2.1)
32
- activemodel (= 4.2.1)
33
- activesupport (= 4.2.1)
31
+ activerecord (4.2.6)
32
+ activemodel (= 4.2.6)
33
+ activesupport (= 4.2.6)
34
34
  arel (~> 6.0)
35
- activesupport (4.2.1)
35
+ activesupport (4.2.6)
36
36
  i18n (~> 0.7)
37
37
  json (~> 1.7, >= 1.7.7)
38
38
  minitest (~> 5.1)
39
39
  thread_safe (~> 0.3, >= 0.3.4)
40
40
  tzinfo (~> 1.1)
41
- rails (4.2.1)
42
- actionmailer (= 4.2.1)
43
- actionpack (= 4.2.1)
44
- actionview (= 4.2.1)
45
- activejob (= 4.2.1)
46
- activemodel (= 4.2.1)
47
- activerecord (= 4.2.1)
48
- activesupport (= 4.2.1)
41
+ rails (4.2.6)
42
+ actionmailer (= 4.2.6)
43
+ actionpack (= 4.2.6)
44
+ actionview (= 4.2.6)
45
+ activejob (= 4.2.6)
46
+ activemodel (= 4.2.6)
47
+ activerecord (= 4.2.6)
48
+ activesupport (= 4.2.6)
49
49
  bundler (>= 1.3.0, < 2.0)
50
- railties (= 4.2.1)
50
+ railties (= 4.2.6)
51
51
  sprockets-rails
52
- railties (4.2.1)
53
- actionpack (= 4.2.1)
54
- activesupport (= 4.2.1)
52
+ railties (4.2.6)
53
+ actionpack (= 4.2.6)
54
+ activesupport (= 4.2.6)
55
55
  rake (>= 0.8.7)
56
56
  thor (>= 0.18.1, < 2.0)
57
57
 
58
58
  PATH
59
59
  remote: ..
60
60
  specs:
61
- devise (3.4.1)
61
+ devise (4.0.0.rc2)
62
62
  bcrypt (~> 3.0)
63
63
  orm_adapter (~> 0.1)
64
- railties (>= 3.2.6, < 5)
64
+ railties (>= 4.1.0, < 5.1)
65
65
  responders
66
- thread_safe (~> 0.1)
67
66
  warden (~> 1.2.3)
68
67
 
69
68
  GEM
70
69
  remote: https://rubygems.org/
71
70
  specs:
72
- arel (6.0.0)
73
- bcrypt (3.1.10)
74
- bson (2.3.0)
71
+ arel (6.0.3)
72
+ bcrypt (3.1.11)
73
+ bson (3.2.6)
75
74
  builder (3.2.2)
76
- connection_pool (2.1.3)
75
+ concurrent-ruby (1.0.1)
76
+ connection_pool (2.2.0)
77
77
  erubis (2.7.0)
78
- faraday (0.9.1)
78
+ faraday (0.9.2)
79
79
  multipart-post (>= 1.2, < 3)
80
- globalid (0.3.3)
80
+ globalid (0.3.6)
81
81
  activesupport (>= 4.1.0)
82
- hashie (3.4.0)
83
- hike (1.2.3)
82
+ hashie (3.4.3)
84
83
  i18n (0.7.0)
85
- json (1.8.2)
86
- jwt (1.4.1)
87
- loofah (2.0.1)
84
+ json (1.8.3)
85
+ jwt (1.5.1)
86
+ loofah (2.0.3)
88
87
  nokogiri (>= 1.5.9)
89
88
  mail (2.6.3)
90
89
  mime-types (>= 1.16, < 3)
91
90
  metaclass (0.0.4)
92
- mime-types (2.4.3)
93
- mini_portile (0.6.2)
94
- minitest (5.5.1)
91
+ mime-types (2.99.1)
92
+ mini_portile2 (2.0.0)
93
+ minitest (5.8.4)
95
94
  mocha (1.1.0)
96
95
  metaclass (~> 0.0.1)
97
96
  mongoid (4.0.2)
@@ -99,38 +98,36 @@ GEM
99
98
  moped (~> 2.0.0)
100
99
  origin (~> 2.1)
101
100
  tzinfo (>= 0.3.37)
102
- moped (2.0.4)
103
- bson (~> 2.2)
101
+ moped (2.0.7)
102
+ bson (~> 3.0)
104
103
  connection_pool (~> 2.0)
105
104
  optionable (~> 0.2.0)
106
- multi_json (1.11.0)
105
+ multi_json (1.11.2)
107
106
  multi_xml (0.5.5)
108
107
  multipart-post (2.0.0)
109
- nokogiri (1.6.6.2)
110
- mini_portile (~> 0.6.0)
111
- oauth2 (1.0.0)
108
+ nokogiri (1.6.7.2)
109
+ mini_portile2 (~> 2.0.0.rc2)
110
+ oauth2 (1.1.0)
112
111
  faraday (>= 0.8, < 0.10)
113
- jwt (~> 1.0)
112
+ jwt (~> 1.0, < 1.5.2)
114
113
  multi_json (~> 1.3)
115
114
  multi_xml (~> 0.5)
116
- rack (~> 1.2)
117
- omniauth (1.2.2)
115
+ rack (>= 1.2, < 3)
116
+ omniauth (1.3.1)
118
117
  hashie (>= 1.2, < 4)
119
- rack (~> 1.0)
120
- omniauth-facebook (2.0.1)
118
+ rack (>= 1.0, < 3)
119
+ omniauth-facebook (3.0.0)
121
120
  omniauth-oauth2 (~> 1.2)
122
- omniauth-oauth2 (1.2.0)
123
- faraday (>= 0.8, < 0.10)
124
- multi_json (~> 1.3)
121
+ omniauth-oauth2 (1.4.0)
125
122
  oauth2 (~> 1.0)
126
123
  omniauth (~> 1.2)
127
124
  omniauth-openid (1.0.1)
128
125
  omniauth (~> 1.0)
129
126
  rack-openid (~> 1.3.1)
130
127
  optionable (0.2.0)
131
- origin (2.1.1)
128
+ origin (2.2.0)
132
129
  orm_adapter (0.5.0)
133
- rack (1.6.0)
130
+ rack (1.6.4)
134
131
  rack-openid (1.3.1)
135
132
  rack (>= 1.1.0)
136
133
  ruby-openid (>= 2.1.8)
@@ -138,33 +135,31 @@ GEM
138
135
  rack (>= 1.0)
139
136
  rails-deprecated_sanitizer (1.0.3)
140
137
  activesupport (>= 4.2.0.alpha)
141
- rails-dom-testing (1.0.6)
138
+ rails-dom-testing (1.0.7)
142
139
  activesupport (>= 4.2.0.beta, < 5.0)
143
140
  nokogiri (~> 1.6.0)
144
141
  rails-deprecated_sanitizer (>= 1.0.1)
145
- rails-html-sanitizer (1.0.2)
142
+ rails-html-sanitizer (1.0.3)
146
143
  loofah (~> 2.0)
147
- rake (10.4.2)
148
- rdoc (4.2.0)
149
- responders (2.1.0)
150
- railties (>= 4.2.0, < 5)
144
+ rake (11.0.1)
145
+ rdoc (4.2.2)
146
+ json (~> 1.4)
147
+ responders (2.1.1)
148
+ railties (>= 4.2.0, < 5.1)
151
149
  ruby-openid (2.7.0)
152
- sprockets (2.12.3)
153
- hike (~> 1.2)
154
- multi_json (~> 1.0)
155
- rack (~> 1.0)
156
- tilt (~> 1.1, != 1.3.0)
157
- sprockets-rails (2.2.4)
158
- actionpack (>= 3.0)
159
- activesupport (>= 3.0)
160
- sprockets (>= 2.8, < 4.0)
161
- sqlite3 (1.3.10)
150
+ sprockets (3.5.2)
151
+ concurrent-ruby (~> 1.0)
152
+ rack (> 1, < 3)
153
+ sprockets-rails (3.0.4)
154
+ actionpack (>= 4.0)
155
+ activesupport (>= 4.0)
156
+ sprockets (>= 3.0.0)
157
+ sqlite3 (1.3.11)
162
158
  thor (0.19.1)
163
159
  thread_safe (0.3.5)
164
- tilt (1.4.1)
165
160
  tzinfo (1.2.2)
166
161
  thread_safe (~> 0.1)
167
- warden (1.2.3)
162
+ warden (1.2.6)
168
163
  rack (>= 1.0)
169
164
  webrat (0.7.3)
170
165
  nokogiri (>= 1.2.0)
@@ -181,11 +176,14 @@ DEPENDENCIES
181
176
  jruby-openssl
182
177
  mocha (~> 1.1)
183
178
  mongoid (~> 4.0.0)
184
- omniauth (~> 1.2.2)
179
+ omniauth (~> 1.3)
185
180
  omniauth-facebook
186
- omniauth-oauth2 (~> 1.2.0)
181
+ omniauth-oauth2 (~> 1.4)
187
182
  omniauth-openid (~> 1.0.1)
188
183
  rails!
189
184
  rdoc
190
185
  sqlite3
191
186
  webrat (= 0.7.3)
187
+
188
+ BUNDLED WITH
189
+ 1.11.2