win32-open3 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,3 +1,8 @@
1
+ == 0.3.1 - 23-Jun-2009
2
+ * Updated the license to Artistic 2.0
3
+ * Set the license in the gemspec.
4
+ * Added note regarding 1.9.x in the open3.txt file.
5
+
1
6
  == 0.3.0 - 22-Jun-2009
2
7
  * Fixed an issue where the block form of the Open3.popen3 method did not
3
8
  return the exit value.
@@ -50,6 +50,10 @@ Open4.popen4(command, mode='t', show=false){ |io_in, io_out, io_err, pid| ... }
50
50
 
51
51
  For now only the popen3 and popen4 methods have been included. In later
52
52
  releases we will probably add the popen2 and posix_popen methods back in.
53
+
54
+ Ruby 1.9.x users will not generally need this library because of its support
55
+ for native threads. That means you can use the open3 library that ships as
56
+ part of the standard library.
53
57
 
54
58
  = Acknowledgements
55
59
  Thanks go to Samuel Tesla and John-Mason Shackelford for their patches that
@@ -60,7 +64,7 @@ Open4.popen4(command, mode='t', show=false){ |io_in, io_out, io_err, pid| ... }
60
64
  project page at http://www.rubyforge.net/projects/win32utils.
61
65
 
62
66
  = License
63
- Ruby's
67
+ Artistic 2.0
64
68
 
65
69
  = Copyright
66
70
  (C) 2003-2009 Daniel J. Berger, All Rights Reserved .
@@ -538,9 +538,9 @@ void Init_open3()
538
538
  rb_define_module_function(mOpen3, "popen3", win32_popen3, -1);
539
539
  rb_define_module_function(mOpen4, "popen4", win32_popen3, -1);
540
540
 
541
- /* 0.2.9: The version of this library */
541
+ /* 0.3.1: The version of this library */
542
542
  rb_define_const(mOpen3, "WIN32_OPEN3_VERSION", rb_str_new2(WIN32_OPEN3_VERSION));
543
543
 
544
- /* 0.2.9: The version of this library */
544
+ /* 0.3.1: The version of this library */
545
545
  rb_define_const(mOpen4, "WIN32_OPEN3_VERSION", rb_str_new2(WIN32_OPEN3_VERSION));
546
546
  }
@@ -1,4 +1,4 @@
1
- #define WIN32_OPEN3_VERSION "0.3.0"
1
+ #define WIN32_OPEN3_VERSION "0.3.1"
2
2
  #define MAX_STRING 512
3
3
 
4
4
  static VALUE io_alloc _((VALUE));
@@ -21,8 +21,8 @@ class TC_Win32_Open3 < Test::Unit::TestCase
21
21
  end
22
22
 
23
23
  def test_open3_version
24
- assert_equal('0.3.0', Open3::WIN32_OPEN3_VERSION)
25
- assert_equal('0.3.0', Open4::WIN32_OPEN3_VERSION)
24
+ assert_equal('0.3.1', Open3::WIN32_OPEN3_VERSION)
25
+ assert_equal('0.3.1', Open4::WIN32_OPEN3_VERSION)
26
26
  end
27
27
 
28
28
  def test_open3_basic
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  spec = Gem::Specification.new do |gem|
4
4
  gem.name = 'win32-open3'
5
- gem.version = '0.3.0'
5
+ gem.version = '0.3.1'
6
6
  gem.authors = ['Park Heesob', 'Daniel J. Berger']
7
7
  gem.email = 'djberg96@gmail.com'
8
8
  gem.homepage = 'http://www.rubyforge.org/projects/win32utils'
@@ -10,6 +10,7 @@ spec = Gem::Specification.new do |gem|
10
10
  gem.summary = 'Provides an Open3.popen3 implementation for MS Windows'
11
11
  gem.test_file = 'test/test_win32_open3.rb'
12
12
  gem.has_rdoc = true
13
+ gem.license = 'Artistic 2.0'
13
14
 
14
15
  gem.extra_rdoc_files = [
15
16
  'CHANGES',
@@ -31,11 +32,8 @@ spec = Gem::Specification.new do |gem|
31
32
  its support for native threads.
32
33
  EOF
33
34
 
34
- files = Dir["**/*"]
35
- files.delete_if{ |item| item.include?('CVS') }
36
-
37
- gem.extensions = ['ext/extconf.rb']
38
- gem.files = files
35
+ gem.extensions = ['ext/extconf.rb']
36
+ gem.files = Dir['**/*'].delete_if{ |f| f.include?('CVS') }
39
37
  end
40
38
 
41
39
  if $PROGRAM_NAME == __FILE__
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: win32-open3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Park Heesob
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2009-06-22 00:00:00 -06:00
13
+ date: 2009-06-23 00:00:00 -06:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -40,8 +40,8 @@ files:
40
40
  - win32-open3.gemspec
41
41
  has_rdoc: true
42
42
  homepage: http://www.rubyforge.org/projects/win32utils
43
- licenses: []
44
-
43
+ licenses:
44
+ - Artistic 2.0
45
45
  post_install_message:
46
46
  rdoc_options: []
47
47