rna 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +2 -1
- data/README.md +4 -1
- data/lib/files/rna.rb +4 -1
- data/lib/rna/version.rb +1 -1
- data/rna.gemspec +4 -2
- metadata +8 -4
data/CHANGELOG
CHANGED
@@ -1 +1,2 @@
|
|
1
|
-
0.1.0 Initial Release
|
1
|
+
0.1.0 Initial Release
|
2
|
+
0.1.1 Update example rna.rb
|
data/README.md
CHANGED
@@ -48,7 +48,9 @@ role 'base' do
|
|
48
48
|
run_list ['base']
|
49
49
|
end
|
50
50
|
# api
|
51
|
-
role 'prod-api-redis', 'stag-api-redis'
|
51
|
+
role 'prod-api-redis', 'stag-api-redis' do
|
52
|
+
run_list ['base','api_redis']
|
53
|
+
end
|
52
54
|
role 'prod-api-app', 'stag-api-app' do
|
53
55
|
run_list ['base','api_app']
|
54
56
|
set 'application', 'api'
|
@@ -57,6 +59,7 @@ role 'prod-api-app', 'stag-api-app' do
|
|
57
59
|
end
|
58
60
|
role 'prod-api-resque', 'stag-api-resque' do
|
59
61
|
inherits 'prod-api-app'
|
62
|
+
run_list ['base','api_resque']
|
60
63
|
set 'workers', 8
|
61
64
|
end
|
62
65
|
```
|
data/lib/files/rna.rb
CHANGED
@@ -21,7 +21,9 @@ role 'base' do
|
|
21
21
|
run_list ['base']
|
22
22
|
end
|
23
23
|
# api
|
24
|
-
role 'prod-api-redis', 'stag-api-redis'
|
24
|
+
role 'prod-api-redis', 'stag-api-redis' do
|
25
|
+
run_list ['base','api_redis']
|
26
|
+
end
|
25
27
|
role 'prod-api-app', 'stag-api-app' do
|
26
28
|
run_list ['base','api_app']
|
27
29
|
set 'application', 'api'
|
@@ -30,5 +32,6 @@ role 'prod-api-app', 'stag-api-app' do
|
|
30
32
|
end
|
31
33
|
role 'prod-api-resque', 'stag-api-resque' do
|
32
34
|
inherits 'prod-api-app'
|
35
|
+
run_list ['base','api_resque']
|
33
36
|
set 'workers', 8
|
34
37
|
end
|
data/lib/rna/version.rb
CHANGED
data/rna.gemspec
CHANGED
@@ -4,8 +4,10 @@ require File.expand_path('../lib/rna/version', __FILE__)
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.authors = ["Tung Nguyen"]
|
6
6
|
gem.email = ["tongueroo@gmail.com"]
|
7
|
-
gem.description = %q{Rna DSL
|
8
|
-
|
7
|
+
gem.description = %q{Rna is a ruby gem that provides simple DSL for generating node.json files required by chef-solo.
|
8
|
+
.}
|
9
|
+
gem.summary = %q{Rna is a ruby gem that provides simple DSL for generating node.json files required by chef-solo.
|
10
|
+
.}
|
9
11
|
gem.homepage = ""
|
10
12
|
|
11
13
|
gem.files = `git ls-files`.split($\)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rna
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
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-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -139,7 +139,10 @@ dependencies:
|
|
139
139
|
- - ! '>='
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: '0'
|
142
|
-
description: Rna DSL
|
142
|
+
description: ! 'Rna is a ruby gem that provides simple DSL for generating node.json
|
143
|
+
files required by chef-solo.
|
144
|
+
|
145
|
+
.'
|
143
146
|
email:
|
144
147
|
- tongueroo@gmail.com
|
145
148
|
executables:
|
@@ -193,7 +196,8 @@ rubyforge_project:
|
|
193
196
|
rubygems_version: 1.8.24
|
194
197
|
signing_key:
|
195
198
|
specification_version: 3
|
196
|
-
summary: Rna DSL
|
199
|
+
summary: Rna is a ruby gem that provides simple DSL for generating node.json files
|
200
|
+
required by chef-solo. .
|
197
201
|
test_files:
|
198
202
|
- spec/lib/rna_spec.rb
|
199
203
|
- spec/project/config/rna.rb
|