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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27d815c3a439f4e7bd5ca403a56448fb2c4f4025fd6ab3a9ace77361252e8948
4
- data.tar.gz: 51bd8615c1e9c87e6471d833c1b0715d1a8b4e7bf688842af8c054f643c4d602
3
+ metadata.gz: e046355817f1eaf7637ad6738524e25988e26bb29cfbd5e78078cb2d30e71dc3
4
+ data.tar.gz: 1d0afc75efbafd486f3242b6adaa3d61ff245482facb936de29032ac87d053b5
5
5
  SHA512:
6
- metadata.gz: 128b169433e4cae1fd44ba0ab5de7f359a2ace6eb00d369707dacf3dfc9ac7e36d51e778aaf4fbab84b6c7a096c1562cd9e8b248e5cd9977a5ce6e8318ab1032
7
- data.tar.gz: c095e82fb28426747a7abc679fd2e77e92742068e471cc87537c6f26fa7199f02a9206e11073fbd080c83280c36b156d68aa264bc0a34fa6ba3fa3ccc50cc4d5
6
+ metadata.gz: e2431481ad1746d8657b3d569e7ce75f3b00d2109639d06aa8ce3a572e5d5994b69a5325214530ec8f8ba5559baef16b5731a91ae16528ba8fa4745ced92d092
7
+ data.tar.gz: c69e5435b07a36a766213a22b158655310479edaa5f7e934bb019e5d0d91c62458f2f8d7c03557747057fd1f892a972a990a26267e489722d60a33d3767e05c7
@@ -12,3 +12,4 @@
12
12
  refresh: false # Because the build process takes care of this
13
13
  - tables.sql
14
14
  - views.sql
15
+ - functions.sql
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Prick
4
- VERSION = "0.43.1"
4
+ VERSION = "0.44.0"
5
5
  end
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.43.1
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-10-30 00:00:00.000000000 Z
11
+ date: 2024-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semantic