diff options
-rw-r--r-- | Gemfile | 7 | ||||
-rw-r--r-- | VERSION | 1 | ||||
-rw-r--r-- | application.rb | 3 | ||||
-rw-r--r-- | config.ru | 4 | ||||
-rw-r--r-- | feature.gemspec | 16 |
5 files changed, 14 insertions, 17 deletions
@@ -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" @@ -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 @@ -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 |