Permalink
Browse files

Fixed bug in rake task.

  • Loading branch information...
1 parent 29228b1 commit 5a635219d3aaa739b888d62f75342cf058ac6dd6 @martinjandrews martinjandrews committed Apr 10, 2009
Showing with 6 additions and 4 deletions.
  1. +4 −0 History.txt
  2. +1 −1 lib/roodi.rb
  3. +1 −3 lib/roodi_task.rb
View
@@ -1,3 +1,7 @@
+= 1.3.5
+
+* Fixed bug in rake task
+
= 1.3.4
* Minor cleanup
View
@@ -2,5 +2,5 @@
require 'roodi/core'
module Roodi
- VERSION = '1.3.4'
+ VERSION = '1.3.5'
end
View
@@ -4,16 +4,14 @@ class RoodiTask < Rake::TaskLib
attr_accessor :config
attr_accessor :verbose
- def initialize name = :roodi, patterns = nil, config nil
+ def initialize name = :roodi, patterns = nil, config = nil
@name = name
@patterns = patterns || %w(app/**/*.rb lib/**/*.rb spec/**/*.rb test/**/*.rb)
@config = config
@verbose = Rake.application.options.trace
yield self if block_given?
- @dirs.reject! { |f| ! File.directory? f }
-
define
end

0 comments on commit 5a63521

Please sign in to comment.