goodcheck 0.1.0 → 0.2.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: ec3e889e0b8e1c3912fee8870a0c58ddd5858aa6
4
- data.tar.gz: a9f5a8cfb02d68a40261cc0a6859dc5126270e44
3
+ metadata.gz: 99ec5bd2fd133d9b1b00c03c76fc42d1d1145eb1
4
+ data.tar.gz: 91a7e9ca8954be3abc60fc2cd8e902943399b6eb
5
5
  SHA512:
6
- metadata.gz: 016c6eed1bfaf97ac6230725c6dac9acd86ac1528f7dc9b64a381dc9bbcb1936c9adcad9c5b6fec8de6b2c445fa9c373107ff4fd022897f1f22cd4dff2aa5387
7
- data.tar.gz: 2d33b1c606c2eeae60cdc49da9d7e5cdd2d3e87788286989909d796563d906b07492feab399e20501238cbe312a2c05142965c50b620a36f9614c3992f23829c
6
+ metadata.gz: 35e2e248ba0c857caf3cbb447e13aaf3526c099f7a0903af76e2aca1c8d9c0937e3567c3d5fe5274075f8a0d47c95dd91b97f3744c133c3083282d6aaba3d0e3
7
+ data.tar.gz: 45d6962cdf723186df8ed0ac11ed7433645fdcb50e286c7c5686aa18bcf3d94024a347043c2b2c72f48de1c74a941afab48cf50d260c5bbb0da457c6d7405aef
data/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # CHANGELOG
2
+
3
+ ## master
4
+
5
+ ## 0.2.0 (2017-12-26)
6
+
7
+ * Add `version` command
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- goodcheck (0.1.0)
4
+ goodcheck (0.2.0)
5
5
  activesupport (~> 5.0)
6
6
  rainbow (~> 3.0.0)
7
7
  strong_json (~> 0.5.0)
data/lib/goodcheck/cli.rb CHANGED
@@ -14,7 +14,8 @@ module Goodcheck
14
14
  init: "Generate a sample configuration file",
15
15
  check: "Run check with a configuration",
16
16
  test: "Test your configuration",
17
- help: "Print this message"
17
+ version: "Print version",
18
+ help: "Show goodcheck version and quit"
18
19
  }
19
20
 
20
21
 
@@ -99,6 +100,11 @@ module Goodcheck
99
100
  Commands::Init.new(stdout: stdout, stderr: stderr, path: config_path, force: force).run
100
101
  end
101
102
 
103
+ def version(args)
104
+ stdout.puts "goodcheck #{VERSION}"
105
+ 0
106
+ end
107
+
102
108
  def help(args)
103
109
  stdout.puts "Usage: goodcheck <command> [options] [args...]"
104
110
  stdout.puts ""
@@ -1,3 +1,3 @@
1
1
  module Goodcheck
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: goodcheck
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Soutaro Matsumoto
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-20 00:00:00.000000000 Z
11
+ date: 2017-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -105,6 +105,7 @@ files:
105
105
  - ".gitignore"
106
106
  - ".ruby-version"
107
107
  - ".travis.yml"
108
+ - CHANGELOG.md
108
109
  - Gemfile
109
110
  - Gemfile.lock
110
111
  - LICENSE