Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rakefile cleanup, make dev deps more explicit.

  • Loading branch information...
commit e0d1abf5a64606279add90fe4326a65573641482 1 parent de5d0d7
@jbarnette authored
Showing with 8 additions and 9 deletions.
  1. +8 −9 Rakefile
View
17 Rakefile
@@ -1,9 +1,9 @@
require "rubygems"
-gem "hoe", ">= 2.3"
+gem "hoe", "~> 2.3"
require "hoe"
-gem "rake-compiler", ">= 0.6.0"
+gem "rake-compiler", "~> 0.6"
require "rake/extensiontask"
Hoe.plugin :debugging, :doofus, :git
@@ -14,14 +14,13 @@ Hoe.spec "johnson" do
developer "Yehuda Katz", "wycats@gmail.com"
developer "Matthew Draper", "matthew@trebex.net"
- self.extra_rdoc_files = FileList["*.rdoc"]
- self.history_file = "CHANGELOG.rdoc"
- self.readme_file = "README.rdoc"
- self.test_globs = %w(test/**/*_test.rb)
+ self.extra_rdoc_files = FileList["*.rdoc"]
+ self.history_file = "CHANGELOG.rdoc"
+ self.readme_file = "README.rdoc"
+ self.test_globs = %w(test/**/*_test.rb)
+ self.spec_extras[:extensions] = %w(ext/spidermonkey/extconf.rb)
- self.spec_extras = { :extensions => %w(ext/spidermonkey/extconf.rb) }
-
- extra_dev_deps << ["rake-compiler", ">= 0.6.0"]
+ extra_dev_deps << ["rake-compiler", "~> 0.6"]
clean_globs << "ext/**/Makefile"
clean_globs << "ext/**/*.{o,so,bundle,a,log}"
Please sign in to comment.
Something went wrong with that request. Please try again.