lite-redis 1.1.1 → 1.2.0

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: f2c4f604a444a51b48d2a6036889370aa998b4e42818a56cdf2faeea7152922c
4
- data.tar.gz: 4e1e89bc11ea0f1fa31db7bbdbcdf271818e48db716dbb154faa27f336f74e7d
3
+ metadata.gz: 642392448791c4c6ad57bf6a3891dbe5328846ffdf8c9dd642a2cee7c9be55f2
4
+ data.tar.gz: 5669cd7aea321718b45576ba3d1ab39bf132bb66002b6c135c1cd4e22f39c490
5
5
  SHA512:
6
- metadata.gz: 710e03d9f5f70ea21bb06c5c4236afc6e7a6bbf614e14789058044901bebbc4d7401bf3861759575653d6aea7fb850d0d9daa3ec282a12d0cf7b1b74da220f07
7
- data.tar.gz: 0c5f906f2ff86103dd9fa0d2aa573da2466eb9e625c6fe50e2735c00396a738feab09c31689a49af1e52ec98c4b6ee671f3dabaa44e27f9dde1ee5183e1ea646
6
+ metadata.gz: 71cf4f8c52403688529fcec71ff8501370b9b65aa472dbe03483fd17901e132552161309a5f6af2b5cb26981ac471c6498686e1669725f4770b5b328b99e3c57
7
+ data.tar.gz: 55ce0ddfc26b79422f9f1e3bc46fed1df9b548b53253ef69ce68311d8c44be7729e2ef08df3838f05f1ade27f47095b51e32dd751e80d65b6eddcd009344182e
data/CHANGELOG.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # Changelog
2
+
2
3
  All notable changes to this project will be documented in this file.
3
4
 
4
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
@@ -6,34 +7,62 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
7
 
7
8
  ## [Unreleased]
8
9
 
10
+ ## [1.2.0] - 2022-09-26
11
+
12
+ ### Removed
13
+
14
+ - Removed deprecated `Redis.exists_returns_integer`
15
+
16
+ ## [1.1.2] - 2021-07-22
17
+
18
+ ### Changed
19
+
20
+ - Improved setup
21
+
9
22
  ## [1.1.1] - 2021-07-21
23
+
10
24
  ### Changed
25
+
11
26
  - Improved Railtie support
12
27
 
13
28
  ## [1.1.0] - 2021-07-19
29
+
14
30
  ### Added
31
+
15
32
  - Added Ruby 3.0 support
16
33
 
17
34
  ## [1.0.5] - 2020-07-03
35
+
18
36
  ### Added
37
+
19
38
  - Added Ruby 2.7 support
20
39
 
21
40
  ## [1.0.4] - 2019-08-24
41
+
22
42
  ### Changed
43
+
23
44
  - Improved how configuration works
24
45
 
25
46
  ## [1.0.3] - 2019-08-15
47
+
26
48
  ### Changed
49
+
27
50
  - Fix broken rake task
28
51
 
29
52
  ## [1.0.2] - 2019-08-15
53
+
30
54
  ### Changed
55
+
31
56
  - Underscore initializer file name
32
57
 
33
58
  ## [1.0.1] - 2019-07-09
59
+
34
60
  ### Changed
61
+
35
62
  - Updated the client method construction
36
63
 
37
64
  ## [1.0.0] - 2019-07-08
65
+
38
66
  ### Added
67
+
39
68
  - Initial project version
data/Gemfile.lock CHANGED
@@ -1,94 +1,95 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lite-redis (1.1.1)
4
+ lite-redis (1.2.0)
5
5
  redis
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actionpack (6.1.4)
11
- actionview (= 6.1.4)
12
- activesupport (= 6.1.4)
13
- rack (~> 2.0, >= 2.0.9)
10
+ actionpack (7.0.4)
11
+ actionview (= 7.0.4)
12
+ activesupport (= 7.0.4)
13
+ rack (~> 2.0, >= 2.2.0)
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.1.4)
18
- activesupport (= 6.1.4)
17
+ actionview (7.0.4)
18
+ activesupport (= 7.0.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.1.4)
23
+ activesupport (7.0.4)
24
24
  concurrent-ruby (~> 1.0, >= 1.0.2)
25
25
  i18n (>= 1.6, < 2)
26
26
  minitest (>= 5.1)
27
27
  tzinfo (~> 2.0)
28
- zeitwerk (~> 2.3)
29
28
  ast (2.4.2)
30
29
  builder (3.2.4)
31
30
  colorize (0.8.1)
32
- concurrent-ruby (1.1.9)
33
- connection_pool (2.2.5)
31
+ concurrent-ruby (1.1.10)
32
+ connection_pool (2.3.0)
34
33
  crass (1.0.6)
35
- diff-lcs (1.4.4)
36
- erubi (1.10.0)
34
+ diff-lcs (1.5.0)
35
+ erubi (1.11.0)
37
36
  fakeredis (0.8.0)
38
37
  redis (~> 4.1)
39
- fasterer (0.9.0)
38
+ fasterer (0.10.0)
40
39
  colorize (~> 0.7)
41
- ruby_parser (>= 3.14.1)
40
+ ruby_parser (>= 3.19.1)
42
41
  generator_spec (0.9.4)
43
42
  activesupport (>= 3.0.0)
44
43
  railties (>= 3.0.0)
45
- i18n (1.8.10)
44
+ i18n (1.12.0)
46
45
  concurrent-ruby (~> 1.0)
47
- loofah (2.10.0)
46
+ json (2.6.2)
47
+ loofah (2.19.0)
48
48
  crass (~> 1.0.2)
49
49
  nokogiri (>= 1.5.9)
50
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)
51
+ mini_portile2 (2.8.0)
52
+ minitest (5.16.3)
53
+ nokogiri (1.13.8)
54
+ mini_portile2 (~> 2.8.0)
55
55
  racc (~> 1.4)
56
- parallel (1.20.1)
57
- parser (3.0.2.0)
56
+ parallel (1.22.1)
57
+ parser (3.1.2.1)
58
58
  ast (~> 2.4.1)
59
- racc (1.5.2)
60
- rack (2.2.3)
61
- rack-test (1.1.0)
62
- rack (>= 1.0, < 3)
59
+ racc (1.6.0)
60
+ rack (2.2.4)
61
+ rack-test (2.0.2)
62
+ rack (>= 1.3)
63
63
  rails-dom-testing (2.0.3)
64
64
  activesupport (>= 4.2.0)
65
65
  nokogiri (>= 1.6)
66
- rails-html-sanitizer (1.3.0)
66
+ rails-html-sanitizer (1.4.3)
67
67
  loofah (~> 2.3)
68
- railties (6.1.4)
69
- actionpack (= 6.1.4)
70
- activesupport (= 6.1.4)
68
+ railties (7.0.4)
69
+ actionpack (= 7.0.4)
70
+ activesupport (= 7.0.4)
71
71
  method_source
72
- rake (>= 0.13)
72
+ rake (>= 12.2)
73
73
  thor (~> 1.0)
74
- rainbow (3.0.0)
74
+ zeitwerk (~> 2.5)
75
+ rainbow (3.1.1)
75
76
  rake (13.0.6)
76
- redis (4.3.1)
77
- regexp_parser (2.1.1)
77
+ redis (4.8.0)
78
+ regexp_parser (2.5.0)
78
79
  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)
80
+ rspec (3.11.0)
81
+ rspec-core (~> 3.11.0)
82
+ rspec-expectations (~> 3.11.0)
83
+ rspec-mocks (~> 3.11.0)
84
+ rspec-core (3.11.0)
85
+ rspec-support (~> 3.11.0)
86
+ rspec-expectations (3.11.1)
86
87
  diff-lcs (>= 1.2.0, < 2.0)
87
- rspec-support (~> 3.10.0)
88
- rspec-mocks (3.10.2)
88
+ rspec-support (~> 3.11.0)
89
+ rspec-mocks (3.11.1)
89
90
  diff-lcs (>= 1.2.0, < 2.0)
90
- rspec-support (~> 3.10.0)
91
- rspec-rails (5.0.1)
91
+ rspec-support (~> 3.11.0)
92
+ rspec-rails (5.1.2)
92
93
  actionpack (>= 5.2)
93
94
  activesupport (>= 5.2)
94
95
  railties (>= 5.2)
@@ -96,35 +97,35 @@ GEM
96
97
  rspec-expectations (~> 3.10)
97
98
  rspec-mocks (~> 3.10)
98
99
  rspec-support (~> 3.10)
