mongo_session_store-rails3 3.0.2 → 3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -1
- data/Gemfile +8 -6
- data/README.md +10 -11
- data/Rakefile +18 -17
- data/VERSION +1 -1
- data/lib/mongo_session_store-rails3.rb +3 -3
- data/lib/mongo_session_store/mongo_mapper_store.rb +17 -21
- data/lib/mongo_session_store/mongoid_store.rb +20 -24
- data/mongo_session_store-rails3.gemspec +1 -1
- data/spec/rails_3.2_app/.gitignore +5 -0
- data/spec/rails_3.2_app/README +261 -0
- data/spec/rails_3.2_app/Rakefile +7 -0
- data/spec/rails_3.2_app/app/assets/javascripts/application.js +7 -0
- data/spec/rails_3.2_app/app/assets/stylesheets/application.css +7 -0
- data/spec/rails_3.2_app/app/controllers/application_controller.rb +3 -0
- data/spec/rails_3.2_app/app/controllers/home_controller.rb +4 -0
- data/spec/rails_3.2_app/app/helpers/application_helper.rb +2 -0
- data/spec/rails_3.2_app/app/mailers/.gitkeep +0 -0
- data/spec/rails_3.2_app/app/models/.gitkeep +0 -0
- data/spec/rails_3.2_app/app/models/user.rb +8 -0
- data/spec/rails_3.2_app/app/views/devise/confirmations/new.html.erb +12 -0
- data/spec/rails_3.2_app/app/views/devise/mailer/confirmation_instructions.html.erb +5 -0
- data/spec/rails_3.2_app/app/views/devise/mailer/reset_password_instructions.html.erb +8 -0
- data/spec/rails_3.2_app/app/views/devise/mailer/unlock_instructions.html.erb +7 -0
- data/spec/rails_3.2_app/app/views/devise/passwords/edit.html.erb +16 -0
- data/spec/rails_3.2_app/app/views/devise/passwords/new.html.erb +12 -0
- data/spec/rails_3.2_app/app/views/devise/registrations/edit.html.erb +25 -0
- data/spec/rails_3.2_app/app/views/devise/registrations/new.html.erb +18 -0
- data/spec/rails_3.2_app/app/views/devise/sessions/new.html.erb +17 -0
- data/spec/rails_3.2_app/app/views/devise/shared/_links.erb +25 -0
- data/spec/rails_3.2_app/app/views/devise/unlocks/new.html.erb +12 -0
- data/spec/rails_3.2_app/app/views/home/index.html.erb +10 -0
- data/spec/rails_3.2_app/app/views/layouts/application.html.erb +15 -0
- data/spec/rails_3.2_app/config.ru +4 -0
- data/spec/rails_3.2_app/config/application.rb +47 -0
- data/spec/rails_3.2_app/config/boot.rb +6 -0
- data/spec/rails_3.2_app/config/environment.rb +5 -0
- data/spec/rails_3.2_app/config/environments/development.rb +27 -0
- data/spec/rails_3.2_app/config/environments/production.rb +54 -0
- data/spec/rails_3.2_app/config/environments/test.rb +39 -0
- data/spec/rails_3.2_app/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/rails_3.2_app/config/initializers/devise.rb +204 -0
- data/spec/rails_3.2_app/config/initializers/inflections.rb +10 -0
- data/spec/rails_3.2_app/config/initializers/mime_types.rb +5 -0
- data/spec/rails_3.2_app/config/initializers/secret_token.rb +7 -0
- data/spec/rails_3.2_app/config/initializers/session_store.rb +8 -0
- data/spec/rails_3.2_app/config/initializers/wrap_parameters.rb +12 -0
- data/spec/rails_3.2_app/config/locales/devise.en.yml +53 -0
- data/spec/rails_3.2_app/config/locales/en.yml +5 -0
- data/spec/rails_3.2_app/config/mongo.yml +18 -0
- data/spec/rails_3.2_app/config/mongoid.yml +20 -0
- data/spec/rails_3.2_app/config/routes.rb +4 -0
- data/spec/rails_3.2_app/lib/tasks/.gitkeep +0 -0
- data/spec/rails_3.2_app/log/.gitkeep +0 -0
- data/spec/rails_3.2_app/public/404.html +26 -0
- data/spec/rails_3.2_app/public/422.html +26 -0
- data/spec/rails_3.2_app/public/500.html +26 -0
- data/spec/rails_3.2_app/public/favicon.ico +0 -0
- data/spec/rails_3.2_app/public/robots.txt +5 -0
- data/spec/rails_3.2_app/script/rails +6 -0
- data/spec/rails_3.2_app/vendor/assets/stylesheets/.gitkeep +0 -0
- data/spec/rails_3.2_app/vendor/plugins/.gitkeep +0 -0
- metadata +112 -8
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongo_session_store-rails3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 3.0.
|
9
|
+
- 3
|
10
|
+
version: 3.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Brian Hempel
|
@@ -18,8 +18,7 @@ autorequire:
|
|
18
18
|
bindir: bin
|
19
19
|
cert_chain: []
|
20
20
|
|
21
|
-
date:
|
22
|
-
default_executable:
|
21
|
+
date: 2012-01-31 00:00:00 Z
|
23
22
|
dependencies:
|
24
23
|
- !ruby/object:Gem::Dependency
|
25
24
|
name: mongo
|
@@ -175,8 +174,60 @@ files:
|
|
175
174
|
- spec/rails_3.1_app/script/rails
|
176
175
|
- spec/rails_3.1_app/vendor/assets/stylesheets/.gitkeep
|
177
176
|
- spec/rails_3.1_app/vendor/plugins/.gitkeep
|
177
|
+
- spec/rails_3.2_app/.gitignore
|
178
|
+
- spec/rails_3.2_app/README
|
179
|
+
- spec/rails_3.2_app/Rakefile
|
180
|
+
- spec/rails_3.2_app/app/assets/javascripts/application.js
|
181
|
+
- spec/rails_3.2_app/app/assets/stylesheets/application.css
|
182
|
+
- spec/rails_3.2_app/app/controllers/application_controller.rb
|
183
|
+
- spec/rails_3.2_app/app/controllers/home_controller.rb
|
184
|
+
- spec/rails_3.2_app/app/helpers/application_helper.rb
|
185
|
+
- spec/rails_3.2_app/app/mailers/.gitkeep
|
186
|
+
- spec/rails_3.2_app/app/models/.gitkeep
|
187
|
+
- spec/rails_3.2_app/app/models/user.rb
|
188
|
+
- spec/rails_3.2_app/app/views/devise/confirmations/new.html.erb
|
189
|
+
- spec/rails_3.2_app/app/views/devise/mailer/confirmation_instructions.html.erb
|
190
|
+
- spec/rails_3.2_app/app/views/devise/mailer/reset_password_instructions.html.erb
|
191
|
+
- spec/rails_3.2_app/app/views/devise/mailer/unlock_instructions.html.erb
|
192
|
+
- spec/rails_3.2_app/app/views/devise/passwords/edit.html.erb
|
193
|
+
- spec/rails_3.2_app/app/views/devise/passwords/new.html.erb
|
194
|
+
- spec/rails_3.2_app/app/views/devise/registrations/edit.html.erb
|
195
|
+
- spec/rails_3.2_app/app/views/devise/registrations/new.html.erb
|
196
|
+
- spec/rails_3.2_app/app/views/devise/sessions/new.html.erb
|
197
|
+
- spec/rails_3.2_app/app/views/devise/shared/_links.erb
|
198
|
+
- spec/rails_3.2_app/app/views/devise/unlocks/new.html.erb
|
199
|
+
- spec/rails_3.2_app/app/views/home/index.html.erb
|
200
|
+
- spec/rails_3.2_app/app/views/layouts/application.html.erb
|
201
|
+
- spec/rails_3.2_app/config.ru
|
202
|
+
- spec/rails_3.2_app/config/application.rb
|
203
|
+
- spec/rails_3.2_app/config/boot.rb
|
204
|
+
- spec/rails_3.2_app/config/environment.rb
|
205
|
+
- spec/rails_3.2_app/config/environments/development.rb
|
206
|
+
- spec/rails_3.2_app/config/environments/production.rb
|
207
|
+
- spec/rails_3.2_app/config/environments/test.rb
|
208
|
+
- spec/rails_3.2_app/config/initializers/backtrace_silencers.rb
|
209
|
+
- spec/rails_3.2_app/config/initializers/devise.rb
|
210
|
+
- spec/rails_3.2_app/config/initializers/inflections.rb
|
211
|
+
- spec/rails_3.2_app/config/initializers/mime_types.rb
|
212
|
+
- spec/rails_3.2_app/config/initializers/secret_token.rb
|
213
|
+
- spec/rails_3.2_app/config/initializers/session_store.rb
|
214
|
+
- spec/rails_3.2_app/config/initializers/wrap_parameters.rb
|
215
|
+
- spec/rails_3.2_app/config/locales/devise.en.yml
|
216
|
+
- spec/rails_3.2_app/config/locales/en.yml
|
217
|
+
- spec/rails_3.2_app/config/mongo.yml
|
218
|
+
- spec/rails_3.2_app/config/mongoid.yml
|
219
|
+
- spec/rails_3.2_app/config/routes.rb
|
220
|
+
- spec/rails_3.2_app/lib/tasks/.gitkeep
|
221
|
+
- spec/rails_3.2_app/log/.gitkeep
|
222
|
+
- spec/rails_3.2_app/public/404.html
|
223
|
+
- spec/rails_3.2_app/public/422.html
|
224
|
+
- spec/rails_3.2_app/public/500.html
|
225
|
+
- spec/rails_3.2_app/public/favicon.ico
|
226
|
+
- spec/rails_3.2_app/public/robots.txt
|
227
|
+
- spec/rails_3.2_app/script/rails
|
228
|
+
- spec/rails_3.2_app/vendor/assets/stylesheets/.gitkeep
|
229
|
+
- spec/rails_3.2_app/vendor/plugins/.gitkeep
|
178
230
|
- spec/spec_helper.rb
|
179
|
-
has_rdoc: true
|
180
231
|
homepage: http://github.com/brianhempel/mongo_session_store
|
181
232
|
licenses: []
|
182
233
|
|
@@ -206,10 +257,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
206
257
|
requirements: []
|
207
258
|
|
208
259
|
rubyforge_project:
|
209
|
-
rubygems_version: 1.
|
260
|
+
rubygems_version: 1.8.15
|
210
261
|
signing_key:
|
211
262
|
specification_version: 3
|
212
|
-
summary: Rails
|
263
|
+
summary: Rails session stores for MongoMapper, Mongoid, or any other ODM. Rails 3.0, 3.1, and 3.2 compatible.
|
213
264
|
test_files:
|
214
265
|
- perf/benchmark.rb
|
215
266
|
- spec/integration_with_devise_spec.rb
|
@@ -315,4 +366,57 @@ test_files:
|
|
315
366
|
- spec/rails_3.1_app/script/rails
|
316
367
|
- spec/rails_3.1_app/vendor/assets/stylesheets/.gitkeep
|
317
368
|
- spec/rails_3.1_app/vendor/plugins/.gitkeep
|
369
|
+
- spec/rails_3.2_app/.gitignore
|
370
|
+
- spec/rails_3.2_app/README
|
371
|
+
- spec/rails_3.2_app/Rakefile
|
372
|
+
- spec/rails_3.2_app/app/assets/javascripts/application.js
|
373
|
+
- spec/rails_3.2_app/app/assets/stylesheets/application.css
|
374
|
+
- spec/rails_3.2_app/app/controllers/application_controller.rb
|
375
|
+
- spec/rails_3.2_app/app/controllers/home_controller.rb
|
376
|
+
- spec/rails_3.2_app/app/helpers/application_helper.rb
|
377
|
+
- spec/rails_3.2_app/app/mailers/.gitkeep
|
378
|
+
- spec/rails_3.2_app/app/models/.gitkeep
|
379
|
+
- spec/rails_3.2_app/app/models/user.rb
|
380
|
+
- spec/rails_3.2_app/app/views/devise/confirmations/new.html.erb
|
381
|
+
- spec/rails_3.2_app/app/views/devise/mailer/confirmation_instructions.html.erb
|
382
|
+
- spec/rails_3.2_app/app/views/devise/mailer/reset_password_instructions.html.erb
|
383
|
+
- spec/rails_3.2_app/app/views/devise/mailer/unlock_instructions.html.erb
|
384
|
+
- spec/rails_3.2_app/app/views/devise/passwords/edit.html.erb
|
385
|
+
- spec/rails_3.2_app/app/views/devise/passwords/new.html.erb
|
386
|
+
- spec/rails_3.2_app/app/views/devise/registrations/edit.html.erb
|
387
|
+
- spec/rails_3.2_app/app/views/devise/registrations/new.html.erb
|
388
|
+
- spec/rails_3.2_app/app/views/devise/sessions/new.html.erb
|
389
|
+
- spec/rails_3.2_app/app/views/devise/shared/_links.erb
|
390
|
+
- spec/rails_3.2_app/app/views/devise/unlocks/new.html.erb
|
391
|
+
- spec/rails_3.2_app/app/views/home/index.html.erb
|
392
|
+
- spec/rails_3.2_app/app/views/layouts/application.html.erb
|
393
|
+
- spec/rails_3.2_app/config.ru
|
394
|
+
- spec/rails_3.2_app/config/application.rb
|
395
|
+
- spec/rails_3.2_app/config/boot.rb
|
396
|
+
- spec/rails_3.2_app/config/environment.rb
|
397
|
+
- spec/rails_3.2_app/config/environments/development.rb
|
398
|
+
- spec/rails_3.2_app/config/environments/production.rb
|
399
|
+
- spec/rails_3.2_app/config/environments/test.rb
|
400
|
+
- spec/rails_3.2_app/config/initializers/backtrace_silencers.rb
|
401
|
+
- spec/rails_3.2_app/config/initializers/devise.rb
|
402
|
+
- spec/rails_3.2_app/config/initializers/inflections.rb
|
403
|
+
- spec/rails_3.2_app/config/initializers/mime_types.rb
|
404
|
+
- spec/rails_3.2_app/config/initializers/secret_token.rb
|
405
|
+
- spec/rails_3.2_app/config/initializers/session_store.rb
|
406
|
+
- spec/rails_3.2_app/config/initializers/wrap_parameters.rb
|
407
|
+
- spec/rails_3.2_app/config/locales/devise.en.yml
|
408
|
+
- spec/rails_3.2_app/config/locales/en.yml
|
409
|
+
- spec/rails_3.2_app/config/mongo.yml
|
410
|
+
- spec/rails_3.2_app/config/mongoid.yml
|
411
|
+
- spec/rails_3.2_app/config/routes.rb
|
412
|
+
- spec/rails_3.2_app/lib/tasks/.gitkeep
|
413
|
+
- spec/rails_3.2_app/log/.gitkeep
|
414
|
+
- spec/rails_3.2_app/public/404.html
|
415
|
+
- spec/rails_3.2_app/public/422.html
|
416
|
+
- spec/rails_3.2_app/public/500.html
|
417
|
+
- spec/rails_3.2_app/public/favicon.ico
|
418
|
+
- spec/rails_3.2_app/public/robots.txt
|
419
|
+
- spec/rails_3.2_app/script/rails
|
420
|
+
- spec/rails_3.2_app/vendor/assets/stylesheets/.gitkeep
|
421
|
+
- spec/rails_3.2_app/vendor/plugins/.gitkeep
|
318
422
|
- spec/spec_helper.rb
|