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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0cc5c2506e08bc0d5fce6b2c7c45c108c42d58f5ce292cf423b6c5ba0bae6bc1
4
- data.tar.gz: de06bf95d2439019dee047414d576f13a1daa541a432cd945722c48422a13797
3
+ metadata.gz: 90354ae214811a3290ab6b20f85276daacf12676cca75d42e11b18922a0cfa71
4
+ data.tar.gz: a1f6e772cfbcf0f81d29a3f0dce747c0d64407c9d7bc702f526428eda51a4be0
5
5
  SHA512:
6
- metadata.gz: a4c5369f22076ecd9a6eadac9c0d3ea16560a7e03aeda8e69c537c57c97167730745a24f3765d1e9ae7876e6f2d0f138146da781f90728f9d39d4c7a0dc2a779
7
- data.tar.gz: 0465b41975ad27ecf8239df54231974cc21b3ccbf489d044beb9be4818821912e39f8cb269167fc6a96fbd96ea01d32fbce82f3b41732327652d341f8a7a094c
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))
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Releasecop
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
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.7
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-06-15 00:00:00.000000000 Z
11
+ date: 2018-07-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor