382 Commits

Author SHA1 Message Date
Mitchell Hashimoto
0eec9aa599 core: extensive tests for Vagrant::UI classes 2014-01-17 21:31:07 -08:00
Mitchell Hashimoto
f713e43b00 Fix tests for new UI methods 2014-01-17 21:03:02 -08:00
Mitchell Hashimoto
99a23242ec core: tests for more shared_helpers 2014-01-15 18:31:58 -08:00
Mitchell Hashimoto
7dc4cbb785 core: tests for shared_helpers.rb
/cc @tmatilai
2014-01-15 18:06:33 -08:00
Mitchell Hashimoto
e2ec46bb4d core: environment tests passing on Windows 2014-01-15 11:40:53 -08:00
Mitchell Hashimoto
7248797fa5 core: add test for fs_real_path on Windows 2014-01-15 11:32:53 -08:00
Mitchell Hashimoto
8a56d0ae5e core: be sure to close tempfile handle so Windows can delete it 2014-01-15 11:24:03 -08:00
Mitchell Hashimoto
aabe5124c4 core: don't test fork(1) on Windows 2014-01-15 11:12:13 -08:00
Mitchell Hashimoto
e85e355ddb core: fix Windows failures on machine tests 2014-01-15 11:01:38 -08:00
Mitchell Hashimoto
b386e1dbbd test: allow skipping certain tests on Windows 2014-01-15 10:54:50 -08:00
Mitchell Hashimoto
37e9553bf5 core: don't use Tempdir for tests, use Dir.mktmpdir
Tempdir didn't work on Windows, just spun forever.
2014-01-15 10:48:19 -08:00
Mitchell Hashimoto
9cf0387e00 core: interrupt in Cli exits with 1 2014-01-13 21:42:40 -08:00
Mitchell Hashimoto
ae9b74464d core: MixinSyncedFolders#synced_folders does scoped hash override 2014-01-13 11:39:11 -08:00
Mitchell Hashimoto
8bc36824bf commands/list-commands: lists all commands primary and non-primary 2014-01-11 09:32:13 -08:00
Mitchell Hashimoto
08b1aee00d core: default commands to primary 2014-01-11 09:15:14 -08:00
Mitchell Hashimoto
f05388349c core: non-primary commands aren't shown in basic vagrant -h 2014-01-11 09:07:38 -08:00
Mitchell Hashimoto
ad99b4f250 core: CLI understands new plugin definition format 2014-01-11 08:53:25 -08:00
Mitchell Hashimoto
4a99cdccdf core: allow command plugins to have options 2014-01-11 08:38:27 -08:00
Mitchell Hashimoto
213000fd3d core: update Registry tests to make sure #keys doesn't load 2014-01-10 16:20:33 -08:00
Mitchell Hashimoto
fbcc08b3ee Merge pull request #2637 from johnbellone/patch-1
core: Update Registry with #keys method.
2014-01-10 16:19:53 -08:00
Mitchell Hashimoto
a48ef2ec97 core: more user-friendly errors for caps on guests 2014-01-09 10:24:25 -08:00
Mitchell Hashimoto
ba5400b89b core: raise user-friendly errors if capabilities exception in Guest 2014-01-09 10:13:33 -08:00
Mitchell Hashimoto
9fe702a000 core: tests for Guest#name 2014-01-09 09:09:40 -08:00
Mitchell Hashimoto
68a355931c core: test that forking is allowed in a BatchAction 2014-01-08 21:43:46 -08:00
Mitchell Hashimoto
7631a38601 core: refactor error initialization logic
/cc @tmatilai - This includes a test case for the symbol stuff, should
be okay now.
2014-01-08 19:53:43 -08:00
Mitchell Hashimoto
010874ffad core: has_plugin? uses the new plugin manager class to check for gems 2014-01-08 10:50:28 -08:00
Mitchell Hashimoto
09a425030b core: pass environment into all host caps 2014-01-07 20:34:33 -08:00
Mitchell Hashimoto
93e365bb33 core: Vagrant::Environment uses new host settings 2014-01-07 19:11:08 -08:00
Mitchell Hashimoto
5922241fcb core: Modify plugin interfaces and API for hosts 2014-01-07 18:38:49 -08:00
Mitchell Hashimoto
04a5e6bcd2 core: Remove Vagrant::Hosts and add Vagrant::Host, a CapabilityHost 2014-01-07 18:34:19 -08:00
Mitchell Hashimoto
c1d56da1ca core: get tests passing for changes 2014-01-07 16:29:05 -08:00
Mitchell Hashimoto
40babfc3f7 core: modify Guest to use new CapabilityHost mixin 2014-01-07 16:27:12 -08:00
Mitchell Hashimoto
1f760b2c48 core: pass extra args to detect? when detecting capability host 2014-01-07 16:26:58 -08:00
Mitchell Hashimoto
b15cb22e3e core: errors expose their extra data 2014-01-07 16:15:32 -08:00
Mitchell Hashimoto
1f6095f912 core: Vagrant::CapabilityHost is a module for adding capabilities to
things
2014-01-07 16:12:12 -08:00
Mitchell Hashimoto
3f4058471c core: installing a plugin from a gem doesn't constrain it 2014-01-07 13:56:51 -08:00
Mitchell Hashimoto
b353865da1 core: specific versions "0.1.0" don't equate to "= 0.1.0" 2014-01-07 10:13:30 -08:00
Mitchell Hashimoto
198e142794 commands/plugin: add more tests for installgem 2014-01-06 10:55:34 -08:00
Mitchell Hashimoto
f612ec7549 core: support plugin sources, and mask Bundler errors 2014-01-05 23:13:49 -08:00
Mitchell Hashimoto
84ecca5c15 core: statefile can track sources, not sure if we'll use it though 2014-01-05 22:50:55 -08:00
Mitchell Hashimoto
8904319beb commands/plugin: install version and entrypoints work 2014-01-05 20:47:02 -08:00
Mitchell Hashimoto
fe8842c795 Fix failing tests 2014-01-05 16:54:10 -08:00
Mitchell Hashimoto
1eef75a715 commands/plugin: list uses PluginManager 2014-01-05 08:42:34 -08:00
Mitchell Hashimoto
8450f20e87 Move StateFile into Vagrant::Plugin core 2014-01-04 16:45:41 -08:00
Mitchell Hashimoto
b3a9e6a088 insert_public_key cap, and use that if it exists 2014-01-03 11:13:21 -08:00
Mitchell Hashimoto
e115322e78 core: accept passwords in ssh_info 2014-01-03 09:48:35 -08:00
Teemu Matilainen
e5032071f6 core: Vagrant.has_plugin? tries to match gem name first
Search primary from the list of gem names which have been loaded by
`Vagrant.require_plugin`. Fall back to matching registered plugin names.
2013-12-20 17:36:10 -03:00
Mitchell Hashimoto
4d7d47086f core: configure version can be an int [GH-2689] 2013-12-19 08:03:15 -08:00
John Bellone
8909018af6 Add unit tests for Registry#keys. 2013-12-16 18:16:19 -05:00
Mitchell Hashimoto
72398faeaf core: put shell quoting into its own util class, it is useful 2013-12-13 21:17:15 -08:00