redis-actionpack 5.2.0 → 5.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5e8c18274ebb8a1a35f6490ea21d3728ce4daebfc974b77d81f1e1d29c517b0a
4
- data.tar.gz: b8b9b5cf0d95370bf4688c833bc854b32fcf153c0cdfab17b72828268dd5de77
3
+ metadata.gz: ffc2d2ea9d57234131426d376aa94d658e2cf707cde8e7144dcff4fef3939b11
4
+ data.tar.gz: b2a9f00678e5e34e4821ab1f718783db3d4eee0d164dcf7b6f1eb8a6e864a442
5
5
  SHA512:
6
- metadata.gz: 17437048b9c715bd8029676f0da6865d10035fa1089484aaa14a8b6a9dc39f9296c53a8176212b372f4efeba379e6868d60e548468ac82aa520069c8d9ce0bc9
7
- data.tar.gz: e84179116acf7607e560cb03721c1ecb662d946a55dba0604cfb853e41fa83ae3f9beb2f0be446958fb390dc06e49f848303252e3da2f146a6c76e51cd9a7822
6
+ metadata.gz: f3cee21add22e6d2391a46db594203328dcafac71168d923faffac6da024aecab243d7f39ee3a3591dec78c1154618a5d98ba0ac1e60a91e353d8d47dc5d99ca
7
+ data.tar.gz: aa76e0b1f6bfadcc472f52481df23013f51a5678a8f3f736c669b87ca51047d8a2bd690fc12a2471e842561e90c24adf79feb0399adeec42eb87f01d3975b0d1
data/Gemfile CHANGED
@@ -1,10 +1,10 @@
1
1
  source 'https://rubygems.org'
2
2
  gemspec
3
3
 
4
- gem "rake", "~> 10.5"
5
- gem "bundler", "~> 2.1"
6
- gem "mocha", "~> 0.14.0"
7
- gem "minitest-rails", "~> 6.0"
8
- gem "tzinfo", "~> 1.2"
9
- gem "appraisal", "~> 2.2"
10
- gem "redis-store-testing", github: 'redis-store/testing', branch: 'v0.0.3'
4
+ gem 'rake', '>= 12.3.3'
5
+ gem 'bundler', '~> 2.1'
6
+ gem 'mocha', '~> 0.14.0', require: 'mocha/setup'
7
+ gem 'tzinfo', '~> 1.2'
8
+ gem 'appraisal', '~> 2.2'
9
+ gem 'redis-store-testing', github: 'redis-store/testing'
10
+ gem 'minitest-rails'
data/README.md CHANGED
@@ -29,7 +29,6 @@ ActionController::Base.session_store = :redis_store,
29
29
  expire_after: 90.minutes,
30
30
  key: '_my_application_session',
31
31
  threadsafe: false,
32
- signed: true,
33
32
  secure: true
