frikandel 1.0.0 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -11,6 +11,8 @@ Bundler.require(*Rails.groups)
11
11
  require "frikandel"
12
12
 
13
13
  module Dummy
14
+ RAILS_GEM_VERSION = Gem::Version.new(Rails::VERSION::STRING).freeze
15
+
14
16
  class Application < Rails::Application
15
17
  # Settings in config/environments/* take precedence over those specified here.
16
18
  # Application configuration should go into files in config/initializers
@@ -5,21 +5,21 @@
5
5
  # gem 'sqlite3'
6
6
  development:
7
7
  adapter: sqlite3
8
- database: db/development.sqlite3
8
+ database: ":memory:"
9
9
  pool: 5
10
- timeout: 5000
10
+ timeout: 500
11
11
 
12
12
  # Warning: The database defined as "test" will be erased and
13
13
  # re-generated from your development database when you run "rake".
14
14
  # Do not set this db to the same as development or production.
15
15
  test:
16
16
  adapter: sqlite3
17
- database: db/test.sqlite3
17
+ database: ":memory:"
18
18
  pool: 5
19
- timeout: 5000
19
+ timeout: 500
20
20
 
21
21
  production:
22
22
  adapter: sqlite3
23
- database: db/production.sqlite3
23
+ database: ":memory:"
24
24
  pool: 5
25
- timeout: 5000
25
+ timeout: 500
@@ -13,8 +13,13 @@ Dummy::Application.configure do
13
13
  config.eager_load = false
14
14
 
15
15
  # Configure static asset server for tests with Cache-Control for performance.
16
- config.serve_static_assets = true
17
- config.static_cache_control = "public, max-age=3600"
16
+ if Dummy::RAILS_GEM_VERSION < Gem::Version.new('5.0.0')
17
+ config.serve_static_assets = true
18
+ config.static_cache_control = "public, max-age=3600"
19
+ else
20
+ config.public_file_server.enabled = true
21
+ config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
22
+ end
18
23
 
19
24
  # Show full error reports and disable caching.
20
25
  config.consider_all_requests_local = true
@@ -1,43 +1,43 @@
1
- require "spec_helper"
1
+ require "rails_helper"
2
2
 
3
- describe Frikandel::Configuration do
3
+ RSpec.describe Frikandel::Configuration do
4
4
 
5
5
  it "is a singleton" do
6
- Frikandel::Configuration.should respond_to :instance
7
- Frikandel::Configuration.instance.should be_a Frikandel::Configuration
8
- Frikandel::Configuration.instance.should be_equal Frikandel::Configuration.instance
6
+ expect(Frikandel::Configuration).to respond_to :instance
7
+ expect(Frikandel::Configuration.instance).to be_a Frikandel::Configuration
8
+ expect(Frikandel::Configuration.instance).to be_equal Frikandel::Configuration.instance
9
9
  end
10
10
 
11
11
  it "delegates max_ttl and max_ttl= to the singleton instance" do
12
- Frikandel::Configuration.instance.should_receive(:max_ttl).and_return(:some_max_ttl)
13
- Frikandel::Configuration.instance.should_receive(:max_ttl=).with(:some_value).and_return(:some_max_ttl=)
12
+ expect(Frikandel::Configuration.instance).to receive(:max_ttl).and_return(:some_max_ttl)
13
+ expect(Frikandel::Configuration.instance).to receive(:max_ttl=).with(:some_value).and_return(:some_max_ttl=)
14
14
 
15
- Frikandel::Configuration.max_ttl.should eq :some_max_ttl
16
- Frikandel::Configuration.send(:max_ttl=, :some_value).should eq :some_max_ttl=
15
+ expect(Frikandel::Configuration.max_ttl).to eq :some_max_ttl
16
+ expect(Frikandel::Configuration.send(:max_ttl=, :some_value)).to eq :some_max_ttl=
17
17
  end
18
18
 
19
19
  it "delegates ttl and ttl= to the singleton instance" do
