thor_template 2.2.0 → 2.2.1

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: '078d747b35ff11c86cc37abbc847c79f0fe848712030d58f9c712f238d877e59'
4
- data.tar.gz: f84adf8e82050605d8b53c7098bc783a8a5a3ec2c32b037fb098af7bc7e41eb4
3
+ metadata.gz: 6e0b2a9c917b7dfec36203c93c49c1e9b8cf7ecfb8bad91c1ffad893e51c0d7d
4
+ data.tar.gz: c64be9b771e34cf9047363bdffcefd96a063ee0d3a8536ec0f5c093f5f51fbf9
5
5
  SHA512:
6
- metadata.gz: a61947b603469446762d0b35662ac03a1efd0478c91c6748da634c1372175f97e265bde06fd3a6f0f5891d4652eeb37539ede289de1469288a3f82e7d2d289ec
7
- data.tar.gz: f3b8604be4244efdd6762ab9e323951bc07358d9fca9e401917c06b884534974fc20f132b4af74f71299dda3fea71b4451f679e34f204ab0dba7a15baa0351fd
6
+ metadata.gz: da7da9b68b089bdbdb93dfed19ad008087f8525f10858e68175d0b669fb2a2079d1e6b10c2bf5628443dadd2d615a4fcec0f4ed9684d644dfff3fdafb2bce397
7
+ data.tar.gz: 92fc4b7e2bc476210fff1fd323d25c13d2f8dc30691f3bccde2224e247a0be67067c17fb9c23b8d9bce4d2bff4690409455d9196bcfe8553c42415f8efbb8bc8
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [2.2.1]
7
+ - add -v as a version flag too
8
+
6
9
  ## [2.2.0]
7
10
  - simple help formatting
8
11
  - add version command
@@ -34,7 +34,8 @@ module ThorTemplate
34
34
 
35
35
  # thor_template version
36
36
  # thor_template --version
37
- version_flags = ["--version"]
37
+ # thor_template -v
38
+ version_flags = ["--version", "-v"]
38
39
  if args.length == 1 && !(args & version_flags).empty?
39
40
  args = ["version"]
40
41
  end
@@ -21,7 +21,8 @@ module ThorTemplate
21
21
 
22
22
  # thor_template version
23
23
  # thor_template --version
24
- version_flags = ["--version"]
24
+ # thor_template -v
25
+ version_flags = ["--version", "-v"]
25
26
  if args.length == 1 && !(args & version_flags).empty?
26
27
  args = ["version"]
27
28
  end
@@ -1,3 +1,3 @@
1
1
  module ThorTemplate
2
- VERSION = "2.2.0"
2
+ VERSION = "2.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thor_template
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen