uri-redis 1.0.0 → 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: 4cc5ef97a1ea80b106e1cbff2db3aa804b74040ebfbb405db2c36fd4407236fd
4
- data.tar.gz: b57c846e9e4dee92363226ec0c32d7bcd1fa1f103f2f7893d97e9bb27c4aa24c
3
+ metadata.gz: 9a62d1cb81a351f7ac57570488570cc164f97f51f40da745a5a893fd2ab17063
4
+ data.tar.gz: ea41f6580eaf05025443b0e9d9eeae0673c335c51f7bad36c2b4779d590a8686
5
5
  SHA512:
6
- metadata.gz: bd5af060359ec55d14e6b254d500f3f24f3d0eaef267ed9b83edc768f7561ae585faf49873c21ebfd92adc019527ddbb73461da0112c19de95561ec973d206ca
7
- data.tar.gz: aa4a71b7c0ad842f6d3d2cfd05bce94a63f85f15a1e4007b2daf5ede87117c2e625ea1c8b73bebc81030b0741ef783db43c0ae0a2dad720f150adfaab09eae07
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,5 +1,25 @@
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
+
17
+ #### 1.1.0 (2024-04-04) ###############################
18
+
19
+ * Fix for frozen strings issue.
20
+ * Allow fow updated redis, tryouts releases.
21
+
22
+
3
23
  #### 1.0.0 (2023-01-17) ###############################
4
24
 
5
25
  * CHANGE: Just a version bump to 1.0 for a full
data/Gemfile CHANGED
@@ -2,9 +2,10 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- # Specify your gem's dependencies in uri-redis.gemspec
6
- gemspec
7
-
8
5
  gem "rake", "~> 13.0"
9
-
6
+ gem "redis", ">= 4.8", "< 7"
10
7
  gem "rubocop", "~> 1.21"
8
+
9
+ group :development do
10
+ gem "tryouts", "~>2.2.0"
11
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,55 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ ast (2.4.2)
5
+ connection_pool (2.4.1)
6
+ drydock (0.6.9)
7
+ json (2.7.2)
8
+ language_server-protocol (3.17.0.3)
9
+ parallel (1.24.0)
10
+ parser (3.3.1.0)
11
+ ast (~> 2.4.1)
12
+ racc
13
+ racc (1.7.3)
14
+ rainbow (3.1.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
20
+ regexp_parser (2.9.0)
21
+ rexml (3.2.6)
22
+ rubocop (1.63.4)
23
+ json (~> 2.3)
24
+ language_server-protocol (>= 3.17.0)
25
+ parallel (~> 1.10)
26
+ parser (>= 3.3.0.2)
27
+ rainbow (>= 2.2.2, < 4.0)
28
+ regexp_parser (>= 1.8, < 3.0)
29
+ rexml (>= 3.2.5, < 4.0)
30
+ rubocop-ast (>= 1.31.1, < 2.0)
31
+ ruby-progressbar (~> 1.7)
32
+ unicode-display_width (>= 2.4.0, < 3.0)
33
+ rubocop-ast (1.31.3)
34
+ parser (>= 3.3.1.0)
35
+ ruby-progressbar (1.13.0)
36
+ storable (0.10.0)
37
+ sysinfo (0.10.0)
38
+ drydock (< 1.0)
39
+ storable (~> 0.10)
40
+ tryouts (2.2.0)
41
+ sysinfo (~> 0.10)
42
+ unicode-display_width (2.5.0)
43
+
44
+ PLATFORMS
45
+ arm64-darwin-22
46
+ ruby
47
+
48
+ DEPENDENCIES
49
+ rake (~> 13.0)
50
+ redis (>= 4.8, < 7)
51
+ rubocop (~> 1.21)
52
+ tryouts (~> 2.2.0)
53
+
54
+ BUNDLED WITH
55
+ 2.5.9
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # URI-Redis v1.0 (pre-release)
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:
@@ -30,11 +33,6 @@ Get it in one of the following ways:
30
33
  * [Github](https://github.com/delano/uri-redis)
31
34
 
32
35
 
33
- ## Credits
34
-
35
- * delano (https://delanotes.com/)
36
-
37
-
38
36
  ## License
39
37
 
40
38
  See LICENSE.txt
@@ -2,6 +2,6 @@
2
2
 
3
3
  module URI
4
4
  module Redis
5
- VERSION = "1.0.0"
5
+ VERSION = "1.1.2"
6
6
  end
7
7
  end
data/lib/uri/redis.rb CHANGED
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  require "uri"
4
2
  require "redis"
5
3
 
@@ -18,7 +16,6 @@ module URI
18
16
  # uri = URI::Redis.build(host: "localhost", port: 6379, db: 2)
19
17
  # uri.to_s #=> "redis://localhost:6379/2"
20
18
  class Redis < URI::Generic
21
- VERSION = "0.4" unless defined?(URI::Redis::VERSION)
22
19
  DEFAULT_PORT = 6379
23
20
  DEFAULT_DB = 0
24
21
 
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  require "uri/redis"
4
2
 
5
3
  ## Default database is 0
metadata CHANGED
@@ -1,58 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uri-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - delano
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-17 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.1'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 4.1.0
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '4.1'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 4.1.0
33
- - !ruby/object:Gem::Dependency
34
- name: tryouts
35
- requirement: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '2.1'
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- version: 2.1.1
43
- type: :development
44
- prerelease: false
45
- version_requirements: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '2.1'
50
- - - ">="
51
- - !ruby/object:Gem::Version
52
- version: 2.1.1
11
+ date: 2024-05-03 00:00:00.000000000 Z
12
+ dependencies: []
53
13
  description: 'URI-Redis: support for parsing Redis URIs like redis://host:port/dbindex'
54
14
  email:
55
- - delano@solutious.com
15
+ - gems@solutious.com
56
16
  executables: []
57
17
  extensions: []
58
18
  extra_rdoc_files: []
@@ -60,6 +20,7 @@ files:
60
20
  - ".rubocop.yml"
61
21
  - CHANGES.txt
62
22
  - Gemfile
23
+ - Gemfile.lock
63
24
  - LICENSE.txt
64
25
  - README.md
65
26
  - Rakefile
@@ -91,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
52
  - !ruby/object:Gem::Version
92
53
  version: '0'
93
54
  requirements: []
94
- rubygems_version: 3.3.7
55
+ rubygems_version: 3.5.9
95
56
  signing_key:
96
57
  specification_version: 4
97
58
  summary: 'URI-Redis: support for parsing Redis URIs'