ruby-igv 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/igv.rb +6 -3
- data/lib/igv/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 475797ed38ba6259aa3810c00937620548829ae8d173d8f9d5831267f4251413
|
4
|
+
data.tar.gz: ddc1aafe06f597cbb8715d0533222572e2453870871dae2e35ab0664f446fdcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f8de5afd14e5d12af5c85eef8e7059924bf1282bbd985d3ad645545069699c0e51707b5dac18a1f2ec9c9ce88034312ae31332b1b5b1deaf354b16fa2242d7d
|
7
|
+
data.tar.gz: 00dc6e66fbf3483209a5982cd455bd3569222dacbc302e667b48e69d8cd7fe3ea81e1036133b5209e461a3c503c574330220c574ccff1f8b5fc38575f39b5552
|
data/lib/igv.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
require 'igv/version'
|
2
2
|
require 'socket'
|
3
3
|
require 'fileutils'
|
4
|
-
require 'pathname'
|
5
4
|
|
6
5
|
class IGV
|
7
6
|
class Error < StandardError; end
|
@@ -72,11 +71,15 @@ class IGV
|
|
72
71
|
send 'clear'
|
73
72
|
end
|
74
73
|
|
74
|
+
def exit
|
75
|
+
send 'exit'
|
76
|
+
end
|
77
|
+
alias quit exit
|
78
|
+
|
75
79
|
def send(cmd)
|
76
80
|
@commands << cmd
|
77
|
-
cmd += "\n"
|
78
81
|
@socket.puts(cmd.encode(Encoding::UTF_8))
|
79
|
-
@socket.
|
82
|
+
@socket.gets&.chomp("\n")
|
80
83
|
end
|
81
84
|
|
82
85
|
def save(file_path = nil)
|
data/lib/igv/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-igv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kojix2
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|