uri-redis 1.0.0 → 1.1.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: 4cc5ef97a1ea80b106e1cbff2db3aa804b74040ebfbb405db2c36fd4407236fd
4
- data.tar.gz: b57c846e9e4dee92363226ec0c32d7bcd1fa1f103f2f7893d97e9bb27c4aa24c
3
+ metadata.gz: 9d3733d391eb1143e238f47c190e49c48efe4a616316757effcf7d653c03c488
4
+ data.tar.gz: 18cbf4d564e3c031c3d3dc9a788e28e79bf53657fcb234f2878f3d12eee82f0a
5
5
  SHA512:
6
- metadata.gz: bd5af060359ec55d14e6b254d500f3f24f3d0eaef267ed9b83edc768f7561ae585faf49873c21ebfd92adc019527ddbb73461da0112c19de95561ec973d206ca
7
- data.tar.gz: aa4a71b7c0ad842f6d3d2cfd05bce94a63f85f15a1e4007b2daf5ede87117c2e625ea1c8b73bebc81030b0741ef783db43c0ae0a2dad720f150adfaab09eae07
6
+ metadata.gz: b4efae3a9fe01cf9dece02866dc2d45435068a23825e4b1b617d8919398f994a5c9887841d885fc576a260fc791415e6225847c1675e247b2ea964c385cb9c3c
7
+ data.tar.gz: 757b7e28a203e3056f95d7c6c15115e9ff1cdff790ded33c9e72ad7ee70c25205ace9c608e90f8fdf13129da0cba26d5020bcb3b55b38d3b76983f4d927e0010
data/CHANGES.txt CHANGED
@@ -1,5 +1,11 @@
1
1
  URI-Redis, CHANGES
2
2
 
3
+ #### 1.1.0 (2024-04-04) ###############################
4
+
5
+ * Fix for frozen strings issue.
6
+ * Allow fow updated redis, tryouts releases.
7
+
8
+
3
9
  #### 1.0.0 (2023-01-17) ###############################
4
10
 
5
11
  * CHANGE: Just a version bump to 1.0 for a full
data/Gemfile CHANGED
@@ -2,6 +2,8 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ ruby '>= 2.6.8'
6
+
5
7
  # Specify your gem's dependencies in uri-redis.gemspec
6
8
  gemspec
7
9
 
