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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7320d73c75a5f2989baaf2789bd5809d1262da6e
4
- data.tar.gz: 4e2a78f7370a848f1bf6d590d3e3b31516dab4d4
3
+ metadata.gz: 2800a945a5ca9ced91f1dc9b6e7dfeea9dd035d2
4
+ data.tar.gz: dec9e8a47a8a76d552d13a7946afc8050a863249
5
5
  SHA512:
6
- metadata.gz: c85a8e3d1aa5177349eeb3dfb0e72f0bf155d4fd9202ffdb39c630f99701d97cad527611ad1d8357e9db9cf1af6cf654b187f5a805ef5ee23f76a7a9485cbf3a
7
- data.tar.gz: cb97b86a43a3006d229c8221aaabd4930c0dd9b650335926b523b313b2b2f958427f14bb2d3d3d0a5ac257fc0c409b91a4f9de41d23667b3f9094bba3015a107
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"
@@ -1,3 +1,3 @@
1
- module Vcs2json
2
- VERSION = "0.3.0"
1
+ module Vcs2Json
2
+ VERSION = "1.0.0"
3
3
  end
data/vcs2json.gemspec CHANGED
@@ -5,7 +5,7 @@ require 'vcs2json/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "vcs2json"
8
- spec.version = Vcs2json::VERSION
8
+ spec.version = Vcs2Json::VERSION
9
9
  spec.authors = ["Thomas Rolfsnes"]
10
10
  spec.email = ["mail@thomasrolfsnes.com"]
11
11
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vcs2json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Rolfsnes