uri-redis 1.1.0 → 1.1.2

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: 9d3733d391eb1143e238f47c190e49c48efe4a616316757effcf7d653c03c488
4
- data.tar.gz: 18cbf4d564e3c031c3d3dc9a788e28e79bf53657fcb234f2878f3d12eee82f0a
3
+ metadata.gz: 9a62d1cb81a351f7ac57570488570cc164f97f51f40da745a5a893fd2ab17063
4
+ data.tar.gz: ea41f6580eaf05025443b0e9d9eeae0673c335c51f7bad36c2b4779d590a8686
5
5
  SHA512:
6
- metadata.gz: b4efae3a9fe01cf9dece02866dc2d45435068a23825e4b1b617d8919398f994a5c9887841d885fc576a260fc791415e6225847c1675e247b2ea964c385cb9c3c
7
- data.tar.gz: 757b7e28a203e3056f95d7c6c15115e9ff1cdff790ded33c9e72ad7ee70c25205ace9c608e90f8fdf13129da0cba26d5020bcb3b55b38d3b76983f4d927e0010
6
+ metadata.gz: 9acf19d22d5773bdea3f780f7941bea9b7900bcb5a612c6f14a14048a8cf9f8933936d7c0f26cb135ee5773036e5ff7b45a494f0e69c18817132f8b0157fec99
7
+ data.tar.gz: ab794161d3d1aeab674bd75420f156b30b223c9076e20cad3774a4b9cd1ef002da63d6b0e82be626b75de2821a35ec2d99cd6adbec6c950d25d6391358623b8d
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.7.5
2
+ TargetRubyVersion: 2.7
3
3
 
4
4
  Gemspec/DeprecatedAttributeAssignment: # new in 1.30
5
5
  Enabled: true
@@ -171,6 +171,8 @@ Style/StringLiterals:
171
171
  Style/StringLiteralsInInterpolation:
172
172
  Enabled: false
173
173
  EnforcedStyle: double_quotes
174
+ Style/FrozenStringLiteralComment:
175
+ Enabled: false
174
176
 
175
177
  Layout/LineLength:
176
178
  Max: 120
data/CHANGES.txt CHANGED
@@ -1,9 +1,23 @@
1
1
  URI-Redis, CHANGES
2
2
 
3
+ #### 1.1.2 (2024-05-02) ###############################
4
+
5
+ * Same functionality as the now yanked 1.1.1 with
6
+ updated metadata, including:
7
+ * Remove minimum ruby version from Gemfile
8
+ * Corrected Gemfile.lock file with latest deps
9
+ * Improved Github Action workflow.
10
+ * Fixes for Rubocop complaints.
11
+
12
+
13
+ #### 1.1.1 (2024-04-05) ###############################
14
+
15
+ ** Yanked May 2nd **
16
+
3
17
  #### 1.1.0 (2024-04-04) ###############################
4
18
 
5
19
  * Fix for frozen strings issue.
6
- * Allow fow updated redis, tryouts releases.
20
+ * Allow fow updated redis, tryouts releases.
7
21
 
8
22
 
9
23
  #### 1.0.0 (2023-01-17) ###############################
data/Gemfile CHANGED
@@ -2,11 +2,10 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- ruby '>= 2.6.8'
6
-
7
- # Specify your gem's dependencies in uri-redis.gemspec
8
- gemspec
9
-
10
5
  gem "rake", "~> 13.0"
11
-
6
+ gem "redis", ">= 4.8", "< 7"
12
7
  gem "rubocop", "~> 1.21"
8
+
9
+ group :development do
10
+ gem "tryouts", "~>2.2.0"
11
+ end
data/Gemfile.lock CHANGED
@@ -1,27 +1,25 @@
1
- PATH
2
- remote: .
3
- specs:
4
- uri-redis (1.0.0)
5
- redis (~> 4.1, >= 4.1.0)
6
-
7
1
  GEM
8
2
  remote: https://rubygems.org/
9
3
  specs:
10
4
  ast (2.4.2)
5
+ connection_pool (2.4.1)
11
6
  drydock (0.6.9)
12
7
  json (2.7.2)
13
8
  language_server-protocol (3.17.0.3)
14
9
  parallel (1.24.0)
15
- parser (3.3.0.5)
10
+ parser (3.3.1.0)
16
11
  ast (~> 2.4.1)
17
12
  racc
18
13
  racc (1.7.3)
19
14
  rainbow (3.1.1)
20
- rake (13.2.0)
21
- redis (4.8.1)
15
+ rake (13.2.1)
16
+ redis (5.2.0)
17
+ redis-client (>= 0.22.0)
18
+ redis-client (0.22.1)
19
+ connection_pool
22
20
  regexp_parser (2.9.0)
