Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Commit

Permalink
Switch to using echoe to manage the gem.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daz Oakley committed Jan 19, 2011
1 parent ff6cfa0 commit db98bd0
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 59 deletions.
5 changes: 2 additions & 3 deletions Manifest.txt → Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,9 @@ lib/biomart/database.rb
lib/biomart/dataset.rb
lib/biomart/filter.rb
lib/biomart/server.rb
script/console
script/destroy
script/generate
tasks/metrics.rake
tasks/shoulda.rake
tasks/yard.rake
test/test_biomart.rb
test/test_helper.rb
Manifest
45 changes: 19 additions & 26 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,32 +1,25 @@
require "rubygems"
require 'rubygems'
require 'rake'

gem "flog", "= 2.2.0"
gem "hoe", ">= 2.1.0"
require './lib/biomart'

require "hoe"
require "fileutils"
require "./lib/biomart"
begin
require 'echoe'

Hoe.plugin :newgem
# Hoe.plugin :website
# Hoe.plugin :cucumberfeatures
Echoe.new('biomart', '0.2.0') do |p|
p.description = 'A ruby API for interacting with Biomart XML based webservices.'
p.url = 'http://github.com/dazoakley/biomart'
p.author = 'Darren Oakley'
p.email = 'daz.oakley@gmail.com'
p.ignore_pattern = ['tmp/*', 'script/*']
p.dependencies = [['builder','~>2']]
p.development_dependencies = [['shoulda','>= 2.10'],['yard', '>= 0']]
end

# Generate all the Rake tasks
# Run "rake -T" to see list of generated tasks (from gem root directory)
$hoe = Hoe.spec "biomart" do
self.developer "Darren Oakley", "daz.oakley@gmail.com"
self.rubyforge_name = self.name
self.url = "http://github.com/dazoakley/biomart"
self.summary = "A ruby API for interacting with Biomart services."
self.description = "A ruby API for interacting with Biomart XML based webservices."
self.extra_deps = [["builder",">= 0"]]
self.extra_dev_deps = [["shoulda",">= 2.10"]]
self.extra_rdoc_files = ["README.rdoc"]
rescue LoadError => boom
puts "You are missing a dependency required for meta-operations on this gem."
puts "#{boom.to_s.capitalize}."
end

require "newgem/tasks"
Dir["tasks/*.rake"].each { |t| load t }

# TODO - want other tests/tasks run by default? Add them to the list
# remove_task :default
# task :default => [:spec, :features]
Dir['tasks/*.rake'].each { |t| load t }
task :default => [:test]
2 changes: 0 additions & 2 deletions lib/biomart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
require "builder"

module Biomart
VERSION = "0.2.0"

# This is the base Biomart error/exception class. Rescue it if
# you want to catch any exceptions that this code might raise.
class BiomartError < StandardError
Expand Down
14 changes: 0 additions & 14 deletions script/destroy

This file was deleted.

14 changes: 0 additions & 14 deletions script/generate

This file was deleted.

0 comments on commit db98bd0

Please sign in to comment.