vhost_generator 0.3.0 → 0.3.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.
data/bin/foreman-export-vhost
CHANGED
|
@@ -167,7 +167,7 @@ class ForemanExportApplication
|
|
|
167
167
|
end
|
|
168
168
|
|
|
169
169
|
def apply
|
|
170
|
-
commands << %w(bundle exec
|
|
170
|
+
commands << %w(bundle exec vhost-generator) +
|
|
171
171
|
escape(generator_flags) +
|
|
172
172
|
%w(| sudo tee) + escape(vhost_config)
|
|
173
173
|
commands << %w(sudo service) + escape(service) + %w(reload)
|
|
@@ -43,7 +43,7 @@ Feature: Wrap "foreman export"
|
|
|
43
43
|
When I run `bundle exec foreman-export-vhost upstart /etc/init -f Procfile -a MYAPP -u MYUSER -p 6000 -c clock=1,web=2 -L 80,81 -S localhost,myapp.com -K web -G nginx -O assets_expire_in=15d -N -R`
|
|
44
44
|
Then the output should match:
|
|
45
45
|
"""
|
|
46
|
-
bundle exec
|
|
46
|
+
bundle exec vhost-generator -a MYAPP -f /.*/public -l 80,81 -s localhost,myapp.com -p 6100,6101 -g nginx -o assets_expire_in\\=15d \| sudo tee /etc/nginx/sites-enabled/vhost-MYAPP.conf
|
|
47
47
|
"""
|
|
48
48
|
And the output should contain:
|
|
49
49
|
"""
|
data/features/version.feature
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vhost_generator
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.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-10-
|
|
12
|
+
date: 2012-10-10 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|
|
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
127
127
|
version: '0'
|
|
128
128
|
segments:
|
|
129
129
|
- 0
|
|
130
|
-
hash:
|
|
130
|
+
hash: -968082637
|
|
131
131
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
none: false
|
|
133
133
|
requirements:
|
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
136
136
|
version: '0'
|
|
137
137
|
segments:
|
|
138
138
|
- 0
|
|
139
|
-
hash:
|
|
139
|
+
hash: -968082637
|
|
140
140
|
requirements: []
|
|
141
141
|
rubyforge_project:
|
|
142
142
|
rubygems_version: 1.8.23
|