prick 0.27.0 → 0.27.2

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: 83646fd3fd6a7fecab082cdc10ee5c3bd1330630422edf9640ff6579384aba5d
4
- data.tar.gz: 5e49929c6b878929581e46428e036bd5bad00a0695612c6a6d6a7f2d5bcf80da
3
+ metadata.gz: d567ea292c77fde8d238f35dad37e284917bb54bdcfa044e9916fd771686c82c
4
+ data.tar.gz: df8f4285e9d53fa9c907e1c43aa4a587d7b6709cda42540f1e1ba6092caf8bce
5
5
  SHA512:
6
- metadata.gz: 7c52f1241c25e8a3aaa9fafba21abc97020ac376cf458e2ec0fba28c9f310183175c3d932515cf644615b3824663cfb891eef91e0b68f741b9e53dd8b5e74165
7
- data.tar.gz: d10e893a58d87e5ec8b08eb66ff0744b8b6a452935b779f016db4729ad156d36ab97c81b616a328c8dd07ed52f8170575cbc18343961bec3c0e4518fc9426d31
6
+ metadata.gz: aaca4641608807b55e8154db7d79aff8314b88aade591e0d5fd5920b9ada1984f9ecf07a1098d40a1afd3578dc51915b40bea334bd5eb4b36b33e45bb1d45c25
7
+ data.tar.gz: 2e72149f29ca87b21f407491f3bb40e5bdf1bbda10908b5df25ac4f432d3776b2510e77592ad5cda45c6bb55447091cb53709788869f10bbb6a97403685bc28d
data/TODO CHANGED
@@ -1,3 +1,4 @@
1
+ o Make it possible to define (nested) environments
1
2
  o Use standard directory layout
2
3
 
3
4
  o Have the following entries
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.27.0"
4
+ VERSION = "0.27.2"
5
5
  end
@@ -40,7 +40,7 @@ require 'postspec_helper'
40
40
  require 'prick_helper'
41
41
 
42
42
  Postspec.configure do |config|
43
- config.database = "mikras"
43
+ config.database = Prick.state.database
44
44
  # config.anchors = "..."
45
45
  config.mode = :seed
46
46
  config.reflections = Prick::REFLECTIONS_PATH if File.exist?(Prick::REFLECTIONS_PATH)
@@ -6,13 +6,14 @@ module Prick::SubCommand
6
6
  def self.teardown(database, username)
7
7
  conn = PgConn.new "postgres" # Superuser connection
8
8
  if conn.rdbms.exist? database
9
- conn.rdbms.drop database
9
+ conn.rdbms.drop database, force: true
10
10
  end
11
11
  if conn.role.exist? username
12
12
  conn.role.drop username, cascade: true
13
13
  end
14
- builder = Prick::Build::Builder.new(conn, "schema")
14
+
15
15
  # TODO Run builder teardown scrips
16
+ # builder = Prick::Build::Builder.new(conn, "schema")
16
17
  end
17
18
  end
18
19
 
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.27.0
4
+ version: 0.27.2
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-20 00:00:00.000000000 Z
11
+ date: 2024-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semantic