avm-tools 0.4.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/tools/runner/git/complete_issue.rb +9 -8
- data/lib/avm/tools/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: fcc3538fb91268f5d84ef2239fad15bfac0539e190604d58a0e9582282d0e23b
|
4
|
+
data.tar.gz: 90263e1d8ef603f2f0d1b5ad26f2cdc272e9761533dd56a0c144659ab5cb762f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f5ddafb0c5f8aec71859bf29a29dfc4ad2f45f77698c27c579b12c423e772b9236f843d877b973f8569c0257a002aae34c01c4dc50702e461d821876dd649c2
|
7
|
+
data.tar.gz: 125edbfe26fa8a367efbcba55c31bef29e3b45e5ccdf0da0dc84a2db365bd6798301a67b702dcd590b5e6983122be0004a03173e3da9046869f1315cdeebc336
|
@@ -12,22 +12,23 @@ module Avm
|
|
12
12
|
Closes a issue in a Git repository.
|
13
13
|
|
14
14
|
Usage:
|
15
|
-
__PROGRAM__
|
15
|
+
__PROGRAM__ [options]
|
16
16
|
__PROGRAM__ -h | --help
|
17
17
|
|
18
18
|
Options:
|
19
19
|
-h --help Show this screen.
|
20
|
+
-C <path> Path to Git repository [default: .].
|
20
21
|
DOCOPT
|
21
|
-
end
|
22
22
|
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
def run
|
24
|
+
::Avm::Tools::Git::CompleteIssue.new(git_complete_issue_options)
|
25
|
+
end
|
26
26
|
|
27
|
-
|
27
|
+
private
|
28
28
|
|
29
|
-
|
30
|
-
|
29
|
+
def git_complete_issue_options
|
30
|
+
{ dir: options.fetch('-C') }
|
31
|
+
end
|
31
32
|
end
|
32
33
|
end
|
33
34
|
end
|
data/lib/avm/tools/version.rb
CHANGED