wait_pg 1.0.2 → 1.0.3
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 +5 -5
- data/bin/wait_pg +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 16907dc9186b682642d7176bd967d38204009462a821a58407b0d11dc59ed086
|
4
|
+
data.tar.gz: 15e7f0cce220e116102367f1abde99bbedc51346401a80175ac982385ac6ccac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f035bc4f8397514fcf7a8d21b3eca5947e7d82b3327960c01f516e449a5a4b87ec5383a669f986d7ad5a53d4e607e0be69cd868903fa51e36fb63659a5d956cb
|
7
|
+
data.tar.gz: c0c30b482b0cfcf4bbf644684efdc1ff9b9ccdabfd6d81aa6bdc28124b1c51e5b1f5d82c0cfbf45713efda0b29c464e62d54fd29bf96d293e7ccae8b0c84a8b6
|
data/bin/wait_pg
CHANGED
@@ -18,7 +18,8 @@ connection_options = {
|
|
18
18
|
}
|
19
19
|
|
20
20
|
if database_yml['database_url'] && !database_yml['database_url'].empty?
|
21
|
-
|
21
|
+
# Use the default adapter
|
22
|
+
connection_options = database_yml['database_url'].gsub(/^.*:\/\//, 'postgres://')
|
22
23
|
end
|
23
24
|
|
24
25
|
puts 'Waiting for PostgreSQL...'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wait_pg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mroutis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pg
|
@@ -53,7 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
53
|
version: '0'
|
54
54
|
requirements: []
|
55
55
|
rubyforge_project:
|
56
|
-
rubygems_version: 2.6
|
56
|
+
rubygems_version: 2.7.6
|
57
57
|
signing_key:
|
58
58
|
specification_version: 4
|
59
59
|
summary: Add a binary that waits for a PostgreSQL connection in a Ruby on Rails app.
|