pgtk 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: df81fe94f842797b07e43250ce3c554de8ce3dcb3149529e596ceb946e5476f4
4
- data.tar.gz: a995aff368837b7dcf118e06db328e47f7aa49a08db945264503ea72f2c0ef5c
3
+ metadata.gz: e91d9a32ba44173e95bc49bd0bfe8d2c1313aacc80c2290a45d44622202c49b0
4
+ data.tar.gz: 22e101e125af183b4d5c944082b43a1a1d0a1f48879f67c20c5fefdba33386f8
5
5
  SHA512:
6
- metadata.gz: de8a01282af8ca4cef9eb2d3c91ea3631ecb0f2960491472bc43f8ac89767478b845153ec256b91ef3e35dcaffba21fc64681561ee9aca0a6ed2aee683befb43
7
- data.tar.gz: 0a0342d5bf4b22c46f16366975cf7e972ff4a508e07753cce2917989c0da79b80951a4b724cb879abda576f63b4f2ba288bfafe0f4da82ee18dd83b126d4a5c9
6
+ metadata.gz: 7faea5043841838a907a5cac0f8f9d766c6530f441611ef20d635e92b250fa74d46f64c42d1fffb0c8176538640f836ebdd6074cb493da8b93385086d357660f
7
+ data.tar.gz: e7d496c63ad8a236ad7fe8c98fdd5c9cbb79f583ad078a93c9392b891d4a12662573974c217bf65f3b12df7d3957a266c8d08fd18a6d2be84c53716dee7a7954
data/appveyor.yml CHANGED
@@ -11,6 +11,9 @@ install:
11
11
  - cmd: SET PATH=C:\Ruby23-x64\bin;%PATH%
12
12
  - cmd: ruby --version
13
13
  - cmd: git --version
14
+ - cmd: psql --version
15
+ - cmd: java -version
16
+ - cmd: mvn --version
14
17
  build_script:
15
18
  - bundle update
16
19
  - bundle install
@@ -58,12 +58,15 @@ class Pgtk::LiquibaseTask < Rake::TaskLib
58
58
  raise "Option 'yaml' is mandatory" unless @yaml
59
59
  yml = YAML.load_file(@yaml)
60
60
  raise "YAML at #{yaml} is missing 'pgsql' section" unless yml['pgsql']
61
- pom = File.expand_path(File.join(__dir__, '../resources/pom.xml'))
61
+ pom = File.expand_path(File.join(__dir__, '../../resources/pom.xml'))
62
+ raise "Liquibase master is absent at #{@master}" unless File.exist?(@master)
63
+ @master = File.expand_path(@master)
62
64
  Dir.chdir(File.dirname(@master)) do
63
65
  system(
64
66
  [
65
67
  'mvn verify',
66
68
  '--errors',
69
+ '--batch-mode',
67
70
  @quiet ? '--quiet' : '',
68
71
  '--file',
69
72
  Shellwords.escape(pom),
data/lib/pgtk/version.rb CHANGED
@@ -28,5 +28,5 @@ require_relative '../pgtk'
28
28
  # License:: MIT
29
29
  module Pgtk
30
30
  # Current version of the library.
31
- VERSION = '0.1.0'
31
+ VERSION = '0.2.0'
32
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgtk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yegor Bugayenko
@@ -177,8 +177,8 @@ files:
177
177
  - lib/pgtk/pgsql_task.rb
178
178
  - lib/pgtk/pool.rb
179
179
  - lib/pgtk/version.rb
180
- - lib/resources/pom.xml
181
180
  - pgtk.gemspec
181
+ - resources/pom.xml
182
182
  - test-resources/2019/01-test.xml
183
183
  - test-resources/master.xml
184
184
  - test/test__helper.rb
File without changes