prick 0.45.1 → 0.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/prick +11 -1
  3. data/lib/prick/version.rb +1 -1
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 939683467498ed042cfb77197ecb0edab5c0a63ad24f2e2686ac2b6a86f9b010
4
- data.tar.gz: 75e47615dbe7dc04531c629bcbc6db9ec91631e98fbbeee8f5ad31f6b3d0e612
3
+ metadata.gz: '08b98b5cd47f2f9509bea5ecf7816c83d85f56e64811f3466317e474fcd6a2bd'
4
+ data.tar.gz: c303b9882c8ff8f9ea1c4e14e42e24c2ea84507165e9f664f4849ad35eed9c12
5
5
  SHA512:
6
- metadata.gz: d07ee1e9a1cc5a5c5c10c4af753a5ca2d2831588f4df377dacd33d27346928b536f90eb03037f68f2c9497ac5dcdab369deb10a3aa36125a0415a6520cfeeb51
7
- data.tar.gz: e2a670c6d6fac252e4505884243bca0eff469044bb6e10548c2a17bc82235785ad507db07325eab8d0b16d0ccbd1eb50146dabe110669540ca9aac174d2c9415
6
+ metadata.gz: 67984f2ce1a47cc947703cfad3765c3c11bd2d8edeca353c51a87d6bf633da23fb1d4a228368c92a760d4c02e3957f3fde74697ff80b6288132c88f8a916c090
7
+ data.tar.gz: 25c1d87f54a2b0a44565a810b7c37e6902f1a8eac8fc62ebdeb1cac8585fd5021a83fc640a53119c5100704517226fc20d87f049d8ebf6a6c258c604802fdd7c
data/exe/prick CHANGED
@@ -127,6 +127,12 @@ SPEC = %(
127
127
  Drops the given schemas or all schemas if called without arguments. The
128
128
  'prick' schema is only deleted if named explicity
129
129
 
130
+ drop.prick! -- [DATABASE]
131
+ @ Drop the 'prick' schema
132
+
133
+ Drops the prick schema explicitly. The prick schema is only dropped if
134
+ named explicitly in the 'drop schema' command or by this command
135
+
130
136
  drop.data!
131
137
  @ Drop data
132
138
 
@@ -502,8 +508,12 @@ begin
502
508
  clean_pg_meta_cache
503
509
  schemas = args.to_a
504
510
  Prick::SubCommand.drop_schema(database, schemas)
511
+ when :prick!
512
+ require_db
513
+ clean_pg_meta_cache
514
+ Prick::SubCommand.drop_schema(database, %w(prick))
505
515
  else
506
- Prick.error "Unknown subject: #{subject}"
516
+ Prick.error "Unknown subject: #{cmd.subcommand.inspect}"
507
517
  end
508
518
 
509
519
  when :release!
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.45.1"
4
+ VERSION = "0.46.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.45.1
4
+ version: 0.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claus Rasmussen
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-29 00:00:00.000000000 Z
11
+ date: 2024-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: semantic
@@ -258,7 +258,7 @@ files:
258
258
  homepage: http://www.nowhere.com/
259
259
  licenses: []
260
260
  metadata: {}
261
- post_install_message:
261
+ post_install_message:
262
262
  rdoc_options: []
263
263
  require_paths:
264
264
  - lib
@@ -274,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
274
274
  version: '0'
275
275
  requirements: []
276
276
  rubygems_version: 3.3.7
277
- signing_key:
277
+ signing_key:
278
278
  specification_version: 4
279
279
  summary: A release control and management system for postgresql
280
280
  test_files: []