prick 0.21.2 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/prick +1 -1
- data/lib/builder/parser.rb +1 -1
- data/lib/prick/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0abcf31dce923144b50de361488a1735e88a835a1ee35b6a01d3e45ea170f15a
|
4
|
+
data.tar.gz: 9917c1a6d630b034849cc1e1a10bebc2d871ea29c61867b61246b4b714f508bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9c68ea9d1894decd7d65a15002246b2c460b757c0987062e0ec419befab12fa334e3e7c089fa09e54a18337a53855fd735ef366353e726ff0d4dad1f343b9f1
|
7
|
+
data.tar.gz: 95ac406592fb8e32c22469d9937adbfd3cd1b8dd713cbe37f8522135b03bb5287a9cfd8eb8acbe7c910624b0dc443038cc3afcda03ae36bdf8db1e51fb191511
|
data/exe/prick
CHANGED
@@ -183,7 +183,7 @@ begin
|
|
183
183
|
end
|
184
184
|
|
185
185
|
when :build!
|
186
|
-
dump = cmd.dump? ? cmd.dump("batches")
|
186
|
+
dump = cmd.dump? ? cmd.dump("batches")&.to_sym || :batches : nil
|
187
187
|
Prick::SubCommand.build(
|
188
188
|
database, username, args.expect(0..1), force: cmd.force?, timer: cmd.time?, dump: dump)
|
189
189
|
|
data/lib/builder/parser.rb
CHANGED
@@ -46,7 +46,7 @@ module Prick
|
|
46
46
|
unit = make_build_unit(parent, path)
|
47
47
|
entries = YAML.load(File.read(path)) || []
|
48
48
|
entries.each { |entry|
|
49
|
-
if entry.is_a?(Hash)
|
49
|
+
if entry.is_a?(Hash) && (entry.size != 1 || entry.first.first != "sql")
|
50
50
|
entry.each { |key, value|
|
51
51
|
if key == "schema"
|
52
52
|
unit.schema = value
|
data/lib/prick/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prick
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.22.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claus Rasmussen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-11-
|
11
|
+
date: 2022-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: semantic
|