deviseOne 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +12 -0
- data/.travis.yml +38 -0
- data/.yardopts +9 -0
- data/CHANGELOG.md +1117 -0
- data/CONTRIBUTING.md +14 -0
- data/Gemfile +29 -0
- data/Gemfile.lock +199 -0
- data/MIT-LICENSE +20 -0
- data/README.md +529 -0
- data/Rakefile +35 -0
- data/app/controllers/devise/confirmations_controller.rb +47 -0
- data/app/controllers/devise/omniauth_callbacks_controller.rb +30 -0
- data/app/controllers/devise/passwords_controller.rb +71 -0
- data/app/controllers/devise/registrations_controller.rb +143 -0
- data/app/controllers/devise/sessions_controller.rb +166 -0
- data/app/controllers/devise/unlocks_controller.rb +46 -0
- data/app/controllers/devise_controller.rb +193 -0
- data/app/helpers/devise_helper.rb +25 -0
- data/app/mailers/devise/mailer.rb +20 -0
- data/app/views/devise/confirmations/new.html.erb +16 -0
- data/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/app/views/devise/passwords/edit.html.erb +25 -0
- data/app/views/devise/passwords/new.html.erb +16 -0
- data/app/views/devise/registrations/edit.html.erb +39 -0
- data/app/views/devise/registrations/new.html.erb +29 -0
- data/app/views/devise/sessions/new.html.erb +27 -0
- data/app/views/devise/shared/_links.html.erb +21 -0
- data/app/views/devise/unlocks/new.html.erb +16 -0
- data/config/locales/en.yml +70 -0
- data/devise.gemspec +33 -0
- data/devise.png +0 -0
- data/gemfiles/Gemfile.rails-3.2-stable +29 -0
- data/gemfiles/Gemfile.rails-3.2-stable.lock +169 -0
- data/gemfiles/Gemfile.rails-4.0-stable +29 -0
- data/gemfiles/Gemfile.rails-4.0-stable.lock +165 -0
- data/gemfiles/Gemfile.rails-4.1-stable +29 -0
- data/gemfiles/Gemfile.rails-4.1-stable.lock +170 -0
- data/lib/devise.rb +499 -0
- data/lib/devise/controllers/helpers.rb +284 -0
- data/lib/devise/controllers/rememberable.rb +47 -0
- data/lib/devise/controllers/scoped_views.rb +17 -0
- data/lib/devise/controllers/sign_in_out.rb +102 -0
- data/lib/devise/controllers/store_location.rb +58 -0
- data/lib/devise/controllers/url_helpers.rb +69 -0
- data/lib/devise/delegator.rb +16 -0
- data/lib/devise/failure_app.rb +212 -0
- data/lib/devise/hooks/activatable.rb +10 -0
- data/lib/devise/hooks/csrf_cleaner.rb +7 -0
- data/lib/devise/hooks/forgetable.rb +9 -0
- data/lib/devise/hooks/lockable.rb +7 -0
- data/lib/devise/hooks/proxy.rb +21 -0
- data/lib/devise/hooks/rememberable.rb +7 -0
- data/lib/devise/hooks/timeoutable.rb +35 -0
- data/lib/devise/hooks/trackable.rb +9 -0
- data/lib/devise/mailers/helpers.rb +90 -0
- data/lib/devise/mapping.rb +175 -0
- data/lib/devise/models.rb +119 -0
- data/lib/devise/models/authenticatable.rb +290 -0
- data/lib/devise/models/confirmable.rb +305 -0
- data/lib/devise/models/database_authenticatable.rb +164 -0
- data/lib/devise/models/lockable.rb +196 -0
- data/lib/devise/models/omniauthable.rb +27 -0
- data/lib/devise/models/recoverable.rb +157 -0
- data/lib/devise/models/registerable.rb +25 -0
- data/lib/devise/models/rememberable.rb +142 -0
- data/lib/devise/models/timeoutable.rb +49 -0
- data/lib/devise/models/trackable.rb +38 -0
- data/lib/devise/models/validatable.rb +66 -0
- data/lib/devise/modules.rb +28 -0
- data/lib/devise/omniauth.rb +28 -0
- data/lib/devise/omniauth/config.rb +45 -0
- data/lib/devise/omniauth/url_helpers.rb +18 -0
- data/lib/devise/orm/active_record.rb +3 -0
- data/lib/devise/orm/mongoid.rb +3 -0
- data/lib/devise/parameter_filter.rb +40 -0
- data/lib/devise/parameter_sanitizer.rb +99 -0
- data/lib/devise/rails.rb +56 -0
- data/lib/devise/rails/routes.rb +495 -0
- data/lib/devise/rails/warden_compat.rb +22 -0
- data/lib/devise/strategies/authenticatable.rb +173 -0
- data/lib/devise/strategies/base.rb +20 -0
- data/lib/devise/strategies/database_authenticatable.rb +24 -0
- data/lib/devise/strategies/rememberable.rb +59 -0
- data/lib/devise/test_helpers.rb +132 -0
- data/lib/devise/time_inflector.rb +14 -0
- data/lib/devise/token_generator.rb +70 -0
- data/lib/devise/version.rb +3 -0
- data/lib/generators/active_record/devise_generator.rb +91 -0
- data/lib/generators/active_record/templates/migration.rb +18 -0
- data/lib/generators/active_record/templates/migration_existing.rb +25 -0
- data/lib/generators/devise/controllers_generator.rb +44 -0
- data/lib/generators/devise/devise_generator.rb +26 -0
- data/lib/generators/devise/install_generator.rb +29 -0
- data/lib/generators/devise/orm_helpers.rb +51 -0
- data/lib/generators/devise/views_generator.rb +135 -0
- data/lib/generators/mongoid/devise_generator.rb +55 -0
- data/lib/generators/templates/README +35 -0
- 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 +263 -0
- data/lib/generators/templates/markerb/confirmation_instructions.markerb +5 -0
- data/lib/generators/templates/markerb/reset_password_instructions.markerb +8 -0
- data/lib/generators/templates/markerb/unlock_instructions.markerb +7 -0
- data/lib/generators/templates/simple_form_for/confirmations/new.html.erb +16 -0
- data/lib/generators/templates/simple_form_for/passwords/edit.html.erb +19 -0
- data/lib/generators/templates/simple_form_for/passwords/new.html.erb +15 -0
- data/lib/generators/templates/simple_form_for/registrations/edit.html.erb +27 -0
- data/lib/generators/templates/simple_form_for/registrations/new.html.erb +17 -0
- data/lib/generators/templates/simple_form_for/sessions/new.html.erb +15 -0
- data/lib/generators/templates/simple_form_for/unlocks/new.html.erb +16 -0
- data/script/cached-bundle +49 -0
- data/script/s3-put +71 -0
- data/test/controllers/custom_registrations_controller_test.rb +35 -0
- data/test/controllers/custom_strategy_test.rb +62 -0
- data/test/controllers/helpers_test.rb +316 -0
- data/test/controllers/internal_helpers_test.rb +129 -0
- data/test/controllers/load_hooks_controller_test.rb +19 -0
- data/test/controllers/passwords_controller_test.rb +31 -0
- data/test/controllers/sessions_controller_test.rb +102 -0
- data/test/controllers/url_helpers_test.rb +65 -0
- data/test/delegator_test.rb +19 -0
- data/test/devise_test.rb +107 -0
- data/test/failure_app_test.rb +275 -0
- data/test/generators/active_record_generator_test.rb +109 -0
- data/test/generators/controllers_generator_test.rb +48 -0
- data/test/generators/devise_generator_test.rb +39 -0
- data/test/generators/install_generator_test.rb +13 -0
- data/test/generators/mongoid_generator_test.rb +23 -0
- data/test/generators/views_generator_test.rb +96 -0
- data/test/helpers/devise_helper_test.rb +49 -0
- data/test/integration/authenticatable_test.rb +731 -0
- data/test/integration/confirmable_test.rb +324 -0
- data/test/integration/database_authenticatable_test.rb +94 -0
- data/test/integration/http_authenticatable_test.rb +105 -0
- data/test/integration/lockable_test.rb +239 -0
- data/test/integration/omniauthable_test.rb +133 -0
- data/test/integration/recoverable_test.rb +334 -0
- data/test/integration/registerable_test.rb +361 -0
- data/test/integration/rememberable_test.rb +176 -0
- data/test/integration/timeoutable_test.rb +189 -0
- data/test/integration/trackable_test.rb +92 -0
- data/test/mailers/confirmation_instructions_test.rb +115 -0
- data/test/mailers/reset_password_instructions_test.rb +96 -0
- data/test/mailers/unlock_instructions_test.rb +91 -0
- data/test/mapping_test.rb +128 -0
- data/test/models/authenticatable_test.rb +23 -0
- data/test/models/confirmable_test.rb +461 -0
- data/test/models/database_authenticatable_test.rb +249 -0
- data/test/models/lockable_test.rb +328 -0
- data/test/models/omniauthable_test.rb +7 -0
- data/test/models/recoverable_test.rb +205 -0
- data/test/models/registerable_test.rb +7 -0
- data/test/models/rememberable_test.rb +198 -0
- data/test/models/serializable_test.rb +49 -0
- data/test/models/timeoutable_test.rb +51 -0
- data/test/models/trackable_test.rb +41 -0
- data/test/models/validatable_test.rb +127 -0
- data/test/models_test.rb +144 -0
- data/test/omniauth/config_test.rb +57 -0
- data/test/omniauth/url_helpers_test.rb +54 -0
- data/test/orm/active_record.rb +10 -0
- data/test/orm/mongoid.rb +13 -0
- data/test/parameter_sanitizer_test.rb +81 -0
- data/test/rails_app/Rakefile +6 -0
- data/test/rails_app/app/active_record/admin.rb +6 -0
- data/test/rails_app/app/active_record/shim.rb +2 -0
- data/test/rails_app/app/active_record/user.rb +6 -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/controllers/admins/sessions_controller.rb +6 -0
- data/test/rails_app/app/controllers/admins_controller.rb +11 -0
- data/test/rails_app/app/controllers/application_controller.rb +12 -0
- data/test/rails_app/app/controllers/application_with_fake_engine.rb +30 -0
- data/test/rails_app/app/controllers/custom/registrations_controller.rb +21 -0
- data/test/rails_app/app/controllers/home_controller.rb +25 -0
- data/test/rails_app/app/controllers/publisher/registrations_controller.rb +2 -0
- data/test/rails_app/app/controllers/publisher/sessions_controller.rb +2 -0
- data/test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb +14 -0
- data/test/rails_app/app/controllers/users_controller.rb +31 -0
- data/test/rails_app/app/helpers/application_helper.rb +3 -0
- data/test/rails_app/app/mailers/users/from_proc_mailer.rb +3 -0
- data/test/rails_app/app/mailers/users/mailer.rb +3 -0
- data/test/rails_app/app/mailers/users/reply_to_mailer.rb +4 -0
- data/test/rails_app/app/mongoid/admin.rb +29 -0
- data/test/rails_app/app/mongoid/shim.rb +23 -0
- data/test/rails_app/app/mongoid/user.rb +39 -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/views/admins/index.html.erb +1 -0
- data/test/rails_app/app/views/admins/sessions/new.html.erb +2 -0
- data/test/rails_app/app/views/home/admin_dashboard.html.erb +1 -0
- data/test/rails_app/app/views/home/index.html.erb +1 -0
- data/test/rails_app/app/views/home/join.html.erb +1 -0
- data/test/rails_app/app/views/home/private.html.erb +1 -0
- data/test/rails_app/app/views/home/user_dashboard.html.erb +1 -0
- data/test/rails_app/app/views/layouts/application.html.erb +24 -0
- data/test/rails_app/app/views/users/edit_form.html.erb +1 -0
- data/test/rails_app/app/views/users/index.html.erb +1 -0
- data/test/rails_app/app/views/users/mailer/confirmation_instructions.erb +1 -0
- data/test/rails_app/app/views/users/sessions/new.html.erb +1 -0
- data/test/rails_app/bin/bundle +3 -0
- data/test/rails_app/bin/rails +4 -0
- data/test/rails_app/bin/rake +4 -0
- data/test/rails_app/config.ru +4 -0
- data/test/rails_app/config/application.rb +40 -0
- data/test/rails_app/config/boot.rb +14 -0
- data/test/rails_app/config/database.yml +18 -0
- data/test/rails_app/config/environment.rb +5 -0
- data/test/rails_app/config/environments/development.rb +30 -0
- data/test/rails_app/config/environments/production.rb +80 -0
- data/test/rails_app/config/environments/test.rb +36 -0
- data/test/rails_app/config/initializers/backtrace_silencers.rb +7 -0
- data/test/rails_app/config/initializers/devise.rb +180 -0
- data/test/rails_app/config/initializers/inflections.rb +2 -0
- data/test/rails_app/config/initializers/secret_token.rb +8 -0
- data/test/rails_app/config/initializers/session_store.rb +1 -0
- data/test/rails_app/config/routes.rb +122 -0
- data/test/rails_app/db/migrate/20100401102949_create_tables.rb +71 -0
- data/test/rails_app/db/schema.rb +55 -0
- data/test/rails_app/lib/shared_admin.rb +17 -0
- data/test/rails_app/lib/shared_user.rb +29 -0
- data/test/rails_app/lib/shared_user_without_omniauth.rb +13 -0
- data/test/rails_app/public/404.html +26 -0
- data/test/rails_app/public/422.html +26 -0
- data/test/rails_app/public/500.html +26 -0
- data/test/rails_app/public/favicon.ico +0 -0
- data/test/routes_test.rb +264 -0
- data/test/support/action_controller/record_identifier.rb +10 -0
- data/test/support/assertions.rb +39 -0
- data/test/support/helpers.rb +73 -0
- data/test/support/integration.rb +92 -0
- data/test/support/locale/en.yml +8 -0
- data/test/support/mongoid.yml +6 -0
- data/test/support/webrat/integrations/rails.rb +24 -0
- data/test/test_helper.rb +34 -0
- data/test/test_helpers_test.rb +163 -0
- data/test/test_models.rb +33 -0
- metadata +531 -0
@@ -0,0 +1,21 @@
|
|
1
|
+
<%- if controller_name != 'sessions' %>
|
2
|
+
<%= link_to "Log in", new_session_path(resource_name) %><br />
|
3
|
+
<% end -%>
|
4
|
+
|
5
|
+
<%- if devise_mapping.recoverable? && controller_name != 'passwords' && controller_name != 'registrations' %>
|
6
|
+
<%= link_to "Forgot your password?", new_password_path(resource_name) %><br />
|
7
|
+
<% end -%>
|
8
|
+
|
9
|
+
<%- if devise_mapping.confirmable? && controller_name != 'confirmations' %>
|
10
|
+
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %><br />
|
11
|
+
<% end -%>
|
12
|
+
|
13
|
+
<%- if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != 'unlocks' %>
|
14
|
+
<%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %><br />
|
15
|
+
<% end -%>
|
16
|
+
|
17
|
+
<%- if devise_mapping.omniauthable? %>
|
18
|
+
<%- resource_class.omniauth_providers.each do |provider| %>
|
19
|
+
<%= link_to "Sign in with #{provider.to_s.titleize}", omniauth_authorize_path(resource_name, provider) %><br />
|
20
|
+
<% end -%>
|
21
|
+
<% end -%>
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<h2>Resend unlock instructions</h2>
|
2
|
+
|
3
|
+
<%= form_for(resource, as: resource_name, url: unlock_path(resource_name), html: { method: :post }) do |f| %>
|
4
|
+
<%= devise_error_messages! %>
|
5
|
+
|
6
|
+
<div class="field">
|
7
|
+
<%= f.label :email %><br />
|
8
|
+
<%= f.email_field :email, autofocus: true %>
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<div class="actions">
|
12
|
+
<%= f.submit "Resend unlock instructions" %>
|
13
|
+
</div>
|
14
|
+
<% end %>
|
15
|
+
|
16
|
+
<%= render "devise/shared/links" %>
|
@@ -0,0 +1,70 @@
|
|
1
|
+
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
|
2
|
+
|
3
|
+
en:
|
4
|
+
devise:
|
5
|
+
confirmations:
|
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
|
+
failure:
|
10
|
+
verify_password: "Please verify your password"
|
11
|
+
already_authenticated: "You are already signed in."
|
12
|
+
inactive: "Your account is not activated yet."
|
13
|
+
invalid: "Invalid %{authentication_keys} or password."
|
14
|
+
locked: "Your account is locked."
|
15
|
+
last_attempt: "You have one more attempt before your account is locked."
|
16
|
+
not_found_in_database: "Invalid %{authentication_keys} or password."
|
17
|
+
timeout: "Your session expired. Please sign in again to continue."
|
18
|
+
unauthenticated: "You need to sign in or sign up before continuing."
|
19
|
+
unconfirmed: "You have to confirm your email address before continuing."
|
20
|
+
mailer:
|
21
|
+
confirmation_instructions:
|
22
|
+
subject: "Confirmation instructions"
|
23
|
+
reset_password_instructions:
|
24
|
+
subject: "Reset password instructions"
|
25
|
+
unlock_instructions:
|
26
|
+
subject: "Unlock instructions"
|
27
|
+
omniauth_callbacks:
|
28
|
+
failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
|
29
|
+
success: "Successfully authenticated from %{kind} account."
|
30
|
+
passwords:
|
31
|
+
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."
|
32
|
+
send_instructions: "You will receive an email with instructions on how to reset your password in a few minutes."
|
33
|
+
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."
|
34
|
+
updated: "Your password has been changed successfully. You are now signed in."
|
35
|
+
updated_not_active: "Your password has been changed successfully."
|
36
|
+
registrations:
|
37
|
+
destroyed: "Bye! Your account has been successfully cancelled. We hope to see you again soon."
|
38
|
+
signed_up: "Welcome! You have signed up successfully."
|
39
|
+
signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
|
40
|
+
signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
|
41
|
+
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."
|
42
|
+
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."
|
43
|
+
updated: "Your account has been updated successfully."
|
44
|
+
sessions:
|
45
|
+
signed_in: "Signed in successfully."
|
46
|
+
signed_out: "Signed out successfully."
|
47
|
+
already_signed_out: "Signed out successfully."
|
48
|
+
signed_up: "Welcome! You have signed up successfully."
|
49
|
+
signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
|
50
|
+
signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
|
51
|
+
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."
|
52
|
+
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."
|
53
|
+
updated: "Your account has been updated successfully."
|
54
|
+
unlocks:
|
55
|
+
send_instructions: "You will receive an email with instructions for how to unlock your account in a few minutes."
|
56
|
+
send_paranoid_instructions: "If your account exists, you will receive an email with instructions for how to unlock it in a few minutes."
|
57
|
+
unlocked: "Your account has been unlocked successfully. Please sign in to continue."
|
58
|
+
mailgun:
|
59
|
+
suggestion: "Did you mean %{address}?"
|
60
|
+
errors:
|
61
|
+
messages:
|
62
|
+
already_confirmed: "was already confirmed, please try signing in"
|
63
|
+
confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
|
64
|
+
expired: "has expired, please request a new one"
|
65
|
+
not_found: "not found"
|
66
|
+
not_locked: "was not locked"
|
67
|
+
not_saved:
|
68
|
+
one: "1 error prohibited this %{resource} from being saved:"
|
69
|
+
other: "%{count} errors prohibited this %{resource} from being saved:"
|
70
|
+
mailgun_error: "Email invalid"
|
data/devise.gemspec
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "devise/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "deviseOne"
|
7
|
+
s.version = Devise::VERSION.dup
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.licenses = ["MIT"]
|
10
|
+
s.summary = "Flexible authentication solution for Rails with Warden"
|
11
|
+
s.email = "rubydev@solutelabs.com"
|
12
|
+
s.homepage = "https://github.com/solutelabs/deviseOne"
|
13
|
+
s.description = "Flexible Login/signup with single view"
|
14
|
+
s.authors = ['Solute Technolabs LLP', 'Sachin Gevariya']
|
15
|
+
|
16
|
+
s.rubyforge_project = "deviseOne"
|
17
|
+
|
18
|
+
s.files = `git ls-files`.split("\n")
|
19
|
+
s.test_files = `git ls-files -- test/*`.split("\n")
|
20
|
+
s.require_paths = ["lib"]
|
21
|
+
s.required_ruby_version = '>= 1.9.3'
|
22
|
+
|
23
|
+
s.add_dependency("warden", "~> 1.2.3")
|
24
|
+
s.add_dependency("orm_adapter", "~> 0.1")
|
25
|
+
s.add_dependency("bcrypt", "~> 3.0")
|
26
|
+
s.add_dependency("thread_safe", "~> 0.1")
|
27
|
+
s.add_dependency("railties", ">= 3.2.6", "< 5")
|
28
|
+
s.add_dependency("responders")
|
29
|
+
|
30
|
+
# Add dependency for mailgun api
|
31
|
+
s.add_dependency("multimap")
|
32
|
+
s.add_dependency("rest-client","~> 1.7.2")
|
33
|
+
end
|
data/devise.png
ADDED
Binary file
|
@@ -0,0 +1,29 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gemspec path: '..'
|
4
|
+
|
5
|
+
gem "rails", github: 'rails/rails', branch: '3-2-stable'
|
6
|
+
gem "omniauth", "~> 1.2.0"
|
7
|
+
gem "omniauth-oauth2", "~> 1.1.0"
|
8
|
+
gem "rdoc"
|
9
|
+
|
10
|
+
group :test do
|
11
|
+
gem "omniauth-facebook"
|
12
|
+
gem "omniauth-openid", "~> 1.0.1"
|
13
|
+
gem "webrat", "0.7.3", require: false
|
14
|
+
gem "mocha", "~> 1.1", require: false
|
15
|
+
end
|
16
|
+
|
17
|
+
platforms :jruby do
|
18
|
+
gem "activerecord-jdbc-adapter"
|
19
|
+
gem "activerecord-jdbcsqlite3-adapter"
|
20
|
+
gem "jruby-openssl"
|
21
|
+
end
|
22
|
+
|
23
|
+
platforms :ruby do
|
24
|
+
gem "sqlite3"
|
25
|
+
end
|
26
|
+
|
27
|
+
group :mongoid do
|
28
|
+
gem "mongoid", "~> 3.0"
|
29
|
+
end
|
@@ -0,0 +1,169 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/rails/rails.git
|
3
|
+
revision: ba886f73a2b4a06f3400f0698290c54566639b6a
|
4
|
+
branch: 3-2-stable
|
5
|
+
specs:
|
6
|
+
actionmailer (3.2.21)
|
7
|
+
actionpack (= 3.2.21)
|
8
|
+
mail (~> 2.5.4)
|
9
|
+
actionpack (3.2.21)
|
10
|
+
activemodel (= 3.2.21)
|
11
|
+
activesupport (= 3.2.21)
|
12
|
+
builder (~> 3.0.0)
|
13
|
+
erubis (~> 2.7.0)
|
14
|
+
journey (~> 1.0.4)
|
15
|
+
rack (~> 1.4.5)
|
16
|
+
rack-cache (~> 1.2)
|
17
|
+
rack-test (~> 0.6.1)
|
18
|
+
sprockets (~> 2.2.1)
|
19
|
+
activemodel (3.2.21)
|
20
|
+
activesupport (= 3.2.21)
|
21
|
+
builder (~> 3.0.0)
|
22
|
+
activerecord (3.2.21)
|
23
|
+
activemodel (= 3.2.21)
|
24
|
+
activesupport (= 3.2.21)
|
25
|
+
arel (~> 3.0.2)
|
26
|
+
tzinfo (~> 0.3.29)
|
27
|
+
activeresource (3.2.21)
|
28
|
+
activemodel (= 3.2.21)
|
29
|
+
activesupport (= 3.2.21)
|
30
|
+
activesupport (3.2.21)
|
31
|
+
i18n (~> 0.6, >= 0.6.4)
|
32
|
+
multi_json (~> 1.0)
|
33
|
+
rails (3.2.21)
|
34
|
+
actionmailer (= 3.2.21)
|
35
|
+
actionpack (= 3.2.21)
|
36
|
+
activerecord (= 3.2.21)
|
37
|
+
activeresource (= 3.2.21)
|
38
|
+
activesupport (= 3.2.21)
|
39
|
+
bundler (~> 1.0)
|
40
|
+
railties (= 3.2.21)
|
41
|
+
railties (3.2.21)
|
42
|
+
actionpack (= 3.2.21)
|
43
|
+
activesupport (= 3.2.21)
|
44
|
+
rack-ssl (~> 1.3.2)
|
45
|
+
rake (>= 0.8.7)
|
46
|
+
rdoc (~> 3.4)
|
47
|
+
thor (>= 0.14.6, < 2.0)
|
48
|
+
|
49
|
+
PATH
|
50
|
+
remote: ..
|
51
|
+
specs:
|
52
|
+
devise (3.4.1)
|
53
|
+
bcrypt (~> 3.0)
|
54
|
+
orm_adapter (~> 0.1)
|
55
|
+
railties (>= 3.2.6, < 5)
|
56
|
+
responders
|
57
|
+
thread_safe (~> 0.1)
|
58
|
+
warden (~> 1.2.3)
|
59
|
+
|
60
|
+
GEM
|
61
|
+
remote: https://rubygems.org/
|
62
|
+
specs:
|
63
|
+
arel (3.0.3)
|
64
|
+
bcrypt (3.1.9)
|
65
|
+
builder (3.0.4)
|
66
|
+
erubis (2.7.0)
|
67
|
+
faraday (0.9.0)
|
68
|
+
multipart-post (>= 1.2, < 3)
|
69
|
+
hashie (3.3.1)
|
70
|
+
hike (1.2.3)
|
71
|
+
i18n (0.6.11)
|
72
|
+
journey (1.0.4)
|
73
|
+
json (1.8.1)
|
74
|
+
jwt (1.0.0)
|
75
|
+
mail (2.5.4)
|
76
|
+
mime-types (~> 1.16)
|
77
|
+
treetop (~> 1.4.8)
|
78
|
+
metaclass (0.0.4)
|
79
|
+
mime-types (1.25.1)
|
80
|
+
mini_portile (0.6.1)
|
81
|
+
mocha (1.1.0)
|
82
|
+
metaclass (~> 0.0.1)
|
83
|
+
mongoid (3.1.6)
|
84
|
+
activemodel (~> 3.2)
|
85
|
+
moped (~> 1.4)
|
86
|
+
origin (~> 1.0)
|
87
|
+
tzinfo (~> 0.3.29)
|
88
|
+
moped (1.5.2)
|
89
|
+
multi_json (1.10.1)
|
90
|
+
multi_xml (0.5.5)
|
91
|
+
multipart-post (2.0.0)
|
92
|
+
nokogiri (1.6.4.1)
|
93
|
+
mini_portile (~> 0.6.0)
|
94
|
+
oauth2 (0.9.4)
|
95
|
+
faraday (>= 0.8, < 0.10)
|
96
|
+
jwt (~> 1.0)
|
97
|
+
multi_json (~> 1.3)
|
98
|
+
multi_xml (~> 0.5)
|
99
|
+
rack (~> 1.2)
|
100
|
+
omniauth (1.2.2)
|
101
|
+
hashie (>= 1.2, < 4)
|
102
|
+
rack (~> 1.0)
|
103
|
+
omniauth-facebook (1.6.0)
|
104
|
+
omniauth-oauth2 (~> 1.1)
|
105
|
+
omniauth-oauth2 (1.1.2)
|
106
|
+
faraday (>= 0.8, < 0.10)
|
107
|
+
multi_json (~> 1.3)
|
108
|
+
oauth2 (~> 0.9.3)
|
109
|
+
omniauth (~> 1.2)
|
110
|
+
omniauth-openid (1.0.1)
|
111
|
+
omniauth (~> 1.0)
|
112
|
+
rack-openid (~> 1.3.1)
|
113
|
+
origin (1.1.0)
|
114
|
+
orm_adapter (0.5.0)
|
115
|
+
polyglot (0.3.5)
|
116
|
+
rack (1.4.5)
|
117
|
+
rack-cache (1.2)
|
118
|
+
rack (>= 0.4)
|
119
|
+
rack-openid (1.3.1)
|
120
|
+
rack (>= 1.1.0)
|
121
|
+
ruby-openid (>= 2.1.8)
|
122
|
+
rack-ssl (1.3.4)
|
123
|
+
rack
|
124
|
+
rack-test (0.6.2)
|
125
|
+
rack (>= 1.0)
|
126
|
+
rake (10.3.2)
|
127
|
+
rdoc (3.12.2)
|
128
|
+
json (~> 1.4)
|
129
|
+
responders (1.1.2)
|
130
|
+
railties (>= 3.2, < 4.2)
|
131
|
+
ruby-openid (2.6.0)
|
132
|
+
sprockets (2.2.3)
|
133
|
+
hike (~> 1.2)
|
134
|
+
multi_json (~> 1.0)
|
135
|
+
rack (~> 1.0)
|
136
|
+
tilt (~> 1.1, != 1.3.0)
|
137
|
+
sqlite3 (1.3.10)
|
138
|
+
thor (0.19.1)
|
139
|
+
thread_safe (0.3.4)
|
140
|
+
tilt (1.4.1)
|
141
|
+
treetop (1.4.15)
|
142
|
+
polyglot
|
143
|
+
polyglot (>= 0.3.1)
|
144
|
+
tzinfo (0.3.42)
|
145
|
+
warden (1.2.3)
|
146
|
+
rack (>= 1.0)
|
147
|
+
webrat (0.7.3)
|
148
|
+
nokogiri (>= 1.2.0)
|
149
|
+
rack (>= 1.0)
|
150
|
+
rack-test (>= 0.5.3)
|
151
|
+
|
152
|
+
PLATFORMS
|
153
|
+
ruby
|
154
|
+
|
155
|
+
DEPENDENCIES
|
156
|
+
activerecord-jdbc-adapter
|
157
|
+
activerecord-jdbcsqlite3-adapter
|
158
|
+
devise!
|
159
|
+
jruby-openssl
|
160
|
+
mocha (~> 1.1)
|
161
|
+
mongoid (~> 3.0)
|
162
|
+
omniauth (~> 1.2.0)
|
163
|
+
omniauth-facebook
|
164
|
+
omniauth-oauth2 (~> 1.1.0)
|
165
|
+
omniauth-openid (~> 1.0.1)
|
166
|
+
rails!
|
167
|
+
rdoc
|
168
|
+
sqlite3
|
169
|
+
webrat (= 0.7.3)
|
@@ -0,0 +1,29 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gemspec path: '..'
|
4
|
+
|
5
|
+
gem "rails", github: 'rails/rails', branch: '4-0-stable'
|
6
|
+
gem "omniauth", "~> 1.2.0"
|
7
|
+
gem "omniauth-oauth2", "~> 1.1.0"
|
8
|
+
gem "rdoc"
|
9
|
+
|
10
|
+
group :test do
|
11
|
+
gem "omniauth-facebook"
|
12
|
+
gem "omniauth-openid", "~> 1.0.1"
|
13
|
+
gem "webrat", "0.7.3", require: false
|
14
|
+
gem "mocha", "~> 1.1", require: false
|
15
|
+
end
|
16
|
+
|
17
|
+
platforms :jruby do
|
18
|
+
gem "activerecord-jdbc-adapter"
|
19
|
+
gem "activerecord-jdbcsqlite3-adapter"
|
20
|
+
gem "jruby-openssl"
|
21
|
+
end
|
22
|
+
|
23
|
+
platforms :ruby do
|
24
|
+
gem "sqlite3"
|
25
|
+
end
|
26
|
+
|
27
|
+
group :mongoid do
|
28
|
+
gem "mongoid", "~> 4.0.0"
|
29
|
+
end
|
@@ -0,0 +1,165 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/rails/rails.git
|
3
|
+
revision: 690bdf9e65713a6da55a9e3a4ba28245c0c75671
|
4
|
+
branch: 4-0-stable
|
5
|
+
specs:
|
6
|
+
actionmailer (4.0.12)
|
7
|
+
actionpack (= 4.0.12)
|
8
|
+
mail (~> 2.5, >= 2.5.4)
|
9
|
+
actionpack (4.0.12)
|
10
|
+
activesupport (= 4.0.12)
|
11
|
+
builder (~> 3.1.0)
|
12
|
+
erubis (~> 2.7.0)
|
13
|
+
rack (~> 1.5.2)
|
14
|
+
rack-test (~> 0.6.2)
|
15
|
+
activemodel (4.0.12)
|
16
|
+
activesupport (= 4.0.12)
|
17
|
+
builder (~> 3.1.0)
|
18
|
+
activerecord (4.0.12)
|
19
|
+
activemodel (= 4.0.12)
|
20
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
21
|
+
activesupport (= 4.0.12)
|
22
|
+
arel (~> 4.0.0)
|
23
|
+
activesupport (4.0.12)
|
24
|
+
i18n (~> 0.6, >= 0.6.9)
|
25
|
+
minitest (~> 4.2)
|
26
|
+
multi_json (~> 1.3)
|
27
|
+
thread_safe (~> 0.1)
|
28
|
+
tzinfo (~> 0.3.37)
|
29
|
+
rails (4.0.12)
|
30
|
+
actionmailer (= 4.0.12)
|
31
|
+
actionpack (= 4.0.12)
|
32
|
+
activerecord (= 4.0.12)
|
33
|
+
activesupport (= 4.0.12)
|
34
|
+
bundler (>= 1.3.0, < 2.0)
|
35
|
+
railties (= 4.0.12)
|
36
|
+
sprockets-rails (~> 2.0)
|
37
|
+
railties (4.0.12)
|
38
|
+
actionpack (= 4.0.12)
|
39
|
+
activesupport (= 4.0.12)
|
40
|
+
rake (>= 0.8.7)
|
41
|
+
thor (>= 0.18.1, < 2.0)
|
42
|
+
|
43
|
+
PATH
|
44
|
+
remote: ..
|
45
|
+
specs:
|
46
|
+
devise (3.4.1)
|
47
|
+
bcrypt (~> 3.0)
|
48
|
+
orm_adapter (~> 0.1)
|
49
|
+
railties (>= 3.2.6, < 5)
|
50
|
+
responders
|
51
|
+
thread_safe (~> 0.1)
|
52
|
+
warden (~> 1.2.3)
|
53
|
+
|
54
|
+
GEM
|
55
|
+
remote: https://rubygems.org/
|
56
|
+
specs:
|
57
|
+
activerecord-deprecated_finders (1.0.3)
|
58
|
+
arel (4.0.2)
|
59
|
+
bcrypt (3.1.9)
|
60
|
+
bson (2.3.0)
|
61
|
+
builder (3.1.4)
|
62
|
+
connection_pool (2.1.0)
|
63
|
+
erubis (2.7.0)
|
64
|
+
faraday (0.9.0)
|
65
|
+
multipart-post (>= 1.2, < 3)
|
66
|
+
hashie (3.3.1)
|
67
|
+
hike (1.2.3)
|
68
|
+
i18n (0.6.11)
|
69
|
+
json (1.8.1)
|
70
|
+
jwt (1.0.0)
|
71
|
+
mail (2.6.3)
|
72
|
+
mime-types (>= 1.16, < 3)
|
73
|
+
metaclass (0.0.4)
|
74
|
+
mime-types (2.4.3)
|
75
|
+
mini_portile (0.6.1)
|
76
|
+
minitest (4.7.5)
|
77
|
+
mocha (1.1.0)
|
78
|
+
metaclass (~> 0.0.1)
|
79
|
+
mongoid (4.0.0)
|
80
|
+
activemodel (~> 4.0)
|
81
|
+
moped (~> 2.0.0)
|
82
|
+
origin (~> 2.1)
|
83
|
+
tzinfo (>= 0.3.37)
|
84
|
+
moped (2.0.2)
|
85
|
+
bson (~> 2.2)
|
86
|
+
connection_pool (~> 2.0)
|
87
|
+
optionable (~> 0.2.0)
|
88
|
+
multi_json (1.10.1)
|
89
|
+
multi_xml (0.5.5)
|
90
|
+
multipart-post (2.0.0)
|
91
|
+
nokogiri (1.6.4.1)
|
92
|
+
mini_portile (~> 0.6.0)
|
93
|
+
oauth2 (0.9.4)
|
94
|
+
faraday (>= 0.8, < 0.10)
|
95
|
+
jwt (~> 1.0)
|
96
|
+
multi_json (~> 1.3)
|
97
|
+
multi_xml (~> 0.5)
|
98
|
+
rack (~> 1.2)
|
99
|
+
omniauth (1.2.2)
|
100
|
+
hashie (>= 1.2, < 4)
|
101
|
+
rack (~> 1.0)
|
102
|
+
omniauth-facebook (1.6.0)
|
103
|
+
omniauth-oauth2 (~> 1.1)
|
104
|
+
omniauth-oauth2 (1.1.2)
|
105
|
+
faraday (>= 0.8, < 0.10)
|
106
|
+
multi_json (~> 1.3)
|
107
|
+
oauth2 (~> 0.9.3)
|
108
|
+
omniauth (~> 1.2)
|
109
|
+
omniauth-openid (1.0.1)
|
110
|
+
omniauth (~> 1.0)
|
111
|
+
rack-openid (~> 1.3.1)
|
112
|
+
optionable (0.2.0)
|
113
|
+
origin (2.1.1)
|
114
|
+
orm_adapter (0.5.0)
|
115
|
+
rack (1.5.2)
|
116
|
+
rack-openid (1.3.1)
|
117
|
+
rack (>= 1.1.0)
|
118
|
+
ruby-openid (>= 2.1.8)
|
119
|
+
rack-test (0.6.2)
|
120
|
+
rack (>= 1.0)
|
121
|
+
rake (10.3.2)
|
122
|
+
rdoc (4.1.2)
|
123
|
+
json (~> 1.4)
|
124
|
+
responders (1.1.2)
|
125
|
+
railties (>= 3.2, < 4.2)
|
126
|
+
ruby-openid (2.6.0)
|
127
|
+
sprockets (2.12.3)
|
128
|
+
hike (~> 1.2)
|
129
|
+
multi_json (~> 1.0)
|
130
|
+
rack (~> 1.0)
|
131
|
+
tilt (~> 1.1, != 1.3.0)
|
132
|
+
sprockets-rails (2.2.0)
|
133
|
+
actionpack (>= 3.0)
|
134
|
+
activesupport (>= 3.0)
|
135
|
+
sprockets (>= 2.8, < 4.0)
|
136
|
+
sqlite3 (1.3.10)
|
137
|
+
thor (0.19.1)
|
138
|
+
thread_safe (0.3.4)
|
139
|
+
tilt (1.4.1)
|
140
|
+
tzinfo (0.3.42)
|
141
|
+
warden (1.2.3)
|
142
|
+
rack (>= 1.0)
|
143
|
+
webrat (0.7.3)
|
144
|
+
nokogiri (>= 1.2.0)
|
145
|
+
rack (>= 1.0)
|
146
|
+
rack-test (>= 0.5.3)
|
147
|
+
|
148
|
+
PLATFORMS
|
149
|
+
ruby
|
150
|
+
|
151
|
+
DEPENDENCIES
|
152
|
+
activerecord-jdbc-adapter
|
153
|
+
activerecord-jdbcsqlite3-adapter
|
154
|
+
devise!
|
155
|
+
jruby-openssl
|
156
|
+
mocha (~> 1.1)
|
157
|
+
mongoid (~> 4.0.0)
|
158
|
+
omniauth (~> 1.2.0)
|
159
|
+
omniauth-facebook
|
160
|
+
omniauth-oauth2 (~> 1.1.0)
|
161
|
+
omniauth-openid (~> 1.0.1)
|
162
|
+
rails!
|
163
|
+
rdoc
|
164
|
+
sqlite3
|
165
|
+
webrat (= 0.7.3)
|