20
- Frikandel::Configuration.instance.should_receive(:ttl).and_return(:some_ttl)
21
- Frikandel::Configuration.instance.should_receive(:ttl=).with(:some_value).and_return(:some_ttl=)
20
+ expect(Frikandel::Configuration.instance).to receive(:ttl).and_return(:some_ttl)
21
+ expect(Frikandel::Configuration.instance).to receive(:ttl=).with(:some_value).and_return(:some_ttl=)
22
22
 
23
- Frikandel::Configuration.ttl.should eq :some_ttl
24
- Frikandel::Configuration.send(:ttl=, :some_value).should eq :some_ttl=
23
+ expect(Frikandel::Configuration.ttl).to eq :some_ttl
24
+ expect(Frikandel::Configuration.send(:ttl=, :some_value)).to eq :some_ttl=
25
25
  end
26
26
 
27
27
  it "has 24 hours as default-max_ttl" do
28
- Frikandel::Configuration.max_ttl.should eq 24.hours
28
+ expect(Frikandel::Configuration.max_ttl).to eq 24.hours
29
29
  end
30
30
 
31
31
  it "has 2 hours as default-ttl" do
32
- Frikandel::Configuration.ttl.should eq 2.hours
32
+ expect(Frikandel::Configuration.ttl).to eq 2.hours
33
33
  end
34
34
 
35
35
  it "ttls can be set" do
36
36
  Frikandel::Configuration.max_ttl = 50.hours
37
37
  Frikandel::Configuration.ttl = 5.hours
38
38
 
39
- Frikandel::Configuration.max_ttl.should eq 50.hours
40
- Frikandel::Configuration.ttl.should eq 5.hours
39
+ expect(Frikandel::Configuration.max_ttl).to eq 50.hours
40
+ expect(Frikandel::Configuration.ttl).to eq 5.hours
41
41
  end
42
42
 
43
43
  end
@@ -0,0 +1,76 @@
1
+ # This file is copied to spec/ when you run 'rails generate rspec:install'
2
+ ENV['RAILS_ENV'] ||= 'test'
3
+ require File.expand_path("../dummy/config/environment", __FILE__)
4
+ # Prevent database truncation if the environment is production
5
+ abort("The Rails environment is running in production mode!") if Rails.env.production?
6
+ require 'spec_helper'
7
+ require 'rspec/rails'
8
+ # Add additional requires below this line. Rails is not loaded until this point!
9
+
10
+ # Requires supporting ruby files with custom matchers and macros, etc, in
11
+ # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are
12
+ # run as spec files by default. This means that files in spec/support that end
13
+ # in _spec.rb will both be required and run as specs, causing the specs to be
14
+ # run twice. It is recommended that you do not name files matching this glob to
15
+ # end with _spec.rb. You can configure this pattern with the --pattern
16
+ # option on the command line or in ~/.rspec, .rspec or `.rspec-local`.
17
+ #
18
+ # The following line is provided for convenience purposes. It has the downside
19
+ # of increasing the boot-up time by auto-requiring all files in the support
20
+ # directory. Alternatively, in the individual `*_spec.rb` files, manually
21
+ # require only the support files necessary.
22
+ #
23
+ # Dir[Rails.root.join('spec/support/**/*.rb')].each { |f| require f }
24
+
25
+ if Dummy::RAILS_GEM_VERSION > Gem::Version.new('4.1.0')
26
+ # Checks for pending migration and applies them before tests are run.
27
+ # If you are not using ActiveRecord, you can remove this line.
28
+ ActiveRecord::Migration.maintain_test_schema!
29
+ end
30
+
31
+ RSpec.configure do |config|
32
+ # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
33
+ config.fixture_path = "#{::Rails.root}/spec/fixtures"
34
+
35
+ # If you're not using ActiveRecord, or you'd prefer not to run each of your
36
+ # examples within a transaction, remove the following line or assign false
37
+ # instead of true.
38
+ config.use_transactional_fixtures = true
39
+
40
+ # RSpec Rails can automatically mix in different behaviours to your tests
41
+ # based on their file location, for example enabling you to call `get` and
42
+ # `post` in specs under `spec/controllers`.
43
+ #
44
+ # You can disable this behaviour by removing the line below, and instead
45
+ # explicitly tag your specs with their type, e.g.:
46
+ #
47
+ # RSpec.describe UsersController, :type => :controller do
48
+ # # ...
49
+ # end
50
+ #
51
+ # The different available types are documented in the features, such as in
52
+ # https://relishapp.com/rspec/rspec-rails/docs
53
+ config.infer_spec_type_from_file_location!
54
+
55
+ # Filter lines from Rails gems in backtraces.
56
+ config.filter_rails_from_backtrace!
57
+ # arbitrary gems may also be filtered via:
58
+ # config.filter_gems_from_backtrace("gem name")
59
+ end
60
+
61
+
62
+ # some helper methods
63
+
64
+ def simulate_redirect!(from_action, to_action)
65
+ get from_action.intern
66
+ from_flash = request.flash # HACK for RAILS_VERSION=3.2.0
67
+
68
+ controller.instance_variable_set(:@_frikandel_did_reset_session, nil) # reset state for redirect request
69
+
70
+ get to_action.intern
71
+ request.flash.update(from_flash.to_hash) # HACK for RAILS_VERSION=3.2.0
72
+ end
73
+
74
+ def flash
75
+ request.flash
76
+ end
@@ -1,20 +1,101 @@
1
- ENV["RAILS_ENV"] ||= 'test'
2
- require File.expand_path("../dummy/config/environment", __FILE__)
3
- require 'rspec/rails'
4
1
  require 'pry'
