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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/starter_project/lib/thor_template/command.rb +2 -1
- data/lib/thor_template/command.rb +2 -1
- data/lib/thor_template/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e0b2a9c917b7dfec36203c93c49c1e9b8cf7ecfb8bad91c1ffad893e51c0d7d
|
4
|
+
data.tar.gz: c64be9b771e34cf9047363bdffcefd96a063ee0d3a8536ec0f5c093f5f51fbf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: da7da9b68b089bdbdb93dfed19ad008087f8525f10858e68175d0b669fb2a2079d1e6b10c2bf5628443dadd2d615a4fcec0f4ed9684d644dfff3fdafb2bce397
|
7
|
+
data.tar.gz: 92fc4b7e2bc476210fff1fd323d25c13d2f8dc30691f3bccde2224e247a0be67067c17fb9c23b8d9bce4d2bff4690409455d9196bcfe8553c42415f8efbb8bc8
|
data/CHANGELOG.md
CHANGED
@@ -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
|
-
|
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
|
-
|
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
|