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 +4 -4
- data/appveyor.yml +3 -0
- data/lib/pgtk/liquibase_task.rb +4 -1
- data/lib/pgtk/version.rb +1 -1
- metadata +2 -2
- /data/{lib/resources → resources}/pom.xml +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e91d9a32ba44173e95bc49bd0bfe8d2c1313aacc80c2290a45d44622202c49b0
|
4
|
+
data.tar.gz: 22e101e125af183b4d5c944082b43a1a1d0a1f48879f67c20c5fefdba33386f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7faea5043841838a907a5cac0f8f9d766c6530f441611ef20d635e92b250fa74d46f64c42d1fffb0c8176538640f836ebdd6074cb493da8b93385086d357660f
|
7
|
+
data.tar.gz: e7d496c63ad8a236ad7fe8c98fdd5c9cbb79f583ad078a93c9392b891d4a12662573974c217bf65f3b12df7d3957a266c8d08fd18a6d2be84c53716dee7a7954
|
data/appveyor.yml
CHANGED
data/lib/pgtk/liquibase_task.rb
CHANGED
@@ -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__, '
|
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
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.
|
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
|