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.
- checksums.yaml +4 -4
- data/.travis.yml +14 -15
- data/CHANGELOG.md +57 -1125
- data/CODE_OF_CONDUCT.md +22 -0
- data/CONTRIBUTING.md +2 -0
- data/Gemfile +3 -3
- data/Gemfile.lock +80 -80
- data/MIT-LICENSE +1 -1
- data/README.md +27 -18
- data/app/controllers/devise/confirmations_controller.rb +1 -1
- data/app/controllers/devise/omniauth_callbacks_controller.rb +4 -4
- data/app/controllers/devise/passwords_controller.rb +5 -4
- data/app/controllers/devise/registrations_controller.rb +5 -5
- data/app/controllers/devise/sessions_controller.rb +7 -7
- data/app/controllers/devise/unlocks_controller.rb +2 -2
- data/app/controllers/devise_controller.rb +20 -9
- data/app/mailers/devise/mailer.rb +4 -0
- data/app/views/devise/confirmations/new.html.erb +1 -1
- data/app/views/devise/mailer/password_change.html.erb +3 -0
- data/app/views/devise/shared/_links.html.erb +1 -1
- data/bin/test +13 -0
- data/config/locales/en.yml +2 -0
- data/devise.gemspec +2 -3
- data/gemfiles/Gemfile.rails-4.1-stable +4 -4
- data/gemfiles/Gemfile.rails-4.1-stable.lock +69 -71
- data/gemfiles/Gemfile.rails-4.2-stable +4 -4
- data/gemfiles/Gemfile.rails-4.2-stable.lock +81 -83
- data/gemfiles/{Gemfile.rails-3.2-stable → Gemfile.rails-5.0-beta} +15 -7
- data/gemfiles/Gemfile.rails-5.0-beta.lock +199 -0
- data/lib/devise/controllers/helpers.rb +20 -24
- data/lib/devise/controllers/rememberable.rb +8 -1
- data/lib/devise/encryptor.rb +4 -4
- data/lib/devise/failure_app.rb +33 -12
- data/lib/devise/hooks/timeoutable.rb +5 -3
- data/lib/devise/mailers/helpers.rb +1 -1
- data/lib/devise/models/authenticatable.rb +5 -1
- data/lib/devise/models/confirmable.rb +6 -6
- data/lib/devise/models/database_authenticatable.rb +20 -7
- data/lib/devise/models/lockable.rb +1 -1
- data/lib/devise/models/recoverable.rb +3 -7
- data/lib/devise/models/rememberable.rb +38 -24
- data/lib/devise/models/timeoutable.rb +0 -6
- data/lib/devise/models.rb +1 -1
- data/lib/devise/omniauth/url_helpers.rb +62 -4
- data/lib/devise/parameter_sanitizer.rb +176 -61
- data/lib/devise/rails/routes.rb +54 -31
- data/lib/devise/rails/warden_compat.rb +1 -10
- data/lib/devise/rails.rb +1 -10
- data/lib/devise/strategies/authenticatable.rb +1 -1
- data/lib/devise/strategies/database_authenticatable.rb +3 -3
- data/lib/devise/strategies/rememberable.rb +3 -6
- data/lib/devise/test_helpers.rb +10 -5
- data/lib/devise/token_generator.rb +1 -41
- data/lib/devise/version.rb +1 -1
- data/lib/devise.rb +115 -20
- data/lib/generators/active_record/devise_generator.rb +11 -5
- data/lib/generators/active_record/templates/migration.rb +2 -2
- data/lib/generators/active_record/templates/migration_existing.rb +2 -2
- data/lib/generators/devise/install_generator.rb +15 -0
- data/lib/generators/devise/orm_helpers.rb +1 -18
- data/lib/generators/devise/views_generator.rb +14 -3
- 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 +19 -17
- data/lib/generators/templates/markerb/confirmation_instructions.markerb +1 -1
- data/lib/generators/templates/markerb/password_change.markerb +3 -0
- data/lib/generators/templates/markerb/reset_password_instructions.markerb +1 -1
- data/lib/generators/templates/markerb/unlock_instructions.markerb +1 -1
- 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 +22 -0
- 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/devise_test.rb +27 -0
- data/test/failure_app_test.rb +37 -15
- data/test/generators/active_record_generator_test.rb +0 -26
- data/test/generators/install_generator_test.rb +14 -3
- data/test/generators/views_generator_test.rb +7 -0
- 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 +12 -10
- data/test/integration/recoverable_test.rb +10 -10
- data/test/integration/registerable_test.rb +9 -11
- data/test/integration/rememberable_test.rb +42 -7
- data/test/integration/timeoutable_test.rb +16 -4
- data/test/integration/trackable_test.rb +1 -1
- data/test/mailers/confirmation_instructions_test.rb +6 -6
- data/test/mailers/reset_password_instructions_test.rb +5 -5
- data/test/mailers/unlock_instructions_test.rb +5 -5
- data/test/models/confirmable_test.rb +25 -1
- data/test/models/database_authenticatable_test.rb +26 -6
- data/test/models/lockable_test.rb +1 -1
- data/test/models/recoverable_test.rb +23 -0
- data/test/models/rememberable_test.rb +48 -95
- data/test/models/validatable_test.rb +2 -10
- data/test/models_test.rb +15 -6
- data/test/omniauth/url_helpers_test.rb +4 -7
- 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 +1 -0
- data/test/rails_app/app/active_record/user_without_email.rb +8 -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/app/mongoid/user_without_email.rb +33 -0
- data/test/rails_app/config/application.rb +1 -1
- data/test/rails_app/config/boot.rb +4 -4
- data/test/rails_app/config/environments/test.rb +6 -1
- data/test/rails_app/config/initializers/devise.rb +1 -1
- data/test/rails_app/config/initializers/secret_token.rb +1 -6
- data/test/rails_app/config/routes.rb +5 -0
- data/test/rails_app/lib/shared_user_without_email.rb +26 -0
- data/test/routes_test.rb +28 -13
- data/test/support/helpers.rb +4 -0
- data/test/support/http_method_compatibility.rb +51 -0
- data/test/support/webrat/integrations/rails.rb +9 -0
- data/test/test_helpers_test.rb +5 -5
- data/test/test_models.rb +1 -1
- metadata +41 -45
- data/gemfiles/Gemfile.rails-3.2-stable.lock +0 -169
- data/gemfiles/Gemfile.rails-4.0-stable +0 -29
- data/gemfiles/Gemfile.rails-4.0-stable.lock +0 -163
- data/script/cached-bundle +0 -49
- 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
|
|
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?
|
|
@@ -123,13 +127,13 @@ MESSAGE
|
|
|
123
127
|
end
|
|
124
128
|
|
|
125
129
|
if notice
|
|
126
|
-
set_flash_message :notice, notice
|
|
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
|
|
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?
|
|
@@ -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">
|
|
@@ -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
|
|
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)
|
data/config/locales/en.yml
CHANGED
|
@@ -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.
|
|
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,10 +1,10 @@
|
|
|
1
1
|
source "https://rubygems.org"
|
|
2
2
|
|
|
3
|
-
gemspec path:
|
|
3
|
+
gemspec path: ".."
|
|
4
4
|
|
|
5
|
-
gem "rails", github:
|
|
6
|
-
gem "omniauth", "~> 1.
|
|
7
|
-
gem "omniauth-oauth2", "~> 1.
|
|
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:
|
|
3
|
+
revision: 41b4d81b4fd14cbf43060c223bea0f461256d099
|
|
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.15)
|
|
7
|
+
actionpack (= 4.1.15)
|
|
8
|
+
actionview (= 4.1.15)
|
|
9
9
|
mail (~> 2.5, >= 2.5.4)
|
|
10
|
-
actionpack (4.1.
|
|
11
|
-
actionview (= 4.1.
|
|
12
|
-
activesupport (= 4.1.
|
|
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.
|
|
16
|
-
activesupport (= 4.1.
|
|
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.
|
|
20
|
-
activesupport (= 4.1.
|
|
19
|
+
activemodel (4.1.15)
|
|
20
|
+
activesupport (= 4.1.15)
|
|
21
21
|
builder (~> 3.1)
|
|
22
|
-
activerecord (4.1.
|
|
23
|
-
activemodel (= 4.1.
|
|
24
|
-
activesupport (= 4.1.
|
|
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.
|
|
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.
|
|
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.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.
|
|
40
|
+
railties (= 4.1.15)
|
|
41
41
|
sprockets-rails (~> 2.0)
|
|
42
|
-
railties (4.1.
|
|
43
|
-
actionpack (= 4.1.
|
|
44
|
-
activesupport (= 4.1.
|
|
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 (
|
|
51
|
+
devise (4.0.0.rc2)
|
|
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.
|
|
64
|
-
bson (2.
|
|
62
|
+
bcrypt (3.1.11)
|
|
63
|
+
bson (3.2.6)
|
|
65
64
|
builder (3.2.2)
|
|
66
|
-
|
|
65
|
+
concurrent-ruby (1.0.1)
|
|
66
|
+
connection_pool (2.2.0)
|
|
67
67
|
erubis (2.7.0)
|
|
68
|
-
faraday (0.9.
|
|
68
|
+
faraday (0.9.2)
|
|
69
69
|
multipart-post (>= 1.2, < 3)
|
|
70
|
-
hashie (3.4.
|
|
71
|
-
hike (1.2.3)
|
|
70
|
+
hashie (3.4.3)
|
|
72
71
|
i18n (0.7.0)
|
|
73
|
-
json (1.8.
|
|
74
|
-
jwt (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.
|
|
79
|
-
|
|
80
|
-
minitest (5.
|
|
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.
|
|
89
|
-
bson (~>
|
|
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.
|
|
91
|
+
multi_json (1.11.2)
|
|
93
92
|
multi_xml (0.5.5)
|
|
94
93
|
multipart-post (2.0.0)
|
|
95
|
-
nokogiri (1.6.
|
|
96
|
-
|
|
97
|
-
oauth2 (
|
|
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 (
|
|
103
|
-
omniauth (1.
|
|
101
|
+
rack (>= 1.2, < 3)
|
|
102
|
+
omniauth (1.3.1)
|
|
104
103
|
hashie (>= 1.2, < 4)
|
|
105
|
-
rack (
|
|
106
|
-
omniauth-facebook (
|
|
107
|
-
omniauth-oauth2 (~> 1.
|
|
108
|
-
omniauth-oauth2 (1.
|
|
109
|
-
|
|
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.
|
|
114
|
+
origin (2.2.0)
|
|
118
115
|
orm_adapter (0.5.0)
|
|
119
|
-
rack (1.5.
|
|
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 (
|
|
126
|
-
rdoc (4.2.
|
|
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 (
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
157
|
+
omniauth (~> 1.3)
|
|
163
158
|
omniauth-facebook
|
|
164
|
-
omniauth-oauth2 (~> 1.
|
|
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:
|
|
6
|
-
gem "omniauth", "~> 1.
|
|
7
|
-
gem "omniauth-oauth2", "~> 1.
|
|
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:
|
|
3
|
+
revision: 2aa27582c202148296bb169159b0bf9a47a7bd80
|
|
4
4
|
branch: 4-2-stable
|
|
5
5
|
specs:
|
|
6
|
-
actionmailer (4.2.
|
|
7
|
-
actionpack (= 4.2.
|
|
8
|
-
actionview (= 4.2.
|
|
9
|
-
activejob (= 4.2.
|
|
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.
|
|
13
|
-
actionview (= 4.2.
|
|
14
|
-
activesupport (= 4.2.
|
|
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.
|
|
20
|
-
activesupport (= 4.2.
|
|
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.
|
|
26
|
-
activesupport (= 4.2.
|
|
25
|
+
activejob (4.2.6)
|
|
26
|
+
activesupport (= 4.2.6)
|
|
27
27
|
globalid (>= 0.3.0)
|
|
28
|
-
activemodel (4.2.
|
|
29
|
-
activesupport (= 4.2.
|
|
28
|
+
activemodel (4.2.6)
|
|
29
|
+
activesupport (= 4.2.6)
|
|
30
30
|
builder (~> 3.1)
|
|
31
|
-
activerecord (4.2.
|
|
32
|
-
activemodel (= 4.2.
|
|
33
|
-
activesupport (= 4.2.
|
|
31
|
+
activerecord (4.2.6)
|
|
32
|
+
activemodel (= 4.2.6)
|
|
33
|
+
activesupport (= 4.2.6)
|
|
34
34
|
arel (~> 6.0)
|
|
35
|
-
activesupport (4.2.
|
|
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.
|
|
42
|
-
actionmailer (= 4.2.
|
|
43
|
-
actionpack (= 4.2.
|
|
44
|
-
actionview (= 4.2.
|
|
45
|
-
activejob (= 4.2.
|
|
46
|
-
activemodel (= 4.2.
|
|
47
|
-
activerecord (= 4.2.
|
|
48
|
-
activesupport (= 4.2.
|
|
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.
|
|
50
|
+
railties (= 4.2.6)
|
|
51
51
|
sprockets-rails
|
|
52
|
-
railties (4.2.
|
|
53
|
-
actionpack (= 4.2.
|
|
54
|
-
activesupport (= 4.2.
|
|
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 (
|
|
61
|
+
devise (4.0.0.rc2)
|
|
62
62
|
bcrypt (~> 3.0)
|
|
63
63
|
orm_adapter (~> 0.1)
|
|
64
|
-
railties (>=
|
|
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.
|
|
73
|
-
bcrypt (3.1.
|
|
74
|
-
bson (2.
|
|
71
|
+
arel (6.0.3)
|
|
72
|
+
bcrypt (3.1.11)
|
|
73
|
+
bson (3.2.6)
|
|
75
74
|
builder (3.2.2)
|
|
76
|
-
|
|
75
|
+
concurrent-ruby (1.0.1)
|
|
76
|
+
connection_pool (2.2.0)
|
|
77
77
|
erubis (2.7.0)
|
|
78
|
-
faraday (0.9.
|
|
78
|
+
faraday (0.9.2)
|
|
79
79
|
multipart-post (>= 1.2, < 3)
|
|
80
|
-
globalid (0.3.
|
|
80
|
+
globalid (0.3.6)
|
|
81
81
|
activesupport (>= 4.1.0)
|
|
82
|
-
hashie (3.4.
|
|
83
|
-
hike (1.2.3)
|
|
82
|
+
hashie (3.4.3)
|
|
84
83
|
i18n (0.7.0)
|
|
85
|
-
json (1.8.
|
|
86
|
-
jwt (1.
|
|
87
|
-
loofah (2.0.
|
|
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.
|
|
93
|
-
|
|
94
|
-
minitest (5.
|
|
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.
|
|
103
|
-
bson (~>
|
|
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.
|
|
105
|
+
multi_json (1.11.2)
|
|
107
106
|
multi_xml (0.5.5)
|
|
108
107
|
multipart-post (2.0.0)
|
|
109
|
-
nokogiri (1.6.
|
|
110
|
-
|
|
111
|
-
oauth2 (1.
|
|
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 (
|
|
117
|
-
omniauth (1.
|
|
115
|
+
rack (>= 1.2, < 3)
|
|
116
|
+
omniauth (1.3.1)
|
|
118
117
|
hashie (>= 1.2, < 4)
|
|
119
|
-
rack (
|
|
120
|
-
omniauth-facebook (
|
|
118
|
+
rack (>= 1.0, < 3)
|
|
119
|
+
omniauth-facebook (3.0.0)
|
|
121
120
|
omniauth-oauth2 (~> 1.2)
|
|
122
|
-
omniauth-oauth2 (1.
|
|
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.
|
|
128
|
+
origin (2.2.0)
|
|
132
129
|
orm_adapter (0.5.0)
|
|
133
|
-
rack (1.6.
|
|
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.
|
|
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.
|
|
142
|
+
rails-html-sanitizer (1.0.3)
|
|
146
143
|
loofah (~> 2.0)
|
|
147
|
-
rake (
|
|
148
|
-
rdoc (4.2.
|
|
149
|
-
|
|
150
|
-
|
|
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 (
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
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.
|
|
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.
|
|
179
|
+
omniauth (~> 1.3)
|
|
185
180
|
omniauth-facebook
|
|
186
|
-
omniauth-oauth2 (~> 1.
|
|
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
|