5
2
 
3
+ # This file was generated by the `rails generate rspec:install` command. Conventionally, all
4
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
5
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
6
+ # this file to always be loaded, without a need to explicitly require it in any
7
+ # files.
8
+ #
9
+ # Given that it is always loaded, you are encouraged to keep this file as
10
+ # light-weight as possible. Requiring heavyweight dependencies from this file
11
+ # will add to the boot time of your test suite on EVERY test run, even for an
12
+ # individual file that may not need all of that loaded. Instead, consider making
13
+ # a separate helper file that requires the additional dependencies and performs
14
+ # the additional setup, and require it from the spec files that actually need
15
+ # it.
16
+ #
17
+ # The `.rspec` file also contains a few flags that are not defaults but that
18
+ # users commonly want.
19
+ #
6
20
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
7
21
  RSpec.configure do |config|
8
- config.treat_symbols_as_metadata_keys_with_true_values = true
9
- config.run_all_when_everything_filtered = true
10
- config.filter_run :focus
22
+ # rspec-expectations config goes here. You can use an alternate
23
+ # assertion/expectation library such as wrong or the stdlib/minitest
24
+ # assertions if you prefer.
25
+ config.expect_with :rspec do |expectations|
26
+ # This option will default to `true` in RSpec 4. It makes the `description`
27
+ # and `failure_message` of custom matchers include text for helper methods
28
+ # defined using `chain`, e.g.:
29
+ # be_bigger_than(2).and_smaller_than(4).description
30
+ # # => "be bigger than 2 and smaller than 4"
31
+ # ...rather than:
32
+ # # => "be bigger than 2"
33
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
34
+ end
35
+
36
+ # rspec-mocks config goes here. You can use an alternate test double
37
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
38
+ config.mock_with :rspec do |mocks|
39
+ # Prevents you from mocking or stubbing a method that does not exist on
40
+ # a real object. This is generally recommended, and will default to
41
+ # `true` in RSpec 4.
42
+ mocks.verify_partial_doubles = true
43
+ end
44
+
45
+ # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
46
+ # have no way to turn it off -- the option exists only for backwards
47
+ # compatibility in RSpec 3). It causes shared context metadata to be
48
+ # inherited by the metadata hash of host groups and examples, rather than
49
+ # triggering implicit auto-inclusion in groups with matching metadata.
50
+ config.shared_context_metadata_behavior = :apply_to_host_groups
51
+
52
+ # This allows you to limit a spec run to individual examples or groups
53
+ # you care about by tagging them with `:focus` metadata. When nothing
54
+ # is tagged with `:focus`, all examples get run. RSpec also provides
55
+ # aliases for `it`, `describe`, and `context` that include `:focus`
56
+ # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
57
+ config.filter_run_when_matching :focus
58
+
59
+ # Allows RSpec to persist some state between runs in order to support
60
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
61
+ # you configure your source control system to ignore this file.
62
+ #config.example_status_persistence_file_path = "spec/examples.txt"
63
+
64
+ # Limits the available syntax to the non-monkey patched syntax that is
65
+ # recommended. For more details, see:
66
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
67
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
68
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
69
+ config.disable_monkey_patching!
70
+
71
+ # Many RSpec users commonly either run the entire suite or an individual
72
+ # file, and it's useful to allow more verbose output when running an
73
+ # individual spec file.
74
+ if config.files_to_run.one?
75
+ # Use the documentation formatter for detailed output,
76
+ # unless a formatter has already been configured
77
+ # (e.g. via a command-line flag).
78
+ config.default_formatter = 'doc'
79
+ end
80
+
81
+ # Print the 10 slowest examples and example groups at the
82
+ # end of the spec run, to help surface which specs are running
83
+ # particularly slow.
84
+ #config.profile_examples = 10
11
85
 
