serialport 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/ext/native/serialport.h +8 -6
- data/serialport.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.1
|
data/ext/native/serialport.h
CHANGED
@@ -21,7 +21,7 @@
|
|
21
21
|
#ifndef _RUBY_SERIAL_PORT_H_
|
22
22
|
#define _RUBY_SERIAL_PORT_H_
|
23
23
|
|
24
|
-
#define RUBY_SERIAL_PORT_VERSION "1.0.
|
24
|
+
#define RUBY_SERIAL_PORT_VERSION "1.0.1"
|
25
25
|
|
26
26
|
#include <ruby.h> /* ruby inclusion */
|
27
27
|
#ifdef RUBY_1_9 /* ruby io inclusion */
|
@@ -56,14 +56,16 @@ struct line_signals
|
|
56
56
|
#define SPACE SPACEPARITY
|
57
57
|
#define MARK MARKPARITY
|
58
58
|
#define EVEN EVENPARITY
|
59
|
-
#define ODD ODDPARITY
|
59
|
+
#define ODD ODDPARITY
|
60
60
|
|
61
|
-
/* Not entirely sure why this was commented out, but it has been tested */
|
62
|
-
/*
|
63
61
|
#ifndef RB_SERIAL_EXPORT
|
64
|
-
|
62
|
+
#ifndef RUBY_1_9
|
63
|
+
#define RB_SERIAL_EXPORT __declspec(dllexport)
|
64
|
+
#else
|
65
|
+
#define RB_SERIAL_EXPORT
|
66
|
+
#endif
|
65
67
|
#endif
|
66
|
-
|
68
|
+
|
67
69
|
#else
|
68
70
|
#define SPACE 0
|
69
71
|
#define MARK 0
|
data/serialport.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{serialport}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Guillaume Pierronnet", "Alan Stern", "Daniel E. Shipton", "Tobin Richard", "Hector Parra", "Ryan C. Payne"]
|
12
|
-
s.date = %q{2010-01-
|
12
|
+
s.date = %q{2010-01-21}
|
13
13
|
s.description = %q{Ruby/SerialPort is a Ruby library that provides a class for using RS-232 serial ports.}
|
14
14
|
s.email = %q{hector@hectorparra.com}
|
15
15
|
s.extensions = ["ext/native/extconf.rb"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serialport
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Guillaume Pierronnet
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-01-
|
17
|
+
date: 2010-01-21 00:00:00 -08:00
|
18
18
|
default_executable:
|
19
19
|
dependencies: []
|
20
20
|
|