Rakefile in resilient_socket-0.4.0 vs Rakefile in resilient_socket-0.5.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 'resilient_socket/version' @@ -17,14 +18,15 @@ spec.email = ['reidmo@gmail.com'] spec.homepage = 'https://github.com/ClarityServices/resilient_socket' spec.date = Date.today.to_s spec.summary = "A Resilient TCP Socket Client with built-in timeouts, retries, and logging" spec.description = "A Resilient TCP Socket Client with built-in timeouts, retries, and logging" - 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 'semantic_logger' + spec.add_dependency 'semantic_logger', '>= 2.1' end - Gem::Builder.new(gemspec).build + Gem::Package.build gemspec end desc "Run Test Suite" task :test do Rake::TestTask.new(:functional) do |t|