releasecop 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/releasecop/cli.rb +7 -0
- data/lib/releasecop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90354ae214811a3290ab6b20f85276daacf12676cca75d42e11b18922a0cfa71
|
4
|
+
data.tar.gz: a1f6e772cfbcf0f81d29a3f0dce747c0d64407c9d7bc702f526428eda51a4be0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3be386f94956b1919469de8ef09ec370a2ce5ca2f2b49f528e51b9207a42b9a3bac4231b50eb812748cd59a1d785243d9f60cf4ca492d6a10e7360af28c13fa
|
7
|
+
data.tar.gz: 52a15b9d8504a97540ca3fd5ff3024205bc7cf2582137dbb0fc05efda1f92b59d8142e56155a927355451262b1fc277f19278d7c7a55c49de97e5cc1519d826e
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
3
3
|
|
4
4
|
* Your contribution here.
|
5
5
|
|
6
|
+
0.0.8 (2018-07-23)
|
7
|
+
---
|
8
|
+
* Add `--version` command
|
9
|
+
|
6
10
|
0.0.7 (2018-06-15)
|
7
11
|
---
|
8
12
|
* Support `tag_pattern` expressions for matching git tags (fixes [#6](https://github.com/joeyAghion/releasecop/issues/6), [@joeyAghion](https://github.com/joeyAghion))
|
data/lib/releasecop/cli.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
module Releasecop
|
2
2
|
class Cli < Thor
|
3
|
+
map %w[--version -v] => :version
|
4
|
+
|
3
5
|
def self.exit_on_failure?
|
4
6
|
true
|
5
7
|
end
|
@@ -35,6 +37,11 @@ module Releasecop
|
|
35
37
|
exit 1 if unreleased > 0
|
36
38
|
end
|
37
39
|
|
40
|
+
desc "--version, -v", "Print the version"
|
41
|
+
def version
|
42
|
+
puts Releasecop::VERSION
|
43
|
+
end
|
44
|
+
|
38
45
|
private
|
39
46
|
|
40
47
|
def manifest
|
data/lib/releasecop/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: releasecop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joey Aghion
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|