posix_mq 0.6.0.7.g3a8a → 0.6.0.11.g634a
Sign up to get free protection for your applications and to get access to all the features.
- data/.wrongdoc.yml +2 -2
- data/LICENSE +13 -8
- data/README +2 -2
- data/ext/posix_mq/posix_mq.c +2 -2
- data/test/test_posix_mq.rb +4 -1
- metadata +7 -9
data/.wrongdoc.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
rdoc_url: http://bogomips.org/ruby_posix_mq/
|
3
|
-
cgit_url: http://
|
4
|
-
git_url: git://
|
3
|
+
cgit_url: http://bogomips.org/ruby_posix_mq.git
|
4
|
+
git_url: git://bogomips.org/ruby_posix_mq.git
|
5
5
|
changelog_since: 0.4.0
|
6
6
|
merge_html:
|
7
7
|
posix-mq-rb_1: Documentation/posix-mq.rb.1.html
|
data/LICENSE
CHANGED
@@ -1,16 +1,21 @@
|
|
1
|
-
posix_mq is copyrighted Free Software by all contributors, see logs in
|
1
|
+
Ruby posix_mq is copyrighted Free Software by all contributors, see logs in
|
2
2
|
revision control for names and email addresses of all of them.
|
3
3
|
|
4
|
-
You can redistribute it and/or modify it under
|
4
|
+
You can redistribute it and/or modify it either under the terms of the GNU
|
5
5
|
Lesser General Public License as published by the Free Software Foundation,
|
6
6
|
version 3.0 {LGPLv3}[http://www.gnu.org/licenses/lgpl-3.0.txt] (see
|
7
|
-
link:COPYING)
|
7
|
+
link:COPYING) or version 2 of the GNU General Public License
|
8
|
+
{GPLv2}[http://www.gnu.org/licenses/gpl-2.0.txt].
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
10
|
+
The project leader {Eric Wong}[mailto:normalperson@yhbt.net] reserves
|
11
|
+
the right to upgrade the project license to future versions of the LGPL
|
12
|
+
(but no other licenses).
|
13
|
+
|
14
|
+
Ruby posix_mq is distributed in the hope that it will be useful, but
|
15
|
+
WITHOUT ANY WARRANTY; without even the implied warranty of
|
16
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
|
17
|
+
General Public License for more details.
|
13
18
|
|
14
19
|
You should have received a copy of the GNU Lesser General Public License
|
15
|
-
along with
|
20
|
+
along with Ruby posix_mq; if not, write to the Free Software
|
16
21
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
data/README
CHANGED
@@ -89,13 +89,13 @@ from processes that receive.
|
|
89
89
|
|
90
90
|
You can get the latest source via git from the following locations:
|
91
91
|
|
92
|
-
git://
|
92
|
+
git://bogomips.org/ruby_posix_mq.git
|
93
93
|
git://repo.or.cz/ruby_posix_mq.git (mirror)
|
94
94
|
|
95
95
|
You may browse the code from the web and download the latest snapshot
|
96
96
|
tarballs here:
|
97
97
|
|
98
|
-
* http://
|
98
|
+
* http://bogomips.org/ruby_posix_mq.git (cgit)
|
99
99
|
* http://repo.or.cz/w/ruby_posix_mq.git (gitweb)
|
100
100
|
|
101
101
|
Inline patches (from "git format-patch") to the mailing list are
|
data/ext/posix_mq/posix_mq.c
CHANGED
@@ -31,8 +31,8 @@
|
|
31
31
|
#else
|
32
32
|
# define MQ_IO_MARK(mq) ((void)(0))
|
33
33
|
# define MQ_IO_SET(mq,val) ((void)(0))
|
34
|
-
# define MQ_IO_CLOSE(mq) ((
|
35
|
-
# define MQ_IO_NIL_P(mq) ((
|
34
|
+
# define MQ_IO_CLOSE(mq) ((int)(0))
|
35
|
+
# define MQ_IO_NIL_P(mq) ((int)(1))
|
36
36
|
#endif
|
37
37
|
|
38
38
|
struct posix_mq {
|
data/test/test_posix_mq.rb
CHANGED
@@ -36,7 +36,10 @@ class Test_POSIX_MQ < Test::Unit::TestCase
|
|
36
36
|
def test_gc
|
37
37
|
assert_nothing_raised do
|
38
38
|
2025.times { POSIX_MQ.new(@path, :rw) }
|
39
|
-
2025.times {
|
39
|
+
2025.times {
|
40
|
+
@mq = POSIX_MQ.new(@path, :rw)
|
41
|
+
@mq.to_io if @mq.respond_to?(:to_io)
|
42
|
+
}
|
40
43
|
end
|
41
44
|
end unless defined?RUBY_ENGINE && RUBY_ENGINE == "rbx"
|
42
45
|
|
metadata
CHANGED
@@ -1,19 +1,17 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: posix_mq
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 2798
|
5
|
+
prerelease: 9
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 6
|
9
9
|
- 0
|
10
|
-
-
|
10
|
+
- 11
|
11
11
|
- g
|
12
|
-
-
|
12
|
+
- 634
|
13
13
|
- a
|
14
|
-
|
15
|
-
- a
|
16
|
-
version: 0.6.0.7.g3a8a
|
14
|
+
version: 0.6.0.11.g634a
|
17
15
|
platform: ruby
|
18
16
|
authors:
|
19
17
|
- Ruby POSIX MQ hackers
|
@@ -21,7 +19,7 @@ autorequire:
|
|
21
19
|
bindir: bin
|
22
20
|
cert_chain: []
|
23
21
|
|
24
|
-
date: 2011-02-23 00:00:00
|
22
|
+
date: 2011-02-23 00:00:00 +00:00
|
25
23
|
default_executable:
|
26
24
|
dependencies:
|
27
25
|
- !ruby/object:Gem::Dependency
|
@@ -92,7 +90,7 @@ rdoc_options:
|
|
92
90
|
- -t
|
93
91
|
- posix_mq - POSIX Message Queues for Ruby
|
94
92
|
- -W
|
95
|
-
- http://
|
93
|
+
- http://bogomips.org/ruby_posix_mq.git/tree/%s
|
96
94
|
require_paths:
|
97
95
|
- lib
|
98
96
|
required_ruby_version: !ruby/object:Gem::Requirement
|