public
Fork of dchelimsky/rspec
Description: Behaviour Driven Development framework for Ruby
Homepage: http://rspec.info
Clone URL: git://github.com/martinbtt/rspec.git
Search Repo:
moved pre_commit library to rspec/pre_commit to support running specs from 
unpacked gem


git-svn-id: svn+ssh://rubyforge.org/var/svn/rspec/trunk@3257 
410327ef-2207-0410-a325-f78bbcb22a5a
dchelimsky (author)
Sat Jan 26 10:26:15 -0800 2008
commit  6b41c7515add2dc471417ffb567429786c70ebfa
tree    2205406e830e28af7a374a4acf374785499d5f49
parent  42cb7cea357fa4608e49c2b3930fb7247af88df0
...
1
2
 
3
4
5
...
1
 
2
3
4
5
0
@@ -1,5 +1,5 @@
0
 dir = File.dirname(__FILE__)
0
-$LOAD_PATH.unshift(File.expand_path("#{dir}/pre_commit/lib"))
0
+$LOAD_PATH.unshift(File.expand_path("#{dir}/rspec/pre_commit/lib"))
0
 require "pre_commit"
0
 
0
 task :default => :pre_commit
...
1
2
 
3
4
5
...
1
 
2
3
4
5
0
@@ -1,5 +1,5 @@
0
 dir = File.dirname(__FILE__)
0
-$LOAD_PATH.unshift(File.expand_path("#{dir}/../pre_commit/lib"))
0
+$LOAD_PATH.unshift(File.expand_path("#{dir}/../rspec/pre_commit/lib"))
0
 require "pre_commit"
0
 
0
 desc "Run precommit for all installed versions of Rails"
...
1
2
3
 
4
5
6
...
1
2
 
3
4
5
6
0
@@ -1,6 +1,6 @@
0
 # We have to make sure the rspec lib above gets loaded rather than the gem one (in case it's installed)
0
 dir = File.dirname(__FILE__)
0
-$LOAD_PATH.unshift(File.expand_path("#{dir}/../../../pre_commit/lib"))
0
+$LOAD_PATH.unshift(File.expand_path("#{dir}/../../../rspec/pre_commit/lib"))
0
 $LOAD_PATH.unshift(File.expand_path("#{dir}/../../../rspec/lib"))
0
 require "pre_commit"
0
 require 'spec/rake/spectask'
...
7
8
9
10
 
11
12
13
...
7
8
9
 
10
11
12
13
0
@@ -7,7 +7,7 @@ require 'rake/rdoctask'
0
 require 'rake/testtask'
0
 require 'spec/version'
0
 dir = File.dirname(__FILE__)
0
-$LOAD_PATH.unshift(File.expand_path("#{dir}/../pre_commit/lib"))
0
+$LOAD_PATH.unshift(File.expand_path("#{dir}/pre_commit/lib"))
0
 require "pre_commit"
0
 
0
 # Some of the tasks are in separate files since they are also part of the website documentation

Comments

    No one has commented yet.