redis_set_store 0.1.0 → 2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6ac6e8cf904c707147866668a3a1d37d972e626e
4
- data.tar.gz: 5e1d14b39c935d4dabc255fe3529f29b6bae2428
2
+ SHA256:
3
+ metadata.gz: 73bc6c32c83c2ce604d24e4811a73f0c069ff45f6391894b872d436b660bce3b
4
+ data.tar.gz: 824bf1d57e5acee2f8c7ddf3b4d7d624893bd9939b112d62dc65a4be4f5b013b
5
5
  SHA512:
6
- metadata.gz: 79db8b27bc1d7cc47275b411a9e4f5c73e93f5954d53bf6e2bf059ae1109aac0710d7e448f573a7320d9e5468bd9848589c95ebc24ad09a1ff4430b72d08cc80
7
- data.tar.gz: 54d6ee3eb1528c1e50c300224e54f5cf13c4e359083c889cde83100b747bfa742e6fae273c57e8778e5bd8c723da4bbcf2eb29a4337ed80489fbfd76e3b5a9ce
6
+ metadata.gz: 989ede49250af2d3b33d17d725ad81e7c9d942dd48e3326f12d9e61c6fc3b742e3eef989117aed5227b2bb1588555442e0392baf8d87452dd80e3f500fb82798
7
+ data.tar.gz: 51c9446a59653832e57b2841af085319f197af3bb89e212ff742a79050ce58f06b9e2f36fecbe07385b52dfff4ff139675ab2888462f0a7f10eeec40bc784eb2
data/.gitignore CHANGED
@@ -20,6 +20,7 @@ doc/
20
20
 
21
21
  # Bundler artifacts
22
22
  /Gemfile.lock
23
+ gemfiles/*.lock
23
24
  /coverage/
24
25
  /doc/
25
26
  *.bundle
data/.rubocop.yml CHANGED
@@ -1,25 +1,12 @@
1
+ AllCops:
2
+ NewCops: enable
1
3
  Documentation:
2
4
  Exclude:
3
5
  - "**/railtie.rb"
4
6
  - "spec/**/*"
5
-
6
- Style/StringLiterals:
7
- EnforcedStyle: double_quotes
8
- Metrics/LineLength:
9
- Max: 120
10
- Layout/AlignHash:
11
- EnforcedHashRocketStyle: table
12
- EnforcedColonStyle: table
13
- Layout/SpaceInsideHashLiteralBraces:
14
- EnforcedStyle: no_space
15
- Style/RaiseArgs:
16
- EnforcedStyle: compact
17
-
18
- Metrics/BlockLength:
7
+ Lint/ConstantDefinitionInBlock:
19
8
  Exclude:
20
- - "redis_set_store.gemspec"
21
9
  - "spec/**/*"
22
-
23
- Layout/EmptyLinesAroundBlockBody:
10
+ Metrics/BlockLength:
24
11
  Exclude:
25
12
  - "spec/**/*"
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.4.1
1
+ 3.2.2
data/Appraisals CHANGED
@@ -1,13 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise "rails-4-2" do
4
- gem "rails", "4.2.9"
5
- end
6
-
7
- appraise "rails-5-0" do
8
- gem "rails", "5.0.5"
9
- end
10
-
11
- appraise "rails-5-1" do
12
- gem "rails", "5.1.3"
3
+ appraise 'rails-7-1' do
4
+ gem 'rails', '7.1.0'
13
5
  end
data/CHANGELOG.md ADDED
@@ -0,0 +1,13 @@
1
+ # v2.0.0 (2025-11-26)
2
+ **Breaking Changes**
3
+ - Replace deprecated `redis-rails` with `redis-activesupport` for Rails 7.1 compatibility
4
+ - Remove explicit `redis-store` dependency (now transitive via `redis-activesupport`)
5
+
6
+ **Improvements**
7
+ - Add support for Rails 7.1
8
+ - Add `require 'active_support/core_ext/hash'` for Rails 7.1 compatibility
9
+
10
+ # v1.0.0
11
+ - Initial stable release
12
+ - Redis-backed cache store for Rails
13
+ - Set-based key tracking for rapid expiration of large numbers of keys
data/Gemfile CHANGED
@@ -1,6 +1,16 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- source "https://rubygems.org"
3
+ source 'https://rubygems.org'
4
4
 
5
5
  # Specify your gem's dependencies in redis_set_store.gemspec
6
6
  gemspec
7
+
8
+ group :development do
9
+ gem 'appraisal', '~> 2.0'
10
+ gem 'bundler', '~> 2.0'
11
+ gem 'bundler-audit', '~> 0.6'
12
+ gem 'mocha', '~> 1'
13
+ gem 'rake', '~> 12.0'
14
+ gem 'rspec', '~> 3.6'
15
+ gem 'rubocop', '~> 1.26'
16
+ end
data/Rakefile CHANGED
@@ -1,17 +1,23 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "bundler/gem_tasks"
4
- require "redis_set_store"
5
- require "rspec/core/rake_task"
6
- require "rubocop/rake_task"
3
+ require 'bundler/gem_tasks'
4
+ require 'redis_set_store'
5
+ require 'rspec/core/rake_task'
6
+ require 'rubocop/rake_task'
7
+ require 'bundler/audit/task'
8
+ require 'appraisal/task'
7
9
 
8
10
  RSpec::Core::RakeTask.new(:spec)
9
11
  RuboCop::RakeTask.new
10
- require "bundler/audit/task"
11
12
  Bundler::Audit::Task.new
13
+ Appraisal::Task.new
12
14
 
13
15
  # Remove default and replace with a series of test tasks
14
16
  task default: []
15
17
  Rake::Task[:default].clear
16
18
 
17
- task default: %w[spec rubocop bundle:audit]
19
+ if !ENV['APPRAISAL_INITIALIZED'] && !ENV['TRAVIS']
20
+ task default: %w[rubocop bundle:audit appraisal]
21
+ else
22
+ task default: :spec
23
+ end
data/bin/console CHANGED
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
  # frozen_string_literal: true
3
3
 
4
- require "bundler/setup"
5
- require "redis_set_store"
4
+ require 'bundler/setup'
5
+ require 'redis_set_store'
6
6
 
7
- require "irb"
7
+ require 'irb'
8
8
  IRB.start(__FILE__)
@@ -1,7 +1,16 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
- source "https://rubygems.org"
5
+ source 'https://rubygems.org'
4
6
 
5
- gem "rails", "5.0.5"
7
+ gem 'appraisal', '~> 2.0'
8
+ gem 'bundler', '~> 2.0'
9
+ gem 'bundler-audit', '~> 0.6'
10
+ gem 'mocha', '~> 1'
11
+ gem 'rails', '5.0.5'
12
+ gem 'rake', '~> 12.0'
13
+ gem 'rspec', '~> 3.6'
14
+ gem 'rubocop', '~> 1.26'
6
15
 
7
- gemspec path: "../"
16
+ gemspec path: '../'
@@ -1,7 +1,16 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
- source "https://rubygems.org"
5
+ source 'https://rubygems.org'
4
6
 
5
- gem "rails", "5.1.3"
7
+ gem 'appraisal', '~> 2.0'
8
+ gem 'bundler', '~> 2.0'
9
+ gem 'bundler-audit', '~> 0.6'
10
+ gem 'mocha', '~> 1'
11
+ gem 'rails', '5.1.3'
12
+ gem 'rake', '~> 12.0'
13
+ gem 'rspec', '~> 3.6'
14
+ gem 'rubocop', '~> 1.26'
6
15
 
7
- gemspec path: "../"
16
+ gemspec path: '../'
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ # This file was generated by Appraisal
4
+
5
+ source 'https://rubygems.org'
6
+
7
+ gem 'appraisal', '~> 2.0'
8
+ gem 'bundler', '~> 2.0'
9
+ gem 'bundler-audit', '~> 0.6'
10
+ gem 'mocha', '~> 1'
11
+ gem 'rails', '5.1.3'
12
+ gem 'rake', '~> 12.0'
13
+ gem 'rspec', '~> 3.6'
14
+ gem 'rubocop', '~> 1.26'
15
+
16
+ gemspec path: '../'
@@ -0,0 +1,17 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rails", "7.1.0"
6
+
7
+ group :development do
8
+ gem "appraisal", "~> 2.0"
9
+ gem "bundler", "~> 2.0"
10
+ gem "bundler-audit", "~> 0.6"
11
+ gem "mocha", "~> 1"
12
+ gem "rake", "~> 12.0"
13
+ gem "rspec", "~> 3.6"
14
+ gem "rubocop", "~> 1.26"
15
+ end
16
+
17
+ gemspec path: "../"
@@ -85,7 +85,7 @@ module ActiveSupport
85
85
  #
86
86
  # Returns "PONG" on success.
87
87
  def ping
88
- SetOwner::STORE&.ping if defined?(SetOwner::STORE)
88
+ SetOwner::STORE.ping if defined?(SetOwner::STORE)
89
89
  redis.ping
90
90
  end
91
91
 
@@ -99,8 +99,8 @@ module ActiveSupport
99
99
  protected
100
100
 
101
101
  def write_entry(key, entry, options)
102
- if key.include?("*")
103
- raise ArgumentError.new("Unsupported Redis key character for ActiveSupport::Cache::RedisSetStore: *")
102
+ if key.include?('*')
103
+ raise ArgumentError, 'Unsupported Redis key character for ActiveSupport::Cache::RedisSetStore: *'
104
104
  end
105
105
 
106
106
  SetOwner.new(@set_owner_regexp, key, @data).sadd
@@ -113,7 +113,7 @@ module ActiveSupport
113
113
  def delete_entry(key, options)
114
114
  SetOwner.new(@set_owner_regexp, key, @data).srem
115
115
 
116
- super
116
+ super(key, **options)
117
117
  rescue Errno::ECONNREFUSED
118
118
  false
119
119
  end
@@ -132,11 +132,13 @@ module ActiveSupport
132
132
 
133
133
  def sadd
134
134
  return unless @set && @key
135
+
135
136
  @redis_set_store.sadd(@set, @key)
136
137
  end
137
138
 
138
139
  def srem
139
140
  return unless @set && @key
141
+
140
142
  @redis_set_store.srem(@set, @key)
141
143
  end
142
144
 
@@ -152,6 +154,7 @@ module ActiveSupport
152
154
 
153
155
  def matched
154
156
  return unless @set && @key
157
+
155
158
  matcher_regexp = Regexp.compile(convert_wildcards_to_regex)
156
159
  @redis_set_store.smembers(@set).select { |smember| matcher_regexp.match(smember) }
157
160
  end
@@ -160,8 +163,8 @@ module ActiveSupport
160
163
  # All other special characters are normally-escaped.
161
164
  def convert_wildcards_to_regex
162
165
  key = Regexp.escape(@key.to_s)
163
- key = key.to_s.gsub("\\*", ".*")
164
- key << "$"
166
+ key = key.to_s.gsub('\\*', '.*')
167
+ key << '$'
165
168
  end
166
169
  end
167
170
  end
@@ -58,6 +58,7 @@ module RedisSetStore
58
58
  def bootstrap_set(prefix)
59
59
  keys = @source.keys "#{prefix}:*"
60
60
  return if keys.empty?
61
+
61
62
  set_manager.sadd(prefix, keys)
62
63
  end
63
64
 
@@ -2,11 +2,11 @@
2
2
 
3
3
  module RedisSetStore
4
4
  class Railtie < Rails::Railtie
5
- initializer "Blueprint::Cache logger" do
5
+ initializer 'Blueprint::Cache logger' do
6
6
  RedisSetStore.logger = Rails.logger
7
7
  end
8
8
 
9
- initializer "Blueprint::Cache cache" do
9
+ initializer 'Blueprint::Cache cache' do
10
10
  RedisSetStore.cache = Rails.cache
11
11
  end
12
12
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RedisSetStore
4
- VERSION = "0.1.0"
4
+ VERSION = '2.0.0'
5
5
  end
@@ -1,12 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "active_support"
4
- require "redis"
5
- require "redis-activesupport"
3
+ require 'active_support'
4
+ require 'active_support/core_ext/hash'
5
+ require 'redis'
6
+ require 'redis-activesupport'
6
7
 
7
- require "redis_set_store/version"
8
- require "active_support/cache/redis_set_store"
9
- require "redis_set_store/railtie" if defined? Rails
8
+ require 'redis_set_store/version'
9
+ require 'active_support/cache/redis_set_store'
10
+ require 'redis_set_store/railtie' if defined? Rails
10
11
 
11
12
  # A Rails cache implementation that is backed by redis and uses sets to track
12
13
  # keys for rapid expiration of large numbers of keys.
@@ -15,6 +16,6 @@ module RedisSetStore
15
16
  end
16
17
 
17
18
  unless defined? Rails
18
- RedisSetStore.logger = ActiveSupport::TaggedLogging.new(Logger.new(STDOUT))
19
+ RedisSetStore.logger = ActiveSupport::TaggedLogging.new(Logger.new($stdout))
19
20
  RedisSetStore.cache = ActiveSupport::Cache::RedisSetStore.new(/\A[^:]+:\d+/)
20
21
  end
@@ -1,39 +1,31 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path("../lib", __FILE__)
3
+ lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
- require "redis_set_store/version"
5
+ require 'redis_set_store/version'
6
6
 
7
7
  Gem::Specification.new do |spec|
8
- spec.name = "redis_set_store"
8
+ spec.name = 'redis_set_store'
9
9
  spec.version = RedisSetStore::VERSION
10
- spec.authors = ["Jeremy Wadsack"]
11
- spec.email = ["jeremy.wadsack@gmail.com"]
12
- spec.summary = "A Rails cache implementation, backed by redis, for rapid expiration of lots of keys"
13
- spec.description = "A Rails cache implementation that is backed by redis and uses sets to track keys for rapid "\
14
- "expiration of large numbers of keys"
15
- spec.homepage = "https://github.com/keylimetoolbox/redis_set_store"
16
- spec.license = "MIT"
10
+ spec.authors = ['Jeremy Wadsack']
11
+ spec.email = ['jeremy.wadsack@gmail.com']
12
+ spec.summary = 'A Rails cache implementation, backed by redis, for rapid expiration of lots of keys'
13
+ spec.description = 'A Rails cache implementation that is backed by redis and uses sets to track keys for rapid ' \
14
+ 'expiration of large numbers of keys'
15
+ spec.homepage = 'https://github.com/keylimetoolbox/redis_set_store'
16
+ spec.license = 'MIT'
17
17
 
18
18
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
19
19
  f.match(%r{^(test|spec|features)/})
20
20
  end
21
- spec.bindir = "bin"
21
+ spec.bindir = 'bin'
22
22
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
23
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
24
- spec.require_paths = ["lib"]
23
+ spec.require_paths = ['lib']
24
+ spec.required_ruby_version = '>= 3.2'
25
25
 
26
- spec.add_development_dependency "bundler", "~> 1.15"
27
- spec.add_development_dependency "rake", "~> 10.0"
28
- spec.add_development_dependency "rspec", "~> 3.0"
29
- spec.add_development_dependency "mocha", "~> 1"
30
- spec.add_development_dependency "appraisal", "~> 2.0"
31
- spec.add_development_dependency "rubocop", "~> 0"
32
- spec.add_development_dependency "bundler-audit", "~> 0"
33
-
34
- spec.add_dependency "activesupport", ">= 4.2"
35
- spec.add_dependency "railties", ">= 4.2"
36
- spec.add_dependency "redis-rails", "~> 5.0"
37
- spec.add_dependency "redis", "~> 3.0"
38
- spec.add_dependency "redis-store", "~> 1.1"
26
+ spec.add_dependency 'activesupport', '>= 5.0'
27
+ spec.add_dependency 'railties', '>= 4.2'
28
+ spec.add_dependency 'redis', '~> 5.1'
29
+ spec.add_dependency 'redis-activesupport', '~> 5.3'
30
+ spec.metadata['rubygems_mfa_required'] = 'true'
39
31
  end
metadata CHANGED
@@ -1,127 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis_set_store
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Wadsack
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-11 00:00:00.000000000 Z
11
+ date: 2025-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.15'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.15'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '10.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '10.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '3.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '3.0'
55
- - !ruby/object:Gem::Dependency
56
- name: mocha
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - "~>"
60
- - !ruby/object:Gem::Version
61
- version: '1'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - "~>"
67
- - !ruby/object:Gem::Version
68
- version: '1'
69
- - !ruby/object:Gem::Dependency
70
- name: appraisal
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '2.0'
76
- type: :development
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '2.0'
83
- - !ruby/object:Gem::Dependency
84
- name: rubocop
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: bundler-audit
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
13
  - !ruby/object:Gem::Dependency
112
14
  name: activesupport
113
15
  requirement: !ruby/object:Gem::Requirement
114
16
  requirements:
115
17
  - - ">="
116
18
  - !ruby/object:Gem::Version
117
- version: '4.2'
19
+ version: '5.0'
118
20
  type: :runtime
119
21
  prerelease: false
120
22
  version_requirements: !ruby/object:Gem::Requirement
121
23
  requirements:
122
24
  - - ">="
123
25
  - !ruby/object:Gem::Version
124
- version: '4.2'
26
+ version: '5.0'
125
27
  - !ruby/object:Gem::Dependency
126
28
  name: railties
127
29
  requirement: !ruby/object:Gem::Requirement
@@ -136,48 +38,34 @@ dependencies:
136
38
  - - ">="
137
39
  - !ruby/object:Gem::Version
138
40
  version: '4.2'
139
- - !ruby/object:Gem::Dependency
140
- name: redis-rails
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: '5.0'
146
- type: :runtime
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '5.0'
153
41
  - !ruby/object:Gem::Dependency
154
42
  name: redis
155
43
  requirement: !ruby/object:Gem::Requirement
156
44
  requirements:
157
45
  - - "~>"
158
46
  - !ruby/object:Gem::Version
159
- version: '3.0'
47
+ version: '5.1'
160
48
  type: :runtime
161
49
  prerelease: false
162
50
  version_requirements: !ruby/object:Gem::Requirement
163
51
  requirements:
164
52
  - - "~>"
165
53
  - !ruby/object:Gem::Version
166
- version: '3.0'
54
+ version: '5.1'
167
55
  - !ruby/object:Gem::Dependency
168
- name: redis-store
56
+ name: redis-activesupport
169
57
  requirement: !ruby/object:Gem::Requirement
170
58
  requirements:
171
59
  - - "~>"
172
60
  - !ruby/object:Gem::Version
173
- version: '1.1'
61
+ version: '5.3'
174
62
  type: :runtime
175
63
  prerelease: false
176
64
  version_requirements: !ruby/object:Gem::Requirement
177
65
  requirements:
178
66
  - - "~>"
179
67
  - !ruby/object:Gem::Version
180
- version: '1.1'
68
+ version: '5.3'
181
69
  description: A Rails cache implementation that is backed by redis and uses sets to
182
70
  track keys for rapid expiration of large numbers of keys
183
71
  email:
@@ -194,18 +82,17 @@ files:
194
82
  - ".ruby-gemset"
195
83
  - ".ruby-version"
196
84
  - Appraisals
85
+ - CHANGELOG.md
197
86
  - Gemfile
198
87
  - LICENSE
199
88
  - README.md
200
89
  - Rakefile
201
90
  - bin/console
202
91
  - bin/setup
203
- - gemfiles/rails_4_2.gemfile
204
- - gemfiles/rails_4_2.gemfile.lock
205
92
  - gemfiles/rails_5_0.gemfile
206
- - gemfiles/rails_5_0.gemfile.lock
207
93
  - gemfiles/rails_5_1.gemfile
208
- - gemfiles/rails_5_1.gemfile.lock
94
+ - gemfiles/rails_6_1.gemfile
95
+ - gemfiles/rails_7_1.gemfile
209
96
  - lib/active_support/cache/redis_set_store.rb
210
97
  - lib/redis_set_store.rb
211
98
  - lib/redis_set_store/bootstrap.rb
@@ -215,8 +102,9 @@ files:
215
102
  homepage: https://github.com/keylimetoolbox/redis_set_store
216
103
  licenses:
217
104
  - MIT
218
- metadata: {}
219
- post_install_message:
105
+ metadata:
106
+ rubygems_mfa_required: 'true'
107
+ post_install_message:
220
108
  rdoc_options: []
221
109
  require_paths:
222
110
  - lib
@@ -224,16 +112,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
224
112
  requirements:
225
113
  - - ">="
226
114
  - !ruby/object:Gem::Version
227
- version: '0'
115
+ version: '3.2'
228
116
  required_rubygems_version: !ruby/object:Gem::Requirement
229
117
  requirements:
230
118
  - - ">="
231
119
  - !ruby/object:Gem::Version
232
120
  version: '0'
233
121
  requirements: []
234
- rubyforge_project:
235
- rubygems_version: 2.6.11
236
- signing_key:
122
+ rubygems_version: 3.5.7
123
+ signing_key:
237
124
  specification_version: 4
238
125
  summary: A Rails cache implementation, backed by redis, for rapid expiration of lots
239
126
  of keys
