furnish-vagrant 0.1.0 → 0.1.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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTVhMzE5YTgzNzdmMzMxMGQ3OTY3MjllMjdiMTI2YTFlODI5N2JhZA==
4
+ NTk3Nzg3NzI1YjdhMTJiM2QyN2I1NzZiNjU5MmNhMDJkMDlkY2Y0MA==
5
5
  data.tar.gz: !binary |-
6
- MjBkNTAwMWFjYjE5MTcxMjQyY2FhZjc5NTNlOTFjNTIwN2IyYjZiZg==
6
+ Yzk0M2FlMmYzMWYwMzMxNTQxMjBlZDAyM2IyNzJhOTk1Yjg2NmUzZA==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZmEwYTNlODUxNTljNjFmZGIxYTE4N2ZhOTNiZDQyMjA1ZTFiOTI3NTEwM2Rj
10
- YzlmOGY5YjQzYzM2MzJiYzBiMTg2MmYwMzFhMjRhNzM3MjRjZTJhMTk0NmU3
11
- YzAxZGIxZWI2MmQzZWNkOWQwMTMyYzhjNWQ2YWM1Y2IzMDUwZDY=
9
+ MTg3Y2FkOWFjZGFlNWE3MzQ1ZWFhYjNmYmQxMDMwNTg1MGI0ODBmZDg4NjFj
10
+ MWYwYjRmMzQ0ZGNjNzdkYzM0NDJmZmJlZTE2OWZkYzlhMGIyYjdkNDQ0Yjg0
11
+ NDc5OGQ4YTY1MDhkODgxNGE3NDM5YWI4ZDgxMmYyYWI3OThlZTk=
12
12
  data.tar.gz: !binary |-
13
- YjdmY2QxODY4ODU5MzVjYzFkZTBmODgwN2MyNTQ2Mjg3ZWU5MzgxZGFjMmU3
14
- Y2JmYjE5NzNhZDM3YjEyZTkwNThhMWUwMzZkOTI2OTRlNTc3MTc2MzZiZTE4
15
- NGU1NThlN2JjNGVkYmI2NzU5OTJjNzA3Y2YwYzQ3OWUyYjk3MjE=
13
+ N2I4ODRiNzY1YmQ2MzNiMTA1MDRmYjFmNTI5MzI2ZjZkNmQwZjA4Mzk3Nzc0
14
+ OTFjNmUwNmNhN2Q3ZGIwNTQwY2EzNjJjMzhhMmRhNWE1ZjY5YmM4MmUyYjRi
15
+ YzhmYzRkMzExODQ1NWI2Mzc1ZjQ0NWJmMzRmMWZlYjg3NDgwZGE=
@@ -1,3 +1,5 @@
1
+ * 0.1.1 (05/1/2013)
2
+ * Updated to support furnish-ip 0.2.0.
1
3
  * 0.1.0 (04/10/2013)
2
4
  * Update provisioner to use furnish 0.1.0 and Furnish::Provisioner::API.
3
5
  * Ensure function on ruby 2.0.
@@ -20,9 +20,9 @@ Gem::Specification.new do |gem|
20
20
  gem.add_dependency 'vagrant-prison', '~> 0.2.0'
21
21
  gem.add_dependency 'furnish', '~> 0.1.0'
22
22
 
23
- gem.add_development_dependency 'furnish-ip', '~> 0.1.0'
23
+ gem.add_development_dependency 'furnish-ip', '~> 0.2.0'
24
24
  gem.add_development_dependency 'rake'
25
- gem.add_development_dependency 'minitest', '~> 4.5.0'
25
+ gem.add_development_dependency 'minitest', '~> 4.7'
26
26
  gem.add_development_dependency 'guard-minitest'
27
27
  gem.add_development_dependency 'guard-rake', '~> 0.0.8'
28
28
  gem.add_development_dependency 'rdoc', '~> 4'
@@ -1,6 +1,6 @@
1
1
  module Furnish
2
2
  module Vagrant
3
3
  # The version of furnish-vagrant.
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
6
6
  end
@@ -107,27 +107,27 @@ class TestVagrant < Furnish::TestCase
107
107
  def test_properties
108
108
  assert_equal(
109
109
  {
110
- :box_url => {
110
+ "box_url" => {
111
111
  :description => "Vagrant's box_url argument",
112
112
  :type => String
113
113
  },
114
114
 
115
- :box => {
115
+ "box" => {
116
116
  :description => "Vagrant's box argument. Will be extracted from box_url if unset.",
117
117
  :type => String
118
118
  },
119
119
 
120
- :number_of_servers => {
120
+ "number_of_servers" => {
121
121
  :description => "The number of boxes to bring up for this provision",
122
122
  :type => Integer
123
123
  },
124
124
 
125
- :db_name => {
125
+ "db_name" => {
126
126
  :description => "'default' by default, a tag namespacing this set of provisions",
127
127
  :type => String
128
128
  },
129
129
 
130
- :customizations => {
130
+ "customizations" => {
131
131
  :description => "an array of arguments that would go to vm.customize. If an array of arrays are supplied, vm.customize is called for each inner array with it as the argument.",
132
132
  :type => Array
133
133
  }
@@ -160,18 +160,18 @@ class TestVagrant < Furnish::TestCase
160
160
  sched.run
161
161
 
162
162
  assert_includes(sched.vm.solved, 'test1', 'test1 is provisioned')
163
- check_ssh(@ip.group_ips('test1').first, 'test1 is booting properly')
163
+ check_ssh(@ip.group_items('test1').first, 'test1 is booting properly')
164
164
 
165
165
  sched.schedule_provision('test2', make_provisioner(3), [])
166
166
  sched.run
167
167
 
168
168
  assert_includes(sched.vm.solved, 'test2', 'test2 is provisioned')
169
169
 
170
- @ip.group_ips('test2').each do |test_ip|
170
+ @ip.group_items('test2').each do |test_ip|
171
171
  check_ssh(test_ip, "test2 group, ip #{test_ip} is booting properly")
172
172
  end
173
173
 
174
- assert_equal(3, @ip.group_ips('test2').count, '3 machines and IPs were allocated for test2 group')
174
+ assert_equal(3, @ip.group_items('test2').count, '3 machines and IPs were allocated for test2 group')
175
175
 
176
176
  assert_match(
177
177
  /^1 servers/,
@@ -230,7 +230,7 @@ class TestVagrant < Furnish::TestCase
230
230
 
231
231
  assert_includes(sched.vm.solved, 'test1', 'test1 is provisioned')
232
232
 
233
- ip = @ip.group_ips('test1').first
233
+ ip = @ip.group_items('test1').first
234
234
 
235
235
  output = ''
236
236
  exit_code = 0
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: furnish-vagrant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Erik Hollensbe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-10 00:00:00.000000000 Z
11
+ date: 2013-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: vagrant-prison
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 0.1.0
47
+ version: 0.2.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: 0.1.0
54
+ version: 0.2.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: 4.5.0
75
+ version: '4.7'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: 4.5.0
82
+ version: '4.7'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: guard-minitest
85
85
  requirement: !ruby/object:Gem::Requirement