pgpass 2022.07.27 → 2023.01.01
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHORS +3 -1
- data/CHANGELOG +31 -0
- data/lib/pgpass/version.rb +1 -1
- data/lib/pgpass.rb +2 -2
- data/pgpass.gemspec +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1c266bae90b7b4ddf46185f52ae0c125626b1296dcd87c346811265b109ccebe
|
4
|
+
data.tar.gz: c41ca1bf8ae6bad0a0aff6f63b843177b3d9794d8a34cf1817c4677c064aa7be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4eaec91b226e55ececcd883633b553a2b2f784e62c1f61bcbf07cb7a9dbf6ad3b5d03e2378a965cdb81bb0b8dde1b0f9b6ad64303a85d793127a3ab86022269f
|
7
|
+
data.tar.gz: e0c24ea9ee8ff1493e8945c62622c2dfc56e5890fa2c3c4a0d29c600c3dc66a22c0b05075387dd0259dacac1be9b2016a2339cdd4ec9c7066436fa8bc95bcec0
|
data/AUTHORS
CHANGED
@@ -2,5 +2,7 @@ Following persons have contributed to pgpass.
|
|
2
2
|
(Sorted by number of submitted patches, then alphabetically)
|
3
3
|
|
4
4
|
12 Michael Fellinger <m.fellinger@gmail.com>
|
5
|
-
|
5
|
+
3 Michael Fellinger <michael.fellinger@iohk.io>
|
6
|
+
1 Jesús Gómez <jesus.gomez@fonemed.com>
|
7
|
+
1 Michael Fellinger <github@manveru.dev>
|
6
8
|
1 Trey Dempsey <trey.dempsey@gmail.com>
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,34 @@
|
|
1
|
+
[a210ef8 | 2023-01-01 05:59:46 UTC] Michael Fellinger <michael.fellinger@iohk.io>
|
2
|
+
|
3
|
+
* Version 2023.01.01
|
4
|
+
|
5
|
+
[2c7394a | 2022-12-30 12:24:54 UTC] Jesús Gómez <jesus.gomez@fonemed.com>
|
6
|
+
|
7
|
+
* Fix typo in 'search' hash definition inside 'match' method
|
8
|
+
|
9
|
+
The hash used to create the `search` Entry use keys that will be
|
10
|
+
simply ignored by Entry's initializer: `host` and `user`.
|
11
|
+
|
12
|
+
Instead, the keys `hostname` and `username` should be used.
|
13
|
+
|
14
|
+
The current tests pass because `hostname` and `username` are set as
|
15
|
+
`nil` (because those keys were not actually passed, the keys passed
|
16
|
+
were `host` and `user`). Then, the private method `compare` will treat
|
17
|
+
those `nil` values the same as `*`.
|
18
|
+
|
19
|
+
`*` would have been the value set to those keys, if no PG env variable
|
20
|
+
is set.
|
21
|
+
|
22
|
+
The tests are not verifying the environment variables, so the tests
|
23
|
+
have been passing without problem.
|
24
|
+
|
25
|
+
In any case, this commit fix this aparently evident typo (don't merge
|
26
|
+
if I'm missing something).
|
27
|
+
|
28
|
+
[2c78ea0 | 2022-07-27 12:18:30 UTC] Michael Fellinger <michael.fellinger@iohk.io>
|
29
|
+
|
30
|
+
* Version 2022.07.27
|
31
|
+
|
1
32
|
[302ee50 | 2022-07-27 12:10:17 UTC] Michael Fellinger <michael.fellinger@iohk.io>
|
2
33
|
|
3
34
|
* fix some rubocop issues and a bug in Pgpass::guess
|
data/lib/pgpass/version.rb
CHANGED
data/lib/pgpass.rb
CHANGED
@@ -107,9 +107,9 @@ module Pgpass
|
|
107
107
|
|
108
108
|
def match(given_options = {})
|
109
109
|
search = Entry.create(
|
110
|
-
|
110
|
+
username: (ENV['PGUSER'] || '*'),
|
111
111
|
password: ENV['PGPASSWORD'],
|
112
|
-
|
112
|
+
hostname: (ENV['PGHOST'] || '*'),
|
113
113
|
port: (ENV['PGPORT'] || '*'),
|
114
114
|
database: (ENV['PGDATABASE'] || '*')
|
115
115
|
).merge(given_options)
|
data/pgpass.gemspec
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: pgpass
|
2
|
+
# stub: pgpass 2023.01.01 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "pgpass".freeze
|
6
|
-
s.version = "
|
6
|
+
s.version = "2023.01.01"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|
10
10
|
s.authors = ["Michael 'manveru' Fellinger".freeze]
|
11
|
-
s.date = "
|
11
|
+
s.date = "2023-01-01"
|
12
12
|
s.email = "mf@rubyists.com".freeze
|
13
13
|
s.files = ["AUTHORS".freeze, "CHANGELOG".freeze, "LICENSE".freeze, "MANIFEST".freeze, "README.md".freeze, "Rakefile".freeze, "lib".freeze, "lib/pgpass".freeze, "lib/pgpass.rb".freeze, "lib/pgpass/version.rb".freeze, "pgpass.gemspec".freeze, "spec".freeze, "spec/pgpass.rb".freeze, "spec/sample".freeze, "spec/sample/invalid_permission".freeze, "spec/sample/multiple".freeze, "spec/sample/simple".freeze, "tasks".freeze, "tasks/authors.rake".freeze, "tasks/bacon.rake".freeze, "tasks/changelog.rake".freeze, "tasks/gem.rake".freeze, "tasks/manifest.rake".freeze, "tasks/release.rake".freeze, "tasks/reversion.rake".freeze]
|
14
14
|
s.homepage = "http://github.com/manveru/pgpass".freeze
|
15
15
|
s.required_ruby_version = Gem::Requirement.new(">= 1.9.2".freeze)
|
16
|
-
s.rubygems_version = "3.
|
16
|
+
s.rubygems_version = "3.3.20".freeze
|
17
17
|
s.summary = "Finding, parsing, and using entries in .pgpass files".freeze
|
18
18
|
|
19
19
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pgpass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2023.01.01
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael 'manveru' Fellinger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bacon
|
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
|
-
rubygems_version: 3.
|
71
|
+
rubygems_version: 3.3.20
|
72
72
|
signing_key:
|
73
73
|
specification_version: 4
|
74
74
|
summary: Finding, parsing, and using entries in .pgpass files
|