aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-05-14 20:54:49 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-05-14 20:54:49 +0200
commitef72ddc84ec79d7b415b83bf3862d53430f51661 (patch)
treea03a8e29f57d47647db060230dcc50320022a3c1
parentb962a14b19dff69f54818c3052f536c3aa94a38a (diff)
downloadrss2html-ef72ddc84ec79d7b415b83bf3862d53430f51661.tar.gz
rss2html-ef72ddc84ec79d7b415b83bf3862d53430f51661.tar.bz2
rss2html-ef72ddc84ec79d7b415b83bf3862d53430f51661.zip
Fix gemspec and move version to it's own file.
-rw-r--r--lib/rss2html/version.rb3
-rw-r--r--rss2html.gemspec6
2 files changed, 7 insertions, 2 deletions
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