vagrant 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/config/default.rb +10 -4
- data/lib/vagrant/actions/vm/forward_ports.rb +10 -32
- data/lib/vagrant/actions/vm/network.rb +29 -0
- data/lib/vagrant/actions/vm/package.rb +2 -0
- data/lib/vagrant/actions/vm/shared_folders.rb +50 -13
- data/lib/vagrant/config.rb +11 -23
- data/lib/vagrant/environment.rb +1 -1
- data/lib/vagrant/ssh.rb +6 -12
- data/lib/vagrant/systems/base.rb +7 -0
- data/lib/vagrant/systems/linux.rb +21 -26
- data/lib/vagrant/util/template_renderer.rb +1 -1
- data/templates/strings.yml +17 -1
- data/templates/unison/crontab_entry.erb +1 -0
- data/templates/unison/script.erb +71 -0
- data/test/test_helper.rb +5 -4
- data/test/vagrant/actions/vm/forward_ports_test.rb +39 -85
- data/test/vagrant/actions/vm/network_test.rb +67 -13
- data/test/vagrant/actions/vm/package_test.rb +5 -0
- data/test/vagrant/actions/vm/shared_folders_test.rb +113 -44
- data/test/vagrant/config_test.rb +0 -33
- data/test/vagrant/environment_test.rb +4 -4
- data/test/vagrant/ssh_test.rb +2 -13
- data/test/vagrant/systems/linux_test.rb +38 -33
- data/test/vagrant/util/template_renderer_test.rb +6 -0
- data/vagrant.gemspec +53 -53
- metadata +69 -52
- data/templates/crontab_entry.erb +0 -1
- data/templates/sync.erb +0 -14
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 11
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 4
|
8
|
-
-
|
9
|
-
version: 0.4.
|
9
|
+
- 2
|
10
|
+
version: 0.4.2
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Mitchell Hashimoto
|
@@ -15,30 +16,34 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2010-
|
19
|
+
date: 2010-07-02 00:00:00 -07:00
|
19
20
|
default_executable: vagrant
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
22
23
|
name: virtualbox
|
23
24
|
prerelease: false
|
24
25
|
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
25
27
|
requirements:
|
26
28
|
- - ~>
|
27
29
|
- !ruby/object:Gem::Version
|
30
|
+
hash: 5
|
28
31
|
segments:
|
29
32
|
- 0
|
30
33
|
- 7
|
31
|
-
-
|
32
|
-
version: 0.7.
|
34
|
+
- 3
|
35
|
+
version: 0.7.3
|
33
36
|
type: :runtime
|
34
37
|
version_requirements: *id001
|
35
38
|
- !ruby/object:Gem::Dependency
|
36
39
|
name: net-ssh
|
37
40
|
prerelease: false
|
38
41
|
requirement: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
39
43
|
requirements:
|
40
44
|
- - ">="
|
41
45
|
- !ruby/object:Gem::Version
|
46
|
+
hash: 41
|
42
47
|
segments:
|
43
48
|
- 2
|
44
49
|
- 0
|
@@ -50,9 +55,11 @@ dependencies:
|
|
50
55
|
name: net-scp
|
51
56
|
prerelease: false
|
52
57
|
requirement: &id003 !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
53
59
|
requirements:
|
54
60
|
- - ">="
|
55
61
|
- !ruby/object:Gem::Version
|
62
|
+
hash: 19
|
56
63
|
segments:
|
57
64
|
- 1
|
58
65
|
- 0
|
@@ -64,9 +71,11 @@ dependencies:
|
|
64
71
|
name: json
|
65
72
|
prerelease: false
|
66
73
|
requirement: &id004 !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
67
75
|
requirements:
|
68
76
|
- - ">="
|
69
77
|
- !ruby/object:Gem::Version
|
78
|
+
hash: 31
|
70
79
|
segments:
|
71
80
|
- 1
|
72
81
|
- 2
|
@@ -78,9 +87,11 @@ dependencies:
|
|
78
87
|
name: archive-tar-minitar
|
79
88
|
prerelease: false
|
80
89
|
requirement: &id005 !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
81
91
|
requirements:
|
82
92
|
- - "="
|
83
93
|
- !ruby/object:Gem::Version
|
94
|
+
hash: 15
|
84
95
|
segments:
|
85
96
|
- 0
|
86
97
|
- 5
|
@@ -92,9 +103,11 @@ dependencies:
|
|
92
103
|
name: mario
|
93
104
|
prerelease: false
|
94
105
|
requirement: &id006 !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
95
107
|
requirements:
|
96
108
|
- - ~>
|
97
109
|
- !ruby/object:Gem::Version
|
110
|
+
hash: 19
|
98
111
|
segments:
|
99
112
|
- 0
|
100
113
|
- 0
|
@@ -201,12 +214,12 @@ files:
|
|
201
214
|
- templates/Vagrantfile.erb
|
202
215
|
- templates/chef_server_client.erb
|
203
216
|
- templates/chef_solo_solo.erb
|
204
|
-
- templates/crontab_entry.erb
|
205
217
|
- templates/network_entry.erb
|
206
218
|
- templates/package_Vagrantfile.erb
|
207
219
|
- templates/ssh_config.erb
|
208
220
|
- templates/strings.yml
|
209
|
-
- templates/
|
221
|
+
- templates/unison/crontab_entry.erb
|
222
|
+
- templates/unison/script.erb
|
210
223
|
- test/test_helper.rb
|
211
224
|
- test/vagrant/actions/base_test.rb
|
212
225
|
- test/vagrant/actions/box/add_test.rb
|
@@ -287,93 +300,97 @@ rdoc_options:
|
|
287
300
|
require_paths:
|
288
301
|
- lib
|
289
302
|
required_ruby_version: !ruby/object:Gem::Requirement
|
303
|
+
none: false
|
290
304
|
requirements:
|
291
305
|
- - ">="
|
292
306
|
- !ruby/object:Gem::Version
|
307
|
+
hash: 3
|
293
308
|
segments:
|
294
309
|
- 0
|
295
310
|
version: "0"
|
296
311
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
312
|
+
none: false
|
297
313
|
requirements:
|
298
314
|
- - ">="
|
299
315
|
- !ruby/object:Gem::Version
|
316
|
+
hash: 3
|
300
317
|
segments:
|
301
318
|
- 0
|
302
319
|
version: "0"
|
303
320
|
requirements: []
|
304
321
|
|
305
322
|
rubyforge_project:
|
306
|
-
rubygems_version: 1.3.
|
323
|
+
rubygems_version: 1.3.7
|
307
324
|
signing_key:
|
308
325
|
specification_version: 3
|
309
326
|
summary: Vagrant is a tool for building and distributing virtualized development environments.
|
310
327
|
test_files:
|
311
328
|
- test/test_helper.rb
|
312
|
-
- test/vagrant/vm_test.rb
|
313
|
-
- test/vagrant/command_test.rb
|
314
|
-
- test/vagrant/environment_test.rb
|
315
|
-
- test/vagrant/util_test.rb
|
316
|
-
- test/vagrant/box_test.rb
|
317
|
-
- test/vagrant/busy_test.rb
|
318
|
-
- test/vagrant/provisioners/base_test.rb
|
319
|
-
- test/vagrant/provisioners/chef_test.rb
|
320
|
-
- test/vagrant/provisioners/chef_server_test.rb
|
321
|
-
- test/vagrant/provisioners/chef_solo_test.rb
|
322
|
-
- test/vagrant/systems/linux_test.rb
|
323
|
-
- test/vagrant/config_test.rb
|
324
329
|
- test/vagrant/actions/base_test.rb
|
325
|
-
- test/vagrant/actions/runner_test.rb
|
326
|
-
- test/vagrant/actions/box/verify_test.rb
|
327
|
-
- test/vagrant/actions/box/destroy_test.rb
|
328
330
|
- test/vagrant/actions/box/add_test.rb
|
329
|
-
- test/vagrant/actions/box/
|
331
|
+
- test/vagrant/actions/box/destroy_test.rb
|
330
332
|
- test/vagrant/actions/box/download_test.rb
|
333
|
+
- test/vagrant/actions/box/unpackage_test.rb
|
334
|
+
- test/vagrant/actions/box/verify_test.rb
|
331
335
|
- test/vagrant/actions/collection_test.rb
|
332
|
-
- test/vagrant/actions/
|
333
|
-
- test/vagrant/actions/vm/suspend_test.rb
|
336
|
+
- test/vagrant/actions/runner_test.rb
|
334
337
|
- test/vagrant/actions/vm/boot_test.rb
|
335
|
-
- test/vagrant/actions/vm/
|
336
|
-
- test/vagrant/actions/vm/down_test.rb
|
337
|
-
- test/vagrant/actions/vm/shared_folders_test.rb
|
338
|
+
- test/vagrant/actions/vm/customize_test.rb
|
338
339
|
- test/vagrant/actions/vm/destroy_test.rb
|
340
|
+
- test/vagrant/actions/vm/down_test.rb
|
341
|
+
- test/vagrant/actions/vm/export_test.rb
|
342
|
+
- test/vagrant/actions/vm/forward_ports_test.rb
|
339
343
|
- test/vagrant/actions/vm/halt_test.rb
|
340
344
|
- test/vagrant/actions/vm/import_test.rb
|
341
|
-
- test/vagrant/actions/vm/customize_test.rb
|
342
|
-
- test/vagrant/actions/vm/start_test.rb
|
343
|
-
- test/vagrant/actions/vm/network_test.rb
|
344
345
|
- test/vagrant/actions/vm/move_hard_drive_test.rb
|
345
|
-
- test/vagrant/actions/vm/
|
346
|
-
- test/vagrant/actions/vm/
|
346
|
+
- test/vagrant/actions/vm/network_test.rb
|
347
|
+
- test/vagrant/actions/vm/package_test.rb
|
347
348
|
- test/vagrant/actions/vm/provision_test.rb
|
349
|
+
- test/vagrant/actions/vm/reload_test.rb
|
348
350
|
- test/vagrant/actions/vm/resume_test.rb
|
349
|
-
- test/vagrant/actions/vm/
|
351
|
+
- test/vagrant/actions/vm/shared_folders_test.rb
|
352
|
+
- test/vagrant/actions/vm/start_test.rb
|
353
|
+
- test/vagrant/actions/vm/suspend_test.rb
|
354
|
+
- test/vagrant/actions/vm/up_test.rb
|
350
355
|
- test/vagrant/active_list_test.rb
|
356
|
+
- test/vagrant/box_test.rb
|
357
|
+
- test/vagrant/busy_test.rb
|
358
|
+
- test/vagrant/command_test.rb
|
351
359
|
- test/vagrant/commands/base_test.rb
|
352
|
-
- test/vagrant/commands/reload_test.rb
|
353
|
-
- test/vagrant/commands/ssh_config_test.rb
|
354
|
-
- test/vagrant/commands/suspend_test.rb
|
355
|
-
- test/vagrant/commands/package_test.rb
|
356
|
-
- test/vagrant/commands/status_test.rb
|
357
|
-
- test/vagrant/commands/init_test.rb
|
358
|
-
- test/vagrant/commands/destroy_test.rb
|
359
|
-
- test/vagrant/commands/halt_test.rb
|
360
|
-
- test/vagrant/commands/box/remove_test.rb
|
361
360
|
- test/vagrant/commands/box/add_test.rb
|
362
361
|
- test/vagrant/commands/box/list_test.rb
|
363
|
-
- test/vagrant/commands/
|
362
|
+
- test/vagrant/commands/box/remove_test.rb
|
363
|
+
- test/vagrant/commands/destroy_test.rb
|
364
|
+
- test/vagrant/commands/halt_test.rb
|
365
|
+
- test/vagrant/commands/init_test.rb
|
366
|
+
- test/vagrant/commands/package_test.rb
|
364
367
|
- test/vagrant/commands/provision_test.rb
|
368
|
+
- test/vagrant/commands/reload_test.rb
|
365
369
|
- test/vagrant/commands/resume_test.rb
|
370
|
+
- test/vagrant/commands/ssh_config_test.rb
|
366
371
|
- test/vagrant/commands/ssh_test.rb
|
367
|
-
- test/vagrant/
|
372
|
+
- test/vagrant/commands/status_test.rb
|
373
|
+
- test/vagrant/commands/suspend_test.rb
|
374
|
+
- test/vagrant/commands/up_test.rb
|
375
|
+
- test/vagrant/config_test.rb
|
368
376
|
- test/vagrant/downloaders/base_test.rb
|
369
377
|
- test/vagrant/downloaders/file_test.rb
|
370
378
|
- test/vagrant/downloaders/http_test.rb
|
371
|
-
- test/vagrant/
|
379
|
+
- test/vagrant/environment_test.rb
|
380
|
+
- test/vagrant/provisioners/base_test.rb
|
381
|
+
- test/vagrant/provisioners/chef_server_test.rb
|
382
|
+
- test/vagrant/provisioners/chef_solo_test.rb
|
383
|
+
- test/vagrant/provisioners/chef_test.rb
|
384
|
+
- test/vagrant/resource_logger_test.rb
|
385
|
+
- test/vagrant/ssh_session_test.rb
|
386
|
+
- test/vagrant/ssh_test.rb
|
387
|
+
- test/vagrant/systems/linux_test.rb
|
388
|
+
- test/vagrant/util/error_helper_test.rb
|
372
389
|
- test/vagrant/util/output_helper_test.rb
|
390
|
+
- test/vagrant/util/plain_logger_test.rb
|
391
|
+
- test/vagrant/util/platform_test.rb
|
392
|
+
- test/vagrant/util/stacked_proc_runner_test.rb
|
373
393
|
- test/vagrant/util/template_renderer_test.rb
|
374
394
|
- test/vagrant/util/translator_test.rb
|
375
|
-
- test/vagrant/
|
376
|
-
- test/vagrant/
|
377
|
-
- test/vagrant/util/plain_logger_test.rb
|
378
|
-
- test/vagrant/ssh_session_test.rb
|
379
|
-
- test/vagrant/ssh_test.rb
|
395
|
+
- test/vagrant/util_test.rb
|
396
|
+
- test/vagrant/vm_test.rb
|
data/templates/crontab_entry.erb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
* * * * * <%= scriptname %> '<%= syncopts %>' '<%= guestpath %>' '<%= syncpath %>' '-prefer <%= guestpath %>'
|