lib/buildar.rb in buildar-3.0.0.2 vs lib/buildar.rb in buildar-3.0.2.1
- old
+ new
@@ -157,10 +157,10 @@
Rake::Task["package"].invoke
end
# desc "used internally; make sure we have .gem for the current version"
task :built do
- Rake::Task[:build].invoke unless File.exists? self.gem_file
+ Rake::Task[:build].invoke unless File.exist? self.gem_file
end
desc "publish the current version to rubygems.org"
task publish: :built do
sh "gem push #{self.gem_file}"