lono 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.ruby-version +1 -0
- data/.travis.yml +4 -0
- data/README.md +20 -7
- data/lib/lono/version.rb +1 -1
- data/lono.gemspec +1 -1
- metadata +5 -3
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
1.9.3@lono
|
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Lono
|
2
2
|
|
3
|
+
[![Build History][2]][1]
|
4
|
+
|
5
|
+
[1]: http://travis-ci.org/tongueroo/lono
|
6
|
+
[2]: https://secure.travis-ci.org/tongueroo/lono.png?branch=master
|
7
|
+
|
3
8
|
Lono is a Cloud Formation Template ruby generator. Lono generates Cloud Formation templates based on ERB templates.
|
4
9
|
|
5
10
|
## Usage
|
@@ -64,12 +69,6 @@ end
|
|
64
69
|
|
65
70
|
The example ERB template file is in templates/app.json.erb.
|
66
71
|
|
67
|
-
<pre>
|
68
|
-
$ guard
|
69
|
-
</pre>
|
70
|
-
|
71
|
-
The lono init comamnd also sets up guard-lono and guard-cloudformation. Guard-lono continuously generates the cloud formation templates and guard-cloudformation continuously verifies that the cloud formation templates are valid via AWS's cfn-validate-template command.
|
72
|
-
|
73
72
|
## User Data Helper
|
74
73
|
|
75
74
|
In the template files, there's user_data helper method available which can be used to include a user data script. The user data script should be in in the templates/user_data folder of the project. So:
|
@@ -89,4 +88,18 @@ Here's how you would call it in the template.
|
|
89
88
|
]
|
90
89
|
]
|
91
90
|
}
|
92
|
-
```
|
91
|
+
```
|
92
|
+
|
93
|
+
## Generate
|
94
|
+
|
95
|
+
You can generate the CF templates by running:
|
96
|
+
|
97
|
+
<pre>
|
98
|
+
$ lono generate
|
99
|
+
</pre>
|
100
|
+
|
101
|
+
The lono init comamnd also sets up guard-lono and guard-cloudformation. Guard-lono continuously generates the cloud formation templates and guard-cloudformation continuously verifies that the cloud formation templates are valid via AWS's cfn-validate-template command. Just run guard.
|
102
|
+
|
103
|
+
<pre>
|
104
|
+
$ guard
|
105
|
+
</pre>
|
data/lib/lono/version.rb
CHANGED
data/lono.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
|
|
6
6
|
gem.email = ["tongueroo@gmail.com"]
|
7
7
|
gem.description = %q{Lono is a Cloud Formation Template ruby generator. Lono generates Cloud Formation templates based on ERB templates.}
|
8
8
|
gem.summary = %q{Lono is a Cloud Formation Template ruby generator. Lono generates Cloud Formation templates based on ERB templates.}
|
9
|
-
gem.homepage = ""
|
9
|
+
gem.homepage = "http://github.com/tongueroo/lono"
|
10
10
|
|
11
11
|
gem.files = `git ls-files`.split($\)
|
12
12
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lono
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-12-
|
12
|
+
date: 2012-12-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -197,6 +197,8 @@ extensions: []
|
|
197
197
|
extra_rdoc_files: []
|
198
198
|
files:
|
199
199
|
- .gitignore
|
200
|
+
- .ruby-version
|
201
|
+
- .travis.yml
|
200
202
|
- Gemfile
|
201
203
|
- Guardfile
|
202
204
|
- LICENSE
|
@@ -217,7 +219,7 @@ files:
|
|
217
219
|
- spec/project/templates/app.json.erb
|
218
220
|
- spec/project/templates/user_data/app.sh.erb
|
219
221
|
- spec/spec_helper.rb
|
220
|
-
homepage:
|
222
|
+
homepage: http://github.com/tongueroo/lono
|
221
223
|
licenses: []
|
222
224
|
post_install_message:
|
223
225
|
rdoc_options: []
|