File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 3
3
* Bugfix: Remove-annotations wasn't properly finding test/spec files, and
4
4
wasn't even looking for FactoryGirl factories under the new naming
5
5
convention.
6
+ * Bugfix: Load the Rakefile from the current directory, not the first Rakefile
7
+ in our load path.
6
8
* Added support for new FactoryGirl naming convention.
7
9
* Expose all `position_*` variables as CLI params.
8
10
* Make `ENV ['position']` work as a default for all the `ENV ['position_*']`
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ module Annotate
5
5
def self . load_tasks
6
6
if File . exists? ( 'Rakefile' )
7
7
require 'rake'
8
- load 'Rakefile'
8
+ load './ Rakefile'
9
9
10
10
Dir [ File . join ( File . dirname ( __FILE__ ) , 'tasks' , '**/*.rake' ) ] . each { |rake | load rake }
11
11
return true
You can’t perform that action at this time.
0 commit comments