12
86
  # Run specs in random order to surface order dependencies. If you find an
13
87
  # order dependency and want to debug it, you can fix the order by providing
14
88
  # the seed, which is printed after each run.
15
89
  # --seed 1234
16
- config.order = 'random'
90
+ config.order = :random
91
+
92
+ # Seed global randomization in this process using the `--seed` CLI option.
93
+ # Setting this allows you to use `--seed` to deterministically reproduce
94
+ # test failures related to randomization by passing the same `--seed` value
95
+ # as the one that triggered the failure.
96
+ Kernel.srand config.seed
17
97
 
98
+ # Frikandel
18
99
  config.before(:each) do
19
100
  Frikandel::Configuration.defaults!
20
101
  end
@@ -1,16 +1,24 @@
1
-
2
1
  Rails.application.routes.draw do
3
- get "/home" => "application#home", as: :root
4
- get "/customized_controller_home" => "customized_on_expired_session#home", as: :customized_controller_home
2
+ root to: "application#home"
3
+ get "/limit_session_lifetime_home" => "limit_session_lifetime#home", :as => :limit_session_lifetime_home
4
+ get "/limit_session_lifetime_redirect_home" => "limit_session_lifetime#redirect_home"
5
+ get "/bind_session_to_ip_address_home" => "bind_session_to_ip_address#home", :as => :bind_session_to_ip_address_home
6
+ get "/bind_session_to_ip_address_redirect_home" => "bind_session_to_ip_address#redirect_home"
7
+ get "/combined_controller_home" => "combined#home", :as => :combined_home
8
+ get "/combined_controller_redirect_home" => "combined#redirect_home"
9
+ get "/customized_controller_home" => "customized_on_invalid_session#home", :as => :customized_controller_home
5
10
  end
6
11
 
7
12
 
8
13
  class ApplicationController < ActionController::Base
9
- include Frikandel::LimitSessionLifetime
10
-
11
14
  protect_from_forgery with: :exception
12
15
 
13
16
  def home
14
- render text: "testing"
17
+
18
+ if Rails::VERSION::MAJOR >= 5
19
+ render plain: "testing"
20
+ else
21
+ render text: "testing"
22
+ end
15
23
  end
16
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: frikandel
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taktsoft
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-07 00:00:00.000000000 Z
11
+ date: 2020-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -54,6 +54,26 @@ dependencies:
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ - - "<"
63
+ - !ruby/object:Gem::Version
64
+ version: '3.6'
65
+ type: :development
66
+ prerelease: false
67
+ version_requirements: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">"
70
+ - !ruby/object:Gem::Version
71
+ version: '3.0'
72
+ - - "<"
73
+ - !ruby/object:Gem::Version
74
+ version: '3.6'
75
+ - !ruby/object:Gem::Dependency
76
+ name: guard-rspec
57
77
  requirement: !ruby/object:Gem::Requirement
58
78
  requirements:
59
79
  - - ">="
@@ -67,7 +87,7 @@ dependencies:
67
87
  - !ruby/object:Gem::Version
68
88
  version: '0'
69
89
  - !ruby/object:Gem::Dependency
70
- name: guard-rspec
90
+ name: pry
71
91
  requirement: !ruby/object:Gem::Requirement
72
92
  requirements:
73
93
  - - ">="
