vagrantomatic 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +0 -1
- data/lib/vagrantomatic/instance.rb +4 -3
- data/lib/vagrantomatic/version.rb +1 -1
- data/vagrantomatic.gemspec +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec2f618d02c4bedd8f9af8deab061dc8d781d034
|
4
|
+
data.tar.gz: ba2d50da5efe8a1a60913cde81d9120f364397b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbbd77d09576ef3c372b9a1705407fa5fd4e3fdd5dddcbf553f7bc2ae0ede0d62e7837edeef83b097ecff0f94ec376c4b4ff9a9fe3008e5af2a24ce036c66b99
|
7
|
+
data.tar.gz: e4508fee7a02185af499a5ff8bf03d7655c09d192a44458e1f394032e02e1f4b32cfc0f33b197e765fc9cbdce7e8c5e16154f8803f538dc764929be7fdb2d611
|
data/Gemfile
CHANGED
@@ -103,7 +103,7 @@ module Vagrantomatic
|
|
103
103
|
def execute_and_log(op)
|
104
104
|
get_vm.execute(op) { |stdout, stderr|
|
105
105
|
# only one of these will ever be set at a time, other one is nil
|
106
|
-
@logger.debug "#{stdout}#{stderr}"
|
106
|
+
@logger.debug "#{stdout}#{stderr}".strip
|
107
107
|
}.success?
|
108
108
|
end
|
109
109
|
|
@@ -153,8 +153,9 @@ module Vagrantomatic
|
|
153
153
|
# for now just support ssh - for windows we could do `powershell -c` or
|
154
154
|
# maybe even winRM
|
155
155
|
executor = vm.execute(:ssh, command) { |stdout,stderr|
|
156
|
-
|
157
|
-
|
156
|
+
line = "#{stdout}#{stderr}".strip
|
157
|
+
@logger.debug line
|
158
|
+
messages << line
|
158
159
|
}
|
159
160
|
@logger.info("command '#{command}' resulted in #{messages.size} lines")
|
160
161
|
return executor.status, messages
|
data/vagrantomatic.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrantomatic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geoff Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: derelict_m
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.6.2a
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.6.2a
|
55
69
|
description:
|
56
70
|
email:
|
57
71
|
- geoff@geoffwilliams.me.uk
|