Permalink
Browse files

Fix deprecation

  • Loading branch information...
1 parent 9b54cf8 commit fc74e1b2ef95d22f74b610aab08314ab16521ecf @norman committed Jan 7, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
@@ -1,7 +1,7 @@
require "rubygems"
require "rake/testtask"
require "rake/clean"
-require "rake/gempackagetask"
+require "rubygems/package_task"
task :default => :spec
task :test => :spec
@@ -27,7 +27,7 @@ end
gemspec = File.expand_path("../babosa.gemspec", __FILE__)
if File.exist? gemspec
- Rake::GemPackageTask.new(eval(File.read(gemspec))) { |pkg| }
+ Gem::PackageTask.new(eval(File.read(gemspec))) { |pkg| }
end
require 'rspec/core/rake_task'

0 comments on commit fc74e1b

Please sign in to comment.