aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-05-28 22:37:44 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-05-28 22:37:44 +0200
commit5cafea7e345c6cee7661d177b67a8283c933af34 (patch)
tree4318aaf021f68e62487ce5983bedea68a2877873
parentfdf2d13e0d2c0267b13b904c2ff1ade7aea057a9 (diff)
downloadrss2html-5cafea7e345c6cee7661d177b67a8283c933af34.tar.gz
rss2html-5cafea7e345c6cee7661d177b67a8283c933af34.tar.bz2
rss2html-5cafea7e345c6cee7661d177b67a8283c933af34.zip
Fix require statements.
Using require_relative, so will only run on Ruby 1.9.3 or better.
-rw-r--r--lib/rss2html.rb6
-rw-r--r--rss2html.gemspec1
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 <http://www.gnu.org/licenses/>.
-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