prick 0.48.0 → 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 +4 -4
- data/exe/prick +8 -8
- data/lib/prick/constants.rb +1 -1
- data/lib/prick/local/git.rb +1 -1
- data/lib/prick/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 78522ab44a921e407fe85e69b54adb1ee7eedf7b100eb1a55dc216838a89900f
|
|
4
|
+
data.tar.gz: 753d69e339b607c2e97695aa6364d19b019af7725bf2f4c190b067003c933fd4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
data/lib/prick/constants.rb
CHANGED
data/lib/prick/local/git.rb
CHANGED
data/lib/prick/version.rb
CHANGED