Rakefile in swift-0.14.0 vs Rakefile in swift-1.0.0
- old
+ new
@@ -7,12 +7,11 @@
gem.summary = %q{A rational rudimentary database abstraction.}
gem.description = %q{A rational rudimentary database abstraction.}
gem.email = %w{shane.hanna@gmail.com deepfryed@gmail.com}
gem.homepage = 'http://github.com/shanna/swift'
gem.authors = ["Shane Hanna", "Bharanee 'Barney' Rathna"]
- gem.extensions = FileList['ext/extconf.rb']
- gem.files.reject!{|f| f =~ %r{\.gitignore|examples|benchmarks|memory/.*}}
+ gem.files.reject!{|f| f =~ %r{\.gitignore|examples|benchmarks|memory|gems/.*|Gemfile}}
gem.add_development_dependency 'minitest', '>= 1.7.0'
end
Jeweler::GemcutterTasks.new
rescue LoadError
@@ -24,13 +23,11 @@
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
-task :test => :check_dependencies
task :default => :test
require 'yard'
YARD::Rake::YardocTask.new do |yard|
- yard.files = ['lib/**/*.rb', 'ext/*.cc']
+ yard.files = Dir["lib/**/*.rb"].reject {|file| %r{eventmachine|synchrony}.match(file)}
end
-