mongo_session_store 3.2.2 → 3.3.1

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.
@@ -1,3 +1,3 @@
1
1
  module MongoSessionStore
2
- VERSION = "3.2.2".freeze
2
+ VERSION = "3.3.1".freeze
3
3
  end
@@ -7,7 +7,6 @@ Gem::Specification.new do |s|
7
7
  s.authors = ["Tom de Bruijn", "Brian Hempel", "Nicolas M\303\251rouze", "Tony Pitale", "Chris Brickley"]
8
8
  s.email = ["tom@tomdebruijn.com"]
9
9
  s.files = `git ls-files`.split("\n")
10
- s.test_files = `git ls-files -- {spec,perf}/*`.split("\n")
11
10
  s.homepage = "http://github.com/mongoid/mongo_session_store"
12
11
  s.license = "MIT"
13
12
  s.require_paths = ["lib"]
@@ -20,4 +19,5 @@ Gem::Specification.new do |s|
20
19
  s.add_development_dependency "capybara", ">= 2.15"
21
20
  s.add_development_dependency "rake"
22
21
  s.add_development_dependency "rspec-rails", ">= 4.0"
22
+ s.metadata["rubygems_mfa_required"] = "true"
23
23
  end
data/script/release.rb ADDED
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "ruby-gem-release/changelog"
4
+ require "ruby-gem-release/workflow/ruby_gem"
5
+
6
+ # Builds the ruby-gem-release workflow used by the Rakefile, the Release GitHub Actions workflow, and spec/release.
7
+ module MongoSessionStoreRelease
8
+ def self.workflow(**options)
9
+ RubyGemRelease::Workflow::RubyGem.new(
10
+ :version => RubyGemRelease::Version::RubyConstant.new(:path => "lib/mongo_session_store/version.rb",
11
+ :constant => "VERSION"),
12
+ :changelog => RubyGemRelease::Changelog::Intridea.new(:placeholder => "* Your contribution here."),
13
+ **options
14
+ )
15
+ end
16
+ end
data/spec/.rubocop.yml CHANGED
@@ -1,4 +1,10 @@
1
1
  inherit_from: ../.rubocop.yml
2
2
 
3
- Metrics/LineLength:
3
+ Layout/LineLength:
4
4
  Max: 100
5
+
6
+ Spellcheck:
7
+ DictionaryFiles:
8
+ en:
9
+ - gem:rubocop-spellcheck/data/en/en.dic
10
+ - ../.spellcheck.txt
@@ -0,0 +1,17 @@
1
+ require "spec_helper"
2
+
3
+ describe "Legacy session serialization" do
4
+ let(:session_class) { mongo_orm == "mongoid" ? MongoidStore::Session : MongoStore::Session }
5
+
6
+ it "reads raw marshalled strings as well as BSON binary data" do
7
+ payload = { "nested" => { "count" => 2 }, "tags" => %w[old session] }
8
+ session = session_class.new
9
+
10
+ expect(session.send(:unpack, Marshal.dump(payload))).to eq(payload)
11
+ expect(session.send(:unpack, BSON::Binary.new(Marshal.dump(payload), :generic))).to eq(payload)
12
+ end
13
+
14
+ it "returns nil when there is no serialized payload" do
15
+ expect(session_class.new.send(:unpack, nil)).to be_nil
16
+ end
17
+ end
@@ -0,0 +1,36 @@
1
+ require "rails_helper"
2
+
3
+ describe "Session data serialization" do
4
+ let(:session_class) { mongo_orm == "mongoid" ? MongoidStore::Session : MongoStore::Session }
5
+ let(:id) { generate_sid }
6
+ let(:search) { { "query" => "painting", "admin" => "1" } }
7
+ let(:parameters) do
8
+ values = { "search" => search }
9
+ if Gem.loaded_specs["rails"].version >= Gem::Version.new("7.0")
10
+ request = ActionDispatch::TestRequest.create("rack.input" => StringIO.new)
11
+ ActionController::Parameters.new(values, :request => request)
12
+ else
13
+ ActionController::Parameters.new(values)
14
+ end
15
+ end
16
+
17
+ it "round-trips explicitly permitted parameter values without request context" do
18
+ record = session_class.new(:_id => id)
19
+ record.data = { "search" => parameters.require(:search).permit(:query).to_h }
20
+ record.save
21
+
22
+ expect(session_class.where(:_id => id).first.data).to eq(
23
+ "search" => { "query" => "painting" }
24
+ )
25
+ end
26
+
27
+ if Gem.loaded_specs["rails"].version >= Gem::Version.new("7.0")
28
+ it "reports serialization errors for raw parameters retaining an input stream" do
29
+ record = session_class.new(:_id => id)
30
+ record.data = { "search" => parameters[:search] }
31
+
32
+ expect { record.save }.to raise_error(TypeError, /StringIO/)
33
+ expect(session_class.collection.find(:_id => id).count).to eq(0)
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,77 @@
1
+ require "spec_helper"
2
+
3
+ describe ".delete_stale_sessions" do
4
+ let(:store) { mongo_orm == "mongoid" ? MongoidStore : MongoStore }
5
+ let(:collection) { store.session_class.collection }
6
+ let(:cutoff) { Time.utc(2026, 1, 1) }
7
+
8
+ it "deletes only sessions last updated strictly before the cutoff" do
9
+ collection.insert_many([
10
+ { :_id => "stale", :updated_at => cutoff - 1 },
11
+ { :_id => "boundary", :updated_at => cutoff },
12
+ { :_id => "active", :created_at => cutoff - 100, :updated_at => cutoff + 1 },
13
+ { :_id => "undated" },
14
+ { :_id => "null-date", :updated_at => nil }
15
+ ])
16
+
17
+ expect(store.delete_stale_sessions(:before => cutoff)).to eq(1)
18
+ expect(collection.find.map { |doc| doc["_id"] }.sort).to eq(
19
+ %w[active boundary null-date undated]
20
+ )
21
+ expect(store.delete_stale_sessions(:before => cutoff)).to eq(0)
22
+ end
23
+
24
+ it "returns zero for an empty collection" do
25
+ expect(store.delete_stale_sessions(:before => cutoff)).to eq(0)
26
+ end
27
+
28
+ it "accepts a cutoff with a UTC offset" do
29
+ collection.insert_one(:_id => "stale", :updated_at => cutoff - 1)
30
+ local_cutoff = cutoff.getlocal("-05:00")
31
+
32
+ expect(store.delete_stale_sessions(:before => local_cutoff)).to eq(1)
33
+ expect(local_cutoff.utc_offset).to eq(-5 * 60 * 60)
34
+ end
35
+
36
+ it "accepts a Rails time-zone cutoff" do
37
+ collection.insert_one(:_id => "stale", :updated_at => cutoff - 1)
38
+ zoned_cutoff = cutoff.in_time_zone("Eastern Time (US & Canada)")
39
+ expect(store.delete_stale_sessions(:before => zoned_cutoff)).to eq(1)
40
+ end
41
+
42
+ it "rejects invalid cutoffs without deleting sessions" do
43
+ collection.insert_one(:_id => "stale", :updated_at => cutoff - 1)
44
+
45
+ [nil, "2026-01-01", 1].each do |value|
46
+ expect { store.delete_stale_sessions(:before => value) }.to raise_error(
47
+ ArgumentError, "before must be a Time"
48
+ )
49
+ end
50
+ expect(collection.find.count).to eq(1)
51
+ end
52
+
53
+ it "uses the configured collection without touching the default collection" do
54
+ collection.insert_one(:_id => "default", :updated_at => cutoff - 1)
55
+ original_name = MongoSessionStore.collection_name
56
+ begin
57
+ MongoSessionStore.collection_name = "custom_sessions"
58
+ custom_collection = store.session_class.collection
59
+ custom_collection.insert_one(:_id => "custom", :updated_at => cutoff - 1)
60
+
61
+ expect(store.delete_stale_sessions(:before => cutoff)).to eq(1)
62
+ expect(custom_collection.find.count).to eq(0)
63
+ ensure
64
+ MongoSessionStore.collection_name = original_name
65
+ end
66
+ expect(collection.find.count).to eq(1)
67
+ end
68
+
69
+ it "does not suppress database errors" do
70
+ allow(store.session_class).to receive(:collection)
71
+ .and_raise(MongoSessionStore::Error, "unavailable")
72
+
73
+ expect { store.delete_stale_sessions(:before => cutoff) }.to raise_error(
74
+ MongoSessionStore::Error, "unavailable"
75
+ )
76
+ end
77
+ end
@@ -0,0 +1,8 @@
1
+ require "spec_helper"
2
+
3
+ describe MongoSessionStore do
4
+ it "defines a frozen semantic version" do
5
+ expect(MongoSessionStore::VERSION).to match(/\A\d+\.\d+\.\d+\z/)
6
+ expect(MongoSessionStore::VERSION).to be_frozen
7
+ end
8
+ end
data/spec/rails_helper.rb CHANGED
@@ -1,7 +1,9 @@
1
1
  ENV["RAILS_ENV"] = "test"
