Rakefile in hirb-0.3.2 vs Rakefile in hirb-0.3.3

- old
+ new

@@ -1,15 +1,15 @@ require 'rake' require 'fileutils' def gemspec - @gemspec ||= eval(File.read('gemspec'), binding, 'gemspec') + @gemspec ||= eval(File.read('.gemspec'), binding, '.gemspec') end desc "Build the gem" task :gem=>:gemspec do - sh "gem build gemspec" + sh "gem build .gemspec" FileUtils.mkdir_p 'pkg' FileUtils.mv "#{gemspec.name}-#{gemspec.version}.gem", 'pkg' end desc "Install the gem locally" @@ -30,6 +30,6 @@ desc 'Run tests' task :test do |t| sh 'bacon -q -Ilib -I. test/*_test.rb' end -task :default => :test \ No newline at end of file +task :default => :test