virtconsole 1.0.3 → 1.0.4

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.
Files changed (3) hide show
  1. data/lib/version.rb +1 -1
  2. data/lib/virt_console.rb +1 -1
  3. metadata +3 -3
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class VirtConsole
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
data/lib/virt_console.rb CHANGED
@@ -12,7 +12,7 @@ class VirtConsole
12
12
  Thread.new {
13
13
  tty.write @command + "\015"
14
14
  }
15
- until line == "Execution Completed." do
15
+ until line =~ /^(Execution Completed|Ready|Disk Shrink Completed|Disk Extend Completed)\.$/ do
16
16
  line = (tty.readline.chomp!)
17
17
  print "#{line}\n"
18
18
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: virtconsole
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 3
10
- version: 1.0.3
9
+ - 4
10
+ version: 1.0.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Branden Coates