Permalink
Browse files

Moved VERSION constant into a more discoverable file

  • Loading branch information...
1 parent 30458c5 commit 18229ed735ca64e20cf510b2cf23c8d113a36b39 @rmm5t rmm5t committed Jan 9, 2009
Showing with 7 additions and 3 deletions.
  1. +3 −1 Rakefile
  2. +4 −0 lib/shoulda.rb
  3. +0 −2 lib/shoulda/context.rb
View
@@ -2,7 +2,9 @@ require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rake/gempackagetask'
-require 'lib/shoulda/context'
+
+$LOAD_PATH.unshift("lib")
+require 'shoulda'
load 'tasks/shoulda.rake'
# Test::Unit::UI::VERBOSE
View
@@ -5,6 +5,10 @@
require 'shoulda/helpers'
require 'shoulda/rails' if defined? RAILS_ROOT
+module Shoulda
+ VERSION = "2.0.6"
+end
+
module Test # :nodoc: all
module Unit
class TestCase
View
@@ -1,6 +1,4 @@
module Shoulda
- VERSION = '2.0.6'
-
class << self
attr_accessor :contexts
def contexts # :nodoc:

0 comments on commit 18229ed

Please sign in to comment.