Permalink
Browse files

Use built-in Gemspec loader

  • Loading branch information...
1 parent bb0f2d0 commit d0cdb498d6654417c9c2bb94de852b9a04117bac @tjschuck tjschuck committed Feb 21, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
View
@@ -17,7 +17,7 @@ CLOBBER.include(
"doc/coverage",
"pkg"
)
-GEMSPEC = eval(File.read(File.expand_path("../bcrypt.gemspec", __FILE__)))
+GEMSPEC = Gem::Specification.load("bcrypt.gemspec")
task :default => [:compile, :spec]

0 comments on commit d0cdb49

Please sign in to comment.