Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jan 16, 2024
1 parent 5cc6b03 commit c5f0188
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .rultor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ docker:
assets:
rubygems.yml: yegor256/home#assets/rubygems.yml
install: |
sudo chown -R "$(whoami)" /usr/local/rvm
pdd -f /dev/null
bundle install --no-color "--gemfile=$(pwd)/Gemfile"
bundle install --no-color
release:
pre: false
script: |-
[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1
bundle exec rake
Expand Down
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,16 @@ Pgtk::PgsqlTask.new :pgsql do |t|
end
```

And this too:
And this too ([org.postgresql:postgresql](https://mvnrepository.com/artifact/org.postgresql/postgresql) and [org.liquibase:liquibase-maven-plugin](https://mvnrepository.com/artifact/org.liquibase/liquibase-maven-plugin) are used inside):

```ruby
require 'pgtk/liquibase_task'
Pgtk::LiquibaseTask.new liquibase: :pgsql do |t|
t.master = 'liquibase/master.xml' # Master XML file path
t.yaml = ['target/pgsql-config.yml', 'config.yml'] # YAML files with connection details
t.quiet = false # TRUE by default
t.postgresql_version = '42.7.0' # overwriting default version
t.liquibase_version = '3.2.2' # overwriting default version
end
```

Expand Down Expand Up @@ -129,10 +132,12 @@ end

Should work.

Well, it works in [wts.zold.io](https://github.com/zold-io/wts.zold.io),
Well, it works in
[netbout.com](https://github.com/yegor256/netbout),
[wts.zold.io](https://github.com/zold-io/wts.zold.io),
[mailanes.com](https://github.com/yegor256/mailanes), and
[0rsk.com](https://github.com/yegor256/0rsk). They are all
open source, you can see how they use `pgtk`.
[0rsk.com](https://github.com/yegor256/0rsk).
They are all open source, you can see how they use `pgtk`.

## How to contribute

Expand Down

0 comments on commit c5f0188

Please sign in to comment.