devise 2.1.2 → 3.5.10
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 +7 -0
- data/.travis.yml +39 -10
- data/.yardopts +9 -0
- data/{CHANGELOG.rdoc → CHANGELOG.md} +445 -112
- data/CODE_OF_CONDUCT.md +22 -0
- data/CONTRIBUTING.md +16 -0
- data/Gemfile +10 -15
- data/Gemfile.lock +151 -129
- data/MIT-LICENSE +1 -1
- data/README.md +256 -96
- data/Rakefile +4 -2
- data/app/controllers/devise/confirmations_controller.rb +15 -7
- data/app/controllers/devise/omniauth_callbacks_controller.rb +6 -2
- data/app/controllers/devise/passwords_controller.rb +33 -9
- data/app/controllers/devise/registrations_controller.rb +66 -26
- data/app/controllers/devise/sessions_controller.rb +52 -21
- data/app/controllers/devise/unlocks_controller.rb +11 -6
- data/app/controllers/devise_controller.rb +65 -58
- data/app/helpers/devise_helper.rb +2 -2
- data/app/mailers/devise/mailer.rb +19 -10
- data/app/views/devise/confirmations/new.html.erb +8 -4
- data/app/views/devise/mailer/confirmation_instructions.html.erb +2 -2
- data/app/views/devise/mailer/password_change.html.erb +3 -0
- data/app/views/devise/mailer/reset_password_instructions.html.erb +2 -2
- data/app/views/devise/mailer/unlock_instructions.html.erb +2 -2
- data/app/views/devise/passwords/edit.html.erb +15 -6
- data/app/views/devise/passwords/new.html.erb +8 -4
- data/app/views/devise/registrations/edit.html.erb +29 -15
- data/app/views/devise/registrations/new.html.erb +19 -8
- data/app/views/devise/sessions/new.html.erb +17 -8
- data/app/views/devise/shared/{_links.erb → _links.html.erb} +4 -4
- data/app/views/devise/unlocks/new.html.erb +8 -4
- data/config/locales/en.yml +51 -47
- data/devise.gemspec +8 -6
- data/devise.png +0 -0
- data/gemfiles/Gemfile.rails-3.2-stable +29 -0
- data/gemfiles/Gemfile.rails-3.2-stable.lock +172 -0
- data/gemfiles/Gemfile.rails-4.0-stable +30 -0
- data/gemfiles/Gemfile.rails-4.0-stable.lock +166 -0
- data/gemfiles/Gemfile.rails-4.1-stable +30 -0
- data/gemfiles/Gemfile.rails-4.1-stable.lock +171 -0
- data/gemfiles/Gemfile.rails-4.2-stable +30 -0
- data/gemfiles/Gemfile.rails-4.2-stable.lock +193 -0
- data/lib/devise/controllers/helpers.rb +126 -108
- data/lib/devise/controllers/rememberable.rb +19 -17
- data/lib/devise/controllers/scoped_views.rb +1 -1
- data/lib/devise/controllers/sign_in_out.rb +96 -0
- data/lib/devise/controllers/store_location.rb +58 -0
- data/lib/devise/controllers/url_helpers.rb +7 -7
- data/lib/devise/encryptor.rb +22 -0
- data/lib/devise/failure_app.rb +85 -25
- data/lib/devise/hooks/activatable.rb +5 -6
- data/lib/devise/hooks/csrf_cleaner.rb +7 -0
- data/lib/devise/hooks/forgetable.rb +1 -1
- data/lib/devise/hooks/lockable.rb +2 -2
- data/lib/devise/hooks/proxy.rb +21 -0
- data/lib/devise/hooks/rememberable.rb +5 -4
- data/lib/devise/hooks/timeoutable.rb +16 -8
- data/lib/devise/hooks/trackable.rb +1 -1
- data/lib/devise/mailers/helpers.rb +27 -23
- data/lib/devise/mapping.rb +11 -7
- data/lib/devise/models/authenticatable.rb +82 -66
- data/lib/devise/models/confirmable.rb +142 -55
- data/lib/devise/models/database_authenticatable.rb +59 -15
- data/lib/devise/models/lockable.rb +41 -30
- data/lib/devise/models/omniauthable.rb +3 -3
- data/lib/devise/models/recoverable.rb +56 -41
- data/lib/devise/models/rememberable.rb +65 -27
- data/lib/devise/models/timeoutable.rb +2 -8
- data/lib/devise/models/trackable.rb +6 -4
- data/lib/devise/models/validatable.rb +9 -9
- data/lib/devise/models.rb +4 -13
- data/lib/devise/modules.rb +10 -11
- data/lib/devise/omniauth/url_helpers.rb +2 -2
- data/lib/devise/orm/active_record.rb +1 -1
- data/lib/devise/orm/mongoid.rb +1 -1
- data/lib/devise/{param_filter.rb → parameter_filter.rb} +10 -11
- data/lib/devise/parameter_sanitizer.rb +99 -0
- data/lib/devise/rails/routes.rb +173 -115
- data/lib/devise/rails/warden_compat.rb +10 -31
- data/lib/devise/rails.rb +14 -12
- data/lib/devise/strategies/authenticatable.rb +26 -26
- data/lib/devise/strategies/base.rb +1 -1
- data/lib/devise/strategies/database_authenticatable.rb +8 -4
- data/lib/devise/strategies/rememberable.rb +15 -5
- data/lib/devise/test_helpers.rb +7 -5
- data/lib/devise/time_inflector.rb +14 -0
- data/lib/devise/token_generator.rb +70 -0
- data/lib/devise/version.rb +1 -1
- data/lib/devise.rb +110 -52
- data/lib/generators/active_record/devise_generator.rb +34 -18
- data/lib/generators/active_record/templates/migration.rb +5 -6
- data/lib/generators/active_record/templates/migration_existing.rb +5 -6
- data/lib/generators/devise/controllers_generator.rb +44 -0
- data/lib/generators/devise/devise_generator.rb +5 -3
- data/lib/generators/devise/install_generator.rb +5 -0
- data/lib/generators/devise/orm_helpers.rb +25 -6
- data/lib/generators/devise/views_generator.rb +52 -22
- data/lib/generators/mongoid/devise_generator.rb +21 -26
- data/lib/generators/templates/README +9 -5
- 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 +80 -43
- data/lib/generators/templates/markerb/confirmation_instructions.markerb +2 -2
- 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 +2 -2
- data/lib/generators/templates/simple_form_for/confirmations/new.html.erb +3 -2
- data/lib/generators/templates/simple_form_for/passwords/edit.html.erb +4 -4
- data/lib/generators/templates/simple_form_for/passwords/new.html.erb +2 -2
- data/lib/generators/templates/simple_form_for/registrations/edit.html.erb +11 -6
- data/lib/generators/templates/simple_form_for/registrations/new.html.erb +4 -4
- data/lib/generators/templates/simple_form_for/sessions/new.html.erb +6 -6
- data/lib/generators/templates/simple_form_for/unlocks/new.html.erb +3 -2
- data/script/cached-bundle +49 -0
- data/script/s3-put +71 -0
- data/test/controllers/custom_registrations_controller_test.rb +40 -0
- data/test/controllers/helper_methods_test.rb +21 -0
- data/test/controllers/helpers_test.rb +95 -32
- data/test/controllers/inherited_controller_i18n_messages_test.rb +51 -0
- data/test/controllers/internal_helpers_test.rb +39 -14
- 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 +66 -6
- data/test/controllers/url_helpers_test.rb +10 -4
- data/test/delegator_test.rb +1 -1
- data/test/devise_test.rb +45 -10
- data/test/failure_app_test.rb +121 -27
- data/test/generators/active_record_generator_test.rb +48 -8
- data/test/generators/controllers_generator_test.rb +48 -0
- data/test/generators/devise_generator_test.rb +2 -2
- data/test/generators/mongoid_generator_test.rb +3 -3
- data/test/generators/views_generator_test.rb +54 -3
- data/test/helpers/devise_helper_test.rb +18 -20
- data/test/integration/authenticatable_test.rb +161 -65
- data/test/integration/confirmable_test.rb +146 -77
- data/test/integration/database_authenticatable_test.rb +43 -30
- data/test/integration/http_authenticatable_test.rb +30 -22
- data/test/integration/lockable_test.rb +64 -49
- data/test/integration/omniauthable_test.rb +17 -15
- data/test/integration/recoverable_test.rb +111 -70
- data/test/integration/registerable_test.rb +114 -79
- data/test/integration/rememberable_test.rb +87 -31
- data/test/integration/timeoutable_test.rb +77 -33
- data/test/integration/trackable_test.rb +5 -5
- data/test/mailers/confirmation_instructions_test.rb +28 -8
- data/test/mailers/reset_password_instructions_test.rb +21 -8
- data/test/mailers/unlock_instructions_test.rb +20 -6
- data/test/mapping_test.rb +12 -5
- data/test/models/authenticatable_test.rb +17 -1
- data/test/models/confirmable_test.rb +216 -62
- data/test/models/database_authenticatable_test.rb +129 -49
- data/test/models/lockable_test.rb +132 -45
- data/test/models/recoverable_test.rb +100 -54
- data/test/models/rememberable_test.rb +89 -94
- data/test/models/serializable_test.rb +12 -11
- data/test/models/timeoutable_test.rb +6 -1
- data/test/models/trackable_test.rb +28 -0
- data/test/models/validatable_test.rb +31 -21
- data/test/models_test.rb +22 -48
- data/test/omniauth/config_test.rb +4 -4
- data/test/omniauth/url_helpers_test.rb +7 -4
- data/test/orm/active_record.rb +1 -0
- data/test/orm/mongoid.rb +2 -3
- data/test/parameter_sanitizer_test.rb +81 -0
- data/test/rails_app/Rakefile +0 -4
- data/test/rails_app/app/active_record/shim.rb +1 -1
- 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/sessions_controller.rb +1 -1
- data/test/rails_app/app/controllers/admins_controller.rb +0 -5
- data/test/rails_app/app/controllers/application_controller.rb +6 -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 +1 -1
- data/test/rails_app/app/controllers/publisher/registrations_controller.rb +1 -1
- data/test/rails_app/app/controllers/publisher/sessions_controller.rb +1 -1
- data/test/rails_app/app/controllers/users/omniauth_callbacks_controller.rb +4 -4
- data/test/rails_app/app/controllers/users_controller.rb +12 -4
- data/test/rails_app/app/mailers/users/from_proc_mailer.rb +3 -0
- data/test/rails_app/app/mailers/users/mailer.rb +1 -1
- data/test/rails_app/app/mailers/users/reply_to_mailer.rb +4 -0
- data/test/rails_app/app/mongoid/admin.rb +12 -10
- data/test/rails_app/app/mongoid/shim.rb +4 -5
- data/test/rails_app/app/mongoid/user.rb +19 -22
- 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/app/views/admins/sessions/new.html.erb +1 -1
- data/test/rails_app/app/views/home/admin_dashboard.html.erb +1 -1
- data/test/rails_app/app/views/home/index.html.erb +1 -1
- data/test/rails_app/app/views/home/join.html.erb +1 -1
- data/test/rails_app/app/views/home/user_dashboard.html.erb +1 -1
- data/test/rails_app/app/views/layouts/application.html.erb +1 -1
- data/test/rails_app/app/views/users/edit_form.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/application.rb +4 -5
- data/test/rails_app/config/boot.rb +9 -3
- data/test/rails_app/config/environment.rb +2 -2
- data/test/rails_app/config/environments/development.rb +19 -7
- data/test/rails_app/config/environments/production.rb +68 -17
- data/test/rails_app/config/environments/test.rb +24 -16
- data/test/rails_app/config/initializers/devise.rb +22 -20
- data/test/rails_app/config/initializers/secret_token.rb +8 -2
- data/test/rails_app/config/initializers/session_store.rb +1 -0
- data/test/rails_app/config/routes.rb +71 -46
- data/test/rails_app/db/migrate/20100401102949_create_tables.rb +9 -12
- data/test/rails_app/db/schema.rb +21 -18
- data/test/rails_app/lib/shared_admin.rb +7 -4
- data/test/rails_app/lib/shared_user.rb +6 -3
- 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 +94 -78
- data/test/support/action_controller/record_identifier.rb +10 -0
- data/test/support/assertions.rb +2 -3
- data/test/support/helpers.rb +18 -32
- data/test/support/integration.rb +17 -16
- data/test/support/locale/en.yml +4 -0
- data/test/support/mongoid.yml +6 -0
- data/test/test_helper.rb +8 -1
- data/test/test_helpers_test.rb +64 -20
- data/test/test_models.rb +33 -0
- data/test/time_helpers.rb +137 -0
- metadata +172 -51
- data/app/views/devise/_links.erb +0 -3
- data/gemfiles/Gemfile.rails-3.1.x +0 -35
- data/gemfiles/Gemfile.rails-3.1.x.lock +0 -167
- data/lib/devise/models/token_authenticatable.rb +0 -77
- data/lib/devise/strategies/token_authenticatable.rb +0 -56
- data/test/indifferent_hash.rb +0 -33
- data/test/integration/token_authenticatable_test.rb +0 -161
- data/test/models/token_authenticatable_test.rb +0 -55
- data/test/rails_app/script/rails +0 -10
@@ -0,0 +1,166 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/rails/rails.git
|
3
|
+
revision: 9be9597e510d185ca7964d0a05b4ea2a7f2d50d1
|
4
|
+
branch: 4-0-stable
|
5
|
+
specs:
|
6
|
+
actionmailer (4.0.13)
|
7
|
+
actionpack (= 4.0.13)
|
8
|
+
mail (~> 2.5, >= 2.5.4)
|
9
|
+
actionpack (4.0.13)
|
10
|
+
activesupport (= 4.0.13)
|
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.13)
|
16
|
+
activesupport (= 4.0.13)
|
17
|
+
builder (~> 3.1.0)
|
18
|
+
activerecord (4.0.13)
|
19
|
+
activemodel (= 4.0.13)
|
20
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
21
|
+
activesupport (= 4.0.13)
|
22
|
+
arel (~> 4.0.0)
|
23
|
+
activesupport (4.0.13)
|
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.13)
|
30
|
+
actionmailer (= 4.0.13)
|
31
|
+
actionpack (= 4.0.13)
|
32
|
+
activerecord (= 4.0.13)
|
33
|
+
activesupport (= 4.0.13)
|
34
|
+
bundler (>= 1.3.0, < 2.0)
|
35
|
+
railties (= 4.0.13)
|
36
|
+
sprockets-rails (~> 2.0)
|
37
|
+
railties (4.0.13)
|
38
|
+
actionpack (= 4.0.13)
|
39
|
+
activesupport (= 4.0.13)
|
40
|
+
rake (>= 0.8.7)
|
41
|
+
thor (>= 0.18.1, < 2.0)
|
42
|
+
|
43
|
+
PATH
|
44
|
+
remote: ..
|
45
|
+
specs:
|
46
|
+
devise (3.5.8)
|
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.4)
|
58
|
+
arel (4.0.2)
|
59
|
+
bcrypt (3.1.11)
|
60
|
+
bson (3.2.6)
|
61
|
+
builder (3.1.4)
|
62
|
+
concurrent-ruby (1.0.1)
|
63
|
+
connection_pool (2.2.0)
|
64
|
+
erubis (2.7.0)
|
65
|
+
faraday (0.9.2)
|
66
|
+
multipart-post (>= 1.2, < 3)
|
67
|
+
hashie (3.4.3)
|
68
|
+
i18n (0.7.0)
|
69
|
+
json (1.8.3)
|
70
|
+
jwt (1.5.4)
|
71
|
+
mail (2.6.4)
|
72
|
+
mime-types (>= 1.16, < 4)
|
73
|
+
metaclass (0.0.4)
|
74
|
+
mime-types (2.99.1)
|
75
|
+
mini_portile2 (2.0.0)
|
76
|
+
minitest (4.7.5)
|
77
|
+
mocha (1.1.0)
|
78
|
+
metaclass (~> 0.0.1)
|
79
|
+
mongoid (4.0.2)
|
80
|
+
activemodel (~> 4.0)
|
81
|
+
moped (~> 2.0.0)
|
82
|
+
origin (~> 2.1)
|
83
|
+
tzinfo (>= 0.3.37)
|
84
|
+
moped (2.0.7)
|
85
|
+
bson (~> 3.0)
|
86
|
+
connection_pool (~> 2.0)
|
87
|
+
optionable (~> 0.2.0)
|
88
|
+
multi_json (1.11.3)
|
89
|
+
multi_xml (0.5.5)
|
90
|
+
multipart-post (2.0.0)
|
91
|
+
nokogiri (1.6.7.2)
|
92
|
+
mini_portile2 (~> 2.0.0.rc2)
|
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.2.0)
|
114
|
+
orm_adapter (0.5.0)
|
115
|
+
rack (1.5.5)
|
116
|
+
rack-openid (1.3.1)
|
117
|
+
rack (>= 1.1.0)
|
118
|
+
ruby-openid (>= 2.1.8)
|
119
|
+
rack-test (0.6.3)
|
120
|
+
rack (>= 1.0)
|
121
|
+
rake (11.1.2)
|
122
|
+
rdoc (4.2.2)
|
123
|
+
json (~> 1.4)
|
124
|
+
responders (1.1.2)
|
125
|
+
railties (>= 3.2, < 4.2)
|
126
|
+
ruby-openid (2.7.0)
|
127
|
+
sprockets (3.6.0)
|
128
|
+
concurrent-ruby (~> 1.0)
|
129
|
+
rack (> 1, < 3)
|
130
|
+
sprockets-rails (2.3.3)
|
131
|
+
actionpack (>= 3.0)
|
132
|
+
activesupport (>= 3.0)
|
133
|
+
sprockets (>= 2.8, < 4.0)
|
134
|
+
sqlite3 (1.3.11)
|
135
|
+
thor (0.19.1)
|
136
|
+
thread_safe (0.3.5)
|
137
|
+
tzinfo (0.3.49)
|
138
|
+
warden (1.2.6)
|
139
|
+
rack (>= 1.0)
|
140
|
+
webrat (0.7.3)
|
141
|
+
nokogiri (>= 1.2.0)
|
142
|
+
rack (>= 1.0)
|
143
|
+
rack-test (>= 0.5.3)
|
144
|
+
|
145
|
+
PLATFORMS
|
146
|
+
ruby
|
147
|
+
|
148
|
+
DEPENDENCIES
|
149
|
+
activerecord-jdbc-adapter
|
150
|
+
activerecord-jdbcsqlite3-adapter
|
151
|
+
devise!
|
152
|
+
jruby-openssl
|
153
|
+
mime-types (~> 2.99)
|
154
|
+
mocha (~> 1.1)
|
155
|
+
mongoid (~> 4.0.0)
|
156
|
+
omniauth (~> 1.2.0)
|
157
|
+
omniauth-facebook
|
158
|
+
omniauth-oauth2 (~> 1.1.0)
|
159
|
+
omniauth-openid (~> 1.0.1)
|
160
|
+
rails!
|
161
|
+
rdoc
|
162
|
+
sqlite3
|
163
|
+
webrat (= 0.7.3)
|
164
|
+
|
165
|
+
BUNDLED WITH
|
166
|
+
1.11.2
|
@@ -0,0 +1,30 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gemspec path: '..'
|
4
|
+
|
5
|
+
gem "rails", github: 'rails/rails', branch: '4-1-stable'
|
6
|
+
gem "omniauth", "~> 1.2.0"
|
7
|
+
gem "omniauth-oauth2", "~> 1.1.0"
|
8
|
+
gem "rdoc"
|
9
|
+
gem "mime-types", "~> 2.99"
|
10
|
+
|
11
|
+
group :test do
|
12
|
+
gem "omniauth-facebook"
|
13
|
+
gem "omniauth-openid", "~> 1.0.1"
|
14
|
+
gem "webrat", "0.7.3", require: false
|
15
|
+
gem "mocha", "~> 1.1", require: false
|
16
|
+
end
|
17
|
+
|
18
|
+
platforms :jruby do
|
19
|
+
gem "activerecord-jdbc-adapter"
|
20
|
+
gem "activerecord-jdbcsqlite3-adapter"
|
21
|
+
gem "jruby-openssl"
|
22
|
+
end
|
23
|
+
|
24
|
+
platforms :ruby do
|
25
|
+
gem "sqlite3"
|
26
|
+
end
|
27
|
+
|
28
|
+
group :mongoid do
|
29
|
+
gem "mongoid", "~> 4.0.0"
|
30
|
+
end
|
@@ -0,0 +1,171 @@
|
|
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 (3.5.8)
|
52
|
+
bcrypt (~> 3.0)
|
53
|
+
orm_adapter (~> 0.1)
|
54
|
+
railties (>= 3.2.6, < 5)
|
55
|
+
responders
|
56
|
+
thread_safe (~> 0.1)
|
57
|
+
warden (~> 1.2.3)
|
58
|
+
|
59
|
+
GEM
|
60
|
+
remote: https://rubygems.org/
|
61
|
+
specs:
|
62
|
+
arel (5.0.1.20140414130214)
|
63
|
+
bcrypt (3.1.11)
|
64
|
+
bson (3.2.6)
|
65
|
+
builder (3.2.2)
|
66
|
+
concurrent-ruby (1.0.1)
|
67
|
+
connection_pool (2.2.0)
|
68
|
+
erubis (2.7.0)
|
69
|
+
faraday (0.9.2)
|
70
|
+
multipart-post (>= 1.2, < 3)
|
71
|
+
hashie (3.4.3)
|
72
|
+
i18n (0.7.0)
|
73
|
+
json (1.8.3)
|
74
|
+
jwt (1.5.4)
|
75
|
+
mail (2.6.4)
|
76
|
+
mime-types (>= 1.16, < 4)
|
77
|
+
metaclass (0.0.4)
|
78
|
+
mime-types (2.99.1)
|
79
|
+
mini_portile2 (2.0.0)
|
80
|
+
minitest (5.8.4)
|
81
|
+
mocha (1.1.0)
|
82
|
+
metaclass (~> 0.0.1)
|
83
|
+
mongoid (4.0.2)
|
84
|
+
activemodel (~> 4.0)
|
85
|
+
moped (~> 2.0.0)
|
86
|
+
origin (~> 2.1)
|
87
|
+
tzinfo (>= 0.3.37)
|
88
|
+
moped (2.0.7)
|
89
|
+
bson (~> 3.0)
|
90
|
+
connection_pool (~> 2.0)
|
91
|
+
optionable (~> 0.2.0)
|
92
|
+
multi_json (1.11.3)
|
93
|
+
multi_xml (0.5.5)
|
94
|
+
multipart-post (2.0.0)
|
95
|
+
nokogiri (1.6.7.2)
|
96
|
+
mini_portile2 (~> 2.0.0.rc2)
|
97
|
+
oauth2 (0.9.4)
|
98
|
+
faraday (>= 0.8, < 0.10)
|
99
|
+
jwt (~> 1.0)
|
100
|
+
multi_json (~> 1.3)
|
101
|
+
multi_xml (~> 0.5)
|
102
|
+
rack (~> 1.2)
|
103
|
+
omniauth (1.2.2)
|
104
|
+
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)
|
112
|
+
omniauth (~> 1.2)
|
113
|
+
omniauth-openid (1.0.1)
|
114
|
+
omniauth (~> 1.0)
|
115
|
+
rack-openid (~> 1.3.1)
|
116
|
+
optionable (0.2.0)
|
117
|
+
origin (2.2.0)
|
118
|
+
orm_adapter (0.5.0)
|
119
|
+
rack (1.5.5)
|
120
|
+
rack-openid (1.3.1)
|
121
|
+
rack (>= 1.1.0)
|
122
|
+
ruby-openid (>= 2.1.8)
|
123
|
+
rack-test (0.6.3)
|
124
|
+
rack (>= 1.0)
|
125
|
+
rake (11.1.2)
|
126
|
+
rdoc (4.2.2)
|
127
|
+
json (~> 1.4)
|
128
|
+
responders (1.1.2)
|
129
|
+
railties (>= 3.2, < 4.2)
|
130
|
+
ruby-openid (2.7.0)
|
131
|
+
sprockets (3.6.0)
|
132
|
+
concurrent-ruby (~> 1.0)
|
133
|
+
rack (> 1, < 3)
|
134
|
+
sprockets-rails (2.3.3)
|
135
|
+
actionpack (>= 3.0)
|
136
|
+
activesupport (>= 3.0)
|
137
|
+
sprockets (>= 2.8, < 4.0)
|
138
|
+
sqlite3 (1.3.11)
|
139
|
+
thor (0.19.1)
|
140
|
+
thread_safe (0.3.5)
|
141
|
+
tzinfo (1.2.2)
|
142
|
+
thread_safe (~> 0.1)
|
143
|
+
warden (1.2.6)
|
144
|
+
rack (>= 1.0)
|
145
|
+
webrat (0.7.3)
|
146
|
+
nokogiri (>= 1.2.0)
|
147
|
+
rack (>= 1.0)
|
148
|
+
rack-test (>= 0.5.3)
|
149
|
+
|
150
|
+
PLATFORMS
|
151
|
+
ruby
|
152
|
+
|
153
|
+
DEPENDENCIES
|
154
|
+
activerecord-jdbc-adapter
|
155
|
+
activerecord-jdbcsqlite3-adapter
|
156
|
+
devise!
|
157
|
+
jruby-openssl
|
158
|
+
mime-types (~> 2.99)
|
159
|
+
mocha (~> 1.1)
|
160
|
+
mongoid (~> 4.0.0)
|
161
|
+
omniauth (~> 1.2.0)
|
162
|
+
omniauth-facebook
|
163
|
+
omniauth-oauth2 (~> 1.1.0)
|
164
|
+
omniauth-openid (~> 1.0.1)
|
165
|
+
rails!
|
166
|
+
rdoc
|
167
|
+
sqlite3
|
168
|
+
webrat (= 0.7.3)
|
169
|
+
|
170
|
+
BUNDLED WITH
|
171
|
+
1.11.2
|
@@ -0,0 +1,30 @@
|
|
1
|
+
source "https://rubygems.org"
|
2
|
+
|
3
|
+
gemspec path: '..'
|
4
|
+
|
5
|
+
gem "rails", github: 'rails/rails', branch: '4-2-stable'
|
6
|
+
gem "omniauth", "~> 1.2.2"
|
7
|
+
gem "omniauth-oauth2", "~> 1.2.0"
|
8
|
+
gem "rdoc"
|
9
|
+
gem "mime-types", "~> 2.99"
|
10
|
+
|
11
|
+
group :test do
|
12
|
+
gem "omniauth-facebook"
|
13
|
+
gem "omniauth-openid", "~> 1.0.1"
|
14
|
+
gem "webrat", "0.7.3", require: false
|
15
|
+
gem "mocha", "~> 1.1", require: false
|
16
|
+
end
|
17
|
+
|
18
|
+
platforms :jruby do
|
19
|
+
gem "activerecord-jdbc-adapter"
|
20
|
+
gem "activerecord-jdbcsqlite3-adapter"
|
21
|
+
gem "jruby-openssl"
|
22
|
+
end
|
23
|
+
|
24
|
+
platforms :ruby do
|
25
|
+
gem "sqlite3"
|
26
|
+
end
|
27
|
+
|
28
|
+
group :mongoid do
|
29
|
+
gem "mongoid", "~> 4.0.0"
|
30
|
+
end
|
@@ -0,0 +1,193 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/rails/rails.git
|
3
|
+
revision: 2a1b655bb7db42ed0dbadab5bb129a8515e86a40
|
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 (3.5.8)
|
62
|
+
bcrypt (~> 3.0)
|
63
|
+
orm_adapter (~> 0.1)
|
64
|
+
railties (>= 3.2.6, < 5)
|
65
|
+
responders
|
66
|
+
thread_safe (~> 0.1)
|
67
|
+
warden (~> 1.2.3)
|
68
|
+
|
69
|
+
GEM
|
70
|
+
remote: https://rubygems.org/
|
71
|
+
specs:
|
72
|
+
arel (6.0.3)
|
73
|
+
bcrypt (3.1.11)
|
74
|
+
bson (3.2.6)
|
75
|
+
builder (3.2.2)
|
76
|
+
concurrent-ruby (1.0.1)
|
77
|
+
connection_pool (2.2.0)
|
78
|
+
erubis (2.7.0)
|
79
|
+
faraday (0.9.2)
|
80
|
+
multipart-post (>= 1.2, < 3)
|
81
|
+
globalid (0.3.6)
|
82
|
+
activesupport (>= 4.1.0)
|
83
|
+
hashie (3.4.3)
|
84
|
+
i18n (0.7.0)
|
85
|
+
json (1.8.3)
|
86
|
+
jwt (1.5.1)
|
87
|
+
loofah (2.0.3)
|
88
|
+
nokogiri (>= 1.5.9)
|
89
|
+
mail (2.6.4)
|
90
|
+
mime-types (>= 1.16, < 4)
|
91
|
+
metaclass (0.0.4)
|
92
|
+
mime-types (2.99.1)
|
93
|
+
mini_portile2 (2.0.0)
|
94
|
+
minitest (5.8.4)
|
95
|
+
mocha (1.1.0)
|
96
|
+
metaclass (~> 0.0.1)
|
97
|
+
mongoid (4.0.2)
|
98
|
+
activemodel (~> 4.0)
|
99
|
+
moped (~> 2.0.0)
|
100
|
+
origin (~> 2.1)
|
101
|
+
tzinfo (>= 0.3.37)
|
102
|
+
moped (2.0.7)
|
103
|
+
bson (~> 3.0)
|
104
|
+
connection_pool (~> 2.0)
|
105
|
+
optionable (~> 0.2.0)
|
106
|
+
multi_json (1.11.3)
|
107
|
+
multi_xml (0.5.5)
|
108
|
+
multipart-post (2.0.0)
|
109
|
+
nokogiri (1.6.7.2)
|
110
|
+
mini_portile2 (~> 2.0.0.rc2)
|
111
|
+
oauth2 (1.1.0)
|
112
|
+
faraday (>= 0.8, < 0.10)
|
113
|
+
jwt (~> 1.0, < 1.5.2)
|
114
|
+
multi_json (~> 1.3)
|
115
|
+
multi_xml (~> 0.5)
|
116
|
+
rack (>= 1.2, < 3)
|
117
|
+
omniauth (1.2.2)
|
118
|
+
hashie (>= 1.2, < 4)
|
119
|
+
rack (~> 1.0)
|
120
|
+
omniauth-facebook (3.0.0)
|
121
|
+
omniauth-oauth2 (~> 1.2)
|
122
|
+
omniauth-oauth2 (1.2.0)
|
123
|
+
faraday (>= 0.8, < 0.10)
|
124
|
+
multi_json (~> 1.3)
|
125
|
+
oauth2 (~> 1.0)
|
126
|
+
omniauth (~> 1.2)
|
127
|
+
omniauth-openid (1.0.1)
|
128
|
+
omniauth (~> 1.0)
|
129
|
+
rack-openid (~> 1.3.1)
|
130
|
+
optionable (0.2.0)
|
131
|
+
origin (2.2.0)
|
132
|
+
orm_adapter (0.5.0)
|
133
|
+
rack (1.6.4)
|
134
|
+
rack-openid (1.3.1)
|
135
|
+
rack (>= 1.1.0)
|
136
|
+
ruby-openid (>= 2.1.8)
|
137
|
+
rack-test (0.6.3)
|
138
|
+
rack (>= 1.0)
|
139
|
+
rails-deprecated_sanitizer (1.0.3)
|
140
|
+
activesupport (>= 4.2.0.alpha)
|
141
|
+
rails-dom-testing (1.0.7)
|
142
|
+
activesupport (>= 4.2.0.beta, < 5.0)
|
143
|
+
nokogiri (~> 1.6.0)
|
144
|
+
rails-deprecated_sanitizer (>= 1.0.1)
|
145
|
+
rails-html-sanitizer (1.0.3)
|
146
|
+
loofah (~> 2.0)
|
147
|
+
rake (11.1.2)
|
148
|
+
rdoc (4.2.2)
|
149
|
+
json (~> 1.4)
|
150
|
+
responders (2.1.2)
|
151
|
+
railties (>= 4.2.0, < 5.1)
|
152
|
+
ruby-openid (2.7.0)
|
153
|
+
sprockets (3.6.0)
|
154
|
+
concurrent-ruby (~> 1.0)
|
155
|
+
rack (> 1, < 3)
|
156
|
+
sprockets-rails (3.0.4)
|
157
|
+
actionpack (>= 4.0)
|
158
|
+
activesupport (>= 4.0)
|
159
|
+
sprockets (>= 3.0.0)
|
160
|
+
sqlite3 (1.3.11)
|
161
|
+
thor (0.19.1)
|
162
|
+
thread_safe (0.3.5)
|
163
|
+
tzinfo (1.2.2)
|
164
|
+
thread_safe (~> 0.1)
|
165
|
+
warden (1.2.6)
|
166
|
+
rack (>= 1.0)
|
167
|
+
webrat (0.7.3)
|
168
|
+
nokogiri (>= 1.2.0)
|
169
|
+
rack (>= 1.0)
|
170
|
+
rack-test (>= 0.5.3)
|
171
|
+
|
172
|
+
PLATFORMS
|
173
|
+
ruby
|
174
|
+
|
175
|
+
DEPENDENCIES
|
176
|
+
activerecord-jdbc-adapter
|
177
|
+
activerecord-jdbcsqlite3-adapter
|
178
|
+
devise!
|
179
|
+
jruby-openssl
|
180
|
+
mime-types (~> 2.99)
|
181
|
+
mocha (~> 1.1)
|
182
|
+
mongoid (~> 4.0.0)
|
183
|
+
omniauth (~> 1.2.2)
|
184
|
+
omniauth-facebook
|
185
|
+
omniauth-oauth2 (~> 1.2.0)
|
186
|
+
omniauth-openid (~> 1.0.1)
|
187
|
+
rails!
|
188
|
+
rdoc
|
189
|
+
sqlite3
|
190
|
+
webrat (= 0.7.3)
|
191
|
+
|
192
|
+
BUNDLED WITH
|
193
|
+
1.11.2
|