23
21
  rexml (3.2.6)
24
- rubocop (1.62.1)
22
+ rubocop (1.63.4)
25
23
  json (~> 2.3)
26
24
  language_server-protocol (>= 3.17.0)
27
25
  parallel (~> 1.10)
@@ -32,8 +30,8 @@ GEM
32
30
  rubocop-ast (>= 1.31.1, < 2.0)
33
31
  ruby-progressbar (~> 1.7)
34
32
  unicode-display_width (>= 2.4.0, < 3.0)
35
- rubocop-ast (1.31.2)
36
- parser (>= 3.3.0.4)
33
+ rubocop-ast (1.31.3)
34
+ parser (>= 3.3.1.0)
37
35
  ruby-progressbar (1.13.0)
38
36
  storable (0.10.0)
39
37
  sysinfo (0.10.0)
@@ -49,9 +47,9 @@ PLATFORMS
49
47
 
50
48
  DEPENDENCIES
51
49
  rake (~> 13.0)
50
+ redis (>= 4.8, < 7)
52
51
  rubocop (~> 1.21)
53
- tryouts (~> 2.1, >= 2.1.1)
54
- uri-redis!
52
+ tryouts (~> 2.2.0)
55
53
 
56
54
  BUNDLED WITH
57
- 2.5.7
55
+ 2.5.9
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # URI-Redis v1.1.0 (2024-04-04)
1
+ # URI-Redis v1.1.2 (2024-05-02)
2
2
 
3
3
  Creates a URI object for Redis URLs.
4
4
 
@@ -7,7 +7,8 @@ e.g.
7
7
  redis://host:port/dbindex
8
8
 
9
9
  ## Usage
10
- **
10
+
11
+ ```ruby
11
12
  require 'uri/redis'
12
13
 
13
14
  conf = URI.parse 'redis://localhost:4380/2'
@@ -16,7 +17,9 @@ e.g.
16
17
  conf.db # => 2
17
18
  conf.to_s # => redis://localhost:4380/2
18
19
  conf
19
- **
20
+ ```
21
+
22
+
20
23
  ## Installation
21
24
 
22
25
  Get it in one of the following ways:
@@ -2,6 +2,6 @@
2
2
 
3
3
  module URI
4
4
  module Redis
5
- VERSION = "1.1.0"
5
+ VERSION = "1.1.2"
6
6
  end
7
7
  end
data/lib/uri/redis.rb CHANGED
@@ -1,5 +1,3 @@
1
-
2
-
3
1
  require "uri"
4
2
  require "redis"
5
3
 
@@ -1,5 +1,4 @@
1
-
2
- require_relative "../lib/uri/redis"
1
+ require "uri/redis"
3
2
 
4
3
  ## Default database is 0
5
4
  uri = URI.parse "redis://localhost"
metadata CHANGED
@@ -1,52 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uri-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - delano
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-05 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: redis
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '4.8'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '7'
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '4.8'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '7'
33
- - !ruby/object:Gem::Dependency
34
- name: tryouts
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: '0'
40
- type: :development
41
- prerelease: false
42
- version_requirements: !ruby/object:Gem::Requirement
43
- requirements:
44
- - - ">="
45
- - !ruby/object:Gem::Version
46
- version: '0'
11
+ date: 2024-05-03 00:00:00.000000000 Z
12
+ dependencies: []
47
13
  description: 'URI-Redis: support for parsing Redis URIs like redis://host:port/dbindex'
48
14
  email:
49
- - delano@solutious.com
15
+ - gems@solutious.com
50
16
  executables: []
51
17
  extensions: []
52
18
  extra_rdoc_files: []
@@ -71,7 +37,7 @@ metadata:
71
37
  source_code_uri: https://github.com/delano/uri-redis/
72
38
  changelog_uri: https://github.com/delano/uri-redis/blob/feature/001-modernize/CHANGES.txt#L1
73
39
  rubygems_mfa_required: 'true'
74
- post_install_message:
40
+ post_install_message:
75
41
  rdoc_options: []
76
42
  require_paths:
77
43
  - lib
@@ -79,15 +45,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
79
45
  requirements:
80
46
  - - ">="
81
47
  - !ruby/object:Gem::Version
82
- version: 2.6.8
48
+ version: 2.7.5
83
49
  required_rubygems_version: !ruby/object:Gem::Requirement
84
50
  requirements:
85
51
  - - ">="
86
52
  - !ruby/object:Gem::Version
87
53
  version: '0'
88
54
  requirements: []
89
- rubygems_version: 3.2.3
90
- signing_key:
55
+ rubygems_version: 3.5.9
56
+ signing_key:
91
57
  specification_version: 4
92
58
  summary: 'URI-Redis: support for parsing Redis URIs'
93
59
  test_files: []