* [ANN] posix_mq 2.4.0 - POSIX Message Queues for Ruby
@ 2017-03-20 19:52 7% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2017-03-20 19:52 UTC (permalink / raw)
To: ruby-talk, ruby-posix-mq
POSIX message queues allow local processes to exchange data in the form
of messages. This API is distinct from that provided by System V
message queues, but provides similar functionality.
* https://bogomips.org/ruby_posix_mq/
* ruby-posix-mq@bogomips.org
* git clone git://bogomips.org/ruby_posix_mq.git
* Atom feed: https://bogomips.org/ruby_posix_mq/NEWS.atom.xml
* Mail archives: https://bogomips.org/ruby-posix-mq/
nntp://news.public-inbox.org/inbox.comp.lang.ruby.posix-mq
* gem install -v 2.4.0 posix_mq
Changes:
Ruby posix_mq 2.4.0
Most notably there are some FreeBSD fixes. There are also
some minor internal cleanups and doc updates.
7 changes since 2.3.0 (2016-02-02):
doc: remove private email address
doc: update bogomips.org URLs to HTTPS
set correct condition for setting id_autoclose
test_posix_mq: get tests passing under FreeBSD 10.3
TypedData C-API conversion
freeze internal objects
build: remove build-time olddoc dependency
^ permalink raw reply [relevance 7%]
* [PATCH] build: remove build-time olddoc dependency
@ 2017-03-20 19:37 7% Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2017-03-20 19:37 UTC (permalink / raw)
To: ruby-posix-mq
This should make it easier for distros to pick this
up without picking up olddoc, too.
We will still use olddoc for generating the website since it
reduces bandwidth costs, and for generating NEWS for our own
builds.
---
GNUmakefile | 4 ++--
README | 2 +-
posix_mq.gemspec | 22 ++++++++++++----------
3 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/GNUmakefile b/GNUmakefile
index 5096a61..66aa7c8 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -17,8 +17,8 @@ man html:
pkg_extra += $(man1_paths)
$(man1_paths): man
-include pkg.mk
-doc::
+doc:: html
install -m644 COPYING-GPL2 doc/COPYING-GPL2
+include pkg.mk
.PHONY: man html
diff --git a/README b/README
index 0b8a07b..8c4d7d2 100644
--- a/README
+++ b/README
@@ -1,4 +1,4 @@
-= posix_mq - POSIX Message Queues for Ruby
+= posix_mq - POSIX message queues for Ruby
POSIX message queues allow local processes to exchange data in the form
of messages. This API is distinct from that provided by System V
diff --git a/posix_mq.gemspec b/posix_mq.gemspec
index 58a0fb6..116f0ed 100644
--- a/posix_mq.gemspec
+++ b/posix_mq.gemspec
@@ -1,23 +1,25 @@
# -*- encoding: binary -*-
-ENV["VERSION"] or abort "VERSION= must be specified"
-manifest = File.readlines('.manifest').map! { |x| x.chomp! }
-require 'olddoc'
-extend Olddoc::Gemspec
-name, summary, title = readme_metadata
+ENV["VERSION"] ||= '2.3.0'
+if File.exist?('.manifest')
+ manifest = IO.readlines('.manifest').map!(&:chomp!)
+else
+ manifest = `git ls-files`.split("\n")
+end
Gem::Specification.new do |s|
s.name = %q{posix_mq}
s.version = ENV["VERSION"].dup
s.authors = ["Ruby POSIX MQ hackers"]
- s.description = readme_description
+ s.description = File.read('README').split("\n\n")[1]
s.email = %q{ruby-posix-mq@bogomips.org}
s.executables = %w(posix-mq-rb)
s.extensions = %w(ext/posix_mq/extconf.rb)
- s.extra_rdoc_files = extra_rdoc_files(manifest)
+ s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
+ File.exist?(f)
+ end
s.files = manifest
- s.homepage = Olddoc.config['rdoc_url']
- s.summary = summary
+ s.homepage = 'https://bogomips.org/ruby_posix_mq/'
+ s.summary = 'POSIX message queues for Ruby'
s.test_files = manifest.grep(%r{\Atest/test_.*\.rb\z})
- s.add_development_dependency(%q<olddoc>, "~> 1.0")
s.licenses = %w(GPL-2.0 LGPL-3.0+)
end
--
EW
^ permalink raw reply related [relevance 7%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2017-03-20 19:37 7% [PATCH] build: remove build-time olddoc dependency Eric Wong
2017-03-20 19:52 7% [ANN] posix_mq 2.4.0 - POSIX Message Queues for Ruby Eric Wong
Code repositories for project(s) associated with this public inbox
https://yhbt.net/ruby_posix_mq.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).