From 365dbf07ff5f0f520217770ad9ba15f1400191b7 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Wed, 9 May 2012 14:15:15 +0000 Subject: gem configurations fixed --- Gemfile | 7 ++----- VERSION | 1 + application.rb | 3 --- config.ru | 4 ++-- feature.gemspec | 16 +++++++++------- 5 files changed, 14 insertions(+), 17 deletions(-) create mode 100644 VERSION delete mode 100644 application.rb diff --git a/Gemfile b/Gemfile index 59b12de..36f1a90 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,4 @@ source :gemcutter gemspec -gem 'opentox-server', :path => "~/opentox/opentox-server" -gem "opentox-client", :path => "~/opentox/opentox-client" -group :test do - gem "rack-test", :require => "rack/test" -end +gem "opentox-server", :path => "~/opentox-server" +gem "opentox-client", :path => "~/opentox-client" diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..3eefcb9 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +1.0.0 diff --git a/application.rb b/application.rb deleted file mode 100644 index 8db4886..0000000 --- a/application.rb +++ /dev/null @@ -1,3 +0,0 @@ -require "opentox-server" -require File.join(ENV["HOME"],".opentox","config","feature.rb") -@@class = RDF::OT.Feature diff --git a/config.ru b/config.ru index 2e5285d..14803bc 100644 --- a/config.ru +++ b/config.ru @@ -1,4 +1,4 @@ +SERVICE = "feature" require 'bundler' Bundler.require -require './application.rb' -run OpenTox::Application +run OpenTox::Service diff --git a/feature.gemspec b/feature.gemspec index 6982903..bcc64d1 100644 --- a/feature.gemspec +++ b/feature.gemspec @@ -2,22 +2,24 @@ $:.push File.expand_path("../lib", __FILE__) Gem::Specification.new do |s| - s.name = "error" - s.version = "0.0.2pre" + s.name = "feature" + s.version = File.read("./VERSION") s.authors = ["Christoph Helma"] s.email = ["helma@in-silico.ch"] s.homepage = "" - s.summary = %q{TODO: Write a gem summary} + s.summary = %q{Simple OpenTox Feature Service} s.description = %q{TODO: Write a gem description} + s.license = 'GPL-3' s.rubyforge_project = "feature" 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"] + #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"] + s.required_ruby_version = '>= 1.9.2' # specify any dependencies here; for example: - # s.add_development_dependency "rspec" s.add_runtime_dependency "opentox-server" + s.post_install_message = "Please configure your service in ~/.opentox/config/feature.rb" end -- cgit v1.2.3