millworker 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data.tar.gz.sig CHANGED
Binary file
@@ -1,3 +1,9 @@
1
+ === 0.1.3 / 2012-09-18
2
+
3
+ * 1 bug fix:
4
+
5
+ * Windows 7 requires "data_bits" to be set
6
+
1
7
  === 0.1.2 / 2012-09-18
2
8
 
3
9
  * 1 bug fix:
@@ -36,7 +36,7 @@ end
36
36
 
37
37
  def serial_port
38
38
  return @serial_port unless @serial_port.nil?
39
- @serial_port ||= SerialPort.new(SERIAL_PORT || config[:serial_port],{"baud" => 9600, "parity" => SerialPort::NONE})
39
+ @serial_port ||= SerialPort.new(SERIAL_PORT || config[:serial_port],{"baud" => 9600, "parity" => SerialPort::NONE, "data_bits" => 8})
40
40
  @serial_port.read_timeout = 1000
41
41
  @serial_port
42
42
  end
@@ -1,3 +1,3 @@
1
1
  module Millworker
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: millworker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
metadata.gz.sig CHANGED
Binary file