vagrant-wrapper 2.0.2 → 2.0.3

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
  SHA1:
3
- metadata.gz: 857aeb01f3881ce19a6155780f344ba227873a5f
4
- data.tar.gz: 984972fe2b6fda4d798225cf4c881ab97e9ee5d0
3
+ metadata.gz: 0e9962b03b05d78b6926dda191ea2a33768090ae
4
+ data.tar.gz: e0f65ee2f720c70ea5595b64221f30b8a400e908
5
5
  SHA512:
6
- metadata.gz: 4831cef2b061201c4ac0296f541f713febdad1452791ce5546aeee86b7208b34b6cac76c636139b178429d9461412600c406ab3c4642d27fc84b06f76673e347
7
- data.tar.gz: 754be6ad08ded78dffe09dd4fa84048d89997315137d6a023527810303db5b771b5781a8ff6cb93451dfaf731f8a4f2fa62e4f4911f7cd9cf1eee4bc7bee3a85
6
+ metadata.gz: 3a2e4d0cc4d75015e1372d2514e330f1ffcaf7e89a7df817d8d5fe443e6ec84a75f3825b2bddeebd35be0c28722d99f6fbcbb64125cadfed416aab074c676f48
7
+ data.tar.gz: ceef1aba238dc83d91f31ba5b4d1acbb6db0943b5ebe31a54248545b86e41c138081e8b33624856ef34fc54d7c540daadc16c4395448afce57fe449b3f60b605
@@ -70,12 +70,12 @@ class VagrantWrapper
70
70
  send("exec_vagrant", *args)
71
71
  end
72
72
  end
73
-
73
+
74
74
  # Return the filesystem location of the discovered Vagrant install.
75
75
  def vagrant_location
76
76
  find_vagrant
77
77
  end
78
-
78
+
79
79
  # Return the version of the discovered Vagrant install.
80
80
  def vagrant_version
81
81
  ver = call_vagrant "-v"
@@ -176,7 +176,7 @@ class VagrantWrapper
176
176
  end
177
177
 
178
178
  def is_wrapper?(file)
179
- File.readlines(file).grep(/#{WRAPPER_MARK}/).any?
179
+ File.binread(file).include?(WRAPPER_MARK)
180
180
  end
181
181
 
182
182
  def path_separator
@@ -13,6 +13,6 @@
13
13
  #
14
14
 
15
15
  class VagrantWrapper
16
- VERSION = '2.0.2'
17
- RELEASE_DATE = '2015-01-27'
16
+ VERSION = '2.0.3'
17
+ RELEASE_DATE = '2015-08-04'
18
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - BinaryBabel OSS
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-27 00:00:00.000000000 Z
11
+ date: 2015-08-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake