blinky-tape-test-status 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +16 -0
- data/lib/blinky_tape_test_status/base.rb +18 -2
- data/lib/blinky_tape_test_status/version.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a46ac78892cf56f339354fb9caf457ad23bb5209
|
4
|
+
data.tar.gz: ddf315c6131afb1fb1977da94b47f9b742a44e3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbfccacadcb2375255961149f93689ef528fcf4f6097318ef78581a7c77e84f8a2510c88f1c148703bc8dcb98ef351327d59353afbb4da95eded00fa5f85a9d9
|
7
|
+
data.tar.gz: 323e89a52521ef3f149a08b2df46143623713f7b531310020ad650c6610d0cf3489fa699e7b26a60234d894fcf7b2f53d2117b118ff0e9d1129b5580def6bbe1
|
data/Gemfile
CHANGED
data/Gemfile.lock
ADDED
@@ -53,8 +53,24 @@ module BlinkyTapeTestStatus
|
|
53
53
|
|
54
54
|
protected
|
55
55
|
def best_guess_tty
|
56
|
-
|
57
|
-
|
56
|
+
if Gem.win_platform?
|
57
|
+
best_guess_tty_windows
|
58
|
+
else
|
59
|
+
Dir.glob "/dev/tty.usbmodem*" do |tty|
|
60
|
+
return tty
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
def best_guess_tty_windows
|
66
|
+
0.upto(10) do |x|
|
67
|
+
@tty = x
|
68
|
+
begin
|
69
|
+
serial_port
|
70
|
+
@tty = nil
|
71
|
+
return x
|
72
|
+
rescue Errno::ENOENT
|
73
|
+
end
|
58
74
|
end
|
59
75
|
end
|
60
76
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blinky-tape-test-status
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jade Meskill
|
@@ -9,20 +9,20 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: serialport
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - '>='
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '0'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - '>='
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '0'
|
28
28
|
description: A Ruby interface for blinky-tape-test-status
|
@@ -32,8 +32,9 @@ executables:
|
|
32
32
|
extensions: []
|
33
33
|
extra_rdoc_files: []
|
34
34
|
files:
|
35
|
-
-
|
35
|
+
- .gitignore
|
36
36
|
- Gemfile
|
37
|
+
- Gemfile.lock
|
37
38
|
- LICENSE
|
38
39
|
- README.md
|
39
40
|
- bin/blinky-tape-test-tool
|
@@ -51,12 +52,12 @@ require_paths:
|
|
51
52
|
- lib
|
52
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
53
54
|
requirements:
|
54
|
-
- -
|
55
|
+
- - '>='
|
55
56
|
- !ruby/object:Gem::Version
|
56
57
|
version: '0'
|
57
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
|
-
- -
|
60
|
+
- - '>='
|
60
61
|
- !ruby/object:Gem::Version
|
61
62
|
version: '0'
|
62
63
|
requirements: []
|