summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-05-09 14:15:15 +0000
committerChristoph Helma <helma@in-silico.ch>2012-05-09 14:15:15 +0000
commit365dbf07ff5f0f520217770ad9ba15f1400191b7 (patch)
tree25f5ecd76257c67f2b44cabab5d9024947b4d267
parent96bfff99ea3a0e8df96d9938a7c5174d0085d0b1 (diff)
gem configurations fixed
-rw-r--r--Gemfile7
-rw-r--r--VERSION1
-rw-r--r--application.rb3
-rw-r--r--config.ru4
-rw-r--r--feature.gemspec16
5 files changed, 14 insertions, 17 deletions
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