summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-01-04 11:15:03 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2012-01-04 11:15:03 +0100
commitf59df41d9bcb1085c62f97cffb84db4ef0673cda (patch)
tree9207719ea5207dbb4f220268ae3e576686cbce67
parentf956735610a08fffcc4fe4c7c6cff2ed1a0777d3 (diff)
downloadzorglub-f59df41d9bcb1085c62f97cffb84db4ef0673cda.zip
zorglub-f59df41d9bcb1085c62f97cffb84db4ef0673cda.tar.gz
Rakefile: use Zorglub::VERSION
-rw-r--r--Rakefile3
-rw-r--r--lib/zorglub.rb6
2 files changed, 5 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index 2325cc6..d264b12 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,5 +1,6 @@
# -*- coding: UTF-8 -*-
#
+require './lib/zorglub.rb'
load './tasks/setup.rb'
#
# Project general information
@@ -7,7 +8,7 @@ PROJ.name = 'zorglub'
PROJ.authors = 'Jérémy Zurcher'
PROJ.email = 'jeremy@asynk.ch'
PROJ.url = 'http://cgit.asynk.ch/cgi-bin/cgit/zorglub'
-PROJ.version = '0.0.0'
+PROJ.version = Zorglub::VERSION
PROJ.rubyforge.name = 'FIXME'
PROJ.readme_file = 'README.rdoc'
#
diff --git a/lib/zorglub.rb b/lib/zorglub.rb
index 85d83a4..ee829cf 100644
--- a/lib/zorglub.rb
+++ b/lib/zorglub.rb
@@ -1,9 +1,9 @@
#! /usr/bin/env ruby
# -*- coding: UTF-8 -*-
#
-require 'zorglub/config'
-require 'zorglub/node'
-require 'zorglub/app'
+require './lib/zorglub/config'
+require './lib/zorglub/node'
+require './lib/zorglub/app'
#
module Zorglub
#