From 6cacf7bbc3545ed87e21d0ca5a19ab4300699fdc Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Thu, 16 Feb 2012 15:10:19 +0000 Subject: bundler instead of jeweller for gem management --- Gemfile | 2 ++ Rakefile | 7 +++---- lib/opentox-client/version.rb | 5 +++++ opentox-client.gemspec | 26 ++++++++++++++++++++++++++ 4 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 Gemfile create mode 100644 lib/opentox-client/version.rb create mode 100644 opentox-client.gemspec diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..f98dbde --- /dev/null +++ b/Gemfile @@ -0,0 +1,2 @@ +source :gemcutter +gemspec diff --git a/Rakefile b/Rakefile index 2c791a6..980b5ba 100644 --- a/Rakefile +++ b/Rakefile @@ -1,7 +1,6 @@ -require 'rubygems' -require 'rake' +require "bundler/gem_tasks" -begin +=begin require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "opentox-client" @@ -20,7 +19,7 @@ begin Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" -end +=end require 'rake/testtask' Rake::TestTask.new do |t| diff --git a/lib/opentox-client/version.rb b/lib/opentox-client/version.rb new file mode 100644 index 0000000..d90a728 --- /dev/null +++ b/lib/opentox-client/version.rb @@ -0,0 +1,5 @@ +module Opentox + module Client + VERSION = "0.0.1" + end +end diff --git a/opentox-client.gemspec b/opentox-client.gemspec new file mode 100644 index 0000000..5477004 --- /dev/null +++ b/opentox-client.gemspec @@ -0,0 +1,26 @@ +# -*- encoding: utf-8 -*- +$:.push File.expand_path("../lib", __FILE__) +require "opentox-client/version" + +Gem::Specification.new do |s| + s.name = "opentox-client" + s.version = Opentox::Client::VERSION + s.authors = ["Christoph Helma, Martin Guetlein, Andreas Maunz, Micha Rautenberg, David Vorgrimmler"] + s.email = ["helma@in-silico.ch"] + s.homepage = "http://github.com/opentox/opentox-client" + s.summary = %q{Ruby wrapper for the OpenTox REST API} + s.description = %q{Ruby wrapper for the OpenTox REST API (http://www.opentox.org)} + + s.rubyforge_project = "opentox-client" + + s.files = `git ls-files`.split("\n") + s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } + s.require_paths = ["lib"] + + # specify any dependencies here; for example: + # s.add_development_dependency "rspec" + s.add_runtime_dependency "rest-client" + s.add_runtime_dependency "rdf" + s.add_runtime_dependency "rdf-raptor" +end -- cgit v1.2.3