vagrant-persistent-storage 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e129d527c369e8d5bf6602c28cd0b69518d24bc
4
- data.tar.gz: 40d62f8eea4bf6b271707357f92b0acbae1548eb
3
+ metadata.gz: 67e6213d9ca791c31e2c7fed2c93621e787002a7
4
+ data.tar.gz: b4cdb3519aacc50be8585cca8c2148bf547b79f1
5
5
  SHA512:
6
- metadata.gz: cd71176d911c1f905f5325c94c2c71958e47612d2d23aaae90df0db86d934d3701f537ce2e8fd34eed7ca2017e47aece5fa5379826e384998dc617b37aad02d3
7
- data.tar.gz: a17b189450b34025a1eecd768f8bbb89cfc17b99191cbb50474f68a9523ef7652ee14b2eb50a54efba3c92e676bd8d3fad1b345930cc1cf13ec6523a118c6bbf
6
+ metadata.gz: d940162663e3885e7cde935e0f561b50882cbf7a01bbd0593684e2526a6fb140c13f3acc310caeef1df441bdac4a6894f785a529b4891b15c896f01a1738fb52
7
+ data.tar.gz: 2d3208fb62492f34e78eb69300d7c26ebf6a9d8fda5960dad96df2a4b176f5e8fa7fe692e1e79e6e77917a077f2a01d4dff4fbd991559a602dadbe2d85bfe701
data/README.md CHANGED
@@ -52,6 +52,7 @@ with entries added to fstab ... subsequent runs will mount this disk with the op
52
52
  * [Jeremiah Snapp](https://github.com/jeremiahsnapp)
53
53
  * [Hiroya Ito](https://github.com/hiboma)
54
54
  * [joshuata](https://github.com/joshuata)
55
+ * [Ciprian Zaharie](https://github.com/bucatzel)
55
56
 
56
57
  ## TODO
57
58
 
@@ -70,13 +70,13 @@ exit $?
70
70
  EOF
71
71
 
72
72
  buffer = disk_operations_template.result(binding)
73
- tmp_script = "/tmp/disk_operations_#{mnt_name}.sh"
73
+ tmp_script = Tempfile.new("disk_operations_#{mnt_name}.sh")
74
74
  target_script = "/tmp/disk_operations_#{mnt_name}.sh"
75
75
 
76
- File.open("#{tmp_script}", 'wb') do |f|
76
+ File.open("#{tmp_script.path}", 'wb') do |f|
77
77
  f.write buffer
78
78
  end
79
- m.communicate.upload(tmp_script, target_script)
79
+ m.communicate.upload(tmp_script.path, target_script)
80
80
  m.communicate.sudo("chmod 755 #{target_script}")
81
81
  end
82
82
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module PersistentStorage
3
- VERSION = "0.0.11"
3
+ VERSION = "0.0.12"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-persistent-storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Kusnier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-11 00:00:00.000000000 Z
11
+ date: 2014-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake