redis-prescription 2.2.0 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +9 -1
- data/lib/redis/prescription.rb +23 -0
- data/lib/redis-prescription.rb +1 -0
- data/lib/redis_prescription/errors.rb +1 -1
- data/lib/redis_prescription/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 354a94422396fda6136797808b779601e496bd65820569745c5394e6ae3da356
|
4
|
+
data.tar.gz: 19991740730012d7667f792e9c4324ae115fbe3e616d4295616b579cf2f8b7b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c10f0ee851f6e1b026d3d64b9903f140093b236e1964155bcef5e7c72417e5b68ae79cfc9b647a03c1ebd425d16772022ad2bb8175292e0a83c5231dd2a54e7
|
7
|
+
data.tar.gz: a605ed2d14492a8e638c16a38bafab2afc37d5cc731c59df65ed3cae067cfeb75d9848115d434a302d7852df78678faccd5646a82568c91d04d8c7be9c19b533
|
data/README.adoc
CHANGED
@@ -31,17 +31,25 @@ script.call(redis, keys: [:xxx]) # => 123
|
|
31
31
|
----
|
32
32
|
|
33
33
|
|
34
|
-
==
|
34
|
+
== Compatibility
|
35
35
|
|
36
36
|
This library aims to support and is tested against:
|
37
37
|
|
38
38
|
* https://www.ruby-lang.org[Ruby]
|
39
|
+
** MRI 2.7.x
|
39
40
|
** MRI 3.0.x
|
40
41
|
** MRI 3.1.x
|
42
|
+
** MRI 3.2.x
|
41
43
|
* https://redis.io[Redis Server]
|
42
44
|
** 6.2.x
|
43
45
|
** 7.0.x
|
44
46
|
* https://github.com/redis/redis-rb[redis-rb]
|
47
|
+
** 4.1.x
|
48
|
+
** 4.2.x
|
49
|
+
** 4.3.x
|
50
|
+
** 4.4.x
|
51
|
+
** 4.5.x
|
52
|
+
** 4.6.x
|
45
53
|
** 4.7.x
|
46
54
|
** 4.8.x
|
47
55
|
** 5.0.x
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative "../redis_prescription"
|
4
|
+
|
5
|
+
class Redis
|
6
|
+
# @deprecated
|
7
|
+
# @see RedisPrescription
|
8
|
+
class Prescription < RedisPrescription
|
9
|
+
class << self
|
10
|
+
attr_accessor :silence_deprecation_warning
|
11
|
+
end
|
12
|
+
|
13
|
+
self.silence_deprecation_warning = false
|
14
|
+
|
15
|
+
def initialize(*)
|
16
|
+
super
|
17
|
+
|
18
|
+
return if self.class.silence_deprecation_warning
|
19
|
+
|
20
|
+
warn "#{self.class} usage was deprecated, please use RedisPrescription instead"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/redis-prescription.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redis-prescription
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexey Zapparov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: |
|
14
14
|
Preloads (and reloads when needed, e.g. when scripts were flushed away)
|
@@ -22,6 +22,7 @@ files:
|
|
22
22
|
- LICENSE.txt
|
23
23
|
- README.adoc
|
24
24
|
- lib/redis-prescription.rb
|
25
|
+
- lib/redis/prescription.rb
|
25
26
|
- lib/redis_prescription.rb
|
26
27
|
- lib/redis_prescription/adapters.rb
|
27
28
|
- lib/redis_prescription/adapters/redis.rb
|
@@ -36,7 +37,7 @@ metadata:
|
|
36
37
|
homepage_uri: https://gitlab.com/ixti/redis-prescription
|
37
38
|
source_code_uri: https://gitlab.com/ixti/redis-prescription
|
38
39
|
bug_tracker_uri: https://gitlab.com/ixti/redis-prescription/issues
|
39
|
-
changelog_uri: https://gitlab.com/ixti/redis-prescription/blob/v2.
|
40
|
+
changelog_uri: https://gitlab.com/ixti/redis-prescription/blob/v2.4.0/CHANGES.md
|
40
41
|
rubygems_mfa_required: 'true'
|
41
42
|
post_install_message:
|
42
43
|
rdoc_options: []
|
@@ -46,7 +47,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
46
47
|
requirements:
|
47
48
|
- - ">="
|
48
49
|
- !ruby/object:Gem::Version
|
49
|
-
version: '
|
50
|
+
version: '2.7'
|
50
51
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
53
|
- - ">="
|