prick 0.45.0 → 0.46.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: 50679c9e2d6caab8f9301842615f9efa4f68ccc4521dfb5b62f5f3197d5ab54f
4
- data.tar.gz: 18246ecf368dc70dbff3bcd317639a54d34b5416f900663cb93cf4cacf0d12af
3
+ metadata.gz: '08b98b5cd47f2f9509bea5ecf7816c83d85f56e64811f3466317e474fcd6a2bd'
4
+ data.tar.gz: c303b9882c8ff8f9ea1c4e14e42e24c2ea84507165e9f664f4849ad35eed9c12
5
5
  SHA512:
6
- metadata.gz: 579cc06cb631d7bb3630f765b3d738daee63e2095a47a572a0babe04f75fe200d9cad19d1462ae0ea03b51dedbf0b24e659454c2706f2726f775b1ce12bced9a
7
- data.tar.gz: bc636949f676bb2398c5feecd819f6c4974b98c14ffb502fab7617f8523c9502d400c0ac7d01182fb3839f583ff1c2b6952f6334674a29b18999ee4db602a2c7
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.0"
4
+ VERSION = "0.46.0"
5
5
  end
data/lib/prick-command.rb CHANGED
@@ -84,7 +84,6 @@ module Prick
84
84
  from information_schema.tables
85
85
  where table_schema = 'prick'
86
86
  and table_name = 'builds'
87
- limit 1
88
87
  ))
89
88
  yield(database, conn) if is_prick_database && block_given?
90
89
  is_prick_database
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.0
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-17 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: []