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 +4 -4
- data/README.md +6 -8
- data/lib/templator/version.rb +1 -1
- data/templator.gemspec +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f28160e260bb3c4849b7543f475b97c7d65b580
|
4
|
+
data.tar.gz: 03485347c9b2928fee8068680a2e3a474fe538d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
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/
|
33
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/khaiql/k-templator.
|
36
34
|
|
data/lib/templator/version.rb
CHANGED
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://
|
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.
|
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://
|
106
|
+
homepage: https://github.com/khaiql/k-templator
|
106
107
|
licenses: []
|
107
108
|
metadata: {}
|
108
109
|
post_install_message:
|