redis-activesupport 5.2.0 → 5.2.1

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: c467729c3fee8d572a088a25cae9e2c176b22e72059269af4861a91c306c92c1
4
- data.tar.gz: 8cfcf74186f0d12526c92688f77e6ec3ec752d17fc8e09104ce74bb3c98459b9
3
+ metadata.gz: 97eb2a5bdf33332f087f0f23209184624afa1800baf44ed0cbae6c1b8da90ed4
4
+ data.tar.gz: 349ad4d2542eb8a0d92ead51e26415a18e7a918587d5104f1439b983cbdaf7ca
5
5
  SHA512:
6
- metadata.gz: 3d2a2c778b147fee2b9e1951cfddeec3bf761187387e51b538c70599de80c9433d27c9ae5865e6c469eec9fc82e18b47d251d594bbe05d186d63e7c53e141306
7
- data.tar.gz: 8613a936dca3aa2acc54579140989b3a32e36023c6e0bb1c6bc717545febdce0e9f297178bde59d124790c2ab74ebd6b3926b73774fbc5532269e75d6d88510b
6
+ metadata.gz: cfe500173fb4d0633c0efb04e9e0841532f61dfd47d57865c2acb8eb03e102eab0283b6ad245b5b44fbe1270712143348d2b613d800d3c648ceac51dd1e49ddc
7
+ data.tar.gz: 5a7656320765a145c2f2bcde246a9a54e14cc6bba5488704f8ff10a9503f4218385a4743f3b215af50375d202a17ae6efeee41cf68fa4bcb0206bd280954891e
@@ -0,0 +1,2 @@
1
+ assignees:
2
+ - tubbo
@@ -77,12 +77,12 @@ module ActiveSupport
77
77
  end
78
78
 
79
79
  def write(name, value, options = nil)
80
- options = merged_options(options)
81
- instrument(:write, name, options) do |payload|
80
+ options = merged_options(options.to_h.symbolize_keys)
81
+ instrument(:write, name, options) do |_payload|
82
82
  if options[:expires_in].present? && options[:race_condition_ttl].present? && options[:raw].blank?
83
83
  options[:expires_in] = options[:expires_in].to_f + options[:race_condition_ttl].to_f
84
84
  end
85
- entry = options[:raw].present? ? value : Entry.new(value, options)
85
+ entry = options[:raw].present? ? value : Entry.new(value, **options)
86
86
  write_entry(normalize_key(name, options), entry, options)
87
87
  end
88
88
  end
@@ -1,5 +1,5 @@
1
1
  class Redis
2
2
  module ActiveSupport
3
- VERSION = '5.2.0'
3
+ VERSION = '5.2.1'
4
4
  end
5
5
  end
@@ -21,11 +21,11 @@ Gem::Specification.new do |s|
21
21
  s.add_runtime_dependency "redis-store", '>= 1.3', '< 2'
22
22
  s.add_runtime_dependency 'activesupport', '>= 3', '< 7'
23
23
 
24
- s.add_development_dependency 'rake', '~> 10'
24
+ s.add_development_dependency 'rake', '>= 12.3.3'
25
25
  s.add_development_dependency 'bundler'
26
26
  s.add_development_dependency 'mocha', '~> 0.14.0'
27
27
  s.add_development_dependency 'minitest', '>= 4.2', '< 6'
28
- s.add_development_dependency 'connection_pool', '~> 2.2.0'
28
+ s.add_development_dependency 'connection_pool', '= 2.2.2'
29
29
  s.add_development_dependency 'redis-store-testing'
30
30
  s.add_development_dependency 'appraisal', '~> 2.0'
31
31
  s.add_development_dependency 'pry-byebug', '~> 3'
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: redis-activesupport
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.0
4
+ version: 5.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  - Ryan Bigg
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-08-23 00:00:00.000000000 Z
12
+ date: 2021-05-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: redis-store
@@ -55,16 +55,16 @@ dependencies:
55
55
  name: rake
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - "~>"
58
+ - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: '10'
60
+ version: 12.3.3
61
61
  type: :development
62
62
  prerelease: false
63
63
  version_requirements: !ruby/object:Gem::Requirement
64
64
  requirements:
65
- - - "~>"
65
+ - - ">="
66
66
  - !ruby/object:Gem::Version
67
- version: '10'
67
+ version: 12.3.3
68
68
  - !ruby/object:Gem::Dependency
69
69
  name: bundler
70
70
  requirement: !ruby/object:Gem::Requirement
@@ -117,16 +117,16 @@ dependencies:
117
117
  name: connection_pool
118
118
  requirement: !ruby/object:Gem::Requirement
119
119
  requirements:
120
- - - "~>"
120
+ - - '='
121
121
  - !ruby/object:Gem::Version
122
- version: 2.2.0
122
+ version: 2.2.2
123
123
  type: :development
124
124
  prerelease: false
125
125
  version_requirements: !ruby/object:Gem::Requirement
126
126
  requirements:
127
- - - "~>"
127
+ - - '='
128
128
  - !ruby/object:Gem::Version
129
- version: 2.2.0
129
+ version: 2.2.2
130
130
  - !ruby/object:Gem::Dependency
131
131
  name: redis-store-testing
132
132
  requirement: !ruby/object:Gem::Requirement
@@ -177,6 +177,7 @@ executables: []
177
177
  extensions: []
178
178
  extra_rdoc_files: []
179
179
  files:
180
+ - ".github/auto-assign-issues.yml"
180
181
  - ".gitignore"
181
182
  - ".travis.yml"
182
183
  - Appraisals
@@ -200,7 +201,7 @@ homepage: http://redis-store.org/redis-activesupport
200
201
  licenses:
201
202
  - MIT
202
203
  metadata: {}
203
- post_install_message:
204
+ post_install_message:
204
205
  rdoc_options: []
205
206
  require_paths:
206
207
  - lib
@@ -215,8 +216,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
215
216
  - !ruby/object:Gem::Version
216
217
  version: '0'
217
218
  requirements: []
218
- rubygems_version: 3.0.6
219
- signing_key:
219
+ rubygems_version: 3.1.2
220
+ signing_key:
220
221
  specification_version: 4
221
222
  summary: Redis store for ActiveSupport
222
223
  test_files: