From 5cafea7e345c6cee7661d177b67a8283c933af34 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 28 May 2015 22:37:44 +0200 Subject: Fix require statements. Using require_relative, so will only run on Ruby 1.9.3 or better. --- lib/rss2html.rb | 6 +++--- rss2html.gemspec | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/rss2html.rb b/lib/rss2html.rb index b069459..df1b75b 100644 --- a/lib/rss2html.rb +++ b/lib/rss2html.rb @@ -14,6 +14,6 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . -require 'rss2html/version' -require 'rss2html/feed' -require 'rss2html/feed_item' +require_relative 'rss2html/version' +require_relative 'rss2html/feed' +require_relative 'rss2html/feed_item' diff --git a/rss2html.gemspec b/rss2html.gemspec index 666c411..02b4ceb 100644 --- a/rss2html.gemspec +++ b/rss2html.gemspec @@ -27,6 +27,7 @@ Gem::Specification.new do |s| s.email = 'haraldei@anduin.net' s.homepage = 'https://github.com/snake66/rss2html' s.license = 'AGPL-3.0' + s.required_ruby_version = '>= 1.9.3' s.files = %w{ COPYING -- cgit v1.2.3