99
- rspec-support (3.10.2)
100
- rubocop (1.18.3)
100
+ rspec-support (3.11.1)
101
+ rubocop (1.36.0)
102
+ json (~> 2.3)
101
103
  parallel (~> 1.10)
102
- parser (>= 3.0.0.0)
104
+ parser (>= 3.1.2.1)
103
105
  rainbow (>= 2.2.2, < 4.0)
104
106
  regexp_parser (>= 1.8, < 3.0)
105
- rexml
106
- rubocop-ast (>= 1.7.0, < 2.0)
107
+ rexml (>= 3.2.5, < 4.0)
108
+ rubocop-ast (>= 1.20.1, < 2.0)
107
109
  ruby-progressbar (~> 1.7)
108
110
  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)
111
+ rubocop-ast (1.21.0)
112
+ parser (>= 3.1.1.0)
113
+ rubocop-performance (1.15.0)
112
114
  rubocop (>= 1.7.0, < 2.0)
113
115
  rubocop-ast (>= 0.4.0)
114
116
  rubocop-rake (0.6.0)
115
117
  rubocop (~> 1.0)
116
- rubocop-rspec (2.4.0)
117
- rubocop (~> 1.0)
118
- rubocop-ast (>= 1.1.0)
118
+ rubocop-rspec (2.13.2)
119
+ rubocop (~> 1.33)
119
120
  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)
121
+ ruby_parser (3.19.1)
122
+ sexp_processor (~> 4.16)
123
+ sexp_processor (4.16.1)
124
+ thor (1.2.1)
125
+ tzinfo (2.0.5)
125
126
  concurrent-ruby (~> 1.0)
126
- unicode-display_width (2.0.0)
127
- zeitwerk (2.4.2)
127
+ unicode-display_width (2.3.0)
128
+ zeitwerk (2.6.0)
128
129
 
129
130
  PLATFORMS
130
131
  ruby
@@ -145,4 +146,4 @@ DEPENDENCIES
145
146
  rubocop-rspec
146
147
 
147
148
  BUNDLED WITH
148
- 2.2.24
149
+ 2.3.22
@@ -8,8 +8,6 @@ module Lite
8
8
  attr_accessor :client
9
9
 
10
10
  def initialize
11
- ::Redis.exists_returns_integer = true
12
-
13
11
  @client = ::Redis.new
14
12
  end
15
13
 
@@ -3,7 +3,7 @@
3
3
  module Lite
4
4
  module Redis
5
5
 
6
- VERSION = '1.1.1'
6
+ VERSION = '1.2.0'
7
7
 
8
8
  end
9
9
  end
data/lib/lite/redis.rb CHANGED
@@ -7,10 +7,29 @@ require 'generators/lite/redis/install_generator' if defined?(Rails::Generators)
7
7
  require 'lite/redis/railtie' if defined?(Rails::Railtie)
8
8
  require 'lite/redis/version'
9
9
  require 'lite/redis/configuration'
10
-
11
- %w[
12
- base connection geo hash hyper_log_log key list pub_sub script set sorted_set string transaction
13
- ].each do |file_name|
14
- require "lite/redis/helpers/#{file_name}_helper"
15
- require "lite/redis/#{file_name}"
16
- end
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'
data/lite-redis.gemspec CHANGED
@@ -51,4 +51,5 @@ Gem::Specification.new do |spec|
51
51
  spec.add_development_dependency 'rubocop-performance'
52
52
  spec.add_development_dependency 'rubocop-rake'
53
53
  spec.add_development_dependency 'rubocop-rspec'
54
+ spec.metadata['rubygems_mfa_required'] = 'true'
54
55
  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.1.1
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-22 00:00:00.000000000 Z
11
+ date: 2022-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
@@ -263,7 +263,8 @@ files:
263
263
  homepage: http://drexed.github.io/lite-redis
264
264
  licenses:
265
265
  - MIT
266
- metadata: {}
266
+ metadata:
267
+ rubygems_mfa_required: 'true'
267
268
  post_install_message:
268
269
  rdoc_options: []
269
270
  require_paths:
@@ -279,7 +280,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
279
280
  - !ruby/object:Gem::Version
280
281
  version: '0'
281
282
  requirements: []
282
- rubygems_version: 3.2.24
283
+ rubygems_version: 3.3.22
283
284
  signing_key:
284
285
  specification_version: 4
285
286
  summary: Access Redis with an ActiveRecord like ORM interface