2
+ require "logger"
3
+ require "active_support"
2
4
  rails_version = Gem.loaded_specs["rails"].version.to_s[/^\d\.\d/]
3
- # Modern Rails uses the same minimal integration app as Rails 6.
4
- rails_version = "6.0" if Gem.loaded_specs["rails"].version >= Gem::Version.new("7.0")
5
+ # Later Rails versions use the same minimal integration app as Rails 6.
6
+ rails_version = "6.0" if Gem.loaded_specs["rails"].version >= Gem::Version.new("6.0")
5
7
  if Gem.loaded_specs["rails"].version >= Gem::Version.new("5.2")
6
8
  require "active_support/message_encryptor"
7
9
  end
@@ -0,0 +1,85 @@
1
+ # frozen_string_literal: true
2
+
3
+ if RUBY_ENGINE == "ruby" && Gem::Version.new(RUBY_VERSION) >= Gem::Version.new("3.3") &&
4
+ Gem.loaded_specs.key?("ruby-gem-release")
5
+ require_relative "../../script/release"
6
+ require "ruby-gem-release/rspec"
7
+
8
+ RSpec.describe MongoSessionStoreRelease do
9
+ include RubyGemRelease::RSpec
10
+
11
+ let(:root) { File.expand_path("../..", __dir__) }
12
+ let(:version_path) { "lib/mongo_session_store/version.rb" }
13
+ let(:placeholder) { "* Your contribution here." }
14
+ let(:note) { "* [#1](https://github.com/mongoid/mongo_session_store/pull/1): Added a feature." }
15
+ let(:fixture_files) do
16
+ %w[
17
+ mongo_session_store.gemspec script/release.rb lib/**/*.rb CHANGELOG.md
18
+ CONTRIBUTING.md LICENSE README.md RELEASING.md
19
+ ]
20
+ end
21
+
22
+ def changelog(notes)
23
+ [
24
+ "### 1.2.0 (Next)", "", notes, placeholder, "",
25
+ "### 1.1.0 (2026/01/01)", "", "* Previous release.", ""
26
+ ].join("\n")
27
+ end
28
+
29
+ def write_version(project, version)
30
+ source = File.read(File.join(root, version_path))
31
+ project.write(version_path,
32
+ source.sub(/VERSION = (['"])[^'"]+\1/, "VERSION = \"#{version}\""))
33
+ end
34
+
35
+ def prepare(project, notes)
36
+ project.environment.merge!(ENV.to_h.slice("MONGOID_VERSION", "RAILS_VERSION",
37
+ "SQLITE_VERSION"))
38
+ project.copy_files(:path => root, :files => fixture_files)
39
+ project.configure_workflow(:require => "script/release",
40
+ :builder => "MongoSessionStoreRelease.workflow")
41
+ project.write("CHANGELOG.md", changelog(notes))
42
+ write_version(project, "1.2.0")
43
+ project.commit!
44
+ end
45
+
46
+ def with_project(notes)
47
+ with_release_project do |project|
48
+ prepare(project, notes)
49
+ yield project
50
+ end
51
+ end
52
+
53
+ it "builds the standard ruby-gem-release workflow" do
54
+ expect(described_class.workflow).to be_a(RubyGemRelease::Workflow::RubyGem)
55
+ end
56
+
57
+ it "dates the release and prepares the next patch version" do
58
+ with_project(note) do |project|
59
+ project.release!
60
+
61
+ released = project.remote_file("v1.2.0", "CHANGELOG.md")
62
+ expect(released).to match(%r{\A### 1\.2\.0 \(\d{4}/\d{2}/\d{2}\)\n\n})
63
+ expect(released).to include(note)
64
+ expect(released).not_to include("(Next)", placeholder)
65
+ expect(project.remote_file("v1.2.0", version_path)).to include('VERSION = "1.2.0"')
66
+ pending = project.remote_file("master", "CHANGELOG.md")
67
+ expect(pending).to start_with("### 1.2.1 (Next)\n\n#{placeholder}\n\n### 1.2.0 (")
68
+ expect(project.remote_file("master", version_path)).to include('VERSION = "1.2.1"')
69
+ expect(project.git("status", "--porcelain")).to be_empty
70
+ end
71
+ end
72
+
73
+ it "rejects placeholder-only notes without changing files or remote refs" do
74
+ with_project("") do |project|
75
+ original = project.git("rev-parse", "origin/master")
76
+ project.run_task("release:workflow:capture")
77
+
78
+ expect { project.run_task("release:validate") }
79
+ .to raise_error(RuntimeError, /no pending changelog notes/)
80
+ expect(project.git("status", "--porcelain")).to be_empty
81
+ expect(project.git("rev-parse", "origin/master")).to eq(original)
82
+ end
83
+ end
84
+ end
85
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,3 +1,12 @@
1
+ if ENV["COVERAGE"] == "true"
2
+ require "simplecov"
3
+ SimpleCov.command_name "RSpec #{Gem.loaded_specs.key?("mongoid") ? "Mongoid" : "Mongo"}"
4
+ SimpleCov.start do
5
+ track_files "lib/**/*.rb"
6
+ add_filter "/spec/"
7
+ end
8
+ end
9
+
1
10
  require "logger"
2
11
  require "mongo"
3
12
  require "mongoid" if Gem.loaded_specs["mongoid"]
@@ -29,6 +38,7 @@ RSpec.configure do |config|
29
38
  Mongo::Logger.logger.level = ::Logger::INFO
30
39
 
31
40
  mongodb_host = ENV["MONGODB_HOST"] || "127.0.0.1"
41
+ mongodb_port = ENV["MONGODB_PORT"] || "27017"
32
42
  if mongo_orm == "mongoid"
33
43
  Mongoid.logger.level = Logger::INFO
34
44
  Mongoid.configure do |c|
@@ -36,14 +46,14 @@ RSpec.configure do |config|
36
46
  "clients" => {
37
47
  "default" => {
38
48
  "database" => TestDatabaseHelper.test_database_name,
39
- "hosts" => ["#{mongodb_host}:27017"]
49
+ "hosts" => ["#{mongodb_host}:#{mongodb_port}"]
40
50
  }
41
51
  }
42
52
  )
43
53
  end
44
54
  else
45
55
  MongoStore::Session.database = Mongo::Client.new(
46
- ["#{mongodb_host}:27017"],
56
+ ["#{mongodb_host}:#{mongodb_port}"],
47
57
  :database => TestDatabaseHelper.test_database_name
48
58
  )
49
59
  end
@@ -6,9 +6,7 @@ module TestDatabaseHelper
6
6
  when "mongoid"
7
7
  MongoidStore::Session.mongo_client
8
8
  when "mongo"
9
- Mongo::Client
10
- .new(["127.0.0.1:27017"], :database => test_database_name)
11
- .database
9
+ MongoStore::Session.database.database
12
10
  end
13
11
  end
14
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongo_session_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.2
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom de Bruijn
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2026-10-15 00:00:00.000000000 Z
15
+ date: 2026-11-24 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: actionpack
@@ -94,10 +94,15 @@ files:
94
94
  - ".github/workflows/ci.yml"
95
95
  - ".github/workflows/danger-comment.yml"
96
96
  - ".github/workflows/danger.yml"
97
+ - ".github/workflows/lint.yml"
98
+ - ".github/workflows/release.yml"
97
99
  - ".gitignore"
98
100
  - ".rspec"
99
101
  - ".rubocop.yml"
102
+ - ".rubocop_todo.yml"
103
+ - ".spellcheck.txt"
100
104
  - CHANGELOG.md
105
+ - CONTRIBUTING.md
101
106
  - Dangerfile
102
107
  - Gemfile
103
108
  - Gemfile.danger
@@ -116,6 +121,8 @@ files:
116
121
  - gemfiles/rails-6.0-mongoid.gemfile
117
122
  - gemfiles/rails-8.1-mongo.gemfile
118
123
  - gemfiles/rails-8.1-mongoid.gemfile
124
+ - gemfiles/rails-current-mongo.gemfile
125
+ - gemfiles/rails-current-mongoid.gemfile
119
126
  - lib/mongo_session_store.rb
120
127
  - lib/mongo_session_store/mongo_store.rb
121
128
  - lib/mongo_session_store/mongo_store_base.rb
@@ -123,19 +130,25 @@ files:
123
130
  - lib/mongo_session_store/version.rb
124
131
  - mongo_session_store.gemspec
125
132
  - perf/benchmark.rb
133
+ - script/release.rb
126
134
  - script/test
127
135
  - script/test_inner
128
136
  - script/testenv
129
137
  - spec/.rubocop.yml
130
138
  - spec/integrations/devise_spec.rb
131
139
  - spec/integrations/rack_spec.rb
140
+ - spec/lib/mongo_session_store/legacy_serialization_spec.rb
132
141
  - spec/lib/mongo_session_store/mongo_store/session_spec.rb
133
142
  - spec/lib/mongo_session_store/mongo_store_base_spec.rb
134
143
  - spec/lib/mongo_session_store/mongo_store_spec.rb
135
144
  - spec/lib/mongo_session_store/mongoid_store/session_spec.rb
136
145
  - spec/lib/mongo_session_store/mongoid_store_spec.rb
146
+ - spec/lib/mongo_session_store/serialization_spec.rb
147
+ - spec/lib/mongo_session_store/stale_sessions_spec.rb
148
+ - spec/lib/mongo_session_store/version_spec.rb
137
149
  - spec/lib/mongo_session_store_spec.rb
138
150
  - spec/rails_helper.rb
151
+ - spec/release/release_spec.rb
139
152
  - spec/spec_helper.rb
140
153
  - spec/support/apps/rails_5.0_app/Rakefile
141
154
  - spec/support/apps/rails_5.0_app/app/controllers/application_controller.rb
@@ -265,7 +278,8 @@ files:
265
278
  homepage: http://github.com/mongoid/mongo_session_store
266
279
  licenses:
267
280
  - MIT
268
- metadata: {}
281
+ metadata:
282
+ rubygems_mfa_required: 'true'
269
283
  post_install_message:
270
284
  rdoc_options: []
271
285
  require_paths:
@@ -281,144 +295,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
281
295
  - !ruby/object:Gem::Version
282
296
  version: '0'
283
297
  requirements: []
284
- rubygems_version: 3.5.16
298
+ rubygems_version: 3.5.22
285
299
  signing_key:
286
300
  specification_version: 4
287
301
  summary: Rails session stores for Mongoid, or any other ODM. Rails 4 compatible.
288
- test_files:
289
- - perf/benchmark.rb
290
- - spec/integrations/devise_spec.rb
291
- - spec/integrations/rack_spec.rb
292
- - spec/lib/mongo_session_store/mongo_store/session_spec.rb
293
- - spec/lib/mongo_session_store/mongo_store_base_spec.rb
294
- - spec/lib/mongo_session_store/mongo_store_spec.rb
295
- - spec/lib/mongo_session_store/mongoid_store/session_spec.rb
296
- - spec/lib/mongo_session_store/mongoid_store_spec.rb
297
- - spec/lib/mongo_session_store_spec.rb
298
- - spec/rails_helper.rb
299
- - spec/spec_helper.rb
300
- - spec/support/apps/rails_5.0_app/Rakefile
301
- - spec/support/apps/rails_5.0_app/app/controllers/application_controller.rb
302
- - spec/support/apps/rails_5.0_app/app/controllers/home_controller.rb
303
- - spec/support/apps/rails_5.0_app/app/models/application_record.rb
304
- - spec/support/apps/rails_5.0_app/app/models/user.rb
305
- - spec/support/apps/rails_5.0_app/app/views/home/index.html.erb
306
- - spec/support/apps/rails_5.0_app/app/views/layouts/application.html.erb
307
- - spec/support/apps/rails_5.0_app/bin/bundle
308
- - spec/support/apps/rails_5.0_app/bin/rails
309
- - spec/support/apps/rails_5.0_app/bin/rake
310
- - spec/support/apps/rails_5.0_app/bin/setup
311
- - spec/support/apps/rails_5.0_app/bin/update
312
- - spec/support/apps/rails_5.0_app/config.ru
313
- - spec/support/apps/rails_5.0_app/config/application.rb
314
- - spec/support/apps/rails_5.0_app/config/boot.rb
315
- - spec/support/apps/rails_5.0_app/config/database.yml
316
- - spec/support/apps/rails_5.0_app/config/environment.rb
317
- - spec/support/apps/rails_5.0_app/config/environments/development.rb
318
- - spec/support/apps/rails_5.0_app/config/environments/test.rb
319
- - spec/support/apps/rails_5.0_app/config/initializers/devise.rb
320
- - spec/support/apps/rails_5.0_app/config/initializers/session_store.rb
321
- - spec/support/apps/rails_5.0_app/config/locales/en.yml
322
- - spec/support/apps/rails_5.0_app/config/mongo.yml
323
- - spec/support/apps/rails_5.0_app/config/mongoid.yml
324
- - spec/support/apps/rails_5.0_app/config/routes.rb
325
- - spec/support/apps/rails_5.0_app/config/secrets.yml
326
- - spec/support/apps/rails_5.0_app/db/migrate/20140301171212_add_devise_users.rb
327
- - spec/support/apps/rails_5.0_app/db/schema.rb
328
- - spec/support/apps/rails_5.0_app/log/.keep
329
- - spec/support/apps/rails_5.1_app/Rakefile
330
- - spec/support/apps/rails_5.1_app/app/controllers/application_controller.rb
331
- - spec/support/apps/rails_5.1_app/app/controllers/home_controller.rb
332
- - spec/support/apps/rails_5.1_app/app/models/application_record.rb
333
- - spec/support/apps/rails_5.1_app/app/models/user.rb
334
- - spec/support/apps/rails_5.1_app/app/views/home/index.html.erb
335
- - spec/support/apps/rails_5.1_app/app/views/layouts/application.html.erb
336
- - spec/support/apps/rails_5.1_app/bin/bundle
337
- - spec/support/apps/rails_5.1_app/bin/rails
338
- - spec/support/apps/rails_5.1_app/bin/rake
339
- - spec/support/apps/rails_5.1_app/bin/setup
340
- - spec/support/apps/rails_5.1_app/bin/update
341
- - spec/support/apps/rails_5.1_app/config.ru
342
- - spec/support/apps/rails_5.1_app/config/application.rb
343
- - spec/support/apps/rails_5.1_app/config/boot.rb
344
- - spec/support/apps/rails_5.1_app/config/database.yml
345
- - spec/support/apps/rails_5.1_app/config/environment.rb
346
- - spec/support/apps/rails_5.1_app/config/environments/development.rb
347
- - spec/support/apps/rails_5.1_app/config/environments/test.rb
348
- - spec/support/apps/rails_5.1_app/config/initializers/devise.rb
349
- - spec/support/apps/rails_5.1_app/config/initializers/session_store.rb
350
- - spec/support/apps/rails_5.1_app/config/locales/en.yml
351
- - spec/support/apps/rails_5.1_app/config/mongo.yml
352
- - spec/support/apps/rails_5.1_app/config/mongoid.yml
353
- - spec/support/apps/rails_5.1_app/config/routes.rb
354
- - spec/support/apps/rails_5.1_app/config/secrets.yml
355
- - spec/support/apps/rails_5.1_app/db/migrate/20140301171212_add_devise_users.rb
356
- - spec/support/apps/rails_5.1_app/db/schema.rb
357
- - spec/support/apps/rails_5.1_app/log/.keep
358
- - spec/support/apps/rails_5.2_app/Rakefile
359
- - spec/support/apps/rails_5.2_app/app/controllers/application_controller.rb
360
- - spec/support/apps/rails_5.2_app/app/controllers/home_controller.rb
361
- - spec/support/apps/rails_5.2_app/app/models/application_record.rb
362
- - spec/support/apps/rails_5.2_app/app/models/user.rb
363
- - spec/support/apps/rails_5.2_app/app/views/home/index.html.erb
364
- - spec/support/apps/rails_5.2_app/app/views/layouts/application.html.erb
365
- - spec/support/apps/rails_5.2_app/bin/bundle
366
- - spec/support/apps/rails_5.2_app/bin/rails
367
- - spec/support/apps/rails_5.2_app/bin/rake
368
- - spec/support/apps/rails_5.2_app/bin/setup
369
- - spec/support/apps/rails_5.2_app/bin/update
370
- - spec/support/apps/rails_5.2_app/config.ru
371
- - spec/support/apps/rails_5.2_app/config/application.rb
372
- - spec/support/apps/rails_5.2_app/config/boot.rb
373
- - spec/support/apps/rails_5.2_app/config/database.yml
374
- - spec/support/apps/rails_5.2_app/config/environment.rb
375
- - spec/support/apps/rails_5.2_app/config/environments/development.rb
376
- - spec/support/apps/rails_5.2_app/config/environments/test.rb
377
- - spec/support/apps/rails_5.2_app/config/initializers/devise.rb
378
- - spec/support/apps/rails_5.2_app/config/initializers/session_store.rb
379
- - spec/support/apps/rails_5.2_app/config/locales/en.yml
380
- - spec/support/apps/rails_5.2_app/config/mongo.yml
381
- - spec/support/apps/rails_5.2_app/config/mongoid.yml
382
- - spec/support/apps/rails_5.2_app/config/routes.rb
383
- - spec/support/apps/rails_5.2_app/config/secrets.yml
384
- - spec/support/apps/rails_5.2_app/db/migrate/20140301171212_add_devise_users.rb
385
- - spec/support/apps/rails_5.2_app/db/schema.rb
386
- - spec/support/apps/rails_5.2_app/log/.keep
387
- - spec/support/apps/rails_6.0_app/Rakefile
388
- - spec/support/apps/rails_6.0_app/app/controllers/application_controller.rb
389
- - spec/support/apps/rails_6.0_app/app/controllers/home_controller.rb
390
- - spec/support/apps/rails_6.0_app/app/models/application_record.rb
391
- - spec/support/apps/rails_6.0_app/app/models/user.rb
392
- - spec/support/apps/rails_6.0_app/app/views/home/index.html.erb
393
- - spec/support/apps/rails_6.0_app/app/views/layouts/application.html.erb
394
- - spec/support/apps/rails_6.0_app/bin/rails
395
- - spec/support/apps/rails_6.0_app/bin/rake
396
- - spec/support/apps/rails_6.0_app/bin/setup
397
- - spec/support/apps/rails_6.0_app/config.ru
398
- - spec/support/apps/rails_6.0_app/config/application.rb
399
- - spec/support/apps/rails_6.0_app/config/boot.rb
400
- - spec/support/apps/rails_6.0_app/config/credentials.yml.enc
401
- - spec/support/apps/rails_6.0_app/config/database.yml
402
- - spec/support/apps/rails_6.0_app/config/environment.rb
403
- - spec/support/apps/rails_6.0_app/config/environments/development.rb
404
- - spec/support/apps/rails_6.0_app/config/environments/test.rb
405
- - spec/support/apps/rails_6.0_app/config/initializers/cookies_serializer.rb
406
- - spec/support/apps/rails_6.0_app/config/initializers/devise.rb
407
- - spec/support/apps/rails_6.0_app/config/initializers/filter_parameter_logging.rb
408
- - spec/support/apps/rails_6.0_app/config/initializers/session_store.rb
409
- - spec/support/apps/rails_6.0_app/config/initializers/wrap_parameters.rb
410
- - spec/support/apps/rails_6.0_app/config/locales/devise.en.yml
411
- - spec/support/apps/rails_6.0_app/config/locales/en.yml
412
- - spec/support/apps/rails_6.0_app/config/master.key
413
- - spec/support/apps/rails_6.0_app/config/mongo.yml
414
- - spec/support/apps/rails_6.0_app/config/mongoid.yml
415
- - spec/support/apps/rails_6.0_app/config/routes.rb
416
- - spec/support/apps/rails_6.0_app/db/migrate/20200427115501_add_devise_users.rb
417
- - spec/support/apps/rails_6.0_app/db/schema.rb
418
- - spec/support/apps/rails_6.0_app/db/seeds.rb
419
- - spec/support/apps/rails_6.0_app/lib/assets/.keep
420
- - spec/support/apps/rails_6.0_app/lib/tasks/.keep
421
- - spec/support/apps/rails_6.0_app/log/.keep
422
- - spec/support/helpers/session_id_helper.rb
423
- - spec/support/helpers/test_database_helper.rb
424
- - spec/support/rack_app.rb
302
+ test_files: []