vhost_generator 0.3.3 → 0.3.4

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.
@@ -23,7 +23,7 @@ Feature: Output nginx configuration file
23
23
  """
24
24
  And the output should contain:
25
25
  """
26
- server_name localhost, my.server;
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, my.server;
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, my.server;
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, my.server;
173
+ server_name localhost my.server;
174
174
  """
175
175
  And the output should match /root.*html;/
176
176
  And the output should contain:
@@ -8,5 +8,5 @@ Feature: Output program version
8
8
  When I run `bundle exec vhost-generator --version`
9
9
  Then it should pass with:
10
10
  """
11
- vhost-generator, version 0.3.3
11
+ vhost-generator, version 0.3.4
12
12
  """
@@ -49,7 +49,7 @@ server {
49
49
  <% cfg.server_ports.each do |p| %>listen <%= p %>;
50
50
  <% end %>
51
51
  <% unless cfg.server_names.empty? %>server_name <%=
52
- cfg.server_names.join(', ') %>;<% end %>
52
+ cfg.server_names.join(' ') %>;<% end %>
53
53
 
54
54
  root <%= cfg.static_folder %>;
55
55
 
@@ -1,3 +1,3 @@
1
1
  module VhostGenerator
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
3
3
  end
@@ -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, host2;')
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.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-14 00:00:00.000000000 Z
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: 637325811
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: 637325811
142
+ hash: 450794383
143
143
  requirements: []
144
144
  rubyforge_project:
145
145
  rubygems_version: 1.8.23