Sha256: 81c5bb922da020a455df803fee1c3ce0424aa7ecc754db8f42d9c0f5b2a1028e

Contents?: true

Size: 1.34 KB

Versions: 1

Compression:

Stored size: 1.34 KB

Contents

# 
# To change this template, choose Tools | Templates
# and open the template in the editor.
 

require 'rubygems'
require 'rake'
require 'rake/clean'
require 'rake/gempackagetask'
require 'rake/rdoctask'
require 'rake/testtask'

spec = Gem::Specification.new do |s|
  s.name = 'myexperiment-rest'
  s.version = '0.2.7'
  s.extra_rdoc_files = ['README', 'LICENSE', 'CHANGES']
  s.summary = 'This is a simple library to access data on myExperiment via its REST API. Currently supports a subset of the workflow information available.'
  s.description = s.summary
  s.author = 'Konstantinos Karasavvas'
  s.email = 'kostas.karasavvas@nbic.nl'
  s.executables = ['get_workflow_data.rb']
  s.files = %w(LICENSE README CHANGES Rakefile) + Dir.glob("{bin,lib,doc,spec}/**/*")
  s.require_path = "lib"
  s.bindir = "bin"
  s.add_dependency 'rest-client', '>= 1.6.3'
  s.add_dependency 'libxml-ruby', '>= 2.0.5'
end

Rake::GemPackageTask.new(spec) do |p|
  p.gem_spec = spec
  p.need_tar = true
  p.need_zip = true
end

Rake::RDocTask.new do |rdoc|
  files =['README', 'LICENSE', 'CHANGES', 'lib/**/*.rb']
  rdoc.rdoc_files.add(files)
  rdoc.main = "README" # page to start on
  rdoc.title = "myexperiment-rest Docs"
  rdoc.rdoc_dir = 'doc/rdoc' # rdoc output folder
  rdoc.options << '--line-numbers'
end

Rake::TestTask.new do |t|
  t.test_files = FileList['test/**/*.rb']
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
myexperiment-rest-0.2.7 Rakefile