vhost_generator 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -23,7 +23,7 @@ Feature: Output nginx configuration file
|
|
23
23
|
"""
|
24
24
|
And the output should contain:
|
25
25
|
"""
|
26
|
-
server_name localhost
|
26
|
+
server_name localhost my.server;
|
27
27
|
"""
|
28
28
|
And the output should match /root.*html;/
|
29
29
|
And the output should contain:
|
@@ -80,7 +80,7 @@ Feature: Output nginx configuration file
|
|
80
80
|
"""
|
81
81
|
And the output should contain:
|
82
82
|
"""
|
83
|
-
server_name localhost
|
83
|
+
server_name localhost my.server;
|
84
84
|
"""
|
85
85
|
And the output should match /root.*html;/
|
86
86
|
And the output should contain:
|
@@ -121,7 +121,7 @@ Feature: Output nginx configuration file
|
|
121
121
|
"""
|
122
122
|
And the output should contain:
|
123
123
|
"""
|
124
|
-
server_name localhost
|
124
|
+
server_name localhost my.server;
|
125
125
|
"""
|
126
126
|
And the output should match /root.*html;/
|
127
127
|
And the output should contain:
|
@@ -170,7 +170,7 @@ Feature: Output nginx configuration file
|
|
170
170
|
"""
|
171
171
|
And the output should contain:
|
172
172
|
"""
|
173
|
-
server_name localhost
|
173
|
+
server_name localhost my.server;
|
174
174
|
"""
|
175
175
|
And the output should match /root.*html;/
|
176
176
|
And the output should contain:
|
data/features/version.feature
CHANGED
@@ -55,7 +55,7 @@ describe VhostGenerator::NginxGenerator do
|
|
55
55
|
|
56
56
|
it "declares the server names it responds to" do
|
57
57
|
config.stub(:server_names).and_return(%w(host1 host2))
|
58
|
-
expect(output).to include('server_name host1
|
58
|
+
expect(output).to include('server_name host1 host2;')
|
59
59
|
end
|
60
60
|
|
61
61
|
it "declares the requested document root" do
|
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.4
|
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-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -130,7 +130,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: '0'
|
131
131
|
segments:
|
132
132
|
- 0
|
133
|
-
hash:
|
133
|
+
hash: 450794383
|
134
134
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
135
|
none: false
|
136
136
|
requirements:
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
segments:
|
141
141
|
- 0
|
142
|
-
hash:
|
142
|
+
hash: 450794383
|
143
143
|
requirements: []
|
144
144
|
rubyforge_project:
|
145
145
|
rubygems_version: 1.8.23
|