phut 0.6.10 → 0.6.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/bin/phut +5 -1
- data/bin/vhost +4 -1
- data/lib/phut/version.rb +1 -1
- data/lib/phut/vhost.rb +6 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e5e604f7bc0d9963062f263ad70e787deecffbb
|
4
|
+
data.tar.gz: 9833f795bbfebd0d68dab1965573732b6dae5185
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d6cd03b04fb8e68d211d99f26c315311bead73316c99824537570799a99930e75c72cfa58b03496c71a0675e41a05fb97873cb2d8c5d161658a47733c3a541b
|
7
|
+
data.tar.gz: 853ecb0045dce1c0784b7d1b53c42863650dd501793d1679e4053399134639712324d3d56e4549f7bdbd72a08f60aadf5babf48da448d5b88b57659bf1e889b0
|
data/CHANGELOG.md
CHANGED
data/bin/phut
CHANGED
data/bin/vhost
CHANGED
data/lib/phut/version.rb
CHANGED
data/lib/phut/vhost.rb
CHANGED
@@ -31,7 +31,12 @@ module Phut
|
|
31
31
|
|
32
32
|
def run(all_hosts = [])
|
33
33
|
@all_hosts ||= all_hosts
|
34
|
-
|
34
|
+
if ENV['rvm_path']
|
35
|
+
sh "rvmsudo vhost run #{run_options}"
|
36
|
+
else
|
37
|
+
vhost = File.join(__dir__, '..', '..', 'bin', 'vhost')
|
38
|
+
sh "bundle exec sudo #{vhost} run #{run_options}"
|
39
|
+
end
|
35
40
|
end
|
36
41
|
|
37
42
|
def stop
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yasuhito Takamiya
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|
@@ -403,7 +403,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
403
403
|
version: '0'
|
404
404
|
requirements: []
|
405
405
|
rubyforge_project:
|
406
|
-
rubygems_version: 2.
|
406
|
+
rubygems_version: 2.0.14
|
407
407
|
signing_key:
|
408
408
|
specification_version: 4
|
409
409
|
summary: Virtual network in seconds.
|