From cfdd3e7bfd78e138c303432a58d58a6db542f85f Mon Sep 17 00:00:00 2001 From: Matt Parker Date: Sun, 16 Jan 2011 13:57:26 -0500 Subject: [PATCH] set the CouchRest::Model::VERSION constant to the value of the VERSION file --- lib/couchrest/model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/couchrest/model.rb b/lib/couchrest/model.rb index b55c54f..693b3e3 100644 --- a/lib/couchrest/model.rb +++ b/lib/couchrest/model.rb @@ -3,7 +3,7 @@ module CouchRest module Model - VERSION = "1.0.0.beta9" + VERSION = File.read(File.expand_path('../../../VERSION', __FILE__)).strip end