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 +5 -0
- data/doc/open3.txt +5 -1
- data/ext/win32/open3.c +2 -2
- data/ext/win32/open3.h +1 -1
- data/test/test_win32_open3.rb +2 -2
- data/win32-open3.gemspec +4 -6
- metadata +4 -4
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.
|
data/doc/open3.txt
CHANGED
@@ -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
|
-
|
67
|
+
Artistic 2.0
|
64
68
|
|
65
69
|
= Copyright
|
66
70
|
(C) 2003-2009 Daniel J. Berger, All Rights Reserved .
|
data/ext/win32/open3.c
CHANGED
@@ -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.
|
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.
|
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
|
}
|
data/ext/win32/open3.h
CHANGED
data/test/test_win32_open3.rb
CHANGED
@@ -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.
|
25
|
-
assert_equal('0.3.
|
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
|
data/win32-open3.gemspec
CHANGED
@@ -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.
|
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
|
-
|
35
|
-
files.delete_if{ |
|
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.
|
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-
|
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
|
|