lite-redis 1.0.4 → 1.1.2

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
2
  SHA256:
3
- metadata.gz: 4d4059175cb26f3c063199d72f84effc0df7e2c2b3045e14a590e7691be9ed7e
4
- data.tar.gz: a1b6f049d196b0142d4ec26ce3148a24e838883bb155768ac7f439e2144cff34
3
+ metadata.gz: 3f426319d9631235a0f5a27972f6c1b0310fb4c2b97ea17e8dea360535d8e649
4
+ data.tar.gz: ffcc5b53f7dd53f476f81b797f7a1557185e13b6c3d63417f90ba675b2546cd3
5
5
  SHA512:
6
- metadata.gz: 7b1d9721351131c97375d9a71a10ad513c9cf775a3c5f023407d8b7f6db759a3c135b64a02e9afaebcd2a413539544f4de159d94fba316f9c22c5075f4f9eaa2
7
- data.tar.gz: 6c220833f59a669194523777099bd40d3176542b88616d5765c512c3e9b50e90197d37b795afc650eb96530834d0c425495f2da7e51399c5b9ab69a253ac0d9e
6
+ metadata.gz: 0d64d95c65dacc323c2615196b885d5489a4e28df967412f0939f80becf722714b7e7617fbbc58f4191480bbabe4abedaeee133cfe4b79444b854915365b7698
7
+ data.tar.gz: 05bb6998220c88c4407644b02b42dfe518d3a8c6e6dfd8d4c04bcb0ccaa8e7c61bdff4852bc7d0bdb401485f5d9747686efba2a890e7abf04d81b2358b77ba46
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: 2.6
6
+ TargetRubyVersion: 3.0
7
+ NewCops: enable
6
8
  DisplayCopNames: true
7
9
  DisplayStyleGuide: true
8
- LineLength:
9
- Max: 100
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
@@ -4,6 +4,7 @@ cache: bundler
4
4
  rvm:
5
5
  - 2.5
6
6
  - 2.6
7
+ - 2.7
7
8
  - ruby-head
8
9
  matrix:
9
10
  fast_finish: true
data/CHANGELOG.md CHANGED
@@ -6,9 +6,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.1.2] - 2021-07-22
10
+ ### Changed
11
+ - Improved setup
12
+
13
+ ## [1.1.1] - 2021-07-21
14
+ ### Changed
15
+ - Improved Railtie support
16
+
17
+ ## [1.1.0] - 2021-07-19
18
+ ### Added
19
+ - Added Ruby 3.0 support
20
+
21
+ ## [1.0.5] - 2020-07-03
22
+ ### Added
23
+ - Added Ruby 2.7 support
24
+
9
25
  ## [1.0.4] - 2019-08-24
10
26
  ### Changed
11
- - Imporved how configuration works
27
+ - Improved how configuration works
12
28
 
13
29
  ## [1.0.3] - 2019-08-15
14
30
  ### Changed
data/Gemfile.lock CHANGED
@@ -1,120 +1,130 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-redis (1.0.4)
4
+ lite-redis (1.1.2)
5
5
  redis
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (6.0.0)
11
- actionview (= 6.0.0)
12
- activesupport (= 6.0.0)
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
16
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
17
- actionview (6.0.0)
18
- activesupport (= 6.0.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
22
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
23
- activesupport (6.0.0)
23
+ activesupport (6.1.4)
24
24
  concurrent-ruby (~> 1.0, >= 1.0.2)
25
- i18n (>= 0.7, < 2)
26
- minitest (~> 5.1)
27
- tzinfo (~> 1.1)
28
- zeitwerk (~> 2.1, >= 2.1.8)
29
- ast (2.4.0)
30
- builder (3.2.3)
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)
31
31
  colorize (0.8.1)
32
- concurrent-ruby (1.1.5)
33
- connection_pool (2.2.2)
34
- crass (1.0.4)
35
- diff-lcs (1.3)
36
- erubi (1.8.0)
37
- fakeredis (0.7.0)
38
- redis (>= 3.2, < 5.0)
39
- fasterer (0.6.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)
40
40
  colorize (~> 0.7)
