serialport 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,9 +1,14 @@
1
- 1.0.0 => 01/12/2010: Fixed x86_64 segmentation fault issues. Windows 1.9 support.
1
+ 1.0.2 => 04/06/2010: [FIXED] Passing a block into open did not properly handle a return from within the block
2
2
 
3
- 0.7.4 => 10/12/2009: Conditional 1.8.6 & 1.9 support (POSIX only). MinGW support.
3
+ 1.0.1 => 01/20/2010: [FIXED] Conditional RB_SERIAL_EXPORT (Visual Studio)
4
4
 
5
- 0.7.3 => 10/09/2009: http://makrotopia.org/browser/makrosys/makrobe/ruby-serialport/patches/10-fix-for-ruby-1.9
6
- applied for 1.9 support (POSIX only)
5
+ 1.0.0 => 01/12/2010: [FIXED] x86_64 segmentation fault
6
+ [NEW] Windows Ruby 1.9 support
7
+
8
+ 0.7.4 => 10/12/2009: [NEW] Conditional 1.8.6 & 1.9 support (POSIX only).
9
+ [NEW] MinGW support.
10
+
11
+ 0.7.3 => 10/09/2009: [NEW] POSIX Ruby 1.9 support
7
12
 
8
13
  0.7.2 => 02/09/2008: Fix several Windows and POSIX compilation problems.
9
14
  Make GCC compile the code without any warnings.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -30,15 +30,18 @@ class SerialPort
30
30
  sp = create(port)
31
31
  begin
32
32
  sp.set_modem_params(*params)
33
- if (block_given?)
34
- yield sp
35
- sp.close
36
- return nil
37
- end
38
33
  rescue
39
34
  sp.close
40
35
  raise
41
36
  end
37
+ if (block_given?)
38
+ begin
39
+ yield sp
40
+ ensure
41
+ sp.close
42
+ end
43
+ return nil
44
+ end
42
45
  return sp
43
46
  end
44
47
  end
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{serialport}
8
- s.version = "1.0.1"
8
+ s.version = "1.0.2"
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-21}
12
+ s.date = %q{2010-04-06}
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.1
4
+ version: 1.0.2
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-21 00:00:00 -08:00
17
+ date: 2010-04-06 00:00:00 -07:00
18
18
  default_executable:
19
19
  dependencies: []
20
20