redis-prescription 2.3.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/lib/redis/prescription.rb +23 -0
- data/lib/redis-prescription.rb +1 -0
- data/lib/redis_prescription/version.rb +1 -1
- metadata +3 -2
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
|
@@ -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,7 +1,7 @@
|
|
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
|
@@ -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: []
|