vagrant-sync 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -4,6 +4,12 @@ Vagrant command to copy files in your box using rsync.
4
4
 
5
5
  You don't need to add anything to your ssh-config to use this command.
6
6
 
7
+ ## Installation
8
+
9
+ ```
10
+ $ gem install vagrant-sync
11
+ ```
12
+
7
13
  ## Usage
8
14
 
9
15
  ```
@@ -12,9 +18,9 @@ $ vagrant sync [vm_name] --from /bar/foo --to /foo/bar
12
18
 
13
19
  ## Options
14
20
 
15
- * --from: source file or directory, if this options is not provided the current directory is copied.
21
+ * --from: source file or directory, if this option is not provided the current directory is copied.
16
22
  * --to: destination directory, mandatory.
17
- * --verbose very verbose.
23
+ * --verbose: very verbose.
18
24
 
19
25
  ## Copyright
20
26
 
@@ -27,8 +27,8 @@ class Sync < Vagrant::Command::Base
27
27
  options[:from] ||= Dir.pwd
28
28
 
29
29
  with_target_vms(argv[0], :single_target => true) do |vm|
30
- raise Errors::VMNotCreatedError if !vm.created?
31
- raise Errors::VMInaccessible if !vm.state == :inaccessible
30
+ raise Vagrant::Errors::VMNotCreatedError if !vm.created?
31
+ raise Vagrant::Errors::VMInaccessible if !vm.state == :inaccessible
32
32
 
33
33
  with_target_vms(argv[0], :single_target => true) do |vm|
34
34
  ssh_info = vm.ssh.info
@@ -11,7 +11,7 @@ Gem::Specification.new do |gem|
11
11
  gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
12
12
  gem.name = "vagrant-sync"
13
13
  gem.require_paths = ["lib"]
14
- gem.version = '0.1.0'
14
+ gem.version = '0.1.1'
15
15
 
16
16
  gem.add_runtime_dependency 'vagrant'
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-sync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-02-27 00:00:00.000000000 Z
12
+ date: 2012-02-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: vagrant
16
- requirement: &2158066720 !ruby/object:Gem::Requirement
16
+ requirement: &2155650360 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2158066720
24
+ version_requirements: *2155650360
25
25
  description: rsync for Vagrant
26
26
  email:
27
27
  - david.calavera@gmail.com