Rakefile in stackprof-0.2.6 vs Rakefile in stackprof-0.2.7
- old
+ new
@@ -2,10 +2,10 @@
# ==========================================================
# Packaging
# ==========================================================
-GEMSPEC = eval(File.read('stackprof.gemspec'))
+GEMSPEC = Gem::Specification::load('stackprof.gemspec')
require 'rubygems/package_task'
Gem::PackageTask.new(GEMSPEC) do |pkg|
end