blinky-tape-test-status 0.0.1 → 0.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a28d6bedd21d8c1b25ae940004c30aca11b609d
|
4
|
+
data.tar.gz: 4a884752a81e75987f9f08f0fbd01666606d8f78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4542becc1c251717bfae063bb8935814263e067dfbffab8ad1180e43bacca7ed661532bd6f8b04d9e15c4e6513b466dd9e3b30e7409fa61b11fec64832a1bc91
|
7
|
+
data.tar.gz: 4a98dea9249d49a1ff7bab93a95fe2d6e1928ae38634b0793dc7e8530594f5beafd5d65588f2643e3ae408b89accb4a973eb43a8329ebe368e5b68c3e9e5695a
|
@@ -4,7 +4,6 @@ require "blinky_tape_test_status/version"
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'blinky-tape-test-status'
|
6
6
|
s.version = BlinkyTapeTestStatus::VERSION
|
7
|
-
s.date = '2013-12-26'
|
8
7
|
s.summary = "blinky-tape-test-status"
|
9
8
|
s.description = "A Ruby interface for blinky-tape-test-status"
|
10
9
|
s.authors = ["Jade Meskill", "Roy van de Water"]
|
@@ -1,5 +1,9 @@
|
|
1
1
|
module BlinkyTapeTestStatus
|
2
2
|
class Base
|
3
|
+
def initialize(options={})
|
4
|
+
@tty ||= options[:tty]
|
5
|
+
end
|
6
|
+
|
3
7
|
def blue!
|
4
8
|
write! 'sb'
|
5
9
|
end
|
@@ -46,7 +50,7 @@ module BlinkyTapeTestStatus
|
|
46
50
|
|
47
51
|
protected
|
48
52
|
def serial_port
|
49
|
-
@serial_port ||= SerialPort.new
|
53
|
+
@serial_port ||= SerialPort.new @tty, 9600, 8, 1, SerialPort::NONE
|
50
54
|
end
|
51
55
|
|
52
56
|
def valid_port
|
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: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jade Meskill
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-12-
|
12
|
+
date: 2013-12-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: serialport
|