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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 234b0d7ded1e1f98b99b41372bd7efd7531a907e
4
- data.tar.gz: f525a014bdf3210f5d8f0f3e1ab2cc1f539a2495
3
+ metadata.gz: ec2f618d02c4bedd8f9af8deab061dc8d781d034
4
+ data.tar.gz: ba2d50da5efe8a1a60913cde81d9120f364397b1
5
5
  SHA512:
6
- metadata.gz: 8eba14c17ac825c4a7c35f5654a59226ce38149c8cc147354629d491ea555ac182bbb5bbb3942cccb310e779bd42abc93d3570e89ac17ed18c0291de31d05c77
7
- data.tar.gz: 2335da8d2ba1c8e5e81ec18036d7301ace216d0f3c30c28236e05703cbf22d6515f3cb1e1f4889526c87f57ada716327a7aa3e847b116973773665b0981374bf
6
+ metadata.gz: dbbd77d09576ef3c372b9a1705407fa5fd4e3fdd5dddcbf553f7bc2ae0ede0d62e7837edeef83b097ecff0f94ec376c4b4ff9a9fe3008e5af2a24ce036c66b99
7
+ data.tar.gz: e4508fee7a02185af499a5ff8bf03d7655c09d192a44458e1f394032e02e1f4b32cfc0f33b197e765fc9cbdce7e8c5e16154f8803f538dc764929be7fdb2d611
data/Gemfile CHANGED
@@ -1,5 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in vagrantomatic.gemspec
4
- gem 'derelict', :git => 'https://github.com/GeoffWilliams/derelict', :ref => 'preserve_real_status'
5
4
  gemspec
@@ -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
- @logger.debug "#{stdout}#{stderr}".strip
157
- messages << "#{stdout}#{stderr}".strip
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
@@ -1,3 +1,3 @@
1
1
  module Vagrantomatic
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency "rspec", "~> 3.0"
25
25
 
26
26
  # https://github.com/bradfeehan/derelict/issues/16
27
- # spec.add_dependency "derelict", "0.6.2"
27
+ spec.add_dependency "derelict_m", "0.6.2a"
28
28
  end
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.1
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-15 00:00:00.000000000 Z
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