41
- ruby_parser (>= 3.13.0)
41
+ ruby_parser (>= 3.14.1)
42
42
  generator_spec (0.9.4)
43
43
  activesupport (>= 3.0.0)
44
44
  railties (>= 3.0.0)
45
- i18n (1.6.0)
45
+ i18n (1.8.10)
46
46
  concurrent-ruby (~> 1.0)
47
- jaro_winkler (1.5.3)
48
- loofah (2.2.3)
47
+ loofah (2.10.0)
49
48
  crass (~> 1.0.2)
50
49
  nokogiri (>= 1.5.9)
51
- method_source (0.9.2)
52
- mini_portile2 (2.4.0)
53
- minitest (5.11.3)
54
- nokogiri (1.10.4)
55
- mini_portile2 (~> 2.4.0)
56
- parallel (1.17.0)
57
- parser (2.6.3.0)
58
- ast (~> 2.4.0)
59
- rack (2.0.7)
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)
60
61
  rack-test (1.1.0)
61
62
  rack (>= 1.0, < 3)
62
63
  rails-dom-testing (2.0.3)
63
64
  activesupport (>= 4.2.0)
64
65
  nokogiri (>= 1.6)
65
- rails-html-sanitizer (1.2.0)
66
- loofah (~> 2.2, >= 2.2.2)
67
- railties (6.0.0)
68
- actionpack (= 6.0.0)
69
- activesupport (= 6.0.0)
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)
70
71
  method_source
71
- rake (>= 0.8.7)
72
- thor (>= 0.20.3, < 2.0)
72
+ rake (>= 0.13)
73
+ thor (~> 1.0)
73
74
  rainbow (3.0.0)
74
- rake (12.3.3)
75
- redis (4.1.2)
76
- rspec (3.8.0)
77
- rspec-core (~> 3.8.0)
78
- rspec-expectations (~> 3.8.0)
79
- rspec-mocks (~> 3.8.0)
80
- rspec-core (3.8.2)
81
- rspec-support (~> 3.8.0)
82
- rspec-expectations (3.8.4)
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)
83
86
  diff-lcs (>= 1.2.0, < 2.0)
84
- rspec-support (~> 3.8.0)
85
- rspec-mocks (3.8.1)
87
+ rspec-support (~> 3.10.0)
88
+ rspec-mocks (3.10.2)
86
89
  diff-lcs (>= 1.2.0, < 2.0)
87
- rspec-support (~> 3.8.0)
88
- rspec-rails (3.8.2)
89
- actionpack (>= 3.0)
90
- activesupport (>= 3.0)
91
- railties (>= 3.0)
92
- rspec-core (~> 3.8.0)
93
- rspec-expectations (~> 3.8.0)
94
- rspec-mocks (~> 3.8.0)
95
- rspec-support (~> 3.8.0)
96
- rspec-support (3.8.2)
97
- rubocop (0.74.0)
98
- 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)
99
101
  parallel (~> 1.10)
100
- parser (>= 2.6)
102
+ parser (>= 3.0.0.0)
101
103
  rainbow (>= 2.2.2, < 4.0)
104
+ regexp_parser (>= 1.8, < 3.0)
105
+ rexml
106
+ rubocop-ast (>= 1.7.0, < 2.0)
102
107
  ruby-progressbar (~> 1.7)
103
- unicode-display_width (>= 1.4.0, < 1.7)
104
- rubocop-performance (1.4.1)
105
- rubocop (>= 0.71.0)
106
- rubocop-rspec (1.35.0)
107
- rubocop (>= 0.60.0)
108
- ruby-progressbar (1.10.1)
109
- ruby_parser (3.13.1)
110
- sexp_processor (~> 4.9)
111
- sexp_processor (4.12.1)
112
- thor (0.20.3)
113
- thread_safe (0.3.6)
114
- tzinfo (1.2.5)
115
- thread_safe (~> 0.1)
116
- unicode-display_width (1.6.0)
117
- zeitwerk (2.1.9)
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)
118
128
 
119
129
  PLATFORMS
120
130
  ruby
@@ -131,7 +141,8 @@ DEPENDENCIES
131
141
  rspec-rails
132
142
  rubocop
133
143
  rubocop-performance
144
+ rubocop-rake
134
145
  rubocop-rspec
135
146
 
136
147
  BUNDLED WITH
137
- 2.0.1
148
+ 2.2.24
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rails/generators'
4
-
5
3
  module Lite
6
4
  module Redis
7
5
  class InstallGenerator < Rails::Generators::Base
data/lib/lite/redis.rb CHANGED
@@ -1,16 +1,35 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'redis'
3
+ require 'redis' unless defined?(Redis)
4
4
 
5
+ require 'generators/lite/redis/install_generator' if defined?(Rails::Generators)
6
+
7
+ require 'lite/redis/railtie' if defined?(Rails::Railtie)
5
8
  require 'lite/redis/version'
6
- require 'lite/redis/railtie' if defined?(Rails)
7
9
  require 'lite/redis/configuration'
8
-
9
- %w[
10
- base connection geo hash hyper_log_log key list pub_sub script set sorted_set string transaction
11
- ].each do |file_name|
12
- require "lite/redis/helpers/#{file_name}_helper"
13
- require "lite/redis/#{file_name}"
14
- end
15
-
16
- require 'generators/lite/redis/install_generator'
10
+ require 'lite/redis/helpers/base_helper'
11
+ require 'lite/redis/helpers/connection_helper'
12
+ require 'lite/redis/helpers/geo_helper'
13
+ require 'lite/redis/helpers/hash_helper'
14
+ require 'lite/redis/helpers/hyper_log_log_helper'
15
+ require 'lite/redis/helpers/key_helper'
16
+ require 'lite/redis/helpers/list_helper'
17
+ require 'lite/redis/helpers/pub_sub_helper'
18
+ require 'lite/redis/helpers/script_helper'
19
+ require 'lite/redis/helpers/set_helper'
20
+ require 'lite/redis/helpers/sorted_set_helper'
21
+ require 'lite/redis/helpers/string_helper'
22
+ require 'lite/redis/helpers/transaction_helper'
23
+ require 'lite/redis/base'
24
+ require 'lite/redis/connection'
25
+ require 'lite/redis/geo'
26
+ require 'lite/redis/hash'
27
+ require 'lite/redis/hyper_log_log'
28
+ require 'lite/redis/key'
29
+ require 'lite/redis/list'
30
+ require 'lite/redis/pub_sub'
31
+ require 'lite/redis/script'
32
+ require 'lite/redis/set'
33
+ require 'lite/redis/sorted_set'
34
+ require 'lite/redis/string'
35
+ require 'lite/redis/transaction'
@@ -8,6 +8,8 @@ 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
 
@@ -61,7 +61,7 @@ module Lite
61
61
  end
62
62
 
63
63
  def scan(key, cursor, opts = {})
64
- client.hdel(key.to_s, cursor, opts)
64
+ client.hdel(key.to_s, cursor, **opts)
65
65
  end
66
66
 
67
67
  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
@@ -61,7 +61,7 @@ module Lite
61
61
  end
62
62
 
63
63
  def scan(key, cursor, opts = {})
64
- client.sscan(key.to_s, cursor, opts)
64
+ client.sscan(key.to_s, cursor, **opts)
65
65
  end
66
66
 
67
67
  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
- if value.is_a?(Float)
68
- client.incrbyfloat(key.to_s, value)
69
- elsif value == 1
70
- client.incr(key.to_s)
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
 
@@ -1,10 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rails/railtie'
4
-
5
3
  module Lite
6
4
  module Redis
7
- class Railtie < ::Rails::Railtie
5
+ class Railtie < Rails::Railtie
8
6
 
9
7
  rake_tasks do
10
8
  file = File.expand_path('../../../tasks/redis.rake', __FILE__)
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Redis
5
5
 
6
- VERSION ||= '1.0.4'
6
+ VERSION = '1.1.2'
7
7
 
8
8
  end
9
9
  end
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
- 'public gem pushes.'
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
4
+ version: 1.1.2
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: 2019-08-24 00:00:00.000000000 Z
11
+ date: 2021-07-22 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.0.4
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: []