devise 3.2.4 → 4.0.0
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/.gitignore +0 -1
- data/.travis.yml +33 -17
- data/CHANGELOG.md +57 -1033
- data/CODE_OF_CONDUCT.md +22 -0
- data/CONTRIBUTING.md +2 -0
- data/Gemfile +5 -5
- data/Gemfile.lock +138 -115
- data/MIT-LICENSE +1 -1
- data/README.md +124 -65
- data/Rakefile +2 -1
- data/app/controllers/devise/confirmations_controller.rb +7 -3
- data/app/controllers/devise/omniauth_callbacks_controller.rb +8 -4
- data/app/controllers/devise/passwords_controller.rb +16 -6
- data/app/controllers/devise/registrations_controller.rb +22 -10
- data/app/controllers/devise/sessions_controller.rb +42 -14
- data/app/controllers/devise/unlocks_controller.rb +5 -2
- data/app/controllers/devise_controller.rb +63 -29
- data/app/mailers/devise/mailer.rb +4 -0
- data/app/views/devise/confirmations/new.html.erb +7 -3
- data/app/views/devise/mailer/password_change.html.erb +3 -0
- data/app/views/devise/passwords/edit.html.erb +14 -5
- data/app/views/devise/passwords/new.html.erb +7 -3
- data/app/views/devise/registrations/edit.html.erb +19 -9
- data/app/views/devise/registrations/new.html.erb +18 -7
- data/app/views/devise/sessions/new.html.erb +16 -7
- data/app/views/devise/shared/{_links.erb → _links.html.erb} +2 -2
- data/app/views/devise/unlocks/new.html.erb +7 -3
- data/bin/test +13 -0
- data/config/locales/en.yml +19 -16
- data/devise.gemspec +3 -4
- data/gemfiles/{Gemfile.rails-3.2-stable → Gemfile.rails-4.1-stable} +6 -6
- data/gemfiles/Gemfile.rails-4.1-stable.lock +167 -0
- data/gemfiles/{Gemfile.rails-head → Gemfile.rails-4.2-stable} +6 -6
- data/gemfiles/Gemfile.rails-4.2-stable.lock +189 -0
- data/gemfiles/Gemfile.rails-5.0-beta +37 -0
- data/gemfiles/Gemfile.rails-5.0-beta.lock +199 -0
- data/lib/devise/controllers/helpers.rb +94 -27
- data/lib/devise/controllers/rememberable.rb +9 -2
- data/lib/devise/controllers/sign_in_out.rb +2 -9
- data/lib/devise/controllers/store_location.rb +11 -3
- data/lib/devise/controllers/url_helpers.rb +7 -7
- data/lib/devise/encryptor.rb +22 -0
- data/lib/devise/failure_app.rb +72 -23
- data/lib/devise/hooks/activatable.rb +3 -4
- data/lib/devise/hooks/csrf_cleaner.rb +3 -1
- data/lib/devise/hooks/timeoutable.rb +13 -8
- data/lib/devise/mailers/helpers.rb +1 -1
- data/lib/devise/mapping.rb +6 -2
- data/lib/devise/models/authenticatable.rb +32 -28
- data/lib/devise/models/confirmable.rb +55 -22
- data/lib/devise/models/database_authenticatable.rb +32 -19
- data/lib/devise/models/lockable.rb +5 -5
- data/lib/devise/models/recoverable.rb +44 -20
- data/lib/devise/models/rememberable.rb +54 -27
- data/lib/devise/models/timeoutable.rb +0 -6
- data/lib/devise/models/trackable.rb +5 -3
- data/lib/devise/models/validatable.rb +3 -3
- 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 +76 -59
- data/lib/devise/rails/warden_compat.rb +1 -10
- data/lib/devise/rails.rb +2 -11
- data/lib/devise/strategies/authenticatable.rb +15 -6
- data/lib/devise/strategies/database_authenticatable.rb +5 -4
- data/lib/devise/strategies/rememberable.rb +13 -3
- data/lib/devise/test_helpers.rb +12 -7
- data/lib/devise/token_generator.rb +1 -41
- data/lib/devise/version.rb +1 -1
- data/lib/devise.rb +150 -58
- data/lib/generators/active_record/devise_generator.rb +28 -4
- data/lib/generators/active_record/templates/migration.rb +3 -3
- data/lib/generators/active_record/templates/migration_existing.rb +3 -3
- data/lib/generators/devise/controllers_generator.rb +44 -0
- 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/README +1 -1
- data/lib/generators/templates/controllers/README +14 -0
- data/lib/generators/templates/controllers/confirmations_controller.rb +28 -0
- data/lib/generators/templates/controllers/omniauth_callbacks_controller.rb +28 -0
- data/lib/generators/templates/controllers/passwords_controller.rb +32 -0
- data/lib/generators/templates/controllers/registrations_controller.rb +60 -0
- data/lib/generators/templates/controllers/sessions_controller.rb +25 -0
- data/lib/generators/templates/controllers/unlocks_controller.rb +28 -0
- data/lib/generators/templates/devise.rb +36 -28
- 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/lib/generators/templates/simple_form_for/passwords/edit.html.erb +1 -1
- data/lib/generators/templates/simple_form_for/registrations/new.html.erb +1 -1
- data/lib/generators/templates/simple_form_for/sessions/new.html.erb +2 -2
- data/test/controllers/custom_registrations_controller_test.rb +40 -0
- data/test/controllers/custom_strategy_test.rb +7 -5
- data/test/controllers/helper_methods_test.rb +22 -0
- data/test/controllers/helpers_test.rb +41 -1
- data/test/controllers/inherited_controller_i18n_messages_test.rb +51 -0
- data/test/controllers/internal_helpers_test.rb +19 -15
- data/test/controllers/load_hooks_controller_test.rb +19 -0
- data/test/controllers/passwords_controller_test.rb +5 -4
- data/test/controllers/sessions_controller_test.rb +24 -21
- data/test/controllers/url_helpers_test.rb +7 -1
- data/test/devise_test.rb +48 -8
- data/test/failure_app_test.rb +107 -19
- data/test/generators/active_record_generator_test.rb +6 -26
- data/test/generators/controllers_generator_test.rb +48 -0
- data/test/generators/install_generator_test.rb +14 -3
- data/test/generators/views_generator_test.rb +8 -1
- data/test/helpers/devise_helper_test.rb +10 -12
- data/test/integration/authenticatable_test.rb +37 -21
- data/test/integration/confirmable_test.rb +54 -14
- data/test/integration/database_authenticatable_test.rb +12 -1
- data/test/integration/http_authenticatable_test.rb +4 -5
- data/test/integration/lockable_test.rb +10 -9
- data/test/integration/omniauthable_test.rb +13 -11
- data/test/integration/recoverable_test.rb +28 -15
- data/test/integration/registerable_test.rb +41 -33
- data/test/integration/rememberable_test.rb +51 -7
- data/test/integration/timeoutable_test.rb +23 -22
- data/test/integration/trackable_test.rb +3 -3
- data/test/mailers/confirmation_instructions_test.rb +10 -10
- data/test/mailers/reset_password_instructions_test.rb +8 -8
- data/test/mailers/unlock_instructions_test.rb +8 -8
- data/test/mapping_test.rb +7 -0
- data/test/models/authenticatable_test.rb +11 -1
- data/test/models/confirmable_test.rb +91 -42
- data/test/models/database_authenticatable_test.rb +26 -6
- data/test/models/lockable_test.rb +29 -17
- data/test/models/recoverable_test.rb +74 -7
- data/test/models/rememberable_test.rb +68 -94
- data/test/models/trackable_test.rb +28 -0
- data/test/models/validatable_test.rb +9 -17
- 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_on_engine.rb +7 -0
- data/test/rails_app/app/active_record/user_on_main_app.rb +7 -0
- data/test/rails_app/app/active_record/user_without_email.rb +8 -0
- data/test/rails_app/app/controllers/admins_controller.rb +1 -6
- data/test/rails_app/app/controllers/application_controller.rb +5 -2
- data/test/rails_app/app/controllers/application_with_fake_engine.rb +30 -0
- data/test/rails_app/app/controllers/custom/registrations_controller.rb +31 -0
- data/test/rails_app/app/controllers/home_controller.rb +5 -1
- data/test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb +3 -3
- data/test/rails_app/app/controllers/users_controller.rb +6 -6
- data/test/rails_app/app/mailers/users/from_proc_mailer.rb +3 -0
- data/test/rails_app/app/mailers/users/mailer.rb +0 -9
- data/test/rails_app/app/mailers/users/reply_to_mailer.rb +4 -0
- data/test/rails_app/app/mongoid/user_on_engine.rb +39 -0
- data/test/rails_app/app/mongoid/user_on_main_app.rb +39 -0
- data/test/rails_app/app/mongoid/user_without_email.rb +33 -0
- data/test/rails_app/config/application.rb +3 -3
- data/test/rails_app/config/boot.rb +4 -4
- data/test/rails_app/config/environments/production.rb +6 -2
- data/test/rails_app/config/environments/test.rb +13 -3
- data/test/rails_app/config/initializers/devise.rb +15 -16
- data/test/rails_app/config/initializers/secret_token.rb +1 -6
- data/test/rails_app/config/routes.rb +23 -3
- data/test/rails_app/db/migrate/20100401102949_create_tables.rb +2 -2
- data/test/rails_app/lib/shared_user.rb +1 -1
- data/test/rails_app/lib/shared_user_without_email.rb +26 -0
- data/test/rails_app/lib/shared_user_without_omniauth.rb +13 -0
- data/test/rails_test.rb +9 -0
- data/test/routes_test.rb +33 -16
- data/test/support/assertions.rb +2 -3
- data/test/support/helpers.rb +13 -6
- data/test/support/http_method_compatibility.rb +51 -0
- data/test/support/integration.rb +4 -4
- data/test/support/webrat/integrations/rails.rb +9 -0
- data/test/test_helper.rb +7 -0
- data/test/test_helpers_test.rb +43 -38
- data/test/test_models.rb +3 -3
- metadata +77 -23
- data/gemfiles/Gemfile.rails-4.0-stable +0 -29
data/config/locales/en.yml
CHANGED
@@ -3,26 +3,28 @@
|
|
3
3
|
en:
|
4
4
|
devise:
|
5
5
|
confirmations:
|
6
|
-
confirmed: "Your
|
7
|
-
send_instructions: "You will receive an email with instructions
|
8
|
-
send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions
|
6
|
+
confirmed: "Your email address has been successfully confirmed."
|
7
|
+
send_instructions: "You will receive an email with instructions for how to confirm your email address in a few minutes."
|
8
|
+
send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions for how to confirm your email address in a few minutes."
|
9
9
|
failure:
|
10
10
|
already_authenticated: "You are already signed in."
|
11
11
|
inactive: "Your account is not activated yet."
|
12
|
-
invalid: "Invalid
|
12
|
+
invalid: "Invalid %{authentication_keys} or password."
|
13
13
|
locked: "Your account is locked."
|
14
|
-
last_attempt: "You have one more attempt before your account
|
15
|
-
not_found_in_database: "Invalid
|
14
|
+
last_attempt: "You have one more attempt before your account is locked."
|
15
|
+
not_found_in_database: "Invalid %{authentication_keys} or password."
|
16
16
|
timeout: "Your session expired. Please sign in again to continue."
|
17
17
|
unauthenticated: "You need to sign in or sign up before continuing."
|
18
|
-
unconfirmed: "You have to confirm your
|
18
|
+
unconfirmed: "You have to confirm your email address before continuing."
|
19
19
|
mailer:
|
20
20
|
confirmation_instructions:
|
21
21
|
subject: "Confirmation instructions"
|
22
22
|
reset_password_instructions:
|
23
23
|
subject: "Reset password instructions"
|
24
24
|
unlock_instructions:
|
25
|
-
subject: "Unlock
|
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."
|
@@ -30,22 +32,23 @@ en:
|
|
30
32
|
no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
|
31
33
|
send_instructions: "You will receive an email with instructions on how to reset your password in a few minutes."
|
32
34
|
send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
|
33
|
-
updated: "Your password
|
34
|
-
updated_not_active: "Your password
|
35
|
+
updated: "Your password has been changed successfully. You are now signed in."
|
36
|
+
updated_not_active: "Your password has been changed successfully."
|
35
37
|
registrations:
|
36
|
-
destroyed: "Bye! Your account
|
38
|
+
destroyed: "Bye! Your account has been successfully cancelled. We hope to see you again soon."
|
37
39
|
signed_up: "Welcome! You have signed up successfully."
|
38
40
|
signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
|
39
41
|
signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
|
40
|
-
signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please
|
41
|
-
update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and
|
42
|
-
updated: "
|
42
|
+
signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please follow the link to activate your account."
|
43
|
+
update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and follow the confirm link to confirm your new email address."
|
44
|
+
updated: "Your account has been updated successfully."
|
43
45
|
sessions:
|
44
46
|
signed_in: "Signed in successfully."
|
45
47
|
signed_out: "Signed out successfully."
|
48
|
+
already_signed_out: "Signed out successfully."
|
46
49
|
unlocks:
|
47
|
-
send_instructions: "You will receive an email with instructions
|
48
|
-
send_paranoid_instructions: "If your account exists, you will receive an email with instructions
|
50
|
+
send_instructions: "You will receive an email with instructions for how to unlock your account in a few minutes."
|
51
|
+
send_paranoid_instructions: "If your account exists, you will receive an email with instructions for how to unlock it in a few minutes."
|
49
52
|
unlocked: "Your account has been unlocked successfully. Please sign in to continue."
|
50
53
|
errors:
|
51
54
|
messages:
|
data/devise.gemspec
CHANGED
@@ -13,15 +13,14 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.description = "Flexible authentication solution for Rails with Warden"
|
14
14
|
s.authors = ['José Valim', 'Carlos Antônio']
|
15
15
|
|
16
|
-
s.rubyforge_project = "devise"
|
17
|
-
|
18
16
|
s.files = `git ls-files`.split("\n")
|
19
17
|
s.test_files = `git ls-files -- test/*`.split("\n")
|
20
18
|
s.require_paths = ["lib"]
|
19
|
+
s.required_ruby_version = '>= 2.1.0'
|
21
20
|
|
22
21
|
s.add_dependency("warden", "~> 1.2.3")
|
23
22
|
s.add_dependency("orm_adapter", "~> 0.1")
|
24
23
|
s.add_dependency("bcrypt", "~> 3.0")
|
25
|
-
s.add_dependency("
|
26
|
-
s.add_dependency("
|
24
|
+
s.add_dependency("railties", ">= 4.1.0", "< 5.1")
|
25
|
+
s.add_dependency("responders")
|
27
26
|
end
|
@@ -1,17 +1,17 @@
|
|
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
|
11
11
|
gem "omniauth-facebook"
|
12
12
|
gem "omniauth-openid", "~> 1.0.1"
|
13
13
|
gem "webrat", "0.7.3", require: false
|
14
|
-
gem "mocha", "~> 1.
|
14
|
+
gem "mocha", "~> 1.1", require: false
|
15
15
|
end
|
16
16
|
|
17
17
|
platforms :jruby do
|
@@ -25,5 +25,5 @@ platforms :ruby do
|
|
25
25
|
end
|
26
26
|
|
27
27
|
group :mongoid do
|
28
|
-
gem "mongoid", "~>
|
28
|
+
gem "mongoid", "~> 4.0.0"
|
29
29
|
end
|
@@ -0,0 +1,167 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/rails/rails.git
|
3
|
+
revision: 41b4d81b4fd14cbf43060c223bea0f461256d099
|
4
|
+
branch: 4-1-stable
|
5
|
+
specs:
|
6
|
+
actionmailer (4.1.15)
|
7
|
+
actionpack (= 4.1.15)
|
8
|
+
actionview (= 4.1.15)
|
9
|
+
mail (~> 2.5, >= 2.5.4)
|
10
|
+
actionpack (4.1.15)
|
11
|
+
actionview (= 4.1.15)
|
12
|
+
activesupport (= 4.1.15)
|
13
|
+
rack (~> 1.5.2)
|
14
|
+
rack-test (~> 0.6.2)
|
15
|
+
actionview (4.1.15)
|
16
|
+
activesupport (= 4.1.15)
|
17
|
+
builder (~> 3.1)
|
18
|
+
erubis (~> 2.7.0)
|
19
|
+
activemodel (4.1.15)
|
20
|
+
activesupport (= 4.1.15)
|
21
|
+
builder (~> 3.1)
|
22
|
+
activerecord (4.1.15)
|
23
|
+
activemodel (= 4.1.15)
|
24
|
+
activesupport (= 4.1.15)
|
25
|
+
arel (~> 5.0.0)
|
26
|
+
activesupport (4.1.15)
|
27
|
+
i18n (~> 0.6, >= 0.6.9)
|
28
|
+
json (~> 1.7, >= 1.7.7)
|
29
|
+
minitest (~> 5.1)
|
30
|
+
thread_safe (~> 0.1)
|
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)
|
39
|
+
bundler (>= 1.3.0, < 2.0)
|
40
|
+
railties (= 4.1.15)
|
41
|
+
sprockets-rails (~> 2.0)
|
42
|
+
railties (4.1.15)
|
43
|
+
actionpack (= 4.1.15)
|
44
|
+
activesupport (= 4.1.15)
|
45
|
+
rake (>= 0.8.7)
|
46
|
+
thor (>= 0.18.1, < 2.0)
|
47
|
+
|
48
|
+
PATH
|
49
|
+
remote: ..
|
50
|
+
specs:
|
51
|
+
devise (4.0.0.rc2)
|
52
|
+
bcrypt (~> 3.0)
|
53
|
+
orm_adapter (~> 0.1)
|
54
|
+
railties (>= 4.1.0, < 5.1)
|
55
|
+
responders
|
56
|
+
warden (~> 1.2.3)
|
57
|
+
|
58
|
+
GEM
|
59
|
+
remote: https://rubygems.org/
|
60
|
+
specs:
|
61
|
+
arel (5.0.1.20140414130214)
|
62
|
+
bcrypt (3.1.11)
|
63
|
+
bson (3.2.6)
|
64
|
+
builder (3.2.2)
|
65
|
+
concurrent-ruby (1.0.1)
|
66
|
+
connection_pool (2.2.0)
|
67
|
+
erubis (2.7.0)
|
68
|
+
faraday (0.9.2)
|
69
|
+
multipart-post (>= 1.2, < 3)
|
70
|
+
hashie (3.4.3)
|
71
|
+
i18n (0.7.0)
|
72
|
+
json (1.8.3)
|
73
|
+
jwt (1.5.1)
|
74
|
+
mail (2.6.3)
|
75
|
+
mime-types (>= 1.16, < 3)
|
76
|
+
metaclass (0.0.4)
|
77
|
+
mime-types (2.99.1)
|
78
|
+
mini_portile2 (2.0.0)
|
79
|
+
minitest (5.8.4)
|
80
|
+
mocha (1.1.0)
|
81
|
+
metaclass (~> 0.0.1)
|
82
|
+
mongoid (4.0.2)
|
83
|
+
activemodel (~> 4.0)
|
84
|
+
moped (~> 2.0.0)
|
85
|
+
origin (~> 2.1)
|
86
|
+
tzinfo (>= 0.3.37)
|
87
|
+
moped (2.0.7)
|
88
|
+
bson (~> 3.0)
|
89
|
+
connection_pool (~> 2.0)
|
90
|
+
optionable (~> 0.2.0)
|
91
|
+
multi_json (1.11.2)
|
92
|
+
multi_xml (0.5.5)
|
93
|
+
multipart-post (2.0.0)
|
94
|
+
nokogiri (1.6.7.2)
|
95
|
+
mini_portile2 (~> 2.0.0.rc2)
|
96
|
+
oauth2 (1.1.0)
|
97
|
+
faraday (>= 0.8, < 0.10)
|
98
|
+
jwt (~> 1.0, < 1.5.2)
|
99
|
+
multi_json (~> 1.3)
|
100
|
+
multi_xml (~> 0.5)
|
101
|
+
rack (>= 1.2, < 3)
|
102
|
+
omniauth (1.3.1)
|
103
|
+
hashie (>= 1.2, < 4)
|
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)
|
109
|
+
omniauth (~> 1.2)
|
110
|
+
omniauth-openid (1.0.1)
|
111
|
+
omniauth (~> 1.0)
|
112
|
+
rack-openid (~> 1.3.1)
|
113
|
+
optionable (0.2.0)
|
114
|
+
origin (2.2.0)
|
115
|
+
orm_adapter (0.5.0)
|
116
|
+
rack (1.5.5)
|
117
|
+
rack-openid (1.3.1)
|
118
|
+
rack (>= 1.1.0)
|
119
|
+
ruby-openid (>= 2.1.8)
|
120
|
+
rack-test (0.6.3)
|
121
|
+
rack (>= 1.0)
|
122
|
+
rake (11.0.1)
|
123
|
+
rdoc (4.2.2)
|
124
|
+
json (~> 1.4)
|
125
|
+
responders (1.1.2)
|
126
|
+
railties (>= 3.2, < 4.2)
|
127
|
+
ruby-openid (2.7.0)
|
128
|
+
sprockets (3.5.2)
|
129
|
+
concurrent-ruby (~> 1.0)
|
130
|
+
rack (> 1, < 3)
|
131
|
+
sprockets-rails (2.3.3)
|
132
|
+
actionpack (>= 3.0)
|
133
|
+
activesupport (>= 3.0)
|
134
|
+
sprockets (>= 2.8, < 4.0)
|
135
|
+
sqlite3 (1.3.11)
|
136
|
+
thor (0.19.1)
|
137
|
+
thread_safe (0.3.5)
|
138
|
+
tzinfo (1.2.2)
|
139
|
+
thread_safe (~> 0.1)
|
140
|
+
warden (1.2.6)
|
141
|
+
rack (>= 1.0)
|
142
|
+
webrat (0.7.3)
|
143
|
+
nokogiri (>= 1.2.0)
|
144
|
+
rack (>= 1.0)
|
145
|
+
rack-test (>= 0.5.3)
|
146
|
+
|
147
|
+
PLATFORMS
|
148
|
+
ruby
|
149
|
+
|
150
|
+
DEPENDENCIES
|
151
|
+
activerecord-jdbc-adapter
|
152
|
+
activerecord-jdbcsqlite3-adapter
|
153
|
+
devise!
|
154
|
+
jruby-openssl
|
155
|
+
mocha (~> 1.1)
|
156
|
+
mongoid (~> 4.0.0)
|
157
|
+
omniauth (~> 1.3)
|
158
|
+
omniauth-facebook
|
159
|
+
omniauth-oauth2 (~> 1.4)
|
160
|
+
omniauth-openid (~> 1.0.1)
|
161
|
+
rails!
|
162
|
+
rdoc
|
163
|
+
sqlite3
|
164
|
+
webrat (= 0.7.3)
|
165
|
+
|
166
|
+
BUNDLED WITH
|
167
|
+
1.11.2
|
@@ -1,17 +1,17 @@
|
|
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
|
11
11
|
gem "omniauth-facebook"
|
12
12
|
gem "omniauth-openid", "~> 1.0.1"
|
13
13
|
gem "webrat", "0.7.3", require: false
|
14
|
-
gem "mocha", "~> 1.
|
14
|
+
gem "mocha", "~> 1.1", require: false
|
15
15
|
end
|
16
16
|
|
17
17
|
platforms :jruby do
|
@@ -25,5 +25,5 @@ platforms :ruby do
|
|
25
25
|
end
|
26
26
|
|
27
27
|
group :mongoid do
|
28
|
-
gem "mongoid",
|
28
|
+
gem "mongoid", "~> 4.0.0"
|
29
29
|
end
|
@@ -0,0 +1,189 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/rails/rails.git
|
3
|
+
revision: 2aa27582c202148296bb169159b0bf9a47a7bd80
|
4
|
+
branch: 4-2-stable
|
5
|
+
specs:
|
6
|
+
actionmailer (4.2.6)
|
7
|
+
actionpack (= 4.2.6)
|
8
|
+
actionview (= 4.2.6)
|
9
|
+
activejob (= 4.2.6)
|
10
|
+
mail (~> 2.5, >= 2.5.4)
|
11
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
12
|
+
actionpack (4.2.6)
|
13
|
+
actionview (= 4.2.6)
|
14
|
+
activesupport (= 4.2.6)
|
15
|
+
rack (~> 1.6)
|
16
|
+
rack-test (~> 0.6.2)
|
17
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
18
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
19
|
+
actionview (4.2.6)
|
20
|
+
activesupport (= 4.2.6)
|
21
|
+
builder (~> 3.1)
|
22
|
+
erubis (~> 2.7.0)
|
23
|
+
rails-dom-testing (~> 1.0, >= 1.0.5)
|
24
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
25
|
+
activejob (4.2.6)
|
26
|
+
activesupport (= 4.2.6)
|
27
|
+
globalid (>= 0.3.0)
|
28
|
+
activemodel (4.2.6)
|
29
|
+
activesupport (= 4.2.6)
|
30
|
+
builder (~> 3.1)
|
31
|
+
activerecord (4.2.6)
|
32
|
+
activemodel (= 4.2.6)
|
33
|
+
activesupport (= 4.2.6)
|
34
|
+
arel (~> 6.0)
|
35
|
+
activesupport (4.2.6)
|
36
|
+
i18n (~> 0.7)
|
37
|
+
json (~> 1.7, >= 1.7.7)
|
38
|
+
minitest (~> 5.1)
|
39
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
40
|
+
tzinfo (~> 1.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
|
+
bundler (>= 1.3.0, < 2.0)
|
50
|
+
railties (= 4.2.6)
|
51
|
+
sprockets-rails
|
52
|
+
railties (4.2.6)
|
53
|
+
actionpack (= 4.2.6)
|
54
|
+
activesupport (= 4.2.6)
|
55
|
+
rake (>= 0.8.7)
|
56
|
+
thor (>= 0.18.1, < 2.0)
|
57
|
+
|
58
|
+
PATH
|
59
|
+
remote: ..
|
60
|
+
specs:
|
61
|
+
devise (4.0.0.rc2)
|
62
|
+
bcrypt (~> 3.0)
|
63
|
+
orm_adapter (~> 0.1)
|
64
|
+
railties (>= 4.1.0, < 5.1)
|
65
|
+
responders
|
66
|
+
warden (~> 1.2.3)
|
67
|
+
|
68
|
+
GEM
|
69
|
+
remote: https://rubygems.org/
|
70
|
+
specs:
|
71
|
+
arel (6.0.3)
|
72
|
+
bcrypt (3.1.11)
|
73
|
+
bson (3.2.6)
|
74
|
+
builder (3.2.2)
|
75
|
+
concurrent-ruby (1.0.1)
|
76
|
+
connection_pool (2.2.0)
|
77
|
+
erubis (2.7.0)
|
78
|
+
faraday (0.9.2)
|
79
|
+
multipart-post (>= 1.2, < 3)
|
80
|
+
globalid (0.3.6)
|
81
|
+
activesupport (>= 4.1.0)
|
82
|
+
hashie (3.4.3)
|
83
|
+
i18n (0.7.0)
|
84
|
+
json (1.8.3)
|
85
|
+
jwt (1.5.1)
|
86
|
+
loofah (2.0.3)
|
87
|
+
nokogiri (>= 1.5.9)
|
88
|
+
mail (2.6.3)
|
89
|
+
mime-types (>= 1.16, < 3)
|
90
|
+
metaclass (0.0.4)
|
91
|
+
mime-types (2.99.1)
|
92
|
+
mini_portile2 (2.0.0)
|
93
|
+
minitest (5.8.4)
|
94
|
+
mocha (1.1.0)
|
95
|
+
metaclass (~> 0.0.1)
|
96
|
+
mongoid (4.0.2)
|
97
|
+
activemodel (~> 4.0)
|
98
|
+
moped (~> 2.0.0)
|
99
|
+
origin (~> 2.1)
|
100
|
+
tzinfo (>= 0.3.37)
|
101
|
+
moped (2.0.7)
|
102
|
+
bson (~> 3.0)
|
103
|
+
connection_pool (~> 2.0)
|
104
|
+
optionable (~> 0.2.0)
|
105
|
+
multi_json (1.11.2)
|
106
|
+
multi_xml (0.5.5)
|
107
|
+
multipart-post (2.0.0)
|
108
|
+
nokogiri (1.6.7.2)
|
109
|
+
mini_portile2 (~> 2.0.0.rc2)
|
110
|
+
oauth2 (1.1.0)
|
111
|
+
faraday (>= 0.8, < 0.10)
|
112
|
+
jwt (~> 1.0, < 1.5.2)
|
113
|
+
multi_json (~> 1.3)
|
114
|
+
multi_xml (~> 0.5)
|
115
|
+
rack (>= 1.2, < 3)
|
116
|
+
omniauth (1.3.1)
|
117
|
+
hashie (>= 1.2, < 4)
|
118
|
+
rack (>= 1.0, < 3)
|
119
|
+
omniauth-facebook (3.0.0)
|
120
|
+
omniauth-oauth2 (~> 1.2)
|
121
|
+
omniauth-oauth2 (1.4.0)
|
122
|
+
oauth2 (~> 1.0)
|
123
|
+
omniauth (~> 1.2)
|
124
|
+
omniauth-openid (1.0.1)
|
125
|
+
omniauth (~> 1.0)
|
126
|
+
rack-openid (~> 1.3.1)
|
127
|
+
optionable (0.2.0)
|
128
|
+
origin (2.2.0)
|
129
|
+
orm_adapter (0.5.0)
|
130
|
+
rack (1.6.4)
|
131
|
+
rack-openid (1.3.1)
|
132
|
+
rack (>= 1.1.0)
|
133
|
+
ruby-openid (>= 2.1.8)
|
134
|
+
rack-test (0.6.3)
|
135
|
+
rack (>= 1.0)
|
136
|
+
rails-deprecated_sanitizer (1.0.3)
|
137
|
+
activesupport (>= 4.2.0.alpha)
|
138
|
+
rails-dom-testing (1.0.7)
|
139
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
140
|
+
nokogiri (~> 1.6.0)
|
141
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
142
|
+
rails-html-sanitizer (1.0.3)
|
143
|
+
loofah (~> 2.0)
|
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)
|
149
|
+
ruby-openid (2.7.0)
|
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)
|
158
|
+
thor (0.19.1)
|
159
|
+
thread_safe (0.3.5)
|
160
|
+
tzinfo (1.2.2)
|
161
|
+
thread_safe (~> 0.1)
|
162
|
+
warden (1.2.6)
|
163
|
+
rack (>= 1.0)
|
164
|
+
webrat (0.7.3)
|
165
|
+
nokogiri (>= 1.2.0)
|
166
|
+
rack (>= 1.0)
|
167
|
+
rack-test (>= 0.5.3)
|
168
|
+
|
169
|
+
PLATFORMS
|
170
|
+
ruby
|
171
|
+
|
172
|
+
DEPENDENCIES
|
173
|
+
activerecord-jdbc-adapter
|
174
|
+
activerecord-jdbcsqlite3-adapter
|
175
|
+
devise!
|
176
|
+
jruby-openssl
|
177
|
+
mocha (~> 1.1)
|
178
|
+
mongoid (~> 4.0.0)
|
179
|
+
omniauth (~> 1.3)
|
180
|
+
omniauth-facebook
|
181
|
+
omniauth-oauth2 (~> 1.4)
|
182
|
+
omniauth-openid (~> 1.0.1)
|
183
|
+
rails!
|
184
|
+
rdoc
|
185
|
+
sqlite3
|
186
|
+
webrat (= 0.7.3)
|
187
|
+
|
188
|
+
BUNDLED WITH
|
189
|
+
1.11.2
|
@@ -0,0 +1,37 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gemspec path: ".."
|
4
|
+
|
5
|
+
gem "rails", "5.0.0.beta3"
|
6
|
+
gem "omniauth", " ~>1.3"
|
7
|
+
gem "oauth2"
|
8
|
+
gem "omniauth-oauth2", ">= 1.2.0", "< 1.5.0"
|
9
|
+
gem "rdoc"
|
10
|
+
|
11
|
+
gem "activemodel-serializers-xml", github: "rails/activemodel-serializers-xml"
|
12
|
+
|
13
|
+
gem "rails-controller-testing"
|
14
|
+
|
15
|
+
gem "responders", "~> 2.1.1"
|
16
|
+
|
17
|
+
group :test do
|
18
|
+
gem "omniauth-facebook"
|
19
|
+
gem "omniauth-openid", "~> 1.0.1"
|
20
|
+
gem "webrat", "0.7.3", require: false
|
21
|
+
gem "mocha", "~> 1.1", require: false
|
22
|
+
end
|
23
|
+
|
24
|
+
platforms :jruby do
|
25
|
+
gem "activerecord-jdbc-adapter"
|
26
|
+
gem "activerecord-jdbcsqlite3-adapter"
|
27
|
+
gem "jruby-openssl"
|
28
|
+
end
|
29
|
+
|
30
|
+
platforms :ruby do
|
31
|
+
gem "sqlite3"
|
32
|
+
end
|
33
|
+
|
34
|
+
# TODO:
|
35
|
+
# group :mongoid do
|
36
|
+
# gem "mongoid", "~> 4.0.0"
|
37
|
+
# end
|