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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7a02e5c14b838e05beeedf3ddd025b33b504ce0846d087680a2eb9dda993a97
4
- data.tar.gz: 1870c61f2595c33c6ea2453cdf1f56fea06fb3433ca390eb78e79f090a0a84d5
3
+ metadata.gz: 0a37e17b3250ab5a8ea9553c1c332d946f7bb642eb25c1dad8ebc9c6210ec9d3
4
+ data.tar.gz: 7e9042c7fd716f3222b6bc9b7d7409048ea35531da880e96e80f961fb50b76d5
5
5
  SHA512:
6
- metadata.gz: 0a4a823ba661cc886208c72a7e92486ad8b836c5502acbd6bc0fe8a477f201490f5a1fb3433644e4ec296089b2d35d55d4fc35dfbe46ce4029f779924c2b603d
7
- data.tar.gz: ae0b0c54259a9ddcdd29bda1a7cc6eba57aa2810eb6d0b23146d15afc05afeaf3306fda0d07e8db8fa5b84d93d702f0af40403f32071f4601def861fd6f56c12
6
+ metadata.gz: 5c12cdecb6a05d0e0086d59cf2045f0f7b5d969f3df6759d3d5343f089c371657a546b3347f26799dd469ecd88516b106fbc8f5289244371b86ba98fa7230068
7
+ data.tar.gz: d4e07f0c8a8cfda85c27586088e95e6a77701fe478e643c612603dbb14df3151caafcbccbdddb17a4e3ae8938f4555f0369339702d8592cc43463c0739388142
@@ -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) +
@@ -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}()"
@@ -1,3 +1,3 @@
1
1
  module Postspec
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.4"
3
3
  end
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.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-17 00:00:00.000000000 Z
11
+ date: 2023-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-inflector