Permalink
Browse files

pull VERSION dynamically from file

  • Loading branch information...
1 parent fa85372 commit 53b6e1563d645e34949d31fd37f78a6a850672e0 @avonderluft committed Nov 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rawler.rb
View
@@ -35,7 +35,7 @@
# The Rawler module itself is very simple, and it's only used for storing configuration data like the url that we want to fetch, basic username and password.
module Rawler
- VERSION = '0.1.1'
+ VERSION = "#{File.read(File.expand_path(File.dirname(__FILE__)) + '/../VERSION')}"
# `output` is where we want to direct output. It's set to `$stdout` by default.

0 comments on commit 53b6e15

Please sign in to comment.