@@ -1,7 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "rails", "4.2.9"
6
-
7
- gemspec path: "../"
@@ -1,178 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- redis_set_store (0.1.0)
5
- activesupport (>= 4.2)
6
- railties (>= 4.2)
7
- redis (~> 3.0)
8
- redis-rails (~> 5.0)
9
- redis-store (~> 1.1)
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- actionmailer (4.2.9)
15
- actionpack (= 4.2.9)
16
- actionview (= 4.2.9)
17
- activejob (= 4.2.9)
18
- mail (~> 2.5, >= 2.5.4)
19
- rails-dom-testing (~> 1.0, >= 1.0.5)
20
- actionpack (4.2.9)
21
- actionview (= 4.2.9)
22
- activesupport (= 4.2.9)
23
- rack (~> 1.6)
24
- rack-test (~> 0.6.2)
25
- rails-dom-testing (~> 1.0, >= 1.0.5)
26
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (4.2.9)
28
- activesupport (= 4.2.9)
29
- builder (~> 3.1)
30
- erubis (~> 2.7.0)
31
- rails-dom-testing (~> 1.0, >= 1.0.5)
32
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (4.2.9)
34
- activesupport (= 4.2.9)
35
- globalid (>= 0.3.0)
36
- activemodel (4.2.9)
37
- activesupport (= 4.2.9)
38
- builder (~> 3.1)
39
- activerecord (4.2.9)
40
- activemodel (= 4.2.9)
41
- activesupport (= 4.2.9)
42
- arel (~> 6.0)
43
- activesupport (4.2.9)
44
- i18n (~> 0.7)
45
- minitest (~> 5.1)
46
- thread_safe (~> 0.3, >= 0.3.4)
47
- tzinfo (~> 1.1)
48
- appraisal (2.2.0)
49
- bundler
50
- rake
51
- thor (>= 0.14.0)
52
- arel (6.0.4)
53
- ast (2.3.0)
54
- builder (3.2.3)
55
- bundler-audit (0.6.0)
56
- bundler (~> 1.2)
57
- thor (~> 0.18)
58
- concurrent-ruby (1.0.5)
59
- diff-lcs (1.3)
60
- erubis (2.7.0)
61
- globalid (0.4.0)
62
- activesupport (>= 4.2.0)
63
- i18n (0.8.6)
64
- loofah (2.0.3)
65
- nokogiri (>= 1.5.9)
66
- mail (2.6.6)
67
- mime-types (>= 1.16, < 4)
68
- metaclass (0.0.4)
69
- mime-types (3.1)
70
- mime-types-data (~> 3.2015)
71
- mime-types-data (3.2016.0521)
72
- mini_portile2 (2.2.0)
73
- minitest (5.10.3)
74
- mocha (1.2.1)
75
- metaclass (~> 0.0.1)
76
- nokogiri (1.8.0)
77
- mini_portile2 (~> 2.2.0)
78
- parallel (1.12.0)
79
- parser (2.4.0.0)
80
- ast (~> 2.2)
81
- powerpack (0.1.1)
82
- rack (1.6.8)
83
- rack-test (0.6.3)
84
- rack (>= 1.0)
85
- rails (4.2.9)
86
- actionmailer (= 4.2.9)
87
- actionpack (= 4.2.9)
88
- actionview (= 4.2.9)
89
- activejob (= 4.2.9)
90
- activemodel (= 4.2.9)
91
- activerecord (= 4.2.9)
92
- activesupport (= 4.2.9)
93
- bundler (>= 1.3.0, < 2.0)
94
- railties (= 4.2.9)
95
- sprockets-rails
96
- rails-deprecated_sanitizer (1.0.3)
97
- activesupport (>= 4.2.0.alpha)
98
- rails-dom-testing (1.0.8)
99
- activesupport (>= 4.2.0.beta, < 5.0)
100
- nokogiri (~> 1.6)
101
- rails-deprecated_sanitizer (>= 1.0.1)
102
- rails-html-sanitizer (1.0.3)
103
- loofah (~> 2.0)
104
- railties (4.2.9)
105
- actionpack (= 4.2.9)
106
- activesupport (= 4.2.9)
107
- rake (>= 0.8.7)
108
- thor (>= 0.18.1, < 2.0)
109
- rainbow (2.2.2)
110
- rake
111
- rake (10.5.0)
112
- redis (3.3.3)
113
- redis-actionpack (5.0.1)
114
- actionpack (>= 4.0, < 6)
115
- redis-rack (>= 1, < 3)
116
- redis-store (>= 1.1.0, < 1.4.0)
117
- redis-activesupport (5.0.3)
118
- activesupport (>= 3, < 6)
119
- redis-store (~> 1.3.0)
120
- redis-rack (2.0.2)
121
- rack (>= 1.5, < 3)
122
- redis-store (>= 1.2, < 1.4)
123
- redis-rails (5.0.2)
124
- redis-actionpack (>= 5.0, < 6)
125
- redis-activesupport (>= 5.0, < 6)
126
- redis-store (>= 1.2, < 2)
127
- redis-store (1.3.0)
128
- redis (>= 2.2)
129
- rspec (3.5.0)
130
- rspec-core (~> 3.5.0)
131
- rspec-expectations (~> 3.5.0)
132
- rspec-mocks (~> 3.5.0)
133
- rspec-core (3.5.4)
134
- rspec-support (~> 3.5.0)
135
- rspec-expectations (3.5.0)
136
- diff-lcs (>= 1.2.0, < 2.0)
137
- rspec-support (~> 3.5.0)
138
- rspec-mocks (3.5.0)
139
- diff-lcs (>= 1.2.0, < 2.0)
140
- rspec-support (~> 3.5.0)
141
- rspec-support (3.5.0)
142
- rubocop (0.49.1)
143
- parallel (~> 1.10)
144
- parser (>= 2.3.3.1, < 3.0)
145
- powerpack (~> 0.1)
146
- rainbow (>= 1.99.1, < 3.0)
147
- ruby-progressbar (~> 1.7)
148
- unicode-display_width (~> 1.0, >= 1.0.1)
149
- ruby-progressbar (1.8.1)
150
- sprockets (3.7.1)
151
- concurrent-ruby (~> 1.0)
152
- rack (> 1, < 3)
153
- sprockets-rails (3.2.0)
154
- actionpack (>= 4.0)
155
- activesupport (>= 4.0)
156
- sprockets (>= 3.0.0)
157
- thor (0.19.4)
158
- thread_safe (0.3.6)
159
- tzinfo (1.2.3)
160
- thread_safe (~> 0.1)
161
- unicode-display_width (1.3.0)
162
-
163
- PLATFORMS
164
- ruby
165
-
166
- DEPENDENCIES
167
- appraisal (~> 2.0)
168
- bundler (~> 1.15)
169
- bundler-audit (~> 0)
170
- mocha (~> 1)
171
- rails (= 4.2.9)
172
- rake (~> 10.0)
173
- redis_set_store!
174
- rspec (~> 3.0)
175
- rubocop (~> 0)
176
-
177
- BUNDLED WITH
178
- 1.15.3
@@ -1,185 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- redis_set_store (0.1.0)
5
- activesupport (>= 4.2)
6
- railties (>= 4.2)
7
- redis (~> 3.0)
8
- redis-rails (~> 5.0)
9
- redis-store (~> 1.1)
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- actioncable (5.0.5)
15
- actionpack (= 5.0.5)
16
- nio4r (>= 1.2, < 3.0)
17
- websocket-driver (~> 0.6.1)
18
- actionmailer (5.0.5)
19
- actionpack (= 5.0.5)
20
- actionview (= 5.0.5)
21
- activejob (= 5.0.5)
22
- mail (~> 2.5, >= 2.5.4)
23
- rails-dom-testing (~> 2.0)
24
- actionpack (5.0.5)
25
- actionview (= 5.0.5)
26
- activesupport (= 5.0.5)
27
- rack (~> 2.0)
28
- rack-test (~> 0.6.3)
29
- rails-dom-testing (~> 2.0)
30
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
- actionview (5.0.5)
32
- activesupport (= 5.0.5)
33
- builder (~> 3.1)
34
- erubis (~> 2.7.0)
35
- rails-dom-testing (~> 2.0)
36
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
37
- activejob (5.0.5)
38
- activesupport (= 5.0.5)
39
- globalid (>= 0.3.6)
40
- activemodel (5.0.5)
41
- activesupport (= 5.0.5)
42
- activerecord (5.0.5)
43
- activemodel (= 5.0.5)
44
- activesupport (= 5.0.5)
45
- arel (~> 7.0)
46
- activesupport (5.0.5)
47
- concurrent-ruby (~> 1.0, >= 1.0.2)
48
- i18n (~> 0.7)
49
- minitest (~> 5.1)
50
- tzinfo (~> 1.1)
51
- appraisal (2.2.0)
52
- bundler
53
- rake
54
- thor (>= 0.14.0)
55
- arel (7.1.4)
56
- ast (2.3.0)
57
- builder (3.2.3)
58
- bundler-audit (0.6.0)
59
- bundler (~> 1.2)
60
- thor (~> 0.18)
61
- concurrent-ruby (1.0.5)
62
- diff-lcs (1.3)
63
- erubis (2.7.0)
64
- globalid (0.4.0)
65
- activesupport (>= 4.2.0)
66
- i18n (0.8.6)
67
- loofah (2.0.3)
68
- nokogiri (>= 1.5.9)
69
- mail (2.6.6)
70
- mime-types (>= 1.16, < 4)
71
- metaclass (0.0.4)
72
- method_source (0.8.2)
73
- mime-types (3.1)
74
- mime-types-data (~> 3.2015)
75
- mime-types-data (3.2016.0521)
76
- mini_portile2 (2.2.0)
77
- minitest (5.10.3)
78
- mocha (1.2.1)
79
- metaclass (~> 0.0.1)
80
- nio4r (2.1.0)
81
- nokogiri (1.8.0)
82
- mini_portile2 (~> 2.2.0)
83
- parallel (1.12.0)
84
- parser (2.4.0.0)
85
- ast (~> 2.2)
86
- powerpack (0.1.1)
87
- rack (2.0.3)
88
- rack-test (0.6.3)
89
- rack (>= 1.0)
90
- rails (5.0.5)
91
- actioncable (= 5.0.5)
92
- actionmailer (= 5.0.5)
93
- actionpack (= 5.0.5)
94
- actionview (= 5.0.5)
95
- activejob (= 5.0.5)
96
- activemodel (= 5.0.5)
97
- activerecord (= 5.0.5)
98
- activesupport (= 5.0.5)
99
- bundler (>= 1.3.0)
100
- railties (= 5.0.5)
101
- sprockets-rails (>= 2.0.0)
102
- rails-dom-testing (2.0.3)
103
- activesupport (>= 4.2.0)
104
- nokogiri (>= 1.6)
105
- rails-html-sanitizer (1.0.3)
106
- loofah (~> 2.0)
107
- railties (5.0.5)
108
- actionpack (= 5.0.5)
109
- activesupport (= 5.0.5)
110
- method_source
111
- rake (>= 0.8.7)
112
- thor (>= 0.18.1, < 2.0)
113
- rainbow (2.2.2)
114
- rake
115
- rake (10.5.0)
116
- redis (3.3.3)
117
- redis-actionpack (5.0.1)
118
- actionpack (>= 4.0, < 6)
119
- redis-rack (>= 1, < 3)
120
- redis-store (>= 1.1.0, < 1.4.0)
121
- redis-activesupport (5.0.3)
122
- activesupport (>= 3, < 6)
123
- redis-store (~> 1.3.0)
124
- redis-rack (2.0.2)
125
- rack (>= 1.5, < 3)
126
- redis-store (>= 1.2, < 1.4)
127
- redis-rails (5.0.2)
128
- redis-actionpack (>= 5.0, < 6)
129
- redis-activesupport (>= 5.0, < 6)
130
- redis-store (>= 1.2, < 2)
131
- redis-store (1.3.0)
132
- redis (>= 2.2)
133
- rspec (3.5.0)
134
- rspec-core (~> 3.5.0)
135
- rspec-expectations (~> 3.5.0)
136
- rspec-mocks (~> 3.5.0)
137
- rspec-core (3.5.4)
138
- rspec-support (~> 3.5.0)
139
- rspec-expectations (3.5.0)
140
- diff-lcs (>= 1.2.0, < 2.0)
141
- rspec-support (~> 3.5.0)
142
- rspec-mocks (3.5.0)
143
- diff-lcs (>= 1.2.0, < 2.0)
144
- rspec-support (~> 3.5.0)
145
- rspec-support (3.5.0)
146
- rubocop (0.49.1)
147
- parallel (~> 1.10)
148
- parser (>= 2.3.3.1, < 3.0)
149
- powerpack (~> 0.1)
150
- rainbow (>= 1.99.1, < 3.0)
151
- ruby-progressbar (~> 1.7)
152
- unicode-display_width (~> 1.0, >= 1.0.1)
153
- ruby-progressbar (1.8.1)
154
- sprockets (3.7.1)
155
- concurrent-ruby (~> 1.0)
156
- rack (> 1, < 3)
157
- sprockets-rails (3.2.0)
158
- actionpack (>= 4.0)
159
- activesupport (>= 4.0)
160
- sprockets (>= 3.0.0)
161
- thor (0.19.4)
162
- thread_safe (0.3.6)
163
- tzinfo (1.2.3)
164
- thread_safe (~> 0.1)
165
- unicode-display_width (1.3.0)
166
- websocket-driver (0.6.5)
167
- websocket-extensions (>= 0.1.0)
168
- websocket-extensions (0.1.2)
169
-
170
- PLATFORMS
171
- ruby
172
-
173
- DEPENDENCIES
174
- appraisal (~> 2.0)
175
- bundler (~> 1.15)
176
- bundler-audit (~> 0)
177
- mocha (~> 1)
178
- rails (= 5.0.5)
179
- rake (~> 10.0)
180
- redis_set_store!
181
- rspec (~> 3.0)
182
- rubocop (~> 0)
183
-
184
- BUNDLED WITH
185
- 1.15.3
@@ -1,185 +0,0 @@
1
- PATH
2
- remote: ..
3
- specs:
4
- redis_set_store (0.1.0)
5
- activesupport (>= 4.2)
6
- railties (>= 4.2)
7
- redis (~> 3.0)
8
- redis-rails (~> 5.0)
9
- redis-store (~> 1.1)
10
-
11
- GEM
12
- remote: https://rubygems.org/
13
- specs:
14
- actioncable (5.1.3)
15
- actionpack (= 5.1.3)
16
- nio4r (~> 2.0)
17
- websocket-driver (~> 0.6.1)
18
- actionmailer (5.1.3)
19
- actionpack (= 5.1.3)
20
- actionview (= 5.1.3)
21
- activejob (= 5.1.3)
22
- mail (~> 2.5, >= 2.5.4)
23
- rails-dom-testing (~> 2.0)
24
- actionpack (5.1.3)
25
- actionview (= 5.1.3)
26
- activesupport (= 5.1.3)
27
- rack (~> 2.0)
28
- rack-test (~> 0.6.3)
29
- rails-dom-testing (~> 2.0)
30
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
31
- actionview (5.1.3)
32
- activesupport (= 5.1.3)
33
- builder (~> 3.1)
34
- erubi (~> 1.4)
35
- rails-dom-testing (~> 2.0)
36
- rails-html-sanitizer (~> 1.0, >= 1.0.3)
37
- activejob (5.1.3)
38
- activesupport (= 5.1.3)
39
- globalid (>= 0.3.6)
40
- activemodel (5.1.3)
41
- activesupport (= 5.1.3)
42
- activerecord (5.1.3)
43
- activemodel (= 5.1.3)
44
- activesupport (= 5.1.3)
45
- arel (~> 8.0)
46
- activesupport (5.1.3)
47
- concurrent-ruby (~> 1.0, >= 1.0.2)
48
- i18n (~> 0.7)
49
- minitest (~> 5.1)
50
- tzinfo (~> 1.1)
51
- appraisal (2.2.0)
52
- bundler
53
- rake
54
- thor (>= 0.14.0)
55
- arel (8.0.0)
56
- ast (2.3.0)
57
- builder (3.2.3)
58
- bundler-audit (0.6.0)
59
- bundler (~> 1.2)
60
- thor (~> 0.18)
61
- concurrent-ruby (1.0.5)
62
- diff-lcs (1.3)
63
- erubi (1.6.1)
64
- globalid (0.4.0)
65
- activesupport (>= 4.2.0)
66
- i18n (0.8.6)
67
- loofah (2.0.3)
68
- nokogiri (>= 1.5.9)
69
- mail (2.6.6)
70
- mime-types (>= 1.16, < 4)
71
- metaclass (0.0.4)
72
- method_source (0.8.2)
73
- mime-types (3.1)
74
- mime-types-data (~> 3.2015)
75
- mime-types-data (3.2016.0521)
76
- mini_portile2 (2.2.0)
77
- minitest (5.10.3)
78
- mocha (1.2.1)
79
- metaclass (~> 0.0.1)
80
- nio4r (2.1.0)
81
- nokogiri (1.8.0)
82
- mini_portile2 (~> 2.2.0)
83
- parallel (1.12.0)
84
- parser (2.4.0.0)
85
- ast (~> 2.2)
86
- powerpack (0.1.1)
87
- rack (2.0.3)
88
- rack-test (0.6.3)
89
- rack (>= 1.0)
90
- rails (5.1.3)
91
- actioncable (= 5.1.3)
92
- actionmailer (= 5.1.3)
93
- actionpack (= 5.1.3)
94
- actionview (= 5.1.3)
95
- activejob (= 5.1.3)
96
- activemodel (= 5.1.3)
97
- activerecord (= 5.1.3)
98
- activesupport (= 5.1.3)
99
- bundler (>= 1.3.0)
100
- railties (= 5.1.3)
101
- sprockets-rails (>= 2.0.0)
102
- rails-dom-testing (2.0.3)
103
- activesupport (>= 4.2.0)
104
- nokogiri (>= 1.6)
105
- rails-html-sanitizer (1.0.3)
106
- loofah (~> 2.0)
107
- railties (5.1.3)
108
- actionpack (= 5.1.3)
109
- activesupport (= 5.1.3)
110
- method_source
111
- rake (>= 0.8.7)
112
- thor (>= 0.18.1, < 2.0)
113
- rainbow (2.2.2)
114
- rake
115
- rake (10.5.0)
116
- redis (3.3.3)
117
- redis-actionpack (5.0.1)
118
- actionpack (>= 4.0, < 6)
119
- redis-rack (>= 1, < 3)
120
- redis-store (>= 1.1.0, < 1.4.0)
121
- redis-activesupport (5.0.3)
122
- activesupport (>= 3, < 6)
123
- redis-store (~> 1.3.0)
124
- redis-rack (2.0.2)
125
- rack (>= 1.5, < 3)
126
- redis-store (>= 1.2, < 1.4)
127
- redis-rails (5.0.2)
128
- redis-actionpack (>= 5.0, < 6)
129
- redis-activesupport (>= 5.0, < 6)
130
- redis-store (>= 1.2, < 2)
131
- redis-store (1.3.0)
132
- redis (>= 2.2)
133
- rspec (3.6.0)
134
- rspec-core (~> 3.6.0)
135
- rspec-expectations (~> 3.6.0)
136
- rspec-mocks (~> 3.6.0)
137
- rspec-core (3.6.0)
138
- rspec-support (~> 3.6.0)
139
- rspec-expectations (3.6.0)
140
- diff-lcs (>= 1.2.0, < 2.0)
141
- rspec-support (~> 3.6.0)
142
- rspec-mocks (3.6.0)
143
- diff-lcs (>= 1.2.0, < 2.0)
144
- rspec-support (~> 3.6.0)
145
- rspec-support (3.6.0)
146
- rubocop (0.49.1)
147
- parallel (~> 1.10)
148
- parser (>= 2.3.3.1, < 3.0)
149
- powerpack (~> 0.1)
150
- rainbow (>= 1.99.1, < 3.0)
151
- ruby-progressbar (~> 1.7)
152
- unicode-display_width (~> 1.0, >= 1.0.1)
153
- ruby-progressbar (1.8.1)
154
- sprockets (3.7.1)
155
- concurrent-ruby (~> 1.0)
156
- rack (> 1, < 3)
157
- sprockets-rails (3.2.0)
158
- actionpack (>= 4.0)
159
- activesupport (>= 4.0)
160
- sprockets (>= 3.0.0)
161
- thor (0.19.4)
162
- thread_safe (0.3.6)
163
- tzinfo (1.2.3)
164
- thread_safe (~> 0.1)
165
- unicode-display_width (1.3.0)
166
- websocket-driver (0.6.5)
167
- websocket-extensions (>= 0.1.0)
168
- websocket-extensions (0.1.2)
169
-
170
- PLATFORMS
171
- ruby
172
-
173
- DEPENDENCIES
174
- appraisal (~> 2.0)
175
- bundler (~> 1.15)
176
- bundler-audit (~> 0)
177
- mocha (~> 1)
178
- rails (= 5.1.3)
179
- rake (~> 10.0)
180
- redis_set_store!
181
- rspec (~> 3.0)
182
- rubocop (~> 0)
183
-
184
- BUNDLED WITH
185
- 1.15.3