prick 0.21.3 → 0.22.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: 0550a4891159d10478b94aa8837940a31aed031a9b3764e3e86cdceba095d833
4
- data.tar.gz: bcff9473fede146266c9803c0ac37bd70c33bd3ce1b6c25d27847c28be4420a8
3
+ metadata.gz: 0abcf31dce923144b50de361488a1735e88a835a1ee35b6a01d3e45ea170f15a
4
+ data.tar.gz: 9917c1a6d630b034849cc1e1a10bebc2d871ea29c61867b61246b4b714f508bb
5
5
  SHA512:
6
- metadata.gz: 2f583cff2b3754caa9dbc39e20cbc5dd23fcfe88c40f19838bbdb896d335df958a806aef98150676759fba8b98b0f524d76dfbf146a9d4f615423af2c6448ec7
7
- data.tar.gz: 7bf6f685aec49b77cb630505c9f419f7ee69c0a5d164b52a5915a154e145a9229f070e100c4e240cbbdf065249d5c4e8c422e3cc88d30479bac1a4fbc30fc05f
6
+ metadata.gz: e9c68ea9d1894decd7d65a15002246b2c460b757c0987062e0ec419befab12fa334e3e7c089fa09e54a18337a53855fd735ef366353e726ff0d4dad1f343b9f1
7
+ data.tar.gz: 95ac406592fb8e32c22469d9937adbfd3cd1b8dd713cbe37f8522135b03bb5287a9cfd8eb8acbe7c910624b0dc443038cc3afcda03ae36bdf8db1e51fb191511
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Prick
4
- VERSION = "0.21.3"
4
+ VERSION = "0.22.0"
5
5
  end
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.21.3
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-10 00:00:00.000000000 Z
11
+ date: 2022-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semantic