postspec 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/postspec/render.rb +1 -1
- data/lib/postspec/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a37e17b3250ab5a8ea9553c1c332d946f7bb642eb25c1dad8ebc9c6210ec9d3
|
4
|
+
data.tar.gz: 7e9042c7fd716f3222b6bc9b7d7409048ea35531da880e96e80f961fb50b76d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c12cdecb6a05d0e0086d59cf2045f0f7b5d969f3df6759d3d5343f089c371657a546b3347f26799dd469ecd88516b106fbc8f5289244371b86ba98fa7230068
|
7
|
+
data.tar.gz: d4e07f0c8a8cfda85c27586088e95e6a77701fe478e643c612603dbb14df3151caafcbccbdddb17a4e3ae8938f4555f0369339702d8592cc43463c0739388142
|
data/lib/postspec/render.rb
CHANGED
@@ -65,7 +65,7 @@ module Postspec
|
|
65
65
|
# the common postspec.readonly_failure() function that raises a Postgres
|
66
66
|
# exception
|
67
67
|
def create_seed_triggers(uids)
|
68
|
-
constrain uids, String => [Integer, NilClass]
|
68
|
+
constrain uids, { String => [Integer, NilClass] }
|
69
69
|
result = []
|
70
70
|
uids.map { |uid, id|
|
71
71
|
bud_trigger = "#{uid}.#{SEED_BUD_TRIGGER_NAME}()"
|
data/lib/postspec/version.rb
CHANGED