task/gemgem.rb in rest-more-3.2.0 vs task/gemgem.rb in rest-more-3.3.0
- old
+ new
@@ -32,11 +32,11 @@
s.files = gem_files
s.test_files = test_files
s.executables = bin_files
end
spec_create.call(spec)
- spec.homepage = "https://github.com/godfat/#{spec.name}"
+ spec.homepage ||= "https://github.com/godfat/#{spec.name}"
self.spec = spec
end
def write
File.open(spec_path, 'w'){ |f| f << split_lines(spec.to_ruby) }
@@ -225,13 +225,9 @@
end # of gem namespace
desc 'Run tests'
task :test do
next if Gemgem.test_files.empty?
-
- require 'bacon'
- Bacon.extend(Bacon::TestUnitOutput)
- Bacon.summary_on_exit
Gemgem.test_files.each{ |file| require "#{Gemgem.dir}/#{file[0..-4]}" }
end
desc 'Trash ignored files'
task :clean => ['gem:spec'] do