diff options
author | Andre Arko <andre@arko.net> | 2014-05-10 18:34:06 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-07-17 22:33:01 -0700 |
commit | cb046bc4555c255a8b42eb9b4dabf43a333f672a (patch) | |
tree | ae6cad0ce2708366d5eb9c3435e520aa090cc0e8 /Rakefile | |
parent | b4a39e8cc408aca7669bdb7bd86600df4ae47122 (diff) | |
download | bundler-cb046bc4555c255a8b42eb9b4dabf43a333f672a.tar.gz |
move the dev deps list into the gemspec
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -30,11 +30,10 @@ end namespace :spec do desc "Ensure spec dependencies are installed" task :deps do - deps = { - "rdiscount" => "~> 1.6", - "ronn" => "~> 0.7.3", - "rspec" => "~> 3.0.beta" - } + spec = Gem::Specification.load("bundler.gemspec") + deps = Hash[spec.development_dependencies.map do |d| + [d.name, d.requirement.to_s] + end] # JRuby can't build ronn or rdiscount, so we skip that if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'jruby' @@ -77,7 +76,6 @@ namespace :spec do end begin - # running the specs needs both rspec and ronn require 'rspec/core/rake_task' desc "Run specs" |