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.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/bin/wait_pg +2 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 041add53e7b155106cb62985c27f721cba0e0b97
4
- data.tar.gz: 62ddf5ac0f6b8dc178dcbb25790bbeaf6b0876f0
2
+ SHA256:
3
+ metadata.gz: 16907dc9186b682642d7176bd967d38204009462a821a58407b0d11dc59ed086
4
+ data.tar.gz: 15e7f0cce220e116102367f1abde99bbedc51346401a80175ac982385ac6ccac
5
5
  SHA512:
6
- metadata.gz: ebabb80948fa11f2fee00eab77a8922c2cd60de0279f7f30fac18f99fe234615bc7eae1fd93445312326c286fdc30fcd8dc77fb84f885246d48deeda99d18a17
7
- data.tar.gz: 631d74a773d568afed5c38ff75cc4ebdcd76d998772c2d6cc361182dc0c11b9230e1f0ac896aa38c8becef7ee71d29b8c9729bb2a64d12eecb5d5beebd761051
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
- connection_options = database_yml['database_url']
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.2
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-02-15 00:00:00.000000000 Z
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.11
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.