Skip to content

Commit

Permalink
Include rdoc and txt files.
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewtodd committed Dec 6, 2008
1 parent e1d3369 commit d876ddb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
== 0.2.4
* Include rdoc and txt files. (A little config or smarts might be nice.)

== 0.2.3
* Include sass files.

Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require 'rubygems'

spec = Gem::Specification.new do |spec|
spec.name = 'git-whitespace'
spec.version = '0.2.3'
spec.version = '0.2.4'
spec.summary = 'Squashes whitespace from text files in the current project.'
spec.files = FileList['CHANGELOG', 'README', 'TODO', 'bin/*', 'lib/**/*.rb'].to_a
spec.executables = ['git-whitespace']
Expand Down
8 changes: 4 additions & 4 deletions git-whitespace.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@

Gem::Specification.new do |s|
s.name = %q{git-whitespace}
s.version = "0.2.3"
s.version = "0.2.4"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Matthew Todd"]
s.date = %q{2008-10-26}
s.date = %q{2008-12-06}
s.default_executable = %q{git-whitespace}
s.email = %q{matthew.todd@gmail.com}
s.executables = ["git-whitespace"]
s.extra_rdoc_files = ["README", "CHANGELOG", "TODO"]
s.files = ["CHANGELOG", "README", "TODO", "bin/git-whitespace", "lib/whitespace.rb"]
s.has_rdoc = true
s.rdoc_options = ["--main", "README", "--title", "git-whitespace-0.2.3", "--inline-source", "--line-numbers"]
s.rdoc_options = ["--main", "README", "--title", "git-whitespace-0.2.4", "--inline-source", "--line-numbers"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.0}
s.rubygems_version = %q{1.3.1}
s.summary = %q{Squashes whitespace from text files in the current project.}

if s.respond_to? :specification_version then
Expand Down
2 changes: 1 addition & 1 deletion lib/whitespace.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class Finder
def initialize
@directories_to_prune = %w[.git vendor]
@extensions = %w[builder css erb haml html icalendar js rake rb sass yml] + ['']
@extensions = %w[builder css erb haml html icalendar js rake rb rdoc sass txt yml] + ['']
end

def files(directory)
Expand Down

0 comments on commit d876ddb

Please sign in to comment.