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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7fdd1e84efc775b8e937e934837acd89e9f236a6271eb8c053253ef0b9df914e
4
- data.tar.gz: a3eef3f368a7e6181f56c29aaba5e81c8c0abfb4860d02741a4df8a5c2e0135f
3
+ metadata.gz: fcc3538fb91268f5d84ef2239fad15bfac0539e190604d58a0e9582282d0e23b
4
+ data.tar.gz: 90263e1d8ef603f2f0d1b5ad26f2cdc272e9761533dd56a0c144659ab5cb762f
5
5
  SHA512:
6
- metadata.gz: 69f3994f828f3b7bf16575fdc2cd42839858476cd4e008ff75f5ee07f74b6f66e6f4a0e6e8f3164d023731ce81c759181a41af71a2f7f81285dfc182c2430e50
7
- data.tar.gz: 8d16ed0653e862c323a087aaaf9d450d13abed3f184461f00665452f2cab7fe2da6a600b14ea760b90fe50c7d4a72bac1ab63fd33db8d6f8527c3de04d9e51d7
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
- def run
24
- ::Avm::Tools::Git::CompleteIssue.new(git_complete_issue_options)
25
- end
23
+ def run
24
+ ::Avm::Tools::Git::CompleteIssue.new(git_complete_issue_options)
25
+ end
26
26
 
27
- private
27
+ private
28
28
 
29
- def git_complete_issue_options
30
- { dir: '.' }
29
+ def git_complete_issue_options
30
+ { dir: options.fetch('-C') }
31
+ end
31
32
  end
32
33
  end
33
34
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Tools
5
- VERSION = '0.4.1'
5
+ VERSION = '0.6.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company