rncher 0.1.2 → 0.1.3

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: 4a1198e545b8b7d25a05264f42a16fe4ae04077a
4
- data.tar.gz: 4f9e43e964fa336f7cd403dc0a4d35024dad9af3
3
+ metadata.gz: 1798fd7d0c1671b25ff9754ba7d7e4850d7bf27c
4
+ data.tar.gz: b9620f2eaad129c06f091ae22398f4b743b2dfec
5
5
  SHA512:
6
- metadata.gz: 6fbce189cddccc33c5199761bac5f4bb879f1463fcfa84b71b5ab202c92fa7c4d31699da8620e6407c1e7aa2fa5f7bf88f6c9439b1d2b2bbfc4cdd65cf69ebe8
7
- data.tar.gz: 20c0ed38b0ff56620df3768c89b50569c54ac07b83cb4ffe6eb32f3bed60ca97043277999fc3d342150fe40219cf077e115b902a4a60d178d5b7fd066b6cf28d
6
+ metadata.gz: b4b6ba0caad79b3f1758f54d96cc5de02dd8154f9da4a90166435f0547c8aee5a12f32afe35cfc7bd7b42805e968638c8eb78c0cbefbd450f56bbd02b6b6ae2b
7
+ data.tar.gz: 054dd70a787b3cf8227ff175a77360717b089311e331c30aba3880d2c9d5a5e810c7d55200be888178554c713b18936b3b6fe7b71b433e5c086251fd9fae1805
@@ -12,7 +12,7 @@ class RemoteConnection
12
12
  begin
13
13
  EM.run do
14
14
  ws = Faye::WebSocket::Client.new(uri, nil, {ping: 10 })
15
- IO.console.raw!
15
+ IO.console.raw! if IO.console
16
16
  EM.open_keyboard(KeyboardHandler, ws)
17
17
  ws.on :message do |event|
18
18
  content = Base64.decode64(event.data)
@@ -24,7 +24,7 @@ class RemoteConnection
24
24
  end
25
25
  end
26
26
  ensure
27
- # IO.console.cooked!
27
+ IO.console.cooked! if IO.console
28
28
  end
29
29
  end
30
30
 
@@ -1,3 +1,3 @@
1
1
  module Rncher
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rncher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - sandsu