mongo_session_store-rails 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (130) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +8 -0
  3. data/.rspec +1 -0
  4. data/.rubocop.yml +44 -0
  5. data/.travis.yml +29 -0
  6. data/Gemfile +3 -0
  7. data/README.md +144 -0
  8. data/Rakefile +87 -0
  9. data/gemfiles/rails-4.0-mongo.gemfile +9 -0
  10. data/gemfiles/rails-4.0-mongoid.gemfile +9 -0
  11. data/gemfiles/rails-4.1-mongo.gemfile +9 -0
  12. data/gemfiles/rails-4.1-mongoid.gemfile +9 -0
  13. data/gemfiles/rails-4.2-mongo.gemfile +9 -0
  14. data/gemfiles/rails-4.2-mongoid.gemfile +9 -0
  15. data/lib/mongo_session_store-rails.rb +1 -0
  16. data/lib/mongo_session_store.rb +27 -0
  17. data/lib/mongo_session_store/mongo_store.rb +102 -0
  18. data/lib/mongo_session_store/mongo_store_base.rb +69 -0
  19. data/lib/mongo_session_store/mongoid_store.rb +47 -0
  20. data/lib/mongo_session_store/version.rb +3 -0
  21. data/mongo_session_store.gemspec +22 -0
  22. data/perf/benchmark.rb +99 -0
  23. data/spec/.rubocop.yml +4 -0
  24. data/spec/integrations/devise_spec.rb +109 -0
  25. data/spec/lib/mongo_session_store/mongo_store/session_spec.rb +250 -0
  26. data/spec/lib/mongo_session_store/mongo_store_base_spec.rb +269 -0
  27. data/spec/lib/mongo_session_store/mongo_store_spec.rb +13 -0
  28. data/spec/lib/mongo_session_store/mongoid_store/session_spec.rb +67 -0
  29. data/spec/lib/mongo_session_store/mongoid_store_spec.rb +13 -0
  30. data/spec/lib/mongo_session_store_spec.rb +64 -0
  31. data/spec/rails_helper.rb +19 -0
  32. data/spec/spec_helper.rb +44 -0
  33. data/spec/support/apps/rails_4.0_app/Rakefile +6 -0
  34. data/spec/support/apps/rails_4.0_app/app/controllers/application_controller.rb +5 -0
  35. data/spec/support/apps/rails_4.0_app/app/controllers/home_controller.rb +4 -0
  36. data/spec/support/apps/rails_4.0_app/app/models/user.rb +5 -0
  37. data/spec/support/apps/rails_4.0_app/app/views/home/index.html.erb +10 -0
  38. data/spec/support/apps/rails_4.0_app/app/views/layouts/application.html.erb +17 -0
  39. data/spec/support/apps/rails_4.0_app/bin/bundle +3 -0
  40. data/spec/support/apps/rails_4.0_app/bin/rails +4 -0
  41. data/spec/support/apps/rails_4.0_app/bin/rake +4 -0
  42. data/spec/support/apps/rails_4.0_app/config.ru +4 -0
  43. data/spec/support/apps/rails_4.0_app/config/application.rb +11 -0
  44. data/spec/support/apps/rails_4.0_app/config/boot.rb +4 -0
  45. data/spec/support/apps/rails_4.0_app/config/database.yml +11 -0
  46. data/spec/support/apps/rails_4.0_app/config/environment.rb +5 -0
  47. data/spec/support/apps/rails_4.0_app/config/environments/development.rb +12 -0
  48. data/spec/support/apps/rails_4.0_app/config/environments/test.rb +19 -0
  49. data/spec/support/apps/rails_4.0_app/config/initializers/devise.rb +254 -0
  50. data/spec/support/apps/rails_4.0_app/config/initializers/secret_token.rb +12 -0
  51. data/spec/support/apps/rails_4.0_app/config/initializers/session_store.rb +1 -0
  52. data/spec/support/apps/rails_4.0_app/config/locales/devise.en.yml +59 -0
  53. data/spec/support/apps/rails_4.0_app/config/locales/en.yml +23 -0
  54. data/spec/support/apps/rails_4.0_app/config/mongo.yml +11 -0
  55. data/spec/support/apps/rails_4.0_app/config/mongoid.yml +13 -0
  56. data/spec/support/apps/rails_4.0_app/config/routes.rb +4 -0
  57. data/spec/support/apps/rails_4.0_app/db/migrate/20140301171212_add_devise_users.rb +11 -0
  58. data/spec/support/apps/rails_4.0_app/db/schema.rb +25 -0
  59. data/spec/support/apps/rails_4.0_app/db/seeds.rb +7 -0
  60. data/spec/support/apps/rails_4.0_app/lib/assets/.keep +0 -0
  61. data/spec/support/apps/rails_4.0_app/lib/tasks/.keep +0 -0
  62. data/spec/support/apps/rails_4.0_app/log/.keep +0 -0
  63. data/spec/support/apps/rails_4.0_app/public/404.html +58 -0
  64. data/spec/support/apps/rails_4.0_app/public/422.html +58 -0
  65. data/spec/support/apps/rails_4.0_app/public/500.html +57 -0
  66. data/spec/support/apps/rails_4.0_app/public/favicon.ico +0 -0
  67. data/spec/support/apps/rails_4.0_app/public/robots.txt +5 -0
  68. data/spec/support/apps/rails_4.1_app/Rakefile +3 -0
  69. data/spec/support/apps/rails_4.1_app/app/controllers/application_controller.rb +5 -0
  70. data/spec/support/apps/rails_4.1_app/app/controllers/home_controller.rb +4 -0
  71. data/spec/support/apps/rails_4.1_app/app/models/user.rb +5 -0
  72. data/spec/support/apps/rails_4.1_app/app/views/home/index.html.erb +10 -0
  73. data/spec/support/apps/rails_4.1_app/app/views/layouts/application.html.erb +17 -0
  74. data/spec/support/apps/rails_4.1_app/bin/bundle +3 -0
  75. data/spec/support/apps/rails_4.1_app/bin/rails +4 -0
  76. data/spec/support/apps/rails_4.1_app/bin/rake +4 -0
  77. data/spec/support/apps/rails_4.1_app/config.ru +2 -0
  78. data/spec/support/apps/rails_4.1_app/config/application.rb +11 -0
  79. data/spec/support/apps/rails_4.1_app/config/boot.rb +4 -0
  80. data/spec/support/apps/rails_4.1_app/config/database.yml +11 -0
  81. data/spec/support/apps/rails_4.1_app/config/environment.rb +5 -0
  82. data/spec/support/apps/rails_4.1_app/config/environments/development.rb +12 -0
  83. data/spec/support/apps/rails_4.1_app/config/environments/test.rb +19 -0
  84. data/spec/support/apps/rails_4.1_app/config/initializers/devise.rb +254 -0
  85. data/spec/support/apps/rails_4.1_app/config/initializers/session_store.rb +1 -0
  86. data/spec/support/apps/rails_4.1_app/config/locales/devise.en.yml +59 -0
  87. data/spec/support/apps/rails_4.1_app/config/locales/en.yml +23 -0
  88. data/spec/support/apps/rails_4.1_app/config/mongo.yml +11 -0
  89. data/spec/support/apps/rails_4.1_app/config/mongoid.yml +13 -0
  90. data/spec/support/apps/rails_4.1_app/config/routes.rb +4 -0
  91. data/spec/support/apps/rails_4.1_app/config/secrets.yml +22 -0
  92. data/spec/support/apps/rails_4.1_app/db/migrate/20140301171212_add_devise_users.rb +11 -0
  93. data/spec/support/apps/rails_4.1_app/db/schema.rb +25 -0
  94. data/spec/support/apps/rails_4.1_app/db/seeds.rb +7 -0
  95. data/spec/support/apps/rails_4.1_app/lib/assets/.keep +0 -0
  96. data/spec/support/apps/rails_4.1_app/lib/tasks/.keep +0 -0
  97. data/spec/support/apps/rails_4.1_app/log/.keep +0 -0
  98. data/spec/support/apps/rails_4.1_app/public/404.html +67 -0
  99. data/spec/support/apps/rails_4.1_app/public/422.html +67 -0
  100. data/spec/support/apps/rails_4.1_app/public/500.html +66 -0
  101. data/spec/support/apps/rails_4.1_app/public/favicon.ico +0 -0
  102. data/spec/support/apps/rails_4.1_app/public/robots.txt +5 -0
  103. data/spec/support/apps/rails_4.2_app/Rakefile +2 -0
  104. data/spec/support/apps/rails_4.2_app/app/controllers/application_controller.rb +5 -0
  105. data/spec/support/apps/rails_4.2_app/app/controllers/home_controller.rb +4 -0
  106. data/spec/support/apps/rails_4.2_app/app/models/user.rb +5 -0
  107. data/spec/support/apps/rails_4.2_app/app/views/home/index.html.erb +10 -0
  108. data/spec/support/apps/rails_4.2_app/app/views/layouts/application.html.erb +15 -0
  109. data/spec/support/apps/rails_4.2_app/bin/bundle +3 -0
  110. data/spec/support/apps/rails_4.2_app/bin/rails +8 -0
  111. data/spec/support/apps/rails_4.2_app/bin/rake +4 -0
  112. data/spec/support/apps/rails_4.2_app/config.ru +4 -0
  113. data/spec/support/apps/rails_4.2_app/config/application.rb +11 -0
  114. data/spec/support/apps/rails_4.2_app/config/boot.rb +3 -0
  115. data/spec/support/apps/rails_4.2_app/config/database.yml +11 -0
  116. data/spec/support/apps/rails_4.2_app/config/environment.rb +5 -0
  117. data/spec/support/apps/rails_4.2_app/config/environments/development.rb +12 -0
  118. data/spec/support/apps/rails_4.2_app/config/environments/test.rb +19 -0
  119. data/spec/support/apps/rails_4.2_app/config/initializers/devise.rb +254 -0
  120. data/spec/support/apps/rails_4.2_app/config/initializers/session_store.rb +1 -0
  121. data/spec/support/apps/rails_4.2_app/config/locales/en.yml +23 -0
  122. data/spec/support/apps/rails_4.2_app/config/mongo.yml +11 -0
  123. data/spec/support/apps/rails_4.2_app/config/mongoid.yml +13 -0
  124. data/spec/support/apps/rails_4.2_app/config/routes.rb +4 -0
  125. data/spec/support/apps/rails_4.2_app/config/secrets.yml +22 -0
  126. data/spec/support/apps/rails_4.2_app/db/migrate/20140301171212_add_devise_users.rb +11 -0
  127. data/spec/support/apps/rails_4.2_app/db/schema.rb +25 -0
  128. data/spec/support/apps/rails_4.2_app/db/seeds.rb +7 -0
  129. data/spec/support/helpers/test_database_helper.rb +22 -0
  130. metadata +367 -0
@@ -0,0 +1 @@
1
+ Rails.application.config.session_store :"#{mongo_orm}_store"
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,11 @@
1
+ defaults: &defaults
2
+ host: 127.0.0.1
3
+ port: 27017
4
+
5
+ development:
6
+ <<: *defaults
7
+ database: test_database
8
+
9
+ test:
10
+ <<: *defaults
11
+ database: test_database
@@ -0,0 +1,13 @@
1
+ development:
2
+ clients:
3
+ default:
4
+ database: test_database
5
+ hosts:
6
+ - 127.0.0.1:27017
7
+
8
+ test:
9
+ clients:
10
+ default:
11
+ database: test_database
12
+ hosts:
13
+ - 127.0.0.1:27017
@@ -0,0 +1,4 @@
1
+ Rails.application.routes.draw do
2
+ devise_for :users
3
+ root :to => "home#index"
4
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: f572c56330979d77b1f486dfc2cc38990a79eade97da6680e956c0b57967abc3b87759491959283d95f8377a56d30401f8ddac4575c5e1148150a16f09be7c1d
15
+
16
+ test:
17
+ secret_key_base: cc274453aa400d96444af8c114d32dada6359a8703c7e390e84149f007e1d16aee99b9a6de1a294db718a57317baa54bd57a0bca424bc30d8d15b521c2ccec5d
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,11 @@
1
+ class AddDeviseUsers < ActiveRecord::Migration
2
+ def change
3
+ create_table(:users) do |t|
4
+ t.string :email, :null => false, :default => ""
5
+ t.string :encrypted_password, :null => false, :default => ""
6
+ t.timestamps
7
+ end
8
+
9
+ add_index :users, :email, :unique => true
10
+ end
11
+ end
@@ -0,0 +1,25 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 20140301171212) do
15
+
16
+ create_table "users", force: true do |t|
17
+ t.string "email", default: "", null: false
18
+ t.string "encrypted_password", default: "", null: false
19
+ t.datetime "created_at"
20
+ t.datetime "updated_at"
21
+ end
22
+
23
+ add_index "users", ["email"], name: "index_users_on_email", unique: true
24
+
25
+ end
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
7
+ # Mayor.create(name: 'Emanuel', city: cities.first)
@@ -0,0 +1,22 @@
1
+ module TestDatabaseHelper
2
+ module_function
3
+
4
+ def test_database
5
+ case mongo_orm
6
+ when "mongoid"
7
+ MongoidStore::Session.mongo_client
8
+ when "mongo"
9
+ Mongo::Client
10
+ .new(["127.0.0.1:27017"], :database => test_database_name)
11
+ .database
12
+ end
13
+ end
14
+
15
+ def drop_collections_in(database)
16
+ database.collections.select { |c| c.name !~ /^system/ }.each(&:drop)
17
+ end
18
+
19
+ def test_database_name
20
+ "test_database"
21
+ end
22
+ end
metadata ADDED
@@ -0,0 +1,367 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mongo_session_store-rails
3
+ version: !ruby/object:Gem::Version
4
+ version: 7.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Tom de Bruijn
8
+ - Brian Hempel
9
+ - Nicolas Mérouze
10
+ - Tony Pitale
11
+ - Chris Brickley
12
+ autorequire:
13
+ bindir: bin
14
+ cert_chain: []
15
+ date: 2016-11-29 00:00:00.000000000 Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
18
+ name: actionpack
19
+ requirement: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - "~>"
22
+ - !ruby/object:Gem::Version
23
+ version: '4.0'
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - "~>"
29
+ - !ruby/object:Gem::Version
30
+ version: '4.0'
31
+ - !ruby/object:Gem::Dependency
32
+ name: mongo
33
+ requirement: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - "~>"
36
+ - !ruby/object:Gem::Version
37
+ version: '2.0'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - "~>"
43
+ - !ruby/object:Gem::Version
44
+ version: '2.0'
45
+ - !ruby/object:Gem::Dependency
46
+ name: rspec-rails
47
+ requirement: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - "~>"
50
+ - !ruby/object:Gem::Version
51
+ version: '3'
52
+ type: :development
53
+ prerelease: false
54
+ version_requirements: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - "~>"
57
+ - !ruby/object:Gem::Version
58
+ version: '3'
59
+ - !ruby/object:Gem::Dependency
60
+ name: pry
61
+ requirement: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - "~>"
64
+ - !ruby/object:Gem::Version
65
+ version: '0.10'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '0.10'
73
+ - !ruby/object:Gem::Dependency
74
+ name: rake
75
+ requirement: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - "~>"
78
+ - !ruby/object:Gem::Version
79
+ version: '11'
80
+ type: :development
81
+ prerelease: false
82
+ version_requirements: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - "~>"
85
+ - !ruby/object:Gem::Version
86
+ version: '11'
87
+ - !ruby/object:Gem::Dependency
88
+ name: rubocop
89
+ requirement: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - '='
92
+ - !ruby/object:Gem::Version
93
+ version: 0.45.0
94
+ type: :development
95
+ prerelease: false
96
+ version_requirements: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - '='
99
+ - !ruby/object:Gem::Version
100
+ version: 0.45.0
101
+ description:
102
+ email:
103
+ - tom@tomdebruijn.com.com
104
+ executables: []
105
+ extensions: []
106
+ extra_rdoc_files: []
107
+ files:
108
+ - ".gitignore"
109
+ - ".rspec"
110
+ - ".rubocop.yml"
111
+ - ".travis.yml"
112
+ - Gemfile
113
+ - README.md
114
+ - Rakefile
115
+ - gemfiles/rails-4.0-mongo.gemfile
116
+ - gemfiles/rails-4.0-mongoid.gemfile
117
+ - gemfiles/rails-4.1-mongo.gemfile
118
+ - gemfiles/rails-4.1-mongoid.gemfile
119
+ - gemfiles/rails-4.2-mongo.gemfile
120
+ - gemfiles/rails-4.2-mongoid.gemfile
121
+ - lib/mongo_session_store-rails.rb
122
+ - lib/mongo_session_store.rb
123
+ - lib/mongo_session_store/mongo_store.rb
124
+ - lib/mongo_session_store/mongo_store_base.rb
125
+ - lib/mongo_session_store/mongoid_store.rb
126
+ - lib/mongo_session_store/version.rb
127
+ - mongo_session_store.gemspec
128
+ - perf/benchmark.rb
129
+ - spec/.rubocop.yml
130
+ - spec/integrations/devise_spec.rb
131
+ - spec/lib/mongo_session_store/mongo_store/session_spec.rb
132
+ - spec/lib/mongo_session_store/mongo_store_base_spec.rb
133
+ - spec/lib/mongo_session_store/mongo_store_spec.rb
134
+ - spec/lib/mongo_session_store/mongoid_store/session_spec.rb
135
+ - spec/lib/mongo_session_store/mongoid_store_spec.rb
136
+ - spec/lib/mongo_session_store_spec.rb
137
+ - spec/rails_helper.rb
138
+ - spec/spec_helper.rb
139
+ - spec/support/apps/rails_4.0_app/Rakefile
140
+ - spec/support/apps/rails_4.0_app/app/controllers/application_controller.rb
141
+ - spec/support/apps/rails_4.0_app/app/controllers/home_controller.rb
142
+ - spec/support/apps/rails_4.0_app/app/models/user.rb
143
+ - spec/support/apps/rails_4.0_app/app/views/home/index.html.erb
144
+ - spec/support/apps/rails_4.0_app/app/views/layouts/application.html.erb
145
+ - spec/support/apps/rails_4.0_app/bin/bundle
146
+ - spec/support/apps/rails_4.0_app/bin/rails
147
+ - spec/support/apps/rails_4.0_app/bin/rake
148
+ - spec/support/apps/rails_4.0_app/config.ru
149
+ - spec/support/apps/rails_4.0_app/config/application.rb
150
+ - spec/support/apps/rails_4.0_app/config/boot.rb
151
+ - spec/support/apps/rails_4.0_app/config/database.yml
152
+ - spec/support/apps/rails_4.0_app/config/environment.rb
153
+ - spec/support/apps/rails_4.0_app/config/environments/development.rb
154
+ - spec/support/apps/rails_4.0_app/config/environments/test.rb
155
+ - spec/support/apps/rails_4.0_app/config/initializers/devise.rb
156
+ - spec/support/apps/rails_4.0_app/config/initializers/secret_token.rb
157
+ - spec/support/apps/rails_4.0_app/config/initializers/session_store.rb
158
+ - spec/support/apps/rails_4.0_app/config/locales/devise.en.yml
159
+ - spec/support/apps/rails_4.0_app/config/locales/en.yml
160
+ - spec/support/apps/rails_4.0_app/config/mongo.yml
161
+ - spec/support/apps/rails_4.0_app/config/mongoid.yml
162
+ - spec/support/apps/rails_4.0_app/config/routes.rb
163
+ - spec/support/apps/rails_4.0_app/db/migrate/20140301171212_add_devise_users.rb
164
+ - spec/support/apps/rails_4.0_app/db/schema.rb
165
+ - spec/support/apps/rails_4.0_app/db/seeds.rb
166
+ - spec/support/apps/rails_4.0_app/lib/assets/.keep
167
+ - spec/support/apps/rails_4.0_app/lib/tasks/.keep
168
+ - spec/support/apps/rails_4.0_app/log/.keep
169
+ - spec/support/apps/rails_4.0_app/public/404.html
170
+ - spec/support/apps/rails_4.0_app/public/422.html
171
+ - spec/support/apps/rails_4.0_app/public/500.html
172
+ - spec/support/apps/rails_4.0_app/public/favicon.ico
173
+ - spec/support/apps/rails_4.0_app/public/robots.txt
174
+ - spec/support/apps/rails_4.1_app/Rakefile
175
+ - spec/support/apps/rails_4.1_app/app/controllers/application_controller.rb
176
+ - spec/support/apps/rails_4.1_app/app/controllers/home_controller.rb
177
+ - spec/support/apps/rails_4.1_app/app/models/user.rb
178
+ - spec/support/apps/rails_4.1_app/app/views/home/index.html.erb
179
+ - spec/support/apps/rails_4.1_app/app/views/layouts/application.html.erb
180
+ - spec/support/apps/rails_4.1_app/bin/bundle
181
+ - spec/support/apps/rails_4.1_app/bin/rails
182
+ - spec/support/apps/rails_4.1_app/bin/rake
183
+ - spec/support/apps/rails_4.1_app/config.ru
184
+ - spec/support/apps/rails_4.1_app/config/application.rb
185
+ - spec/support/apps/rails_4.1_app/config/boot.rb
186
+ - spec/support/apps/rails_4.1_app/config/database.yml
187
+ - spec/support/apps/rails_4.1_app/config/environment.rb
188
+ - spec/support/apps/rails_4.1_app/config/environments/development.rb
189
+ - spec/support/apps/rails_4.1_app/config/environments/test.rb
190
+ - spec/support/apps/rails_4.1_app/config/initializers/devise.rb
191
+ - spec/support/apps/rails_4.1_app/config/initializers/session_store.rb
192
+ - spec/support/apps/rails_4.1_app/config/locales/devise.en.yml
193
+ - spec/support/apps/rails_4.1_app/config/locales/en.yml
194
+ - spec/support/apps/rails_4.1_app/config/mongo.yml
195
+ - spec/support/apps/rails_4.1_app/config/mongoid.yml
196
+ - spec/support/apps/rails_4.1_app/config/routes.rb
197
+ - spec/support/apps/rails_4.1_app/config/secrets.yml
198
+ - spec/support/apps/rails_4.1_app/db/migrate/20140301171212_add_devise_users.rb
199
+ - spec/support/apps/rails_4.1_app/db/schema.rb
200
+ - spec/support/apps/rails_4.1_app/db/seeds.rb
201
+ - spec/support/apps/rails_4.1_app/lib/assets/.keep
202
+ - spec/support/apps/rails_4.1_app/lib/tasks/.keep
203
+ - spec/support/apps/rails_4.1_app/log/.keep
204
+ - spec/support/apps/rails_4.1_app/public/404.html
205
+ - spec/support/apps/rails_4.1_app/public/422.html
206
+ - spec/support/apps/rails_4.1_app/public/500.html
207
+ - spec/support/apps/rails_4.1_app/public/favicon.ico
208
+ - spec/support/apps/rails_4.1_app/public/robots.txt
209
+ - spec/support/apps/rails_4.2_app/Rakefile
210
+ - spec/support/apps/rails_4.2_app/app/controllers/application_controller.rb
211
+ - spec/support/apps/rails_4.2_app/app/controllers/home_controller.rb
212
+ - spec/support/apps/rails_4.2_app/app/models/user.rb
213
+ - spec/support/apps/rails_4.2_app/app/views/home/index.html.erb
214
+ - spec/support/apps/rails_4.2_app/app/views/layouts/application.html.erb
215
+ - spec/support/apps/rails_4.2_app/bin/bundle
216
+ - spec/support/apps/rails_4.2_app/bin/rails
217
+ - spec/support/apps/rails_4.2_app/bin/rake
218
+ - spec/support/apps/rails_4.2_app/config.ru
219
+ - spec/support/apps/rails_4.2_app/config/application.rb
220
+ - spec/support/apps/rails_4.2_app/config/boot.rb
221
+ - spec/support/apps/rails_4.2_app/config/database.yml
222
+ - spec/support/apps/rails_4.2_app/config/environment.rb
223
+ - spec/support/apps/rails_4.2_app/config/environments/development.rb
224
+ - spec/support/apps/rails_4.2_app/config/environments/test.rb
225
+ - spec/support/apps/rails_4.2_app/config/initializers/devise.rb
226
+ - spec/support/apps/rails_4.2_app/config/initializers/session_store.rb
227
+ - spec/support/apps/rails_4.2_app/config/locales/en.yml
228
+ - spec/support/apps/rails_4.2_app/config/mongo.yml
229
+ - spec/support/apps/rails_4.2_app/config/mongoid.yml
230
+ - spec/support/apps/rails_4.2_app/config/routes.rb
231
+ - spec/support/apps/rails_4.2_app/config/secrets.yml
232
+ - spec/support/apps/rails_4.2_app/db/migrate/20140301171212_add_devise_users.rb
233
+ - spec/support/apps/rails_4.2_app/db/schema.rb
234
+ - spec/support/apps/rails_4.2_app/db/seeds.rb
235
+ - spec/support/helpers/test_database_helper.rb
236
+ homepage: http://github.com/appsignal/mongo_session_store
237
+ licenses:
238
+ - MIT
239
+ metadata: {}
240
+ post_install_message:
241
+ rdoc_options: []
242
+ require_paths:
243
+ - lib
244
+ required_ruby_version: !ruby/object:Gem::Requirement
245
+ requirements:
246
+ - - ">="
247
+ - !ruby/object:Gem::Version
248
+ version: '0'
249
+ required_rubygems_version: !ruby/object:Gem::Requirement
250
+ requirements:
251
+ - - ">="
252
+ - !ruby/object:Gem::Version
253
+ version: '0'
254
+ requirements: []
255
+ rubyforge_project:
256
+ rubygems_version: 2.5.1
257
+ signing_key:
258
+ specification_version: 4
259
+ summary: Rails session stores for Mongoid, or any other ODM. Rails 4 compatible.
260
+ test_files:
261
+ - perf/benchmark.rb
262
+ - spec/integrations/devise_spec.rb
263
+ - spec/lib/mongo_session_store/mongo_store/session_spec.rb
264
+ - spec/lib/mongo_session_store/mongo_store_base_spec.rb
265
+ - spec/lib/mongo_session_store/mongo_store_spec.rb
266
+ - spec/lib/mongo_session_store/mongoid_store/session_spec.rb
267
+ - spec/lib/mongo_session_store/mongoid_store_spec.rb
268
+ - spec/lib/mongo_session_store_spec.rb
269
+ - spec/rails_helper.rb
270
+ - spec/spec_helper.rb
271
+ - spec/support/apps/rails_4.0_app/Rakefile
272
+ - spec/support/apps/rails_4.0_app/app/controllers/application_controller.rb
273
+ - spec/support/apps/rails_4.0_app/app/controllers/home_controller.rb
274
+ - spec/support/apps/rails_4.0_app/app/models/user.rb
275
+ - spec/support/apps/rails_4.0_app/app/views/home/index.html.erb
276
+ - spec/support/apps/rails_4.0_app/app/views/layouts/application.html.erb
277
+ - spec/support/apps/rails_4.0_app/bin/bundle
278
+ - spec/support/apps/rails_4.0_app/bin/rails
279
+ - spec/support/apps/rails_4.0_app/bin/rake
280
+ - spec/support/apps/rails_4.0_app/config.ru
281
+ - spec/support/apps/rails_4.0_app/config/application.rb
282
+ - spec/support/apps/rails_4.0_app/config/boot.rb
283
+ - spec/support/apps/rails_4.0_app/config/database.yml
284
+ - spec/support/apps/rails_4.0_app/config/environment.rb
285
+ - spec/support/apps/rails_4.0_app/config/environments/development.rb
286
+ - spec/support/apps/rails_4.0_app/config/environments/test.rb
287
+ - spec/support/apps/rails_4.0_app/config/initializers/devise.rb
288
+ - spec/support/apps/rails_4.0_app/config/initializers/secret_token.rb
289
+ - spec/support/apps/rails_4.0_app/config/initializers/session_store.rb
290
+ - spec/support/apps/rails_4.0_app/config/locales/devise.en.yml
291
+ - spec/support/apps/rails_4.0_app/config/locales/en.yml
292
+ - spec/support/apps/rails_4.0_app/config/mongo.yml
293
+ - spec/support/apps/rails_4.0_app/config/mongoid.yml
294
+ - spec/support/apps/rails_4.0_app/config/routes.rb
295
+ - spec/support/apps/rails_4.0_app/db/migrate/20140301171212_add_devise_users.rb
296
+ - spec/support/apps/rails_4.0_app/db/schema.rb
297
+ - spec/support/apps/rails_4.0_app/db/seeds.rb
298
+ - spec/support/apps/rails_4.0_app/lib/assets/.keep
299
+ - spec/support/apps/rails_4.0_app/lib/tasks/.keep
300
+ - spec/support/apps/rails_4.0_app/log/.keep
301
+ - spec/support/apps/rails_4.0_app/public/404.html
302
+ - spec/support/apps/rails_4.0_app/public/422.html
303
+ - spec/support/apps/rails_4.0_app/public/500.html
304
+ - spec/support/apps/rails_4.0_app/public/favicon.ico
305
+ - spec/support/apps/rails_4.0_app/public/robots.txt
306
+ - spec/support/apps/rails_4.1_app/Rakefile
307
+ - spec/support/apps/rails_4.1_app/app/controllers/application_controller.rb
308
+ - spec/support/apps/rails_4.1_app/app/controllers/home_controller.rb
309
+ - spec/support/apps/rails_4.1_app/app/models/user.rb
310
+ - spec/support/apps/rails_4.1_app/app/views/home/index.html.erb
311
+ - spec/support/apps/rails_4.1_app/app/views/layouts/application.html.erb
312
+ - spec/support/apps/rails_4.1_app/bin/bundle
313
+ - spec/support/apps/rails_4.1_app/bin/rails
314
+ - spec/support/apps/rails_4.1_app/bin/rake
315
+ - spec/support/apps/rails_4.1_app/config.ru
316
+ - spec/support/apps/rails_4.1_app/config/application.rb
317
+ - spec/support/apps/rails_4.1_app/config/boot.rb
318
+ - spec/support/apps/rails_4.1_app/config/database.yml
319
+ - spec/support/apps/rails_4.1_app/config/environment.rb
320
+ - spec/support/apps/rails_4.1_app/config/environments/development.rb
321
+ - spec/support/apps/rails_4.1_app/config/environments/test.rb
322
+ - spec/support/apps/rails_4.1_app/config/initializers/devise.rb
323
+ - spec/support/apps/rails_4.1_app/config/initializers/session_store.rb
324
+ - spec/support/apps/rails_4.1_app/config/locales/devise.en.yml
325
+ - spec/support/apps/rails_4.1_app/config/locales/en.yml
326
+ - spec/support/apps/rails_4.1_app/config/mongo.yml
327
+ - spec/support/apps/rails_4.1_app/config/mongoid.yml
328
+ - spec/support/apps/rails_4.1_app/config/routes.rb
329
+ - spec/support/apps/rails_4.1_app/config/secrets.yml
330
+ - spec/support/apps/rails_4.1_app/db/migrate/20140301171212_add_devise_users.rb
331
+ - spec/support/apps/rails_4.1_app/db/schema.rb
332
+ - spec/support/apps/rails_4.1_app/db/seeds.rb
333
+ - spec/support/apps/rails_4.1_app/lib/assets/.keep
334
+ - spec/support/apps/rails_4.1_app/lib/tasks/.keep
335
+ - spec/support/apps/rails_4.1_app/log/.keep
336
+ - spec/support/apps/rails_4.1_app/public/404.html
337
+ - spec/support/apps/rails_4.1_app/public/422.html
338
+ - spec/support/apps/rails_4.1_app/public/500.html
339
+ - spec/support/apps/rails_4.1_app/public/favicon.ico
340
+ - spec/support/apps/rails_4.1_app/public/robots.txt
341
+ - spec/support/apps/rails_4.2_app/Rakefile
342
+ - spec/support/apps/rails_4.2_app/app/controllers/application_controller.rb
343
+ - spec/support/apps/rails_4.2_app/app/controllers/home_controller.rb
344
+ - spec/support/apps/rails_4.2_app/app/models/user.rb
345
+ - spec/support/apps/rails_4.2_app/app/views/home/index.html.erb
346
+ - spec/support/apps/rails_4.2_app/app/views/layouts/application.html.erb
347
+ - spec/support/apps/rails_4.2_app/bin/bundle
348
+ - spec/support/apps/rails_4.2_app/bin/rails
349
+ - spec/support/apps/rails_4.2_app/bin/rake
350
+ - spec/support/apps/rails_4.2_app/config.ru
351
+ - spec/support/apps/rails_4.2_app/config/application.rb
352
+ - spec/support/apps/rails_4.2_app/config/boot.rb
353
+ - spec/support/apps/rails_4.2_app/config/database.yml
354
+ - spec/support/apps/rails_4.2_app/config/environment.rb
355
+ - spec/support/apps/rails_4.2_app/config/environments/development.rb
356
+ - spec/support/apps/rails_4.2_app/config/environments/test.rb
357
+ - spec/support/apps/rails_4.2_app/config/initializers/devise.rb
358
+ - spec/support/apps/rails_4.2_app/config/initializers/session_store.rb
359
+ - spec/support/apps/rails_4.2_app/config/locales/en.yml
360
+ - spec/support/apps/rails_4.2_app/config/mongo.yml
361
+ - spec/support/apps/rails_4.2_app/config/mongoid.yml
362
+ - spec/support/apps/rails_4.2_app/config/routes.rb
363
+ - spec/support/apps/rails_4.2_app/config/secrets.yml
364
+ - spec/support/apps/rails_4.2_app/db/migrate/20140301171212_add_devise_users.rb
365
+ - spec/support/apps/rails_4.2_app/db/schema.rb
366
+ - spec/support/apps/rails_4.2_app/db/seeds.rb
367
+ - spec/support/helpers/test_database_helper.rb