34
33
  ```
35
34
 
@@ -44,9 +43,6 @@ A brief run-down of these options...
44
43
  this to `false` if you want to disable the global mutex lock on
45
44
  session data. It's `true` by default, meaning the mutex will be
46
45
  enabled.
47
- - **signed** uses signed/encrypted cookies to store the local session on
48
- a client machine, preventing a malicious user from tampering with its
49
- contents.
50
46
  - **secure** ensures HTTP cookies are transferred from server to client
51
47
  on a secure (HTTPS) connection
52
48
 
@@ -2,6 +2,13 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "rake", ">= 12.3.3"
6
+ gem "bundler", "~> 2.1"
7
+ gem "mocha", "~> 0.14.0", require: "mocha/setup"
8
+ gem "tzinfo", "~> 1.2"
9
+ gem "appraisal", "~> 2.2"
10
+ gem "redis-store-testing", github: "redis-store/testing"
11
+ gem "minitest-rails"
5
12
  gem "redis-store"
6
13
  gem "redis-rack"
7
14
  gem "actionpack", "~> 5.0.0"
@@ -2,6 +2,13 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "rake", ">= 12.3.3"
6
+ gem "bundler", "~> 2.1"
7
+ gem "mocha", "~> 0.14.0", require: "mocha/setup"
8
+ gem "tzinfo", "~> 1.2"
9
+ gem "appraisal", "~> 2.2"
10
+ gem "redis-store-testing", github: "redis-store/testing"
11
+ gem "minitest-rails"
5
12
  gem "redis-store"
6
13
  gem "redis-rack"
7
14
  gem "actionpack", "~> 5.1.0"
@@ -2,6 +2,13 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "rake", ">= 12.3.3"
6
+ gem "bundler", "~> 2.1"
7
+ gem "mocha", "~> 0.14.0", require: "mocha/setup"
8
+ gem "tzinfo", "~> 1.2"
9
+ gem "appraisal", "~> 2.2"
10
+ gem "redis-store-testing", github: "redis-store/testing"
11
+ gem "minitest-rails"
5
12
  gem "redis-store"
6
13
  gem "redis-rack"
7
14
  gem "actionpack", "~> 5.1.0"
@@ -2,6 +2,13 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "rake", ">= 12.3.3"
6
+ gem "bundler", "~> 2.1"
7
+ gem "mocha", "~> 0.14.0", require: "mocha/setup"
8
+ gem "tzinfo", "~> 1.2"
9
+ gem "appraisal", "~> 2.2"
10
+ gem "redis-store-testing", github: "redis-store/testing"
11
+ gem "minitest-rails"
5
12
  gem "redis-store"
6
13
  gem "redis-rack"
7
14
  gem "actionpack", "~> 6.0.0"
@@ -1,5 +1,5 @@
1
1
  class Redis
2
2
  module ActionPack
3
- VERSION = '5.2.0'
3
+ VERSION = '5.3.0'
4
4
  end
5
5
  end
@@ -20,5 +20,5 @@ Gem::Specification.new do |s|
20
20
 
21
21
  s.add_runtime_dependency 'redis-store', '>= 1.1.0', '< 2'
22
22
  s.add_runtime_dependency 'redis-rack', '>= 2.1.0', '< 3'
23
- s.add_runtime_dependency 'actionpack', '>= 5', '< 7'
23
+ s.add_runtime_dependency 'actionpack', '>= 5', '< 8'
24
24
  end
@@ -1,4 +1,8 @@
1
1
  class TestController < ActionController::Base
2
+ def self.actions
3
+ public_instance_methods - ActionController::Base.public_instance_methods
4
+ end
5
+
2
6
  def no_session_access
3
7
  head :ok
4
8
  end
@@ -1,3 +1,5 @@
1
1
  Dummy::Application.routes.draw do
2
- get ':action', :to => TestController
2
+ TestController.actions.each do |action|
3
+ get action, to: ['test', action].join('#')
4
+ end
3
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-actionpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-13 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis-store
@@ -59,7 +59,7 @@ dependencies:
59
59
  version: '5'
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
- version: '7'
62
+ version: '8'
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -69,7 +69,7 @@ dependencies:
69
69
  version: '5'
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
- version: '7'
72
+ version: '8'
73
73
  description: Redis session store for ActionPack. Used for storing the Rails session
74
74
  in Redis.
75
75
  email:
@@ -116,7 +116,7 @@ homepage: http://redis-store.org/redis-actionpack
116
116
  licenses:
117
117
  - MIT
118
118
  metadata: {}
119
- post_install_message:
119
+ post_install_message:
120
120
  rdoc_options: []
121
121
  require_paths:
122
122
  - lib
@@ -131,8 +131,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  - !ruby/object:Gem::Version
132
132
  version: '0'
133
133
  requirements: []
134
- rubygems_version: 3.1.2
135
- signing_key:
134
+ rubygems_version: 3.2.11
135
+ signing_key:
136
136
  specification_version: 4
137
137
  summary: Redis session store for ActionPack
138
138
  test_files: