Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove dependency on hoe.

  • Loading branch information...
commit d961852be93a829c3160713f169ab8861007b756 1 parent 3b0f8c3
@stephencelis authored
Showing with 11 additions and 19 deletions.
  1. +11 −6 Rakefile
  2. +0 −13 haddock.gemspec
View
17 Rakefile
@@ -1,11 +1,16 @@
$: << File.dirname(__FILE__) + "/lib"
require "rubygems"
-require "hoe"
require "haddock"
-Hoe.new('haddock', Haddock::VERSION) do |p|
- p.developer('Stephen Celis', 'stephen@stephencelis.com')
- p.remote_rdoc_dir = ''
- p.readme_file = "README.rdoc"
- p.history_file = "History.rdoc"
+require "rake/testtask"
+
+desc "Default: run unit tests."
+task :default => :test
+
+desc "Run unit tests."
+Rake::TestTask.new(:test) do |t|
+ t.libs << 'lib'
+ t.libs << 'test'
+ t.pattern = 'test/**/test_*.rb'
+ t.verbose = true
end
View
13 haddock.gemspec
@@ -21,17 +21,4 @@ changed it.}
s.rubygems_version = %q{1.3.3}
s.summary = %q{A more memorable password generator}
s.test_files = ["test/test_haddock.rb"]
-
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
-
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
- s.add_development_dependency(%q<hoe>, [">= 1.12.2"])
- else
- s.add_dependency(%q<hoe>, [">= 1.12.2"])
- end
- else
- s.add_dependency(%q<hoe>, [">= 1.12.2"])
- end
end
Please sign in to comment.
Something went wrong with that request. Please try again.