Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 27, 2024
1 parent 9468ce8 commit 43217d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ docker:
assets:
rubygems.yml: yegor256/home#assets/rubygems.yml
install: |
sudo hostname docker
sudo apt-get update
sudo apt-get install -y libpq-dev postgresql-client postgresql
sudo ln -s "$(realpath /usr/lib/postgresql/*/bin/initdb)" /bin/initdb
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ GEM
thor (1.3.2)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (3.1.2)
unicode-display_width (3.1.3)
unicode-emoji (~> 4.0, >= 4.0.4)
unicode-emoji (4.0.4)
uri (1.0.2)
Expand Down
11 changes: 5 additions & 6 deletions lib/pgtk/liquibase_task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def run
Dir.chdir(File.dirname(@master)) do
qbash(
[
'mvn verify',
'mvn', 'verify',
'--errors',
'--batch-mode',
'--fail-fast',
Expand All @@ -94,14 +94,13 @@ def run
'--define',
"postgresql.version=#{@postgresql_version}",
'--define',
"liquibase.searchPath=#{File.dirname(@master)}",
Shellwords.escape("liquibase.searchPath=#{File.dirname(@master)}"),
'--define',
"liquibase.changeLogFile=#{old ? @master : File.basename(@master)}",
Shellwords.escape("liquibase.changeLogFile=#{old ? @master : File.basename(@master)}"),
'--define',
"liquibase.url=#{Shellwords.escape(url)}",
Shellwords.escape("liquibase.url=#{url}"),
'--define',
"liquibase.password=#{Shellwords.escape(password)}",
'2>&1'
Shellwords.escape("liquibase.password=#{password}")
]
)
end
Expand Down

0 comments on commit 43217d9

Please sign in to comment.