data/Gemfile.lock ADDED
@@ -0,0 +1,57 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ uri-redis (1.0.0)
5
+ redis (~> 4.1, >= 4.1.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ ast (2.4.2)
11
+ drydock (0.6.9)
12
+ json (2.7.2)
13
+ language_server-protocol (3.17.0.3)
14
+ parallel (1.24.0)
15
+ parser (3.3.0.5)
16
+ ast (~> 2.4.1)
17
+ racc
18
+ racc (1.7.3)
19
+ rainbow (3.1.1)
20
+ rake (13.2.0)
21
+ redis (4.8.1)
22
+ regexp_parser (2.9.0)
23
+ rexml (3.2.6)
24
+ rubocop (1.62.1)
25
+ json (~> 2.3)
26
+ language_server-protocol (>= 3.17.0)
27
+ parallel (~> 1.10)
28
+ parser (>= 3.3.0.2)
29
+ rainbow (>= 2.2.2, < 4.0)
30
+ regexp_parser (>= 1.8, < 3.0)
31
+ rexml (>= 3.2.5, < 4.0)
32
+ rubocop-ast (>= 1.31.1, < 2.0)
33
+ ruby-progressbar (~> 1.7)
34
+ unicode-display_width (>= 2.4.0, < 3.0)
35
+ rubocop-ast (1.31.2)
36
+ parser (>= 3.3.0.4)
37
+ ruby-progressbar (1.13.0)
38
+ storable (0.10.0)
39
+ sysinfo (0.10.0)
40
+ drydock (< 1.0)
41
+ storable (~> 0.10)
42
+ tryouts (2.2.0)
43
+ sysinfo (~> 0.10)
44
+ unicode-display_width (2.5.0)
45
+
46
+ PLATFORMS
47
+ arm64-darwin-22
48
+ ruby
49
+
50
+ DEPENDENCIES
51
+ rake (~> 13.0)
52
+ rubocop (~> 1.21)
53
+ tryouts (~> 2.1, >= 2.1.1)
54
+ uri-redis!
55
+
56
+ BUNDLED WITH
57
+ 2.5.7
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # URI-Redis v1.0 (pre-release)
1
+ # URI-Redis v1.1.0 (2024-04-04)
2
2
 
3
3
  Creates a URI object for Redis URLs.
4
4
 
@@ -30,11 +30,6 @@ Get it in one of the following ways:
30
30
  * [Github](https://github.com/delano/uri-redis)
31
31
 
32
32
 
33
- ## Credits
34
-
35
- * delano (https://delanotes.com/)
36
-
37
-
38
33
  ## License
39
34
 
40
35
  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.0"
6
6
  end
7
7
  end
data/lib/uri/redis.rb CHANGED
@@ -1,4 +1,4 @@
1
- # frozen_string_literal: true
1
+
2
2
 
3
3
  require "uri"
4
4
  require "redis"
@@ -18,7 +18,6 @@ module URI
18
18
  # uri = URI::Redis.build(host: "localhost", port: 6379, db: 2)
19
19
  # uri.to_s #=> "redis://localhost:6379/2"
20
20
  class Redis < URI::Generic
21
- VERSION = "0.4" unless defined?(URI::Redis::VERSION)
22
21
  DEFAULT_PORT = 6379
23
22
  DEFAULT_DB = 0
24
23
 
@@ -1,6 +1,5 @@
1
- # frozen_string_literal: true
2
1
 
3
- require "uri/redis"
2
+ require_relative "../lib/uri/redis"
4
3
 
5
4
  ## Default database is 0
6
5
  uri = URI.parse "redis://localhost"
metadata CHANGED
@@ -1,55 +1,49 @@
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.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - delano
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-17 00:00:00.000000000 Z
11
+ date: 2024-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: redis
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '4.1'
20
17
  - - ">="
21
18
  - !ruby/object:Gem::Version
22
- version: 4.1.0
19
+ version: '4.8'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '7'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '4.1'
30
27
  - - ">="
31
28
  - !ruby/object:Gem::Version
32
- version: 4.1.0
29
+ version: '4.8'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '7'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: tryouts
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '2.1'
40
37
  - - ">="
41
38
  - !ruby/object:Gem::Version
42
- version: 2.1.1
39
+ version: '0'
43
40
  type: :development
44
41
  prerelease: false
45
42
  version_requirements: !ruby/object:Gem::Requirement
46
43
  requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '2.1'
50
44
  - - ">="
51
45
  - !ruby/object:Gem::Version
52
- version: 2.1.1
46
+ version: '0'
53
47
  description: 'URI-Redis: support for parsing Redis URIs like redis://host:port/dbindex'
54
48
  email:
55
49
  - delano@solutious.com
@@ -60,6 +54,7 @@ files:
60
54
  - ".rubocop.yml"
61
55
  - CHANGES.txt
62
56
  - Gemfile
57
+ - Gemfile.lock
63
58
  - LICENSE.txt
64
59
  - README.md
65
60
  - Rakefile
@@ -76,7 +71,7 @@ metadata:
76
71
  source_code_uri: https://github.com/delano/uri-redis/
77
72
  changelog_uri: https://github.com/delano/uri-redis/blob/feature/001-modernize/CHANGES.txt#L1
78
73
  rubygems_mfa_required: 'true'
79
- post_install_message:
74
+ post_install_message:
80
75
  rdoc_options: []
81
76
  require_paths:
82
77
  - lib
@@ -84,15 +79,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
79
  requirements:
85
80
  - - ">="
86
81
  - !ruby/object:Gem::Version
87
- version: 2.7.5
82
+ version: 2.6.8
88
83
  required_rubygems_version: !ruby/object:Gem::Requirement
89
84
  requirements:
90
85
  - - ">="
91
86
  - !ruby/object:Gem::Version
92
87
  version: '0'
93
88
  requirements: []
94
- rubygems_version: 3.3.7
95
- signing_key:
89
+ rubygems_version: 3.2.3
90
+ signing_key:
96
91
  specification_version: 4
97
92
  summary: 'URI-Redis: support for parsing Redis URIs'
98
93
  test_files: []