Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed bug in rake task.

  • Loading branch information...
commit 5a635219d3aaa739b888d62f75342cf058ac6dd6 1 parent 29228b1
Marty Andrews martinjandrews authored
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
4 History.txt
View
@@ -1,3 +1,7 @@
+= 1.3.5
+
+* Fixed bug in rake task
+
= 1.3.4
* Minor cleanup
2  lib/roodi.rb
View
@@ -2,5 +2,5 @@
require 'roodi/core'
module Roodi
- VERSION = '1.3.4'
+ VERSION = '1.3.5'
end
4 lib/roodi_task.rb
View
@@ -4,7 +4,7 @@ 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
@@ -12,8 +12,6 @@ def initialize name = :roodi, patterns = nil, config nil
yield self if block_given?
- @dirs.reject! { |f| ! File.directory? f }
-
define
end
Please sign in to comment.
Something went wrong with that request. Please try again.