postspec 0.2.2 → 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/environment.rb +0 -2
- data/lib/postspec/render.rb +1 -1
- data/lib/postspec/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: 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/environment.rb
CHANGED
@@ -63,8 +63,6 @@ module Postspec
|
|
63
63
|
# puts "Environment#clean"
|
64
64
|
@uids = {}
|
65
65
|
user_tables = dirty_tables
|
66
|
-
$stderr.puts "user_table: #{user_tables.inspect}"
|
67
|
-
$stderr.puts " #{user_tables.select { |k,v| v.nil? }.inspect}"
|
68
66
|
|
69
67
|
postspec_tables = CHANGE_TABLE_UIDS
|
70
68
|
sql = render.delete_tables(user_tables) +
|
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
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: postspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Claus Rasmussen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-12-
|
11
|
+
date: 2023-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-inflector
|