Sha256: 8dec43054303a1d7115dc6a7ab0ccf63777c8a7b4ba799dbc0be585321a31a91

Contents?: true

Size: 1.28 KB

Versions: 1

Compression:

Stored size: 1.28 KB

Contents

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'

desc "Build gem"
task :gem  do |t|
  gemspec = Gem::Specification.new do |spec|
    spec.name        = 'resilient_socket'
    spec.version     = ResilientSocket::VERSION
    spec.platform    = Gem::Platform::RUBY
    spec.authors     = ['Reid Morrison']
    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.license     = "Apache License V2.0"
    spec.has_rdoc    = true
    spec.add_dependency 'semantic_logger', '>= 2.1'
  end
  Gem::Package.build gemspec
end

desc "Run Test Suite"
task :test do
  Rake::TestTask.new(:functional) do |t|
    t.test_files = FileList['test/*_test.rb']
    t.verbose    = true
  end

  Rake::Task['functional'].invoke
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
resilient_socket-0.5.0 Rakefile