frikandel 3.0.2 → 4.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.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +18 -37
- data/Appraisals +15 -0
- data/README.md +8 -6
- data/frikandel.gemspec +3 -9
- data/gemfiles/rails_7.2.gemfile +7 -0
- data/gemfiles/rails_8.0.gemfile +7 -0
- data/gemfiles/rails_8.1.gemfile +7 -0
- data/gemfiles/rails_head.gemfile +7 -0
- data/lib/frikandel/bind_session_to_ip_address.rb +1 -5
- data/lib/frikandel/limit_session_lifetime.rb +1 -5
- data/lib/frikandel/version.rb +1 -1
- data/spec/controllers/bind_session_to_ip_address_controller_spec.rb +2 -10
- data/spec/controllers/combined_controller_spec.rb +2 -10
- data/spec/controllers/limit_session_lifetime_controller_spec.rb +2 -10
- data/spec/dummy/app/views/layouts/application.html.erb +1 -5
- data/spec/dummy/config/application.rb +5 -18
- data/spec/dummy/config/boot.rb +1 -1
- data/spec/dummy/config/environments/development.rb +2 -22
- data/spec/dummy/config/environments/production.rb +3 -71
- data/spec/dummy/config/environments/test.rb +4 -28
- data/spec/rails_helper.rb +4 -50
- data/spec/support/application_controller.rb +1 -6
- metadata +14 -105
- data/gemfiles/rails-5.2.x.gemfile +0 -6
- data/gemfiles/rails-6.0.x.gemfile +0 -6
- data/gemfiles/rails-6.1.x.gemfile +0 -6
- data/gemfiles/rails-7.0.x.gemfile +0 -7
- data/gemfiles/rails-head.gemfile +0 -6
- data/spec/dummy/README.rdoc +0 -28
- data/spec/dummy/app/assets/config/manifest.js +0 -3
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +0 -13
- data/spec/dummy/app/assets/stylesheets/application.css +0 -13
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/config/database.yml +0 -25
- data/spec/dummy/config/initializers/secret_token.rb +0 -12
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/test.log +0 -1469
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: frikandel
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 4.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Taktsoft
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: bundler
|
|
@@ -38,20 +37,6 @@ dependencies:
|
|
|
38
37
|
- - ">="
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
39
|
version: '0'
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: sqlite3
|
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
|
44
|
-
requirements:
|
|
45
|
-
- - ">="
|
|
46
|
-
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0'
|
|
48
|
-
type: :development
|
|
49
|
-
prerelease: false
|
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
-
requirements:
|
|
52
|
-
- - ">="
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: '0'
|
|
55
40
|
- !ruby/object:Gem::Dependency
|
|
56
41
|
name: rspec-rails
|
|
57
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -67,7 +52,7 @@ dependencies:
|
|
|
67
52
|
- !ruby/object:Gem::Version
|
|
68
53
|
version: '3.0'
|
|
69
54
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name:
|
|
55
|
+
name: appraisal
|
|
71
56
|
requirement: !ruby/object:Gem::Requirement
|
|
72
57
|
requirements:
|
|
73
58
|
- - ">="
|
|
@@ -94,40 +79,20 @@ dependencies:
|
|
|
94
79
|
- - ">="
|
|
95
80
|
- !ruby/object:Gem::Version
|
|
96
81
|
version: '0'
|
|
97
|
-
- !ruby/object:Gem::Dependency
|
|
98
|
-
name: test-unit
|
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
|
100
|
-
requirements:
|
|
101
|
-
- - ">="
|
|
102
|
-
- !ruby/object:Gem::Version
|
|
103
|
-
version: '0'
|
|
104
|
-
type: :development
|
|
105
|
-
prerelease: false
|
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
107
|
-
requirements:
|
|
108
|
-
- - ">="
|
|
109
|
-
- !ruby/object:Gem::Version
|
|
110
|
-
version: '0'
|
|
111
82
|
- !ruby/object:Gem::Dependency
|
|
112
83
|
name: rails
|
|
113
84
|
requirement: !ruby/object:Gem::Requirement
|
|
114
85
|
requirements:
|
|
115
86
|
- - ">="
|
|
116
87
|
- !ruby/object:Gem::Version
|
|
117
|
-
version:
|
|
118
|
-
- - "<"
|
|
119
|
-
- !ruby/object:Gem::Version
|
|
120
|
-
version: 8.0.0
|
|
88
|
+
version: '7.2'
|
|
121
89
|
type: :runtime
|
|
122
90
|
prerelease: false
|
|
123
91
|
version_requirements: !ruby/object:Gem::Requirement
|
|
124
92
|
requirements:
|
|
125
93
|
- - ">="
|
|
126
94
|
- !ruby/object:Gem::Version
|
|
127
|
-
version:
|
|
128
|
-
- - "<"
|
|
129
|
-
- !ruby/object:Gem::Version
|
|
130
|
-
version: 8.0.0
|
|
95
|
+
version: '7.2'
|
|
131
96
|
description: This gem adds a ttl to the session cookie of your application.
|
|
132
97
|
email:
|
|
133
98
|
- developers@taktsoft.com
|
|
@@ -141,17 +106,17 @@ files:
|
|
|
141
106
|
- ".github/workflows/ci.yml"
|
|
142
107
|
- ".gitignore"
|
|
143
108
|
- ".rspec"
|
|
109
|
+
- Appraisals
|
|
144
110
|
- Gemfile
|
|
145
111
|
- Guardfile
|
|
146
112
|
- LICENSE.txt
|
|
147
113
|
- README.md
|
|
148
114
|
- Rakefile
|
|
149
115
|
- frikandel.gemspec
|
|
150
|
-
- gemfiles/
|
|
151
|
-
- gemfiles/
|
|
152
|
-
- gemfiles/
|
|
153
|
-
- gemfiles/
|
|
154
|
-
- gemfiles/rails-head.gemfile
|
|
116
|
+
- gemfiles/rails_7.2.gemfile
|
|
117
|
+
- gemfiles/rails_8.0.gemfile
|
|
118
|
+
- gemfiles/rails_8.1.gemfile
|
|
119
|
+
- gemfiles/rails_head.gemfile
|
|
155
120
|
- lib/frikandel.rb
|
|
156
121
|
- lib/frikandel/bind_session_to_ip_address.rb
|
|
157
122
|
- lib/frikandel/configuration.rb
|
|
@@ -162,18 +127,10 @@ files:
|
|
|
162
127
|
- spec/controllers/combined_controller_spec.rb
|
|
163
128
|
- spec/controllers/customized_on_invalid_session_controller_spec.rb
|
|
164
129
|
- spec/controllers/limit_session_lifetime_controller_spec.rb
|
|
165
|
-
- spec/dummy/README.rdoc
|
|
166
130
|
- spec/dummy/Rakefile
|
|
167
|
-
- spec/dummy/app/assets/config/manifest.js
|
|
168
|
-
- spec/dummy/app/assets/images/.keep
|
|
169
|
-
- spec/dummy/app/assets/javascripts/application.js
|
|
170
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
|
171
131
|
- spec/dummy/app/controllers/application_controller.rb
|
|
172
132
|
- spec/dummy/app/controllers/concerns/.keep
|
|
173
133
|
- spec/dummy/app/helpers/application_helper.rb
|
|
174
|
-
- spec/dummy/app/mailers/.keep
|
|
175
|
-
- spec/dummy/app/models/.keep
|
|
176
|
-
- spec/dummy/app/models/concerns/.keep
|
|
177
134
|
- spec/dummy/app/views/layouts/application.html.erb
|
|
178
135
|
- spec/dummy/bin/bundle
|
|
179
136
|
- spec/dummy/bin/rails
|
|
@@ -181,7 +138,6 @@ files:
|
|
|
181
138
|
- spec/dummy/config.ru
|
|
182
139
|
- spec/dummy/config/application.rb
|
|
183
140
|
- spec/dummy/config/boot.rb
|
|
184
|
-
- spec/dummy/config/database.yml
|
|
185
141
|
- spec/dummy/config/environment.rb
|
|
186
142
|
- spec/dummy/config/environments/development.rb
|
|
187
143
|
- spec/dummy/config/environments/production.rb
|
|
@@ -190,13 +146,9 @@ files:
|
|
|
190
146
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
|
191
147
|
- spec/dummy/config/initializers/inflections.rb
|
|
192
148
|
- spec/dummy/config/initializers/mime_types.rb
|
|
193
|
-
- spec/dummy/config/initializers/secret_token.rb
|
|
194
149
|
- spec/dummy/config/initializers/session_store.rb
|
|
195
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
196
150
|
- spec/dummy/config/locales/en.yml
|
|
197
151
|
- spec/dummy/config/routes.rb
|
|
198
|
-
- spec/dummy/lib/assets/.keep
|
|
199
|
-
- spec/dummy/log/test.log
|
|
200
152
|
- spec/dummy/public/404.html
|
|
201
153
|
- spec/dummy/public/422.html
|
|
202
154
|
- spec/dummy/public/500.html
|
|
@@ -210,7 +162,6 @@ licenses:
|
|
|
210
162
|
- MIT
|
|
211
163
|
metadata:
|
|
212
164
|
rubygems_mfa_required: 'true'
|
|
213
|
-
post_install_message:
|
|
214
165
|
rdoc_options: []
|
|
215
166
|
require_paths:
|
|
216
167
|
- lib
|
|
@@ -218,56 +169,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
218
169
|
requirements:
|
|
219
170
|
- - ">="
|
|
220
171
|
- !ruby/object:Gem::Version
|
|
221
|
-
version:
|
|
172
|
+
version: '3.2'
|
|
222
173
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
174
|
requirements:
|
|
224
175
|
- - ">="
|
|
225
176
|
- !ruby/object:Gem::Version
|
|
226
|
-
version:
|
|
177
|
+
version: '0'
|
|
227
178
|
requirements: []
|
|
228
|
-
rubygems_version:
|
|
229
|
-
signing_key:
|
|
179
|
+
rubygems_version: 4.0.13
|
|
230
180
|
specification_version: 4
|
|
231
181
|
summary: This gem adds a ttl to the session cookie of your application.
|
|
232
|
-
test_files:
|
|
233
|
-
- spec/controllers/bind_session_to_ip_address_controller_spec.rb
|
|
234
|
-
- spec/controllers/combined_controller_spec.rb
|
|
235
|
-
- spec/controllers/customized_on_invalid_session_controller_spec.rb
|
|
236
|
-
- spec/controllers/limit_session_lifetime_controller_spec.rb
|
|
237
|
-
- spec/dummy/README.rdoc
|
|
238
|
-
- spec/dummy/Rakefile
|
|
239
|
-
- spec/dummy/app/assets/config/manifest.js
|
|
240
|
-
- spec/dummy/app/assets/javascripts/application.js
|
|
241
|
-
- spec/dummy/app/assets/stylesheets/application.css
|
|
242
|
-
- spec/dummy/app/controllers/application_controller.rb
|
|
243
|
-
- spec/dummy/app/helpers/application_helper.rb
|
|
244
|
-
- spec/dummy/app/views/layouts/application.html.erb
|
|
245
|
-
- spec/dummy/bin/bundle
|
|
246
|
-
- spec/dummy/bin/rails
|
|
247
|
-
- spec/dummy/bin/rake
|
|
248
|
-
- spec/dummy/config/application.rb
|
|
249
|
-
- spec/dummy/config/boot.rb
|
|
250
|
-
- spec/dummy/config/database.yml
|
|
251
|
-
- spec/dummy/config/environment.rb
|
|
252
|
-
- spec/dummy/config/environments/development.rb
|
|
253
|
-
- spec/dummy/config/environments/production.rb
|
|
254
|
-
- spec/dummy/config/environments/test.rb
|
|
255
|
-
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
256
|
-
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
|
257
|
-
- spec/dummy/config/initializers/inflections.rb
|
|
258
|
-
- spec/dummy/config/initializers/mime_types.rb
|
|
259
|
-
- spec/dummy/config/initializers/secret_token.rb
|
|
260
|
-
- spec/dummy/config/initializers/session_store.rb
|
|
261
|
-
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
262
|
-
- spec/dummy/config/locales/en.yml
|
|
263
|
-
- spec/dummy/config/routes.rb
|
|
264
|
-
- spec/dummy/config.ru
|
|
265
|
-
- spec/dummy/log/test.log
|
|
266
|
-
- spec/dummy/public/404.html
|
|
267
|
-
- spec/dummy/public/422.html
|
|
268
|
-
- spec/dummy/public/500.html
|
|
269
|
-
- spec/dummy/public/favicon.ico
|
|
270
|
-
- spec/lib/frikandel/configuration_spec.rb
|
|
271
|
-
- spec/rails_helper.rb
|
|
272
|
-
- spec/spec_helper.rb
|
|
273
|
-
- spec/support/application_controller.rb
|
|
182
|
+
test_files: []
|
data/gemfiles/rails-head.gemfile
DELETED
data/spec/dummy/README.rdoc
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
== README
|
|
2
|
-
|
|
3
|
-
This README would normally document whatever steps are necessary to get the
|
|
4
|
-
application up and running.
|
|
5
|
-
|
|
6
|
-
Things you may want to cover:
|
|
7
|
-
|
|
8
|
-
* Ruby version
|
|
9
|
-
|
|
10
|
-
* System dependencies
|
|
11
|
-
|
|
12
|
-
* Configuration
|
|
13
|
-
|
|
14
|
-
* Database creation
|
|
15
|
-
|
|
16
|
-
* Database initialization
|
|
17
|
-
|
|
18
|
-
* How to run the test suite
|
|
19
|
-
|
|
20
|
-
* Services (job queues, cache servers, search engines, etc.)
|
|
21
|
-
|
|
22
|
-
* Deployment instructions
|
|
23
|
-
|
|
24
|
-
* ...
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
Please feel free to use a different markup language if you do not plan to run
|
|
28
|
-
<tt>rake doc:app</tt>.
|
|
File without changes
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
|
2
|
-
// listed below.
|
|
3
|
-
//
|
|
4
|
-
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
|
5
|
-
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
|
6
|
-
//
|
|
7
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
8
|
-
// compiled file.
|
|
9
|
-
//
|
|
10
|
-
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
|
11
|
-
// about supported directives.
|
|
12
|
-
//
|
|
13
|
-
//= require_tree .
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
|
3
|
-
* listed below.
|
|
4
|
-
*
|
|
5
|
-
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
|
6
|
-
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
|
7
|
-
*
|
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
|
9
|
-
* compiled file, but it's generally better to create a new file per style scope.
|
|
10
|
-
*
|
|
11
|
-
*= require_self
|
|
12
|
-
*= require_tree .
|
|
13
|
-
*/
|
|
File without changes
|
data/spec/dummy/app/models/.keep
DELETED
|
File without changes
|
|
File without changes
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# SQLite version 3.x
|
|
2
|
-
# gem install sqlite3
|
|
3
|
-
#
|
|
4
|
-
# Ensure the SQLite 3 gem is defined in your Gemfile
|
|
5
|
-
# gem 'sqlite3'
|
|
6
|
-
development:
|
|
7
|
-
adapter: sqlite3
|
|
8
|
-
database: ":memory:"
|
|
9
|
-
pool: 5
|
|
10
|
-
timeout: 500
|
|
11
|
-
|
|
12
|
-
# Warning: The database defined as "test" will be erased and
|
|
13
|
-
# re-generated from your development database when you run "rake".
|
|
14
|
-
# Do not set this db to the same as development or production.
|
|
15
|
-
test:
|
|
16
|
-
adapter: sqlite3
|
|
17
|
-
database: ":memory:"
|
|
18
|
-
pool: 5
|
|
19
|
-
timeout: 500
|
|
20
|
-
|
|
21
|
-
production:
|
|
22
|
-
adapter: sqlite3
|
|
23
|
-
database: ":memory:"
|
|
24
|
-
pool: 5
|
|
25
|
-
timeout: 500
|
|
@@ -1,12 +0,0 @@
|
|
|
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 your secret_key_base is kept private
|
|
11
|
-
# if you're sharing your code publicly.
|
|
12
|
-
Dummy::Application.config.secret_key_base = '9dadb5f0335f36f1c260d254f5ed7e269356cf63259401ae6be57cc34e22216ecb3ebb0fa819d05268fa5c4c91943a8a8186d2802603b72cda5461f33cc1b990'
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
|
2
|
-
|
|
3
|
-
# This file contains settings for ActionController::ParamsWrapper which
|
|
4
|
-
# is enabled by default.
|
|
5
|
-
|
|
6
|
-
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
|
7
|
-
ActiveSupport.on_load(:action_controller) do
|
|
8
|
-
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
|
9
|
-
end
|
|
10
|
-
|
|
11
|
-
# To enable root element in JSON for ActiveRecord objects.
|
|
12
|
-
# ActiveSupport.on_load(:active_record) do
|
|
13
|
-
# self.include_root_in_json = true
|
|
14
|
-
# end
|
data/spec/dummy/lib/assets/.keep
DELETED
|
File without changes
|