thor_template 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 132b610507aff5cd8941ba378e46e9f99fccc7ee
|
4
|
+
data.tar.gz: 1db02469e9551195c8150f6789471013103301f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e160c0fcd41500607cb43b15026971927b33edf633c8267d1a93bd67f8b52dee33b85338b35ee9758a3e65754cb8be4274438ad184ce18f09ed8632d3e70a4b
|
7
|
+
data.tar.gz: abc4c750a071f75418d3561c5736874dcb3afb8659dd16bd6b8fe636e9318c0d93e827c2e601d240424797b108acf40642373c25fcfe092b30931de6c54aaa86
|
data/CHANGELOG.md
ADDED
@@ -4,16 +4,16 @@ require 'thor_template/cli/help'
|
|
4
4
|
module ThorTemplate
|
5
5
|
|
6
6
|
class CLI < Thor
|
7
|
-
class_option :verbose,
|
8
|
-
class_option :noop,
|
7
|
+
class_option :verbose, type: :boolean
|
8
|
+
class_option :noop, type: :boolean
|
9
9
|
|
10
10
|
desc "hello NAME", "say hello to NAME"
|
11
11
|
long_desc Help.hello
|
12
|
-
option :from, :
|
12
|
+
option :from, desc: 'from person'
|
13
13
|
def hello(name)
|
14
14
|
puts "from: #{options[:from]}" if options[:from]
|
15
15
|
puts "Hello #{name}"
|
16
16
|
end
|
17
17
|
|
18
18
|
end
|
19
|
-
end
|
19
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thor_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-09-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -145,6 +145,7 @@ extensions: []
|
|
145
145
|
extra_rdoc_files: []
|
146
146
|
files:
|
147
147
|
- ".gitignore"
|
148
|
+
- CHANGELOG.md
|
148
149
|
- Gemfile
|
149
150
|
- Guardfile
|
150
151
|
- LICENSE.txt
|
@@ -152,6 +153,7 @@ files:
|
|
152
153
|
- Rakefile
|
153
154
|
- bin/thor_template
|
154
155
|
- lib/starter_project/.gitignore
|
156
|
+
- lib/starter_project/.rspec
|
155
157
|
- lib/starter_project/Gemfile
|
156
158
|
- lib/starter_project/Guardfile
|
157
159
|
- lib/starter_project/LICENSE.txt
|
@@ -195,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
197
|
version: '0'
|
196
198
|
requirements: []
|
197
199
|
rubyforge_project:
|
198
|
-
rubygems_version: 2.4
|
200
|
+
rubygems_version: 2.6.4
|
199
201
|
signing_key:
|
200
202
|
specification_version: 4
|
201
203
|
summary: Generates starter cli tool project.
|
@@ -203,3 +205,4 @@ test_files:
|
|
203
205
|
- spec/lib/cli_spec.rb
|
204
206
|
- spec/lib/generator_spec.rb
|
205
207
|
- spec/spec_helper.rb
|
208
|
+
has_rdoc:
|