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: 5b6e75f3cc26519170cd3db8d272fbab47ff21c3
4
- data.tar.gz: efefbaaa321464fcfa7082c62fe15ec465824b35
3
+ metadata.gz: 132b610507aff5cd8941ba378e46e9f99fccc7ee
4
+ data.tar.gz: 1db02469e9551195c8150f6789471013103301f4
5
5
  SHA512:
6
- metadata.gz: 105acac4359e31536b14411780d4b1dd7ef1fdc7497514b18e7ba4d74d406b573262d681f4055c7efe64e2aaefde6238067229e723589ad3ee6d819312fb21bb
7
- data.tar.gz: 04ed64fc2f22c2d2686f83febc0334e6ee333a01204a657d3e35ac9131f1a1b167a007a83fb73297c37a7149616bda7ce3a0c474a7de4e34d998be40c2f8fb58
6
+ metadata.gz: 6e160c0fcd41500607cb43b15026971927b33edf633c8267d1a93bd67f8b52dee33b85338b35ee9758a3e65754cb8be4274438ad184ce18f09ed8632d3e70a4b
7
+ data.tar.gz: abc4c750a071f75418d3561c5736874dcb3afb8659dd16bd6b8fe636e9318c0d93e827c2e601d240424797b108acf40642373c25fcfe092b30931de6c54aaa86
data/CHANGELOG.md ADDED
@@ -0,0 +1,8 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
+
6
+ ## [0.0.7]
7
+
8
+ - Update starter project to use newer ruby syntax
@@ -0,0 +1,2 @@
1
+ --color
2
+ --format documentation
@@ -1,9 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require 'rubygems'
4
-
5
3
  $:.unshift(File.expand_path('../../lib', __FILE__))
6
4
  require 'thor_template'
7
5
  require 'thor_template/cli'
8
6
 
9
- ThorTemplate::CLI.start(ARGV)
7
+ ThorTemplate::CLI.start(ARGV)
@@ -4,16 +4,16 @@ require 'thor_template/cli/help'
4
4
  module ThorTemplate
5
5
 
6
6
  class CLI < Thor
7
- class_option :verbose, :type => :boolean
8
- class_option :noop, :type => :boolean
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, :desc => 'from person'
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
@@ -1,3 +1,3 @@
1
1
  module ThorTemplate
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  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.6
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: 2015-01-04 00:00:00.000000000 Z
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.5
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: