lite-redis 1.0.2 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +19 -3
- data/.travis.yml +1 -0
- data/CHANGELOG.md +16 -0
- data/Gemfile.lock +95 -82
- data/lib/lite/redis/configuration.rb +16 -8
- data/lib/lite/redis/helpers/hash_helper.rb +1 -1
- data/lib/lite/redis/helpers/key_helper.rb +2 -2
- data/lib/lite/redis/helpers/set_helper.rb +1 -1
- data/lib/lite/redis/helpers/sorted_set_helper.rb +18 -18
- data/lib/lite/redis/helpers/string_helper.rb +5 -7
- data/lib/lite/redis/railtie.rb +2 -2
- data/lib/lite/redis/version.rb +1 -1
- data/lite-redis.gemspec +2 -1
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fe6ed04a6a9ab1b783f2794945cd7a7dc71f9f6a7a31676a2b0c6e7f5b694eb
|
4
|
+
data.tar.gz: bd31712a935a984c00b34251aacc80b5a8d6cb655e830de725949b0a585fd0bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4bb1b7d5c0a8cd365659485a81019a8f6134b496d76b03f41a3cfd744971867783bd25511d29a4b7da383dbe66ec53c9b7d3040e46a8067a01b192bbd9fe03b9
|
7
|
+
data.tar.gz: a908627460933ff42a5ee702e8bf7da6610484122ef87a758efae44a47bce74933b2f4a989435ae838a9d8748323748d2f71a2c06173be6f3c2a54ebe508fc6f
|
data/.rubocop.yml
CHANGED
@@ -1,12 +1,16 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-performance
|
3
|
+
- rubocop-rake
|
3
4
|
- rubocop-rspec
|
4
5
|
AllCops:
|
5
|
-
TargetRubyVersion:
|
6
|
+
TargetRubyVersion: 3.0
|
7
|
+
NewCops: enable
|
6
8
|
DisplayCopNames: true
|
7
9
|
DisplayStyleGuide: true
|
8
|
-
|
9
|
-
|
10
|
+
Gemspec/RequiredRubyVersion:
|
11
|
+
Enabled: false
|
12
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
13
|
+
Enabled: true
|
10
14
|
Layout/EmptyLinesAroundBlockBody:
|
11
15
|
Exclude:
|
12
16
|
- 'spec/**/**/*'
|
@@ -14,16 +18,28 @@ Layout/EmptyLinesAroundClassBody:
|
|
14
18
|
EnforcedStyle: empty_lines_except_namespace
|
15
19
|
Layout/EmptyLinesAroundModuleBody:
|
16
20
|
EnforcedStyle: empty_lines_except_namespace
|
21
|
+
Layout/LineLength:
|
22
|
+
Max: 100
|
23
|
+
Layout/SpaceAroundMethodCallOperator:
|
24
|
+
Enabled: true
|
25
|
+
Lint/RaiseException:
|
26
|
+
Enabled: true
|
27
|
+
Lint/StructNewOverride:
|
28
|
+
Enabled: true
|
17
29
|
Metrics/BlockLength:
|
18
30
|
Exclude:
|
19
31
|
- 'spec/**/**/*'
|
20
32
|
- '*.gemspec'
|
33
|
+
Naming/InclusiveLanguage:
|
34
|
+
Enabled: false
|
21
35
|
RSpec/EmptyExampleGroup:
|
22
36
|
Enabled: false
|
23
37
|
RSpec/ExampleLength:
|
24
38
|
Enabled: false
|
25
39
|
RSpec/MultipleExpectations:
|
26
40
|
Enabled: false
|
41
|
+
Style/ArgumentsForwarding:
|
42
|
+
Enabled: false
|
27
43
|
Style/Documentation:
|
28
44
|
Enabled: false
|
29
45
|
Style/ExpandPathArguments:
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [1.1.0] - 2021-07-19
|
10
|
+
### Added
|
11
|
+
- Added Ruby 3.0 support
|
12
|
+
|
13
|
+
## [1.0.5] - 2020-07-03
|
14
|
+
### Added
|
15
|
+
- Added Ruby 2.7 support
|
16
|
+
|
17
|
+
## [1.0.4] - 2019-08-24
|
18
|
+
### Changed
|
19
|
+
- Improved how configuration works
|
20
|
+
|
21
|
+
## [1.0.3] - 2019-08-15
|
22
|
+
### Changed
|
23
|
+
- Fix broken rake task
|
24
|
+
|
9
25
|
## [1.0.2] - 2019-08-15
|
10
26
|
### Changed
|
11
27
|
- Underscore initializer file name
|
data/Gemfile.lock
CHANGED
@@ -1,118 +1,130 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lite-redis (1.0
|
4
|
+
lite-redis (1.1.0)
|
5
5
|
redis
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actionpack (
|
11
|
-
actionview (=
|
12
|
-
activesupport (=
|
13
|
-
rack (~> 2.0)
|
10
|
+
actionpack (6.1.4)
|
11
|
+
actionview (= 6.1.4)
|
12
|
+
activesupport (= 6.1.4)
|
13
|
+
rack (~> 2.0, >= 2.0.9)
|
14
14
|
rack-test (>= 0.6.3)
|
15
15
|
rails-dom-testing (~> 2.0)
|
16
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
17
|
-
actionview (
|
18
|
-
activesupport (=
|
16
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
17
|
+
actionview (6.1.4)
|
18
|
+
activesupport (= 6.1.4)
|
19
19
|
builder (~> 3.1)
|
20
20
|
erubi (~> 1.4)
|
21
21
|
rails-dom-testing (~> 2.0)
|
22
|
-
rails-html-sanitizer (~> 1.
|
23
|
-
activesupport (
|
22
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
23
|
+
activesupport (6.1.4)
|
24
24
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
25
|
-
i18n (>=
|
26
|
-
minitest (
|
27
|
-
tzinfo (~>
|
28
|
-
|
29
|
-
|
25
|
+
i18n (>= 1.6, < 2)
|
26
|
+
minitest (>= 5.1)
|
27
|
+
tzinfo (~> 2.0)
|
28
|
+
zeitwerk (~> 2.3)
|
29
|
+
ast (2.4.2)
|
30
|
+
builder (3.2.4)
|
30
31
|
colorize (0.8.1)
|
31
|
-
concurrent-ruby (1.1.
|
32
|
-
connection_pool (2.2.
|
33
|
-
crass (1.0.
|
34
|
-
diff-lcs (1.
|
35
|
-
erubi (1.
|
36
|
-
fakeredis (0.
|
37
|
-
redis (
|
38
|
-
fasterer (0.
|
32
|
+
concurrent-ruby (1.1.9)
|
33
|
+
connection_pool (2.2.5)
|
34
|
+
crass (1.0.6)
|
35
|
+
diff-lcs (1.4.4)
|
36
|
+
erubi (1.10.0)
|
37
|
+
fakeredis (0.8.0)
|
38
|
+
redis (~> 4.1)
|
39
|
+
fasterer (0.9.0)
|
39
40
|
colorize (~> 0.7)
|
40
|
-
ruby_parser (>= 3.
|
41
|
+
ruby_parser (>= 3.14.1)
|
41
42
|
generator_spec (0.9.4)
|
42
43
|
activesupport (>= 3.0.0)
|
43
44
|
railties (>= 3.0.0)
|
44
|
-
i18n (1.
|
45
|
+
i18n (1.8.10)
|
45
46
|
concurrent-ruby (~> 1.0)
|
46
|
-
|
47
|
-
loofah (2.2.3)
|
47
|
+
loofah (2.10.0)
|
48
48
|
crass (~> 1.0.2)
|
49
49
|
nokogiri (>= 1.5.9)
|
50
|
-
method_source (0.
|
51
|
-
mini_portile2 (2.
|
52
|
-
minitest (5.
|
53
|
-
nokogiri (1.
|
54
|
-
mini_portile2 (~> 2.
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
50
|
+
method_source (1.0.0)
|
51
|
+
mini_portile2 (2.5.3)
|
52
|
+
minitest (5.14.4)
|
53
|
+
nokogiri (1.11.7)
|
54
|
+
mini_portile2 (~> 2.5.0)
|
55
|
+
racc (~> 1.4)
|
56
|
+
parallel (1.20.1)
|
57
|
+
parser (3.0.2.0)
|
58
|
+
ast (~> 2.4.1)
|
59
|
+
racc (1.5.2)
|
60
|
+
rack (2.2.3)
|
59
61
|
rack-test (1.1.0)
|
60
62
|
rack (>= 1.0, < 3)
|
61
63
|
rails-dom-testing (2.0.3)
|
62
64
|
activesupport (>= 4.2.0)
|
63
65
|
nokogiri (>= 1.6)
|
64
|
-
rails-html-sanitizer (1.
|
65
|
-
loofah (~> 2.
|
66
|
-
railties (
|
67
|
-
actionpack (=
|
68
|
-
activesupport (=
|
66
|
+
rails-html-sanitizer (1.3.0)
|
67
|
+
loofah (~> 2.3)
|
68
|
+
railties (6.1.4)
|
69
|
+
actionpack (= 6.1.4)
|
70
|
+
activesupport (= 6.1.4)
|
69
71
|
method_source
|
70
|
-
rake (>= 0.
|
71
|
-
thor (
|
72
|
+
rake (>= 0.13)
|
73
|
+
thor (~> 1.0)
|
72
74
|
rainbow (3.0.0)
|
73
|
-
rake (
|
74
|
-
redis (4.1
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
rspec-
|
79
|
-
|
80
|
-
rspec-
|
81
|
-
rspec-
|
75
|
+
rake (13.0.6)
|
76
|
+
redis (4.3.1)
|
77
|
+
regexp_parser (2.1.1)
|
78
|
+
rexml (3.2.5)
|
79
|
+
rspec (3.10.0)
|
80
|
+
rspec-core (~> 3.10.0)
|
81
|
+
rspec-expectations (~> 3.10.0)
|
82
|
+
rspec-mocks (~> 3.10.0)
|
83
|
+
rspec-core (3.10.1)
|
84
|
+
rspec-support (~> 3.10.0)
|
85
|
+
rspec-expectations (3.10.1)
|
82
86
|
diff-lcs (>= 1.2.0, < 2.0)
|
83
|
-
rspec-support (~> 3.
|
84
|
-
rspec-mocks (3.
|
87
|
+
rspec-support (~> 3.10.0)
|
88
|
+
rspec-mocks (3.10.2)
|
85
89
|
diff-lcs (>= 1.2.0, < 2.0)
|
86
|
-
rspec-support (~> 3.
|
87
|
-
rspec-rails (
|
88
|
-
actionpack (>=
|
89
|
-
activesupport (>=
|
90
|
-
railties (>=
|
91
|
-
rspec-core (~> 3.
|
92
|
-
rspec-expectations (~> 3.
|
93
|
-
rspec-mocks (~> 3.
|
94
|
-
rspec-support (~> 3.
|
95
|
-
rspec-support (3.
|
96
|
-
rubocop (
|
97
|
-
jaro_winkler (~> 1.5.1)
|
90
|
+
rspec-support (~> 3.10.0)
|
91
|
+
rspec-rails (5.0.1)
|
92
|
+
actionpack (>= 5.2)
|
93
|
+
activesupport (>= 5.2)
|
94
|
+
railties (>= 5.2)
|
95
|
+
rspec-core (~> 3.10)
|
96
|
+
rspec-expectations (~> 3.10)
|
97
|
+
rspec-mocks (~> 3.10)
|
98
|
+
rspec-support (~> 3.10)
|
99
|
+
rspec-support (3.10.2)
|
100
|
+
rubocop (1.18.3)
|
98
101
|
parallel (~> 1.10)
|
99
|
-
parser (>=
|
102
|
+
parser (>= 3.0.0.0)
|
100
103
|
rainbow (>= 2.2.2, < 4.0)
|
104
|
+
regexp_parser (>= 1.8, < 3.0)
|
105
|
+
rexml
|
106
|
+
rubocop-ast (>= 1.7.0, < 2.0)
|
101
107
|
ruby-progressbar (~> 1.7)
|
102
|
-
unicode-display_width (>= 1.4.0, <
|
103
|
-
rubocop-
|
104
|
-
|
105
|
-
rubocop-
|
106
|
-
rubocop (>=
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
108
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
109
|
+
rubocop-ast (1.8.0)
|
110
|
+
parser (>= 3.0.1.1)
|
111
|
+
rubocop-performance (1.11.4)
|
112
|
+
rubocop (>= 1.7.0, < 2.0)
|
113
|
+
rubocop-ast (>= 0.4.0)
|
114
|
+
rubocop-rake (0.6.0)
|
115
|
+
rubocop (~> 1.0)
|
116
|
+
rubocop-rspec (2.4.0)
|
117
|
+
rubocop (~> 1.0)
|
118
|
+
rubocop-ast (>= 1.1.0)
|
119
|
+
ruby-progressbar (1.11.0)
|
120
|
+
ruby_parser (3.16.0)
|
121
|
+
sexp_processor (~> 4.15, >= 4.15.1)
|
122
|
+
sexp_processor (4.15.3)
|
123
|
+
thor (1.1.0)
|
124
|
+
tzinfo (2.0.4)
|
125
|
+
concurrent-ruby (~> 1.0)
|
126
|
+
unicode-display_width (2.0.0)
|
127
|
+
zeitwerk (2.4.2)
|
116
128
|
|
117
129
|
PLATFORMS
|
118
130
|
ruby
|
@@ -129,7 +141,8 @@ DEPENDENCIES
|
|
129
141
|
rspec-rails
|
130
142
|
rubocop
|
131
143
|
rubocop-performance
|
144
|
+
rubocop-rake
|
132
145
|
rubocop-rspec
|
133
146
|
|
134
147
|
BUNDLED WITH
|
135
|
-
2.
|
148
|
+
2.2.24
|
@@ -8,21 +8,29 @@ module Lite
|
|
8
8
|
attr_accessor :client
|
9
9
|
|
10
10
|
def initialize
|
11
|
+
::Redis.exists_returns_integer = true
|
12
|
+
|
11
13
|
@client = ::Redis.new
|
12
14
|
end
|
13
15
|
|
14
16
|
end
|
15
17
|
|
16
|
-
|
17
|
-
@configuration ||= Configuration.new
|
18
|
-
end
|
18
|
+
class << self
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
20
|
+
attr_writer :configuration
|
21
|
+
|
22
|
+
def configuration
|
23
|
+
@configuration ||= Configuration.new
|
24
|
+
end
|
25
|
+
|
26
|
+
def configure
|
27
|
+
yield(configuration)
|
28
|
+
end
|
29
|
+
|
30
|
+
def reset_configuration!
|
31
|
+
@configuration = Configuration.new
|
32
|
+
end
|
23
33
|
|
24
|
-
def self.configure
|
25
|
-
yield(configuration)
|
26
34
|
end
|
27
35
|
|
28
36
|
end
|
@@ -21,7 +21,7 @@ module Lite
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def sort(key, opts = {})
|
24
|
-
client.sort(key.to_s, opts)
|
24
|
+
client.sort(key.to_s, **opts)
|
25
25
|
end
|
26
26
|
|
27
27
|
def sample
|
@@ -87,7 +87,7 @@ module Lite
|
|
87
87
|
end
|
88
88
|
|
89
89
|
def scan(cursor, opts = {})
|
90
|
-
client.scan(cursor, opts)
|
90
|
+
client.scan(cursor, **opts)
|
91
91
|
end
|
92
92
|
|
93
93
|
end
|
@@ -6,65 +6,65 @@ module Lite
|
|
6
6
|
|
7
7
|
def find(key, position, opts = {})
|
8
8
|
position -= 1
|
9
|
-
value = client.zrange(key.to_s, position, position, opts)
|
9
|
+
value = client.zrange(key.to_s, position, position, **opts)
|
10
10
|
value.first
|
11
11
|
end
|
12
12
|
|
13
13
|
def find_score(key, position, opts = {})
|
14
|
-
value = client.zrangebyscore(key.to_s, position, position, opts)
|
14
|
+
value = client.zrangebyscore(key.to_s, position, position, **opts)
|
15
15
|
value.first
|
16
16
|
end
|
17
17
|
|
18
18
|
def first(key, opts = {})
|
19
|
-
value = client.zrange(key.to_s, 0, 0, opts)
|
19
|
+
value = client.zrange(key.to_s, 0, 0, **opts)
|
20
20
|
value.first
|
21
21
|
end
|
22
22
|
|
23
23
|
def first_score(key, opts = {})
|
24
|
-
value = client.zrangebyscore(key.to_s, 1, 1, opts)
|
24
|
+
value = client.zrangebyscore(key.to_s, 1, 1, **opts)
|
25
25
|
value.first
|
26
26
|
end
|
27
27
|
|
28
28
|
def last(key, opts = {})
|
29
|
-
value = client.zrevrange(key.to_s, 0, 0, opts)
|
29
|
+
value = client.zrevrange(key.to_s, 0, 0, **opts)
|
30
30
|
value.first
|
31
31
|
end
|
32
32
|
|
33
33
|
def last_score(key, opts = {})
|
34
|
-
value = client.zrevrangebyscore(key.to_s, 1, 1, opts)
|
34
|
+
value = client.zrevrangebyscore(key.to_s, 1, 1, **opts)
|
35
35
|
value.first
|
36
36
|
end
|
37
37
|
|
38
38
|
def between(key, start, finish, opts = {})
|
39
|
-
client.zrange(key.to_s, start - 1, finish - 1, opts)
|
39
|
+
client.zrange(key.to_s, start - 1, finish - 1, **opts)
|
40
40
|
end
|
41
41
|
|
42
42
|
def between_reverse(key, start, finish, opts = {})
|
43
|
-
client.zrevrange(key.to_s, start - 1, finish - 1, opts)
|
43
|
+
client.zrevrange(key.to_s, start - 1, finish - 1, **opts)
|
44
44
|
end
|
45
45
|
|
46
46
|
def between_scores(key, min, max, opts = {})
|
47
|
-
client.zrangebyscore(key.to_s, min, max, opts)
|
47
|
+
client.zrangebyscore(key.to_s, min, max, **opts)
|
48
48
|
end
|
49
49
|
|
50
50
|
def between_scores_reverse(key, min, max, opts = {})
|
51
|
-
client.zrevrangebyscore(key.to_s, min, max, opts)
|
51
|
+
client.zrevrangebyscore(key.to_s, min, max, **opts)
|
52
52
|
end
|
53
53
|
|
54
54
|
def between_lex(key, min, max, opts = {})
|
55
|
-
client.zrangebylex(key.to_s, min, max, opts)
|
55
|
+
client.zrangebylex(key.to_s, min, max, **opts)
|
56
56
|
end
|
57
57
|
|
58
58
|
def between_lex_reverse(key, min, max, opts = {})
|
59
|
-
client.zrevrangebylex(key.to_s, min, max, opts)
|
59
|
+
client.zrevrangebylex(key.to_s, min, max, **opts)
|
60
60
|
end
|
61
61
|
|
62
62
|
def all(key, opts = {})
|
63
|
-
client.zrange(key.to_s, 0, -1, opts)
|
63
|
+
client.zrange(key.to_s, 0, -1, **opts)
|
64
64
|
end
|
65
65
|
|
66
66
|
def all_reverse(key, opts = {})
|
67
|
-
client.zrevrange(key.to_s, 0, -1, opts)
|
67
|
+
client.zrevrange(key.to_s, 0, -1, **opts)
|
68
68
|
end
|
69
69
|
|
70
70
|
def position(key, value)
|
@@ -96,11 +96,11 @@ module Lite
|
|
96
96
|
end
|
97
97
|
|
98
98
|
def create_intersection(key, keys, opts = {})
|
99
|
-
client.zinterstore(key.to_s, keys, opts)
|
99
|
+
client.zinterstore(key.to_s, keys, **opts)
|
100
100
|
end
|
101
101
|
|
102
102
|
def create_combination(key, keys, opts = {})
|
103
|
-
client.zunionstore(key.to_s, keys, opts)
|
103
|
+
client.zunionstore(key.to_s, keys, **opts)
|
104
104
|
end
|
105
105
|
|
106
106
|
def increment(key, value, count)
|
@@ -124,11 +124,11 @@ module Lite
|
|
124
124
|
end
|
125
125
|
|
126
126
|
def destroy_lex(key, min, max, opts = {})
|
127
|
-
client.zrevrangebylex(key.to_s, max, min, opts)
|
127
|
+
client.zrevrangebylex(key.to_s, max, min, **opts)
|
128
128
|
end
|
129
129
|
|
130
130
|
def scan(key, cursor, opts = {})
|
131
|
-
client.zscan(key.to_s, cursor, opts)
|
131
|
+
client.zscan(key.to_s, cursor, **opts)
|
132
132
|
end
|
133
133
|
|
134
134
|
end
|
@@ -22,7 +22,7 @@ module Lite
|
|
22
22
|
end
|
23
23
|
|
24
24
|
def create(key, value, opts = {})
|
25
|
-
client.set(key.to_s, value, opts)
|
25
|
+
client.set(key.to_s, value, **opts)
|
26
26
|
end
|
27
27
|
|
28
28
|
def create!(key, value)
|
@@ -64,12 +64,10 @@ module Lite
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def increment(key, value = 1)
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
else
|
72
|
-
client.incrby(key.to_s, value)
|
67
|
+
case value
|
68
|
+
when Float then client.incrbyfloat(key.to_s, value)
|
69
|
+
when 1 then client.incr(key.to_s)
|
70
|
+
else client.incrby(key.to_s, value)
|
73
71
|
end
|
74
72
|
end
|
75
73
|
|
data/lib/lite/redis/railtie.rb
CHANGED
@@ -7,8 +7,8 @@ module Lite
|
|
7
7
|
class Railtie < ::Rails::Railtie
|
8
8
|
|
9
9
|
rake_tasks do
|
10
|
-
|
11
|
-
|
10
|
+
file = File.expand_path('../../../tasks/redis.rake', __FILE__)
|
11
|
+
load(file)
|
12
12
|
end
|
13
13
|
|
14
14
|
end
|
data/lib/lite/redis/version.rb
CHANGED
data/lite-redis.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
)
|
26
26
|
else
|
27
27
|
raise 'RubyGems 2.0 or newer is required to protect against ' \
|
28
|
-
|
28
|
+
'public gem pushes.'
|
29
29
|
end
|
30
30
|
|
31
31
|
# Specify which files should be added to the gem when it is released.
|
@@ -49,5 +49,6 @@ Gem::Specification.new do |spec|
|
|
49
49
|
spec.add_development_dependency 'rspec-rails'
|
50
50
|
spec.add_development_dependency 'rubocop'
|
51
51
|
spec.add_development_dependency 'rubocop-performance'
|
52
|
+
spec.add_development_dependency 'rubocop-rake'
|
52
53
|
spec.add_development_dependency 'rubocop-rspec'
|
53
54
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lite-redis
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Gomez
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -164,6 +164,20 @@ dependencies:
|
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rubocop-rake
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :development
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: rubocop-rspec
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -178,7 +192,7 @@ dependencies:
|
|
178
192
|
- - ">="
|
179
193
|
- !ruby/object:Gem::Version
|
180
194
|
version: '0'
|
181
|
-
description:
|
195
|
+
description:
|
182
196
|
email:
|
183
197
|
- j.gomez@drexed.com
|
184
198
|
executables: []
|
@@ -250,7 +264,7 @@ homepage: http://drexed.github.io/lite-redis
|
|
250
264
|
licenses:
|
251
265
|
- MIT
|
252
266
|
metadata: {}
|
253
|
-
post_install_message:
|
267
|
+
post_install_message:
|
254
268
|
rdoc_options: []
|
255
269
|
require_paths:
|
256
270
|
- lib
|
@@ -265,8 +279,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
265
279
|
- !ruby/object:Gem::Version
|
266
280
|
version: '0'
|
267
281
|
requirements: []
|
268
|
-
rubygems_version: 3.
|
269
|
-
signing_key:
|
282
|
+
rubygems_version: 3.2.24
|
283
|
+
signing_key:
|
270
284
|
specification_version: 4
|
271
285
|
summary: Access Redis with an ActiveRecord like ORM interface
|
272
286
|
test_files: []
|