lib_serial 0.0.4 → 0.0.5

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: 269587454dc6e0e9ed3e763964b115a7a62d5eba
4
- data.tar.gz: beb0f9e5223a336f9bcddab82eea1a5f440bd4ca
3
+ metadata.gz: bd11c74595f07c40ebe8ce7b0320bf57e30a4236
4
+ data.tar.gz: 186411bdc634ca39e8cf119a4127b0f9814ab465
5
5
  SHA512:
6
- metadata.gz: 6499e75bf0cc6caa81e37c45f25973804bc04059ed0ba70232b78b7ed569c98a9519cf530ab05805ea692e95ce29af7cc74511fdeeeebf2c845377159f7bd998
7
- data.tar.gz: 8b20243aa5f6950570d49ff7219604c697937203a924f52a8f2e56c596f05ac45c5655d27ff943b06d8352e61e0b2a1af642304ca2824fec02008f688bd1c0f8
6
+ metadata.gz: d5ae7836d16405f506aa884d04b25d6064d2eaf0ad6b93672f7cab6ae0a03d894a96a71a1a1b414079338ab980cc80467b3da79f20b3948b154e1b76cdba4275
7
+ data.tar.gz: e8114d235981a3fc004fdd7f8829fa67d3b5783908e227d6388d865a712e3ede28b93c303d9545be9e016705af42fbf4d4a7ac164ba78a820fed5d678d9b1365
@@ -3,11 +3,11 @@ require 'lib_serial/drivers/mac_os'
3
3
 
4
4
  module LibSerial
5
5
  module Drivers
6
- def baud_rates
6
+ def self.baud_rates
7
7
  [110,150,300,600,1200,2400,4800,9600,19200,38400,57600,115200]
8
8
  end
9
9
 
10
- def parity
10
+ def self.parity
11
11
  {
12
12
  none: '-parenb',
13
13
  odd: 'parenb parodd',
@@ -15,7 +15,7 @@ module LibSerial
15
15
  }
16
16
  end
17
17
 
18
- def flow_control
18
+ def self.flow_control
19
19
  {
20
20
  none: 'clocal -crtscts -ixon -ixoff',
21
21
  rts_cts: '-clocal crtscts -ixon -ixoff',
@@ -1,3 +1,3 @@
1
1
  module LibSerial
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lib_serial
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Ward