prick 0.43.1 → 0.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prick/share/init/schema/prick/build.yml +1 -0
- data/lib/prick/subcommand/prick-build.rb +5 -0
- data/lib/prick/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: e046355817f1eaf7637ad6738524e25988e26bb29cfbd5e78078cb2d30e71dc3
|
4
|
+
data.tar.gz: 1d0afc75efbafd486f3242b6adaa3d61ff245482facb936de29032ac87d053b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2431481ad1746d8657b3d569e7ce75f3b00d2109639d06aa8ce3a572e5d5994b69a5325214530ec8f8ba5559baef16b5731a91ae16528ba8fa4745ced92d092
|
7
|
+
data.tar.gz: c69e5435b07a36a766213a22b158655310479edaa5f7e934bb019e5d0d91c62458f2f8d7c03557747057fd1f892a972a990a26267e489722d60a33d3767e05c7
|
@@ -34,6 +34,11 @@ module Prick::SubCommand
|
|
34
34
|
|
35
35
|
if exist # Empty (part of) the database
|
36
36
|
if force
|
37
|
+
# Drop all schemas and re-create the public schema. The prick
|
38
|
+
# schema is only dropped if :force is true
|
39
|
+
# builder.pool.delete_schema("prick") if super_conn.schema.exist?("prick") && !force
|
40
|
+
# super_conn.rdbms.empty!(database, public: false, exclude: (force ? [] : ["prick"]))
|
41
|
+
|
37
42
|
# Drop all schemas except the prick schema and re-creates the
|
38
43
|
# public schema
|
39
44
|
builder.pool.delete_schema("prick") if super_conn.schema.exist?("prick")
|
data/lib/prick/version.rb
CHANGED
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.
|
4
|
+
version: 0.44.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: 2024-
|
11
|
+
date: 2024-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: semantic
|