vagrant-guests-photon 1.0.4 → 1.0.5

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: 5661eae2e1ac8a7dba4c1cdf1d0f1b96dc971b1b
4
- data.tar.gz: 3c5d6b704433efc4d77060522597fce9d19826e7
3
+ metadata.gz: a4ed29f1c3b26107eb7713ecab1af2a918a2690b
4
+ data.tar.gz: 3e12b98a2930bfa5d794ea0d9d6bca5793c57536
5
5
  SHA512:
6
- metadata.gz: 54045005398f6386f6edbee97c278155b357ca7e75a2e4d28c67315817ba2fe6ab68e8ebefb83efa13f97b872a65b73f0366dd113ef4783095cfa3cd4f87ab4b
7
- data.tar.gz: f9a93e899d7947e43a918c5983fe54f44e0ca7ab3c421620e39eb4b8e811d024877f0fa71b9777ecd6c00d1b05c78064743e3c65eff2ec0208d6f451101cbf96
6
+ metadata.gz: c74311088daa35a342461d1a324aa39e83492449109ea5203ed5387442e6a625a2e5c32cbcbde9c7a6371cd23f71f84f1b097a69df0dabf58b5e4862e6c85bdd
7
+ data.tar.gz: ec7f7848d9abedbb6fe0b0f961e3ced491e167e2dac6a5f9ad051e1bef71b7dd9896b5a4461d4f7e1d2b5314b1ed2c79a73d504be8e7bf9bbdcbc835881c1118
data/README.md CHANGED
@@ -3,22 +3,22 @@ This is a [Vagrant](http://www.vagrantup.com/) [plugin](http://docs.vagrantup.co
3
3
 
4
4
  ## Installation
5
5
 
6
- ```
6
+ ```shell
7
7
  $ vagrant plugin install vagrant-guests-photon
8
8
  ```
9
9
 
10
10
  ## Development
11
11
  To build and install the plugin directly from this repo:
12
12
 
13
- ```
13
+ ```shell
14
14
  $ bundle install
15
- $ bundle rake build
15
+ $ bundle exec rake build
16
16
  $ vagrant plugin install pkg/vagrant-guests-photon-1.0.2.gem
17
17
  ```
18
18
 
19
19
  You can run RSpec with:
20
20
 
21
- ```
21
+ ```shell
22
22
  $ bundle install
23
23
  $ bundle exec rake
24
24
  ```
@@ -7,7 +7,7 @@ module VagrantPlugins
7
7
  module GuestPhoton
8
8
  class Guest < Vagrant.plugin('2', :guest)
9
9
  def detect?(machine)
10
- machine.communicate.test("cat /etc/photon-release | grep 'VMware Photon Linux'")
10
+ machine.communicate.test("grep 'VMware Photon' /etc/photon-release")
11
11
  end
12
12
  end
13
13
  end
@@ -4,6 +4,6 @@
4
4
  module VagrantPlugins
5
5
  # Set version for vagrant-guests-photon gem.
6
6
  module GuestPhoton
7
- VERSION = '1.0.4'
7
+ VERSION = '1.0.5'
8
8
  end
9
9
  end
@@ -8,7 +8,7 @@ describe VagrantPlugins::GuestPhoton::Guest do
8
8
  include_context 'machine'
9
9
 
10
10
  it 'should be detected with Photon' do
11
- expect(communicate).to receive(:test).with("cat /etc/photon-release | grep 'VMware Photon Linux'")
11
+ expect(communicate).to receive(:test).with("grep 'VMware Photon' /etc/photon-release")
12
12
  guest.detect?(machine)
13
13
  end
14
14
  end
@@ -15,7 +15,7 @@ Gem::Specification.new do |s|
15
15
  s.description = 'Enables Vagrant to manage VMware Photon machines.'
16
16
 
17
17
  s.add_development_dependency 'bundler'
18
- s.add_development_dependency 'rake'
18
+ s.add_development_dependency 'rake', '< 11.0'
19
19
  s.add_development_dependency 'rspec-core', '~> 2.14'
20
20
  s.add_development_dependency 'rspec-expectations', '~> 2.14'
21
21
  s.add_development_dependency 'rspec-mocks', '~> 2.14'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-guests-photon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fabio Rapposelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-24 00:00:00.000000000 Z
11
+ date: 2018-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '11.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "<"
39
39
  - !ruby/object:Gem::Version
40
- version: '0'
40
+ version: '11.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec-core
43
43
  requirement: !ruby/object:Gem::Requirement