summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gemfile2
-rw-r--r--Rakefile7
-rw-r--r--lib/opentox-client/version.rb5
-rw-r--r--opentox-client.gemspec26
4 files changed, 36 insertions, 4 deletions
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