pg-aws_rds_iam 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +11 -1
- data/lib/pg/aws_rds_iam/connection_info/uri.rb +8 -1
- data/lib/pg/aws_rds_iam/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8de2c77e449ab425d3294a78bfb769377b96e33ef415144066c442103bdca6db
|
4
|
+
data.tar.gz: a10dcfe36a489d448cfaaa5a598af4bf99d1f29cb9abc7b0f27fb85de00c08c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e07d05f1b3ba640764c8493e0b27bc94722c8b7afb2688a9168551821dc2518eccc4d74f241a6a91bec51ea67a16e93a72924100014c6643bc7e4c1ddc0fc0aa
|
7
|
+
data.tar.gz: 8a3b8388bac508791363b4252283bc48d6b8412c3b99337dad6640ea1475005062bfb1528a82f042b0fd76f46f97afa85d41b221881fee9520f2e4bf2064a9df
|
data/CHANGELOG.md
CHANGED
@@ -8,10 +8,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
8
8
|
|
9
9
|
No notable changes.
|
10
10
|
|
11
|
+
## [0.6.1] - 2024-11-12
|
12
|
+
|
13
|
+
### Changed
|
14
|
+
* Test against Active Record 8.0 ([#685](https://github.com/haines/pg-aws_rds_iam/pull/685))
|
15
|
+
* Use `URI::RFC2396_PARSER.regexp[:ABS_URI_REF]` directly to resolve deprecation warning introduced in [ruby/uri#113](https://github.com/ruby/uri/pull/113) ([#685](https://github.com/haines/pg-aws_rds_iam/pull/685))
|
16
|
+
|
11
17
|
## [0.6.0] - 2024-10-30
|
12
18
|
|
13
19
|
### Changed
|
14
20
|
* Require Ruby ≥ 3.1 ([#653](https://github.com/haines/pg-aws_rds_iam/pull/653))
|
21
|
+
* Test against Ruby 3.3 ([#589](https://github.com/haines/pg-aws_rds_iam/pull/589))
|
22
|
+
* Test against Active Record 7.1 ([#562](https://github.com/haines/pg-aws_rds_iam/pull/562))
|
23
|
+
* Test against Active Record 7.2 ([#653](https://github.com/haines/pg-aws_rds_iam/pull/653))
|
15
24
|
|
16
25
|
### Fixed
|
17
26
|
* Generate auth token for `rails dbconsole` command ([#678](https://github.com/haines/pg-aws_rds_iam/pull/678))
|
@@ -40,8 +49,9 @@ No notable changes.
|
|
40
49
|
## [0.4.0] - 2022-06-22
|
41
50
|
|
42
51
|
### Changed
|
43
|
-
* Test against Ruby 3.1 ([#305](https://github.com/haines/pg-aws_rds_iam/pull/305))
|
44
52
|
* Require Ruby ≥ 2.7 and Active Record ≥ 6.0 ([#360](https://github.com/haines/pg-aws_rds_iam/pull/360))
|
53
|
+
* Test against Ruby 3.1 ([#305](https://github.com/haines/pg-aws_rds_iam/pull/305))
|
54
|
+
* Test against Active Record 7.0 ([#291](https://github.com/haines/pg-aws_rds_iam/pull/291))
|
45
55
|
|
46
56
|
### Fixed
|
47
57
|
* Compatibility with `pg` ≥ 1.4 ([#356](https://github.com/haines/pg-aws_rds_iam/pull/356))
|
@@ -5,7 +5,14 @@ module PG
|
|
5
5
|
module ConnectionInfo
|
6
6
|
class URI
|
7
7
|
def self.match?(connection_string)
|
8
|
-
|
8
|
+
regexp =
|
9
|
+
if defined?(::URI::RFC2396_PARSER)
|
10
|
+
::URI::RFC2396_PARSER.regexp[:ABS_URI_REF]
|
11
|
+
else
|
12
|
+
::URI::ABS_URI_REF
|
13
|
+
end
|
14
|
+
|
15
|
+
/\A#{regexp}\z/.match?(connection_string)
|
9
16
|
end
|
10
17
|
|
11
18
|
attr_reader :auth_token_generator_name
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg-aws_rds_iam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Haines
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-rds
|
@@ -73,7 +73,7 @@ licenses:
|
|
73
73
|
metadata:
|
74
74
|
bug_tracker_uri: https://github.com/haines/pg-aws_rds_iam/issues
|
75
75
|
changelog_uri: https://github.com/haines/pg-aws_rds_iam/blob/main/CHANGELOG.md
|
76
|
-
documentation_uri: https://rubydoc.info/gems/pg-aws_rds_iam/0.6.
|
76
|
+
documentation_uri: https://rubydoc.info/gems/pg-aws_rds_iam/0.6.1
|
77
77
|
homepage_uri: https://github.com/haines/pg-aws_rds_iam
|
78
78
|
source_code_uri: https://github.com/haines/pg-aws_rds_iam
|
79
79
|
rubygems_mfa_required: 'true'
|
@@ -92,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
92
92
|
- !ruby/object:Gem::Version
|
93
93
|
version: '0'
|
94
94
|
requirements: []
|
95
|
-
rubygems_version: 3.5.
|
95
|
+
rubygems_version: 3.5.23
|
96
96
|
signing_key:
|
97
97
|
specification_version: 4
|
98
98
|
summary: IAM authentication for PostgreSQL on Amazon RDS
|