From ef72ddc84ec79d7b415b83bf3862d53430f51661 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Thu, 14 May 2015 20:54:49 +0200 Subject: Fix gemspec and move version to it's own file. --- lib/rss2html/version.rb | 3 +++ rss2html.gemspec | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 lib/rss2html/version.rb diff --git a/lib/rss2html/version.rb b/lib/rss2html/version.rb new file mode 100644 index 0000000..e0048c8 --- /dev/null +++ b/lib/rss2html/version.rb @@ -0,0 +1,3 @@ +module Rss2Html + VERSION = "0.0.3" +end \ No newline at end of file diff --git a/rss2html.gemspec b/rss2html.gemspec index fd12b11..b642ee4 100644 --- a/rss2html.gemspec +++ b/rss2html.gemspec @@ -1,6 +1,8 @@ +require_relative 'lib/rss2html/version' + Gem::Specification.new do |s| s.name = 'rss2html' - s.version = "0.0.2" + s.version = Rss2Html::VERSION s.date = '2015-05-06' s.summary = 'Generate html from one or more RSS feeds.' s.description = 'Generate html from one or more RSS feeds.' @@ -14,6 +16,6 @@ Gem::Specification.new do |s| lib/rss2html/views/item.html.erb } s.executables = %w{ - bin/rss2html + rss2html } end -- cgit v1.2.3