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 +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/lib/goodcheck/cli.rb +7 -1
- data/lib/goodcheck/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 99ec5bd2fd133d9b1b00c03c76fc42d1d1145eb1
|
4
|
+
data.tar.gz: 91a7e9ca8954be3abc60fc2cd8e902943399b6eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35e2e248ba0c857caf3cbb447e13aaf3526c099f7a0903af76e2aca1c8d9c0937e3567c3d5fe5274075f8a0d47c95dd91b97f3744c133c3083282d6aaba3d0e3
|
7
|
+
data.tar.gz: 45d6962cdf723186df8ed0ac11ed7433645fdcb50e286c7c5686aa18bcf3d94024a347043c2b2c72f48de1c74a941afab48cf50d260c5bbb0da457c6d7405aef
|
data/CHANGELOG.md
ADDED
data/Gemfile.lock
CHANGED
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
|
-
|
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 ""
|
data/lib/goodcheck/version.rb
CHANGED
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.
|
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-
|
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
|