Rakefile in semantic_logger-2.0.0 vs Rakefile in semantic_logger-2.1.0
- old
+ new
@@ -1,9 +1,10 @@
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'rubygems'
+require 'rubygems/package'
require 'rake/clean'
require 'rake/testtask'
require 'date'
require 'semantic_logger/version'
@@ -17,16 +18,16 @@
spec.email = ['reidmo@gmail.com']
spec.homepage = 'https://github.com/ClarityServices/semantic_logger'
spec.date = Date.today.to_s
spec.summary = "Improved logging for Ruby"
spec.description = "Semantic Logger takes logging in Ruby to a new level by adding several new capabilities to the commonly used Logging API"
- spec.files = FileList["./**/*"].exclude(/.gem$/, /.log$/,/^nbproject/).map{|f| f.sub(/^\.\//, '')}
+ spec.files = FileList["./**/*"].exclude(/\.gem$/, /\.log$/,/nbproject/).map{|f| f.sub(/^\.\//, '')}
+ spec.license = "Apache License V2.0"
spec.has_rdoc = true
- spec.add_dependency 'sync_attr'
- spec.add_dependency 'thread_safe'
- spec.add_development_dependency 'shoulda'
+ spec.add_dependency 'sync_attr', '>= 1.0'
+ spec.add_dependency 'thread_safe', '>= 0.1.0'
end
- Gem::Builder.new(gemspec).build
+ Gem::Package.build gemspec
end
desc "Run Test Suite"
task :test do
Rake::TestTask.new(:functional) do |t|