vcs2json 0.3.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cli/main.rb +7 -0
- data/lib/vcs2json/version.rb +2 -2
- data/vcs2json.gemspec +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: 2800a945a5ca9ced91f1dc9b6e7dfeea9dd035d2
|
4
|
+
data.tar.gz: dec9e8a47a8a76d552d13a7946afc8050a863249
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1491d0a803e27febfe7e2cc04e569e5ebc02af45b104be8812ae6bc4d44ced3008ab3944b27557c78ff22d4e54b212c8ffb36276b57eb113aec0291fd0d36b93
|
7
|
+
data.tar.gz: 30df5f5ffc7f6973a03d0be6ca7bcf7f9f9b48a9bb3c2b666b2c0ac2f63bd96e8e27dc19e33e52534194b8159d4ba4aa7b345ee24bf6a912022284a94933911c
|
data/lib/cli/main.rb
CHANGED
@@ -2,6 +2,13 @@ require_relative 'cli_helper'
|
|
2
2
|
|
3
3
|
module Vcs2JsonCLI
|
4
4
|
class Main < Thor
|
5
|
+
map %w[--version -v] => :__print_version
|
6
|
+
|
7
|
+
desc "--version, -v", "print the version"
|
8
|
+
def __print_version
|
9
|
+
puts Vcs2Json::VERSION
|
10
|
+
end
|
11
|
+
|
5
12
|
method_option :ignore, type: :string, desc: "Specify location of .evocignore file"
|
6
13
|
method_option :case_id, type: :string, desc: "Specify case identifier. Used by .evocignore etc"
|
7
14
|
method_option :issue, :aliases => '-i', :type => :boolean, :default => false, :desc => "Attempt to extract issue ids from commit messages"
|
data/lib/vcs2json/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
module
|
2
|
-
VERSION = "0.
|
1
|
+
module Vcs2Json
|
2
|
+
VERSION = "1.0.0"
|
3
3
|
end
|
data/vcs2json.gemspec
CHANGED