brief 1.15.2 → 1.15.3
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/Gemfile.lock +2 -2
- data/lib/brief/cli/run.rb +5 -1
- data/lib/brief/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 763a040d0e1f964bbaeed9e2a83918e75b1271c4
|
|
4
|
+
data.tar.gz: 206e256f2ce59990d9eb0f6f75682587809de231
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e5bb21d6eb9822fdf2b8a0c4ae3034dd9923d8e5d26db4ee323025aaa20504bdbe27c7be0a63de9d90168877c2907ac95cd7d3f724021a8ccdff2628cddfcdff
|
|
7
|
+
data.tar.gz: 8eebc3f39f0b70a0f0dee6ef2386a47716c76a2ab7b0b0c91280ca764cd3857ebd3ff458812cce7e9eaf2d66486f4de688406b9387e34c6d77873008a48ab4bc
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
brief (1.15.
|
|
4
|
+
brief (1.15.3)
|
|
5
5
|
activesupport (> 3.2)
|
|
6
6
|
commander (~> 4.3)
|
|
7
7
|
em-websocket (~> 0.5)
|
|
@@ -38,7 +38,7 @@ GEM
|
|
|
38
38
|
columnize (0.9.0)
|
|
39
39
|
commander (4.3.4)
|
|
40
40
|
highline (~> 1.7.2)
|
|
41
|
-
daemons (1.2.
|
|
41
|
+
daemons (1.2.3)
|
|
42
42
|
descendants_tracker (0.0.4)
|
|
43
43
|
thread_safe (~> 0.3, >= 0.3.1)
|
|
44
44
|
diff-lcs (1.2.5)
|
data/lib/brief/cli/run.rb
CHANGED
|
@@ -2,10 +2,14 @@ command "run command" do |c|
|
|
|
2
2
|
c.syntax = 'brief run FILE'
|
|
3
3
|
c.description = 'run a script in the context of the briefcase'
|
|
4
4
|
|
|
5
|
+
c.option '--root PATH', String, 'The briefcase root'
|
|
6
|
+
|
|
5
7
|
c.action do |args, options|
|
|
8
|
+
options.default(root: Pathname(args.first || Brief.pwd))
|
|
9
|
+
|
|
6
10
|
command = args.first.to_s.to_sym
|
|
7
11
|
|
|
8
|
-
bc = Brief.case
|
|
12
|
+
bc = Brief.case = Brief::Briefcase.new(root: Pathname(args.first || options.root))
|
|
9
13
|
bc = bc.call if bc.respond_to?(:call)
|
|
10
14
|
|
|
11
15
|
if !Brief.commands[command.to_sym]
|
data/lib/brief/version.rb
CHANGED