Sha256: 55ff0512b68928084844a6d23463e87e6a314181f67964ce2978960bf841b350

Contents?: true

Size: 1.44 KB

Versions: 1

Compression:

Stored size: 1.44 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 'semantic_logger'
require 'ruby_skynet/version'

desc "Build gem"
task :gem  do |t|
  gemspec = Gem::Specification.new do |spec|
    spec.name        = 'ruby_skynet'
    spec.version     = RubySkynet::VERSION
    spec.platform    = Gem::Platform::RUBY
    spec.authors     = ['Reid Morrison']
    spec.email       = ['reidmo@gmail.com']
    spec.homepage    = 'https://github.com/ClarityServices/ruby_skynet'
    spec.date        = Date.today.to_s
    spec.summary     = "Skynet Ruby Client"
    spec.description = "Ruby Client for invoking Skynet services"
    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.0.0'
    spec.add_dependency 'resilient_socket', '>= 0.4.0'
    spec.add_dependency 'multi_json', '>= 1.6.1'
    spec.add_dependency 'bson', '>= 1.5.2'
    spec.add_dependency 'ruby_doozer', '>= 0.5.0'
    spec.add_dependency 'gene_pool', '>= 1.3.0'
  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
ruby_skynet-0.6.0 Rakefile