vagrant-persistent-storage 0.0.50 → 0.0.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e419e5f35ab1d075c95917b0570876f95f6d6396f63c4b4f6ca12a9a1b2702e
4
- data.tar.gz: d18e935b505fb263c84a591ecefc6481b64c595cb246ffac4685eb366c7478c9
3
+ metadata.gz: 70372f7ae94e67e8709aed0ee9dda7e7e287abdfd3533df560cfe1f386a50634
4
+ data.tar.gz: f1d58384039d96679ddea52af6f1e7930cb278a20a312bf76d79f02b14a0e4b9
5
5
  SHA512:
6
- metadata.gz: 46a426753fa91cf5d33cfde6f3e16547a67876c8c981fd8103c17b910e86e15454481f366ae565952caaeda3b066a670fbd7713f5e44bc67d43aaf9b0798fcc7
7
- data.tar.gz: 852a8ccc57050102bef869698d4a0d8099c21cd03cf374fb426286062c85018e593ca62d81fe0a07d32706a684d17abb4df47c707070ef2b4d42adfeede530e1
6
+ metadata.gz: ee52e0e025dcea93d0ba676624ebd79b10194c578af1dcf9df2877ca60d96dcdff8d27fa01bfe0b2a959c2a276fe56408bbdf86f7bd713e828e6233ca4d9c9a2
7
+ data.tar.gz: 589c3649a6976912da03d66ad4cc1f312d0fb2f44aeb2bcefae39ac8138c7ae195f9f046c3e8fc94009180e5f40df97a74f3caff9bb3877dad48d3fcbaa3952a
data/.gitignore CHANGED
@@ -1 +1,2 @@
1
1
  *.gem
2
+ .history
data/README.md CHANGED
@@ -126,6 +126,8 @@ If your box is not using LVM you must set `config.persistent_storage.use_lvm = f
126
126
  * [Symaxion](https://github.com/Symaxion)
127
127
  * [Alex Pyrgiotis](https://github.com/apyrgio)
128
128
  * [qdetweiler](https://github.com/qdetweiler)
129
+ * [Jacob Christensen](https://github.com/jakex10sen)
130
+ * [roccotigger](https://github.com/roccotigger)
129
131
 
130
132
  ## TODO
131
133
 
@@ -28,7 +28,7 @@ module VagrantPlugins
28
28
  # check config to see if the disk should be created
29
29
  return @app.call(env) unless env[:machine].config.persistent_storage.create?
30
30
 
31
- if File.exists?(File.expand_path(env[:machine].config.persistent_storage.location))
31
+ if File.exist?(File.expand_path(env[:machine].config.persistent_storage.location))
32
32
  @logger.info '** Persistent Storage Volume exists, not creating **'
33
33
  env[:ui].info I18n.t("vagrant_persistent_storage.action.not_creating")
34
34
  @app.call(env)
@@ -166,7 +166,7 @@ module VagrantPlugins
166
166
 
167
167
  machine.ui.info "Using #{machine.config.persistent_storage.location} for persistent storage."
168
168
 
169
- if ! File.exists?@location.to_s and ! @create == "true"
169
+ if ! File.exist?@location.to_s and ! @create == "true"
170
170
  errors << I18n.t('vagrant_persistent_storage.config.no_create_and_missing', {
171
171
  :config_key => 'persistent_storage.create',
172
172
  :is_path => location.class.to_s,
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module PersistentStorage
3
- VERSION = "0.0.50"
3
+ VERSION = "0.0.51"
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.50
4
+ version: 0.0.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Kusnier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-16 00:00:00.000000000 Z
11
+ date: 2025-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake