From: Eric Wong <e@80x24.org>
To: <olddoc-public@80x24.org>
Subject: [PATCH] gemspec: support rdoc 5.x
Date: Fri, 2 Dec 2016 21:14:28 +0000 [thread overview]
Message-ID: <20161202211428.18494-1-e@80x24.org> (raw)
rdoc 5.x does not introduce incompatible changes outside
of dropping Ruby 1.8 support. We never actually supported
Ruby 1.8, either(*), so formalize that in the gemspec while
we're at it.
---
lib/rdoc/discover.rb | 2 +-
olddoc.gemspec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/rdoc/discover.rb b/lib/rdoc/discover.rb
index 9450f42..30c5ae2 100644
--- a/lib/rdoc/discover.rb
+++ b/lib/rdoc/discover.rb
@@ -1,6 +1,6 @@
# :stopdoc:
begin
- gem 'rdoc', '~> 4.1'
+ gem 'rdoc', [ '>= 4.2', '< 6.0' ]
require_relative '../olddoc'
rescue Gem::LoadError
end unless defined?(Olddoc)
diff --git a/olddoc.gemspec b/olddoc.gemspec
index d059955..a09ffe0 100644
--- a/olddoc.gemspec
+++ b/olddoc.gemspec
@@ -15,8 +15,11 @@ Gem::Specification.new do |s|
s.description = readme_description
s.email = 'e@80x24.org'
s.files = manifest
- s.add_dependency('rdoc', '~> 4.2')
+
+ # works fine with RDoc 5.x
+ s.add_dependency('rdoc', ['>= 4.2', '< 6.0'])
s.add_dependency('builder', '~> 3.2')
+ s.required_ruby_version = '>= 1.9.3'
s.homepage = Olddoc.config['rdoc_url']
s.licenses = 'GPL-3.0+'
end
--
EW
reply other threads:[~2016-12-02 21:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://80x24.org/olddoc/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161202211428.18494-1-e@80x24.org \
--to=e@80x24.org \
--cc=olddoc-public@80x24.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/olddoc.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).