pg-aws_rds_iam 0.6.0 → 0.6.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: 94635722d8000b0961d12c63c2860cc45cf980f501dd98fd2e19873a7109b0a0
4
- data.tar.gz: abc349b32a7318ae752d3d07e4fb51cd6c06b9c07e5863a8ca5d87c0906b6489
3
+ metadata.gz: 6ca9285880d14457835d0b91196653cf230f6d8a269945c65b40af0031653987
4
+ data.tar.gz: 1749a70b4736c35fa0a9fffff961b3d9101df73cdef9ecffc8fadad2f6401daf
5
5
  SHA512:
6
- metadata.gz: e3049603b1e2b604d099befce44ea754a14724581e33841067d00461d51ef07a19c2276e9d88a386bba886f0ae89d93287a23c100535160f8ab4a0753d2377a7
7
- data.tar.gz: 6fe8c3dcc525fb048bb652b9db21e9fb2855bed0a527965a2c2ffb42c36e652586668af37c92ef4dbd9900e9a8f1bfaea64d99d1aeebdadcf60f886dd90ab658
6
+ metadata.gz: 65188829a0c75e07b7c7809643999a0b9d65924437240909aed32e3b7e32f8f8289e6df699724e250b57401e2a0437cdd675eddf7cc29335278e09e7d446ec6a
7
+ data.tar.gz: 2818e00188696512b5dc89b513e9c2d8110af3d337ec9f0e4b229027c2f9f7d339770c91462bc7bb3a83afcd263cfec099d38c8d7736be870428358ad97492a3
data/CHANGELOG.md CHANGED
@@ -8,10 +8,24 @@ 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.2] - 2024-11-12
12
+
13
+ ### Changed
14
+ * Fix broken link in changelog ([#687](https://github.com/haines/pg-aws_rds_iam/pull/687))
15
+
16
+ ## [0.6.1] - 2024-11-12
17
+
18
+ ### Changed
19
+ * Test against Active Record 8.0 ([#685](https://github.com/haines/pg-aws_rds_iam/pull/685))
20
+ * 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))
21
+
11
22
  ## [0.6.0] - 2024-10-30
12
23
 
13
24
  ### Changed
14
25
  * Require Ruby ≥ 3.1 ([#653](https://github.com/haines/pg-aws_rds_iam/pull/653))
26
+ * Test against Ruby 3.3 ([#589](https://github.com/haines/pg-aws_rds_iam/pull/589))
27
+ * Test against Active Record 7.1 ([#562](https://github.com/haines/pg-aws_rds_iam/pull/562))
28
+ * Test against Active Record 7.2 ([#653](https://github.com/haines/pg-aws_rds_iam/pull/653))
15
29
 
16
30
  ### Fixed
17
31
  * Generate auth token for `rails dbconsole` command ([#678](https://github.com/haines/pg-aws_rds_iam/pull/678))
@@ -40,8 +54,9 @@ No notable changes.
40
54
  ## [0.4.0] - 2022-06-22
41
55
 
42
56
  ### Changed
43
- * Test against Ruby 3.1 ([#305](https://github.com/haines/pg-aws_rds_iam/pull/305))
44
57
  * Require Ruby ≥ 2.7 and Active Record ≥ 6.0 ([#360](https://github.com/haines/pg-aws_rds_iam/pull/360))
58
+ * Test against Ruby 3.1 ([#305](https://github.com/haines/pg-aws_rds_iam/pull/305))
59
+ * Test against Active Record 7.0 ([#291](https://github.com/haines/pg-aws_rds_iam/pull/291))
45
60
 
46
61
  ### Fixed
47
62
  * Compatibility with `pg` ≥ 1.4 ([#356](https://github.com/haines/pg-aws_rds_iam/pull/356))
@@ -81,7 +96,9 @@ No notable changes.
81
96
  * A plugin for the [`pg` gem](https://rubygems.org/gems/pg) that adds support for [IAM authentication](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.html) when connecting to PostgreSQL databases hosted in Amazon RDS. ([#1](https://github.com/haines/pg-aws_rds_iam/pull/1))
82
97
  * ActiveRecord support. ([#3](https://github.com/haines/pg-aws_rds_iam/pull/3))
83
98
 
84
- [Unreleased]: https://github.com/haines/pg-aws_rds_iam/compare/v0.6.0...HEAD
99
+ [Unreleased]: https://github.com/haines/pg-aws_rds_iam/compare/v0.6.2...HEAD
100
+ [0.6.2]: https://github.com/haines/pg-aws_rds_iam/compare/v0.6.1...v0.6.2
101
+ [0.6.1]: https://github.com/haines/pg-aws_rds_iam/compare/v0.6.0...v0.6.1
85
102
  [0.6.0]: https://github.com/haines/pg-aws_rds_iam/compare/v0.5.0...v0.6.0
86
103
  [0.5.0]: https://github.com/haines/pg-aws_rds_iam/compare/v0.4.2...v0.5.0
87
104
  [0.4.2]: https://github.com/haines/pg-aws_rds_iam/compare/v0.4.1...v0.4.2
@@ -5,7 +5,14 @@ module PG
5
5
  module ConnectionInfo
6
6
  class URI
7
7
  def self.match?(connection_string)
8
- /\A#{::URI::ABS_URI_REF}\z/.match?(connection_string)
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
@@ -3,6 +3,6 @@
3
3
  module PG
4
4
  module AWS_RDS_IAM
5
5
  # The current version of the gem.
6
- VERSION = "0.6.0"
6
+ VERSION = "0.6.2"
7
7
  end
8
8
  end
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.0
4
+ version: 0.6.2
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-10-30 00:00:00.000000000 Z
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.0
76
+ documentation_uri: https://rubydoc.info/gems/pg-aws_rds_iam/0.6.2
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.22
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