@@ -81,7 +101,7 @@ dependencies:
81
101
  - !ruby/object:Gem::Version
82
102
  version: '0'
83
103
  - !ruby/object:Gem::Dependency
84
- name: pry
104
+ name: test-unit
85
105
  requirement: !ruby/object:Gem::Requirement
86
106
  requirements:
87
107
  - - ">="
@@ -103,7 +123,7 @@ dependencies:
103
123
  version: 3.2.0
104
124
  - - "<"
105
125
  - !ruby/object:Gem::Version
106
- version: '5.0'
126
+ version: '6.0'
107
127
  type: :runtime
108
128
  prerelease: false
109
129
  version_requirements: !ruby/object:Gem::Requirement
@@ -113,7 +133,7 @@ dependencies:
113
133
  version: 3.2.0
114
134
  - - "<"
115
135
  - !ruby/object:Gem::Version
116
- version: '5.0'
136
+ version: '6.0'
117
137
  description: This gem adds a ttl to the session cookie of your application.
118
138
  email:
119
139
  - developers@taktsoft.com
@@ -125,16 +145,29 @@ files:
125
145
  - ".rspec"
126
146
  - ".travis.yml"
127
147
  - Gemfile
148
+ - Gemfile.rails-3.2.x
149
+ - Gemfile.rails-4.0.x
150
+ - Gemfile.rails-4.1.x
151
+ - Gemfile.rails-4.2.x
152
+ - Gemfile.rails-5.0.x
153
+ - Gemfile.rails-5.1.x
154
+ - Gemfile.rails-5.2.x
155
+ - Gemfile.rails-head
128
156
  - Guardfile
129
157
  - LICENSE.txt
130
158
  - README.md
131
159
  - Rakefile
132
160
  - frikandel.gemspec
133
161
  - lib/frikandel.rb
162
+ - lib/frikandel/bind_session_to_ip_address.rb
134
163
  - lib/frikandel/configuration.rb
164
+ - lib/frikandel/limit_session_lifetime.rb
165
+ - lib/frikandel/session_invalidation.rb
135
166
  - lib/frikandel/version.rb
136
- - spec/controllers/application_controller_spec.rb
137
- - spec/controllers/customized_on_expired_cookie_controller_spec.rb
167
+ - spec/controllers/bind_session_to_ip_address_controller_spec.rb
168
+ - spec/controllers/combined_controller_spec.rb
169
+ - spec/controllers/customized_on_invalid_session_controller_spec.rb
170
+ - spec/controllers/limit_session_lifetime_controller_spec.rb
138
171
  - spec/dummy/README.rdoc
139
172
  - spec/dummy/Rakefile
140
173
  - spec/dummy/app/assets/images/.keep
@@ -167,21 +200,22 @@ files:
167
200
  - spec/dummy/config/initializers/wrap_parameters.rb
168
201
  - spec/dummy/config/locales/en.yml
169
202
  - spec/dummy/config/routes.rb
170
- - spec/dummy/db/test.sqlite3
171
203
  - spec/dummy/lib/assets/.keep
204
+ - spec/dummy/log/development.log
172
205
  - spec/dummy/log/test.log
173
206
  - spec/dummy/public/404.html
174
207
  - spec/dummy/public/422.html
175
208
  - spec/dummy/public/500.html
176
209
  - spec/dummy/public/favicon.ico
177
210
  - spec/lib/frikandel/configuration_spec.rb
211
+ - spec/rails_helper.rb
178
212
  - spec/spec_helper.rb
179
213
  - spec/support/application_controller.rb
180
214
  homepage: https://github.com/taktsoft/frikandel
181
215
  licenses:
182
216
  - MIT
183
217
  metadata: {}
184
- post_install_message:
218
+ post_install_message:
185
219
  rdoc_options: []
186
220
  require_paths:
187
221
  - lib
@@ -189,54 +223,57 @@ required_ruby_version: !ruby/object:Gem::Requirement
189
223
  requirements:
190
224
  - - ">="
191
225
  - !ruby/object:Gem::Version
192
- version: '0'
226
+ version: 1.9.3
193
227
  required_rubygems_version: !ruby/object:Gem::Requirement
194
228
  requirements:
195
229
  - - ">="
196
230
  - !ruby/object:Gem::Version
197
- version: '0'
231
+ version: 1.3.6
198
232
  requirements: []
199
- rubyforge_project:
200
- rubygems_version: 2.2.1
201
- signing_key:
233
+ rubyforge_project:
234
+ rubygems_version: 2.7.10
235
+ signing_key:
202
236
  specification_version: 4
203
237
  summary: This gem adds a ttl to the session cookie of your application.
204
238
  test_files:
239
+ - spec/spec_helper.rb
205
240
  - spec/dummy/app/controllers/application_controller.rb
206
- - spec/dummy/app/helpers/application_helper.rb
207
241
  - spec/dummy/app/views/layouts/application.html.erb
208
- - spec/dummy/app/assets/stylesheets/application.css
209
242
  - spec/dummy/app/assets/javascripts/application.js
210
- - spec/dummy/public/404.html
211
- - spec/dummy/public/500.html
212
- - spec/dummy/public/422.html
213
- - spec/dummy/public/favicon.ico
214
- - spec/dummy/config.ru
215
- - spec/dummy/README.rdoc
216
- - spec/dummy/db/test.sqlite3
217
- - spec/dummy/log/test.log
243
+ - spec/dummy/app/assets/stylesheets/application.css
244
+ - spec/dummy/app/helpers/application_helper.rb
245
+ - spec/dummy/bin/rake
246
+ - spec/dummy/bin/bundle
247
+ - spec/dummy/bin/rails
218
248
  - spec/dummy/config/routes.rb
219
- - spec/dummy/config/application.rb
220
- - spec/dummy/config/database.yml
249
+ - spec/dummy/config/locales/en.yml
250
+ - spec/dummy/config/environments/production.rb
221
251
  - spec/dummy/config/environments/development.rb
222
252
  - spec/dummy/config/environments/test.rb
223
- - spec/dummy/config/environments/production.rb
224
253
  - spec/dummy/config/environment.rb
225
- - spec/dummy/config/locales/en.yml
254
+ - spec/dummy/config/application.rb
255
+ - spec/dummy/config/database.yml
256
+ - spec/dummy/config/boot.rb
226
257
  - spec/dummy/config/initializers/backtrace_silencers.rb
227
- - spec/dummy/config/initializers/wrap_parameters.rb
228
- - spec/dummy/config/initializers/filter_parameter_logging.rb
229
258
  - spec/dummy/config/initializers/mime_types.rb
230
- - spec/dummy/config/initializers/inflections.rb
231
- - spec/dummy/config/initializers/secret_token.rb
259
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
232
260
  - spec/dummy/config/initializers/session_store.rb
233
- - spec/dummy/config/boot.rb
261
+ - spec/dummy/config/initializers/wrap_parameters.rb
262
+ - spec/dummy/config/initializers/secret_token.rb
263
+ - spec/dummy/config/initializers/inflections.rb
264
+ - spec/dummy/config.ru
234
265
  - spec/dummy/Rakefile
235
- - spec/dummy/bin/rake
236
- - spec/dummy/bin/rails
237
- - spec/dummy/bin/bundle
238
- - spec/lib/frikandel/configuration_spec.rb
239
- - spec/controllers/application_controller_spec.rb
240
- - spec/controllers/customized_on_expired_cookie_controller_spec.rb
241
- - spec/spec_helper.rb
266
+ - spec/dummy/public/favicon.ico
267
+ - spec/dummy/public/422.html
268
+ - spec/dummy/public/500.html
269
+ - spec/dummy/public/404.html
270
+ - spec/dummy/log/test.log
271
+ - spec/dummy/log/development.log
272
+ - spec/dummy/README.rdoc
242
273
  - spec/support/application_controller.rb
274
+ - spec/lib/frikandel/configuration_spec.rb
275
+ - spec/controllers/customized_on_invalid_session_controller_spec.rb
276
+ - spec/controllers/bind_session_to_ip_address_controller_spec.rb
277
+ - spec/controllers/combined_controller_spec.rb
278
+ - spec/controllers/limit_session_lifetime_controller_spec.rb
279
+ - spec/rails_helper.rb