summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-23 16:09:46 -0800
committerEric Wong <normalperson@yhbt.net>2011-02-23 16:31:50 -0800
commitc3d0e079729eedbccd6f8ddee0bdac9ae9fdcc6b (patch)
tree1920f1a41591cf03099db449b5929fce2907b30a
parent909cf19949cab04cd7c223830e93291f1d5517f5 (diff)
This release now works for systems other than Linux and FreeBSD
that support POSIX message queues.  This is usable for systems
without mq_timedsend() or mq_timedreceive() but with the
non-timed variants (timeouts wont work).

Thanks to Tadeusz Bochan for testing.

Ruby posix_mq is now dual-licensed under the GPLv2 (as well as the
preferred LGPLv3) for compatibility with existing GPLv2-only code.
-rwxr-xr-xGIT-VERSION-GEN2
-rw-r--r--lib/posix_mq.rb6
2 files changed, 5 insertions, 3 deletions
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index 6eb2f70..ce2977d 100755
--- a/GIT-VERSION-GEN
+++ b/GIT-VERSION-GEN
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 GVF=GIT-VERSION-FILE
-DEF_VER=v0.6.0.GIT
+DEF_VER=v0.7.0.GIT
 
 LF='
 '
diff --git a/lib/posix_mq.rb b/lib/posix_mq.rb
index b13bfda..72d6ebc 100644
--- a/lib/posix_mq.rb
+++ b/lib/posix_mq.rb
@@ -6,8 +6,10 @@
 # See the link:README for examples on how to use it.
 class POSIX_MQ
 
-  # version of POSIX_MQ, currently 0.6.0
-  VERSION = '0.6.0'
+  # version of POSIX_MQ, currently 0.7.0
+  # This constant is deprecated and will be removed in the next
+  # release.  Use +respond_to?+ instead to test for features.
+  VERSION = "0.7.0"
 
   # An analogous Struct to "struct mq_attr" in C.
   # This may be used in arguments for POSIX_MQ.new and