k-templator 0.1.0 → 0.1.1

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: 273ba768ba64cf5eda03a874496bdfc2b7c8231c
4
- data.tar.gz: 32827370c3e54d879821c76edd87819d220df5f6
3
+ metadata.gz: 0f28160e260bb3c4849b7543f475b97c7d65b580
4
+ data.tar.gz: 03485347c9b2928fee8068680a2e3a474fe538d3
5
5
  SHA512:
6
- metadata.gz: 2c6ae231414dd30ef630cdf36824cd4973f6133f15ca7e00bbcb49e6237005b262da5c080eeff3b2f2baf3d10891c6924b07b62b14959c1edebcc3f248b4d9be
7
- data.tar.gz: 9de07bf4b48cff591a5cb86fb7346bbb01575c4b1aa5af3c310d634b8a1a03657f35f4d312a227159d4df5047855e5c74f9297a83cd545823f16fbbde583fd5b
6
+ metadata.gz: 05036aec2dd83afec6b77356ee21d16f0cf7ad91f8a6139c6948e35eb3dbc3198377fa86d5bee7bd05fe4cfa963e908296bbae80d2d52de25ce298e00218854c
7
+ data.tar.gz: b56d9785b2e6567d8cff2a8f30be5ab365c8a96f7f521933b6cecb83b921d9279943406bf025b4ad83b7b4b3efd312d17622863356eb33778620f105a5fbee5d
data/README.md CHANGED
@@ -1,15 +1,13 @@
1
- # Templator
1
+ # K-Templator
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/templator`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ Tini tool to make use of ERB template and yaml format for generating content of file
6
4
 
7
5
  ## Installation
8
6
 
9
7
  Add this line to your application's Gemfile:
10
8
 
11
9
  ```ruby
12
- gem 'templator'
10
+ gem 'k-templator'
13
11
  ```
14
12
 
15
13
  And then execute:
@@ -18,11 +16,11 @@ And then execute:
18
16
 
19
17
  Or install it yourself as:
20
18
 
21
- $ gem install templator
19
+ $ gem install k-templator
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
23
+ `templator generate --template=TEMPLATE --var-file=VAR_FILE # Generate content from template and vars`
26
24
 
27
25
  ## Development
28
26
 
@@ -32,5 +30,5 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
30
 
33
31
  ## Contributing
34
32
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/templator.
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/khaiql/k-templator.
36
34
 
@@ -1,3 +1,3 @@
1
1
  module Templator
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/templator.gemspec CHANGED
@@ -7,11 +7,11 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "k-templator"
8
8
  spec.version = Templator::VERSION
9
9
  spec.authors = ["Scott Le"]
10
- spec.email = ["scott.lee318@gmail.com"]
10
+ spec.email = ["scott.lee318@gmail.com", "khai.le@live.com"]
11
11
 
12
12
  spec.summary = %q{Generate content based on ERB template file and variables}
13
13
  spec.description = %q{Use Ruby ERB template, plus variables defined in YAML format file to generate content}
14
- spec.homepage = "https://lequangkhai.wordpress.com"
14
+ spec.homepage = "https://github.com/khaiql/k-templator"
15
15
 
16
16
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
17
17
  f.match(%r{^(test|spec|features)/})
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: k-templator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Scott Le
@@ -84,6 +84,7 @@ description: Use Ruby ERB template, plus variables defined in YAML format file t
84
84
  generate content
85
85
  email:
86
86
  - scott.lee318@gmail.com
87
+ - khai.le@live.com
87
88
  executables:
88
89
  - templator
89
90
  extensions: []
@@ -102,7 +103,7 @@ files:
102
103
  - lib/templator/generator.rb
103
104
  - lib/templator/version.rb
104
105
  - templator.gemspec
105
- homepage: https://lequangkhai.wordpress.com
106
+ homepage: https://github.com/khaiql/k-templator
106
107
  licenses: []
107
108
  metadata: {}
108
109
  post_install_message: