rspec-system 2.2.0 → 2.2.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/CHANGELOG.md +9 -0
- data/lib/rspec-system/node_set/vagrant.rb +5 -3
- data/rspec-system.gemspec +1 -1
- metadata +3 -2
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
2.2.1
|
2
|
+
=====
|
3
|
+
|
4
|
+
This minor fix release converts the Vagrant/Virtualbox provider to use version 2 of the configuration format, fixing some bugs in relation to warnings being printed to STDOUT instead of STDERR.
|
5
|
+
|
6
|
+
-------------------------------
|
7
|
+
|
1
8
|
2.2.0
|
2
9
|
=====
|
3
10
|
|
@@ -10,6 +17,8 @@ This feature release adds the ability to pass a node as a string to helpers, and
|
|
10
17
|
* Document basic multi-node usage (Ken Barber)
|
11
18
|
* Created an FAQ section and included info about serverspec (Ken Barber)
|
12
19
|
|
20
|
+
-------------------------------
|
21
|
+
|
13
22
|
2.1.2
|
14
23
|
=====
|
15
24
|
|
@@ -129,17 +129,19 @@ module RSpecSystem
|
|
129
129
|
log.info "[Vagrant#create_vagrantfile] Creating vagrant file here: #{@vagrant_path}"
|
130
130
|
FileUtils.mkdir_p(@vagrant_path)
|
131
131
|
File.open(File.expand_path(File.join(@vagrant_path, "Vagrantfile")), 'w') do |f|
|
132
|
-
f.write(
|
132
|
+
f.write('Vagrant.configure("2") do |c|' + "\n")
|
133
133
|
nodes.each do |k,v|
|
134
134
|
log.debug "Filling in content for #{k}"
|
135
135
|
|
136
136
|
ps = v.provider_specifics['vagrant']
|
137
137
|
|
138
138
|
node_config = " c.vm.define '#{k}' do |v|\n"
|
139
|
-
node_config << " v.vm.
|
139
|
+
node_config << " v.vm.hostname = '#{k}'\n"
|
140
140
|
node_config << " v.vm.box = '#{ps['box']}'\n"
|
141
141
|
node_config << " v.vm.box_url = '#{ps['box_url']}'\n" unless ps['box_url'].nil?
|
142
|
-
node_config << " v.vm.
|
142
|
+
node_config << " v.vm.provider 'virtualbox' do |vbox|\n"
|
143
|
+
node_config << " vbox.customize ['modifyvm',:id,'--macaddress1','#{randmac}']\n"
|
144
|
+
node_config << " end\n"
|
143
145
|
node_config << " end\n"
|
144
146
|
|
145
147
|
f.write(node_config)
|
data/rspec-system.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-system
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.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: 2013-
|
12
|
+
date: 2013-09-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -217,3 +217,4 @@ test_files:
|
|
217
217
|
- spec/unit/kwalify-schemas/prefabs_schema_spec.rb
|
218
218
|
- spec/unit/result_spec.rb
|
219
219
|
- spec/unit/utils_spec.rb
|
220
|
+
has_rdoc:
|