prick 0.48.1 → 0.49.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f4b2c19441238df8f325f52ca1a446594bed25168c591e0a51aafed3d7585751
4
- data.tar.gz: f9e0c7dd06d70b1ed928ead79388408a4dfda95391c2c576bb12530ff2e340fc
3
+ metadata.gz: 78522ab44a921e407fe85e69b54adb1ee7eedf7b100eb1a55dc216838a89900f
4
+ data.tar.gz: 753d69e339b607c2e97695aa6364d19b019af7725bf2f4c190b067003c933fd4
5
5
  SHA512:
6
- metadata.gz: 9e8483f145c7e39a90dcb9a9390a381ef6a9960b7451c311d5112765ce782c5eed2bedef07f925780994a323b1d73c244447a963aef6a11a6e3451dbe5d13dc5
7
- data.tar.gz: 196449df4ee430c8383476aad5287d36f44e1257e83cf12f440015e1129e6d44bc49280c8424ff86b32a446ff7db8a2b1b141046714a377ca30cc78a34cf0cae
6
+ metadata.gz: 88ed1e7b0e9d0b4a7ea7f609ce706101467ea0879e057906e9ac07edceb6e863061ced5e0cfbd7c58f07c207317b01c237ae7c6fd6795b433ee16af853764295
7
+ data.tar.gz: 2b95d9d37502e2b423e090a2af6d7070aab77e1689b751af736aa628c6570fe91ef19b75544c449cae777c8c4504c3d7fbab863f9d3c6907a75d4f540dd172a9
data/exe/prick CHANGED
@@ -22,12 +22,6 @@ TIME = Time.now
22
22
  SPEC = %(
23
23
  @ Prick project command
24
24
 
25
- +v,verbose
26
- Be verbose. Repeated -v options increase the verbosity level
27
-
28
- -q,quiet
29
- Be quiet
30
-
31
25
  -C,directory=EDIR
32
26
  Change to directory DIR before doing anything else
33
27
 
@@ -46,6 +40,12 @@ SPEC = %(
46
40
  -f,fox-state-file=FOX-STATE-FILE
47
41
  Override fox state file. Default is '.fox-state.yml
48
42
 
43
+ +v,verbose
44
+ Be verbose. Repeated -v options increase the verbosity level
45
+
46
+ -q,quiet
47
+ Be quiet
48
+
49
49
  init! -n,name=NAME -t,title=TITLE DIRECTORY #@ Initialize new Prick project directory
50
50
  Initializes a prick project and checks it into git. If a directory is
51
51
  given the directory will be created and the project initialized in it.
@@ -298,7 +298,7 @@ include Prick
298
298
 
299
299
  begin
300
300
  # Parse command line
301
- opts, args = ShellOpts.process(SPEC, ARGV, exception: true)
301
+ opts, args = ShellOpts.process(SPEC, ARGV, exception: true, version: true)
302
302
 
303
303
  # Expect a sub-command. TODO: Make this a built-in in ShellOpts#subcommand!
304
304
  cmd = opts.subcommand! or Prick.error "Subcomand expected"
@@ -333,7 +333,7 @@ begin
333
333
  exit
334
334
  end
335
335
 
336
- # Find project directory and initialize constants
336
+ # Find project directory and initialize constants. This also initializes PRICK_DIR
337
337
  require_relative '../lib/prick/constants.rb'
338
338
 
339
339
  # Switch to project directory
@@ -33,7 +33,7 @@ module Prick
33
33
  if !defined?(PRICK_DIR)
34
34
  PRICK_DIR = begin
35
35
  dir = Dir.getwd
36
- while dir != "/" && !File.exist?("#{dir}/prick.yml")
36
+ while dir != "/" && !File.exist?("#{dir}/#{PRICK_PROJECT_FILE}")
37
37
  dir = File.dirname(dir)
38
38
  end
39
39
  if dir == "/"
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.48.1"
4
+ VERSION = "0.49.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prick
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.1
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Claus Rasmussen
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2025-09-12 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: semantic
@@ -258,7 +257,6 @@ files:
258
257
  homepage: http://www.nowhere.com/
259
258
  licenses: []
260
259
  metadata: {}
261
- post_install_message:
262
260
  rdoc_options: []
263
261
  require_paths:
264
262
  - lib
@@ -273,8 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
273
271
  - !ruby/object:Gem::Version
274
272
  version: '0'
275
273
  requirements: []
276
- rubygems_version: 3.3.7
277
- signing_key:
274
+ rubygems_version: 3.6.9
278
275
  specification_version: 4
279
276
  summary: A release control and management system for postgresql
280
277
  test_files: []