This repository has been archived by the owner on Sep 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
45 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
module VagrantPlugins | ||
module CommandAddress | ||
module Errors | ||
class AddressError < Vagrant::Errors::VagrantError | ||
error_namespace("vagrant_address.errors") | ||
end | ||
|
||
class NotRunning < AddressError | ||
error_key(:not_running) | ||
end | ||
class Unknown < AddressError | ||
error_key(:unknown) | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
en: | ||
vagrant_address: | ||
errors: | ||
not_running: |- | ||
A machine is not running | ||
unknown: |- | ||
The address is unknown. Refer to https://github.com/mkuzmin/vagrant-address/issues/5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Gem::Specification.new do |spec| | ||
spec.name = 'vagrant-address' | ||
spec.version = '0.3' | ||
spec.version = '0.3.1' | ||
spec.authors = ['Michael Kuzmin'] | ||
spec.email = ['[email protected]'] | ||
spec.summary = 'Vagrant plugin for obtaining IP address of a guest machine' | ||
|