From 763cdff161108afdcd19e31ed0dbfe6dc2a5e078 Mon Sep 17 00:00:00 2001 From: mr Date: Tue, 20 Jul 2010 15:26:07 +0200 Subject: pre merge with helma/master --- application.rb | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 304f8c0..6229178 100644 --- a/application.rb +++ b/application.rb @@ -8,7 +8,8 @@ class Model property :id, Serial property :uri, String, :length => 255 property :owl, Text, :length => 2**32-1 - property :yaml, Text, :length => 2**32-1 + property :yaml, Text, :length => 2**32-1 + property :token_id, String, :length => 255 property :created_at, DateTime end @@ -23,8 +24,17 @@ end delete '/:id/?' do begin - Model.get(params[:id]).destroy! + model = Model.get(params[:id]) + uri = model.uri + model.destroy! "Model #{params[:id]} deleted." + if params["token_id"] and !Model.get(params[:id]) and uri + begin + aa = OpenTox::Authorization.delete_policy_from_uri(uri, params["token_id"]) + rescue + LOGGER.warn "Policy delete error for Model URI: #{uri}" + end + end rescue halt 404, "Model #{params[:id]} does not exist." end -- cgit v1.2.3 From 91acc6de3edf5c36b2f29c3c5659d4748302457c Mon Sep 17 00:00:00 2001 From: mr Date: Fri, 23 Jul 2010 17:03:08 +0200 Subject: testing AA --- application.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'application.rb') diff --git a/application.rb b/application.rb index ad13b0d..ec44402 100644 --- a/application.rb +++ b/application.rb @@ -11,6 +11,13 @@ class Model property :yaml, Text, :length => 2**32-1 property :token_id, String, :length => 255 property :created_at, DateTime + + after :save, :check_policy + + def check_policy + OpenTox::Authorization.check_policy(uri, token_id) + end + end DataMapper.auto_upgrade! -- cgit v1.2.3 From 3de9e162beeb5f88d68505b560bc4dea7737e5f8 Mon Sep 17 00:00:00 2001 From: mr Date: Fri, 30 Jul 2010 16:23:09 +0200 Subject: Authorization minor changes => testing --- application.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index ec44402..d1ff70e 100644 --- a/application.rb +++ b/application.rb @@ -12,8 +12,9 @@ class Model property :token_id, String, :length => 255 property :created_at, DateTime - after :save, :check_policy + after :save, :check_policy + private def check_policy OpenTox::Authorization.check_policy(uri, token_id) end @@ -50,9 +51,10 @@ delete '/:id/?' do uri = model.uri model.destroy! "Model #{params[:id]} deleted." - if params["token_id"] and !Model.get(params[:id]) and uri + if params[:token_id] and !Model.get(params[:id]) and uri begin - aa = OpenTox::Authorization.delete_policy_from_uri(uri, params["token_id"]) + aa = OpenTox::Authorization.delete_policy_from_uri(uri, params[:token_id]) + LOGGER.debug "Policy deleted for Model URI: #{uri} with token_id: #{params[:token_id]} with result: #{aa}" rescue LOGGER.warn "Policy delete error for Model URI: #{uri}" end -- cgit v1.2.3 From aa9fdad000d45e6ad0fb126704c51fb00c032ea4 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Wed, 25 Aug 2010 14:49:33 +0200 Subject: opentox-api-wrapper bumped to 1.6.6 --- application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 3e80e8b..d0d12af 100644 --- a/application.rb +++ b/application.rb @@ -1,5 +1,5 @@ require 'rubygems' -gem "opentox-ruby-api-wrapper", "= 1.6.5" +gem "opentox-ruby-api-wrapper", "= 1.6.6" require 'opentox-ruby-api-wrapper' class Model -- cgit v1.2.3 From 6d9653546115e73b732eaadfcb3d1dbe9ab7d99a Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Fri, 19 Nov 2010 14:42:29 +0100 Subject: lazar predictions and toxcreate are working --- application.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index d0d12af..94c6039 100644 --- a/application.rb +++ b/application.rb @@ -2,28 +2,28 @@ require 'rubygems' gem "opentox-ruby-api-wrapper", "= 1.6.6" require 'opentox-ruby-api-wrapper' -class Model +class ModelStore include DataMapper::Resource + attr_accessor :prediction_dataset property :id, Serial property :uri, String, :length => 255 - property :owl, Text, :length => 2**32-1 property :yaml, Text, :length => 2**32-1 property :created_at, DateTime end -class Prediction +class PredictionCache # cache predictions include DataMapper::Resource property :id, Serial property :compound_uri, String, :length => 255 property :model_uri, String, :length => 255 - property :yaml, Text, :length => 2**32-1 + property :dataset_uri, String, :length => 255 end DataMapper.auto_upgrade! require 'lazar.rb' -require 'property_lazar.rb' +#require 'property_lazar.rb' helpers do @@ -42,12 +42,12 @@ end get '/?' do # get index of models response['Content-Type'] = 'text/uri-list' - Model.all(params).collect{|m| m.uri}.join("\n") + "\n" + ModelStore.all(params).collect{|m| m.uri}.join("\n") + "\n" end delete '/:id/?' do begin - Model.get(params[:id]).destroy! + ModelStore.get(params[:id]).destroy! "Model #{params[:id]} deleted." rescue halt 404, "Model #{params[:id]} does not exist." @@ -57,8 +57,8 @@ end delete '/?' do # TODO delete datasets - Model.auto_migrate! - Prediction.auto_migrate! + ModelStore.auto_migrate! + #Prediction.auto_migrate! response['Content-Type'] = 'text/plain' "All models and cached predictions deleted." end -- cgit v1.2.3 From 61ba09a60cd00c8e8f54ba6766cabe56e658051e Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Wed, 24 Nov 2010 13:10:52 +0100 Subject: opentox-ruby-api-wrapper renamed to opentox-ruby --- application.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 94c6039..eb7db12 100644 --- a/application.rb +++ b/application.rb @@ -1,6 +1,6 @@ require 'rubygems' -gem "opentox-ruby-api-wrapper", "= 1.6.6" -require 'opentox-ruby-api-wrapper' +gem "opentox-ruby", "~> 0" +require 'opentox-ruby' class ModelStore include DataMapper::Resource -- cgit v1.2.3 From 1981b852f31223227fc1d384111d5cff59db07ea Mon Sep 17 00:00:00 2001 From: mr Date: Fri, 10 Dec 2010 18:32:12 +0100 Subject: fix delete policies after delete/:id and --- application.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index b522baf..f11a211 100644 --- a/application.rb +++ b/application.rb @@ -59,14 +59,16 @@ delete '/:id/?' do uri = ModelStore.get(params[:id]).uri ModelStore.get(params[:id]).destroy! "Model #{params[:id]} deleted." - if params[:token_id] and !Model.get(params[:id]) and uri + if params[:token_id] and !ModelStore.get(params[:id]) and uri begin - aa = OpenTox::Authorization.delete_policy_from_uri(uri, params[:token_id]) + aa = OpenTox::Authorization.delete_policies_from_uri(uri, params[:token_id]) LOGGER.debug "Policy deleted for Model URI: #{uri} with token_id: #{params[:token_id]} with result: #{aa}" rescue LOGGER.warn "Policy delete error for Model URI: #{uri}" end end + response['Content-Type'] = 'text/plain' + "Model #{params[:id]} deleted." rescue halt 404, "Model #{params[:id]} does not exist." end -- cgit v1.2.3 From baecdfe03a6bff2ee28d687f77b1c6606e102003 Mon Sep 17 00:00:00 2001 From: mr Date: Tue, 14 Dec 2010 12:47:16 +0100 Subject: remove token_id from saving in table --- application.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index f11a211..7935577 100644 --- a/application.rb +++ b/application.rb @@ -4,13 +4,15 @@ require 'opentox-ruby' class ModelStore include DataMapper::Resource - attr_accessor :prediction_dataset + attr_accessor :prediction_dataset, :token_id property :id, Serial property :uri, String, :length => 255 property :yaml, Text, :length => 2**32-1 - property :token_id, String, :length => 255 + #property :token_id, String, :length => 255 property :created_at, DateTime + @token_id = nil + after :save, :check_policy private -- cgit v1.2.3 From 96356b0d439342b9132847b9f6c38cb7a10206c8 Mon Sep 17 00:00:00 2001 From: mr Date: Tue, 14 Dec 2010 16:37:56 +0100 Subject: rename token_id to subjectid --- application.rb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 7935577..99e4619 100644 --- a/application.rb +++ b/application.rb @@ -4,20 +4,19 @@ require 'opentox-ruby' class ModelStore include DataMapper::Resource - attr_accessor :prediction_dataset, :token_id + attr_accessor :prediction_dataset, :subjectid property :id, Serial property :uri, String, :length => 255 property :yaml, Text, :length => 2**32-1 - #property :token_id, String, :length => 255 property :created_at, DateTime - @token_id = nil + @subjectid = nil after :save, :check_policy private def check_policy - OpenTox::Authorization.check_policy(uri, token_id) + OpenTox::Authorization.check_policy(uri, subjectid) end end @@ -61,10 +60,10 @@ delete '/:id/?' do uri = ModelStore.get(params[:id]).uri ModelStore.get(params[:id]).destroy! "Model #{params[:id]} deleted." - if params[:token_id] and !ModelStore.get(params[:id]) and uri + if params[:subjectid] and !ModelStore.get(params[:id]) and uri begin - aa = OpenTox::Authorization.delete_policies_from_uri(uri, params[:token_id]) - LOGGER.debug "Policy deleted for Model URI: #{uri} with token_id: #{params[:token_id]} with result: #{aa}" + aa = OpenTox::Authorization.delete_policies_from_uri(uri, params[:subjectid]) + LOGGER.debug "Policy deleted for Model URI: #{uri} with subjectid: #{params[:subjectid]} with result: #{aa}" rescue LOGGER.warn "Policy delete error for Model URI: #{uri}" end -- cgit v1.2.3 From 6edd4387f6e1eaf0178321ca97d9814deb8f3e1f Mon Sep 17 00:00:00 2001 From: mr Date: Tue, 11 Jan 2011 17:01:53 +0100 Subject: get metadata for models / indenting --- application.rb | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 99e4619..4fc749d 100644 --- a/application.rb +++ b/application.rb @@ -52,27 +52,30 @@ end get '/?' do # get index of models response['Content-Type'] = 'text/uri-list' + params.delete_if{|k,v| k=="subjectid"} ModelStore.all(params).collect{|m| m.uri}.join("\n") + "\n" end delete '/:id/?' do - begin - uri = ModelStore.get(params[:id]).uri - ModelStore.get(params[:id]).destroy! - "Model #{params[:id]} deleted." - if params[:subjectid] and !ModelStore.get(params[:id]) and uri + begin + uri = ModelStore.get(params[:id]).uri + ModelStore.get(params[:id]).destroy! + "Model #{params[:id]} deleted." + subjectid = params[:subjectid] if params[:subjectid] + subjectid = request.env['HTTP_SUBJECTID'] if !subjectid and request.env['HTTP_SUBJECTID'] + if subjectid and !ModelStore.get(params[:id]) and uri begin - aa = OpenTox::Authorization.delete_policies_from_uri(uri, params[:subjectid]) - LOGGER.debug "Policy deleted for Model URI: #{uri} with subjectid: #{params[:subjectid]} with result: #{aa}" + res = OpenTox::Authorization.delete_policies_from_uri(uri, subjectid) + LOGGER.debug "Policy deleted for Model URI: #{uri} with subjectid: #{subjectid} with result: #{res}" rescue LOGGER.warn "Policy delete error for Model URI: #{uri}" end end response['Content-Type'] = 'text/plain' "Model #{params[:id]} deleted." - rescue - halt 404, "Model #{params[:id]} does not exist." - end + rescue + halt 404, "Model #{params[:id]} does not exist." + end end -- cgit v1.2.3 From 0fdf7ed7fb5b80c78aaa16f8c75ce11dc3840d6e Mon Sep 17 00:00:00 2001 From: mr Date: Tue, 18 Jan 2011 11:29:42 +0100 Subject: get subjectid from api-wrapper helper --- application.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 4fc749d..ae4d064 100644 --- a/application.rb +++ b/application.rb @@ -61,12 +61,11 @@ delete '/:id/?' do uri = ModelStore.get(params[:id]).uri ModelStore.get(params[:id]).destroy! "Model #{params[:id]} deleted." - subjectid = params[:subjectid] if params[:subjectid] - subjectid = request.env['HTTP_SUBJECTID'] if !subjectid and request.env['HTTP_SUBJECTID'] - if subjectid and !ModelStore.get(params[:id]) and uri + + if @subjectid and !ModelStore.get(params[:id]) and uri begin - res = OpenTox::Authorization.delete_policies_from_uri(uri, subjectid) - LOGGER.debug "Policy deleted for Model URI: #{uri} with subjectid: #{subjectid} with result: #{res}" + res = OpenTox::Authorization.delete_policies_from_uri(uri, @subjectid) + LOGGER.debug "Policy deleted for Model URI: #{uri} with subjectid: #{@subjectid} with result: #{res}" rescue LOGGER.warn "Policy delete error for Model URI: #{uri}" end -- cgit v1.2.3 From b4513bfbf3a2d3e0c34de0765d4ea604e2f1500c Mon Sep 17 00:00:00 2001 From: root Date: Thu, 24 Feb 2011 10:45:33 +0000 Subject: file storage implemented for models --- application.rb | 126 +++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 92 insertions(+), 34 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index ae4d064..eb6d53a 100644 --- a/application.rb +++ b/application.rb @@ -2,14 +2,16 @@ require 'rubygems' gem "opentox-ruby", "~> 0" require 'opentox-ruby' +set :lock, true +=begin class ModelStore - include DataMapper::Resource - attr_accessor :prediction_dataset, :subjectid - property :id, Serial - property :uri, String, :length => 255 - property :yaml, Text, :length => 2**32-1 - property :created_at, DateTime - + include DataMapper::Resource + attr_accessor :prediction_dataset, :subjectid + property :id, Serial + property :uri, String, :length => 255 + property :yaml, Text, :length => 2**32-1 + property :created_at, DateTime + @subjectid = nil after :save, :check_policy @@ -18,45 +20,100 @@ class ModelStore def check_policy OpenTox::Authorization.check_policy(uri, subjectid) end - + end +=end class PredictionCache # cache predictions - include DataMapper::Resource - property :id, Serial - property :compound_uri, String, :length => 255 - property :model_uri, String, :length => 255 - property :dataset_uri, String, :length => 255 + include DataMapper::Resource + property :id, Serial + property :compound_uri, String, :length => 255 + property :model_uri, String, :length => 255 + property :dataset_uri, String, :length => 255 end DataMapper.auto_upgrade! -require 'lazar.rb' -#require 'property_lazar.rb' +before do + @accept = request.env['HTTP_ACCEPT'] + @accept = 'application/rdf+xml' if @accept == '*/*' or @accept == '' or @accept.nil? + @id = request.path_info.match(/^\/\d+/) + unless @id.nil? + @id = @id.to_s.sub(/\//,'').to_i + + @uri = uri @id + @yaml_file = "public/#{@id}.yaml" + halt 404, "Dataset #{@id} not found." unless File.exists? @yaml_file + end + + # make sure subjectid is not included in params, subjectid is set as member variable + params.delete(:subjectid) +end +require 'lazar.rb' helpers do - def activity(a) - case a.to_s - when "true" - act = "active" - when "false" - act = "inactive" - else - act = "not available" - end - act - end + + def next_id + id = Dir["./public/*yaml"].collect{|f| File.basename(f.sub(/.yaml/,'')).to_i}.sort.last + id = 0 if id.nil? + id + 1 + end + + def uri(id) + url_for "/#{id}", :full + end + + def uri_available?(urlStr) + url = URI.parse(urlStr) + unless @subjectid + Net::HTTP.start(url.host, url.port) do |http| + return http.head(url.request_uri).code == "200" + end + else + Net::HTTP.start(url.host, url.port) do |http| + return http.post(url.request_uri, "subjectid=#{@subjectid}").code == "202" + end + end + end + + def activity(a) + case a.to_s + when "true" + act = "active" + when "false" + act = "inactive" + else + act = "not available" + end + act + end end get '/?' do # get index of models - response['Content-Type'] = 'text/uri-list' - params.delete_if{|k,v| k=="subjectid"} - ModelStore.all(params).collect{|m| m.uri}.join("\n") + "\n" + response['Content-Type'] = 'text/uri-list' + Dir["./public/*yaml"].collect{|f| File.basename(f.sub(/.yaml/,'')).to_i}.sort.collect{|n| uri n}.join("\n") + "\n" end delete '/:id/?' do + LOGGER.debug "Deleting model with id "+@id.to_s + begin + FileUtils.rm @yaml_file + if @subjectid and !File.exists? @yaml_file and @uri + begin + res = OpenTox::Authorization.delete_policies_from_uri(@uri, @subjectid) + LOGGER.debug "Policy deleted for Dataset URI: #{@uri} with result: #{res}" + rescue + LOGGER.warn "Policy delete error for Dataset URI: #{@uri}" + end + end + response['Content-Type'] = 'text/plain' + "Model #{@id} deleted." + rescue + halt 404, "Model #{@id} does not exist." + end +=begin begin uri = ModelStore.get(params[:id]).uri ModelStore.get(params[:id]).destroy! @@ -75,13 +132,14 @@ delete '/:id/?' do rescue halt 404, "Model #{params[:id]} does not exist." end +=end end delete '/?' do - # TODO delete datasets - ModelStore.auto_migrate! - #Prediction.auto_migrate! - response['Content-Type'] = 'text/plain' - "All models and cached predictions deleted." + # TODO delete datasets + FileUtils.rm Dir["public/*.yaml"] + PredictionCache.auto_migrate! + response['Content-Type'] = 'text/plain' + "All models and cached predictions deleted." end -- cgit v1.2.3 From c13727354eda6a71e0cb2b583b4e04efc1ee8a1e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 25 Feb 2011 17:53:25 +0000 Subject: ohm/redis backend --- application.rb | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index eb6d53a..79063f5 100644 --- a/application.rb +++ b/application.rb @@ -24,16 +24,19 @@ class ModelStore end =end -class PredictionCache +class PredictionCache < Ohm::Model # cache predictions - include DataMapper::Resource - property :id, Serial - property :compound_uri, String, :length => 255 - property :model_uri, String, :length => 255 - property :dataset_uri, String, :length => 255 + #include DataMapper::Resource + #attribute :id, Serial + attribute :compound_uri + attribute :model_uri + attribute :dataset_uri + + index :compound_uri + index :model_uri end -DataMapper.auto_upgrade! +#DataMapper.auto_upgrade! before do @accept = request.env['HTTP_ACCEPT'] @@ -139,7 +142,8 @@ end delete '/?' do # TODO delete datasets FileUtils.rm Dir["public/*.yaml"] - PredictionCache.auto_migrate! + PredictionCache.all.each {|cache| cache.delete } + #PredictionCache.auto_migrate! response['Content-Type'] = 'text/plain' "All models and cached predictions deleted." end -- cgit v1.2.3 From 018c39fc95e6525ce10cc73167aab57ce0ae8de9 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Sun, 27 Feb 2011 09:32:57 +0100 Subject: code cleanup --- application.rb | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 79063f5..ff3abe7 100644 --- a/application.rb +++ b/application.rb @@ -3,31 +3,8 @@ gem "opentox-ruby", "~> 0" require 'opentox-ruby' set :lock, true -=begin -class ModelStore - include DataMapper::Resource - attr_accessor :prediction_dataset, :subjectid - property :id, Serial - property :uri, String, :length => 255 - property :yaml, Text, :length => 2**32-1 - property :created_at, DateTime - - @subjectid = nil - - after :save, :check_policy - - private - def check_policy - OpenTox::Authorization.check_policy(uri, subjectid) - end - -end -=end class PredictionCache < Ohm::Model - # cache predictions - #include DataMapper::Resource - #attribute :id, Serial attribute :compound_uri attribute :model_uri attribute :dataset_uri @@ -36,8 +13,6 @@ class PredictionCache < Ohm::Model index :model_uri end -#DataMapper.auto_upgrade! - before do @accept = request.env['HTTP_ACCEPT'] @accept = 'application/rdf+xml' if @accept == '*/*' or @accept == '' or @accept.nil? @@ -116,26 +91,6 @@ delete '/:id/?' do rescue halt 404, "Model #{@id} does not exist." end -=begin - begin - uri = ModelStore.get(params[:id]).uri - ModelStore.get(params[:id]).destroy! - "Model #{params[:id]} deleted." - - if @subjectid and !ModelStore.get(params[:id]) and uri - begin - res = OpenTox::Authorization.delete_policies_from_uri(uri, @subjectid) - LOGGER.debug "Policy deleted for Model URI: #{uri} with subjectid: #{@subjectid} with result: #{res}" - rescue - LOGGER.warn "Policy delete error for Model URI: #{uri}" - end - end - response['Content-Type'] = 'text/plain' - "Model #{params[:id]} deleted." - rescue - halt 404, "Model #{params[:id]} does not exist." - end -=end end @@ -143,7 +98,6 @@ delete '/?' do # TODO delete datasets FileUtils.rm Dir["public/*.yaml"] PredictionCache.all.each {|cache| cache.delete } - #PredictionCache.auto_migrate! response['Content-Type'] = 'text/plain' "All models and cached predictions deleted." end -- cgit v1.2.3 From f65ab8815edc18e918e659cb74cb18269fedf5a3 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Wed, 9 Mar 2011 10:26:05 +0100 Subject: uri_available moved to opentox-ruby helper --- application.rb | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index ff3abe7..9d8c0d5 100644 --- a/application.rb +++ b/application.rb @@ -43,19 +43,6 @@ helpers do url_for "/#{id}", :full end - def uri_available?(urlStr) - url = URI.parse(urlStr) - unless @subjectid - Net::HTTP.start(url.host, url.port) do |http| - return http.head(url.request_uri).code == "200" - end - else - Net::HTTP.start(url.host, url.port) do |http| - return http.post(url.request_uri, "subjectid=#{@subjectid}").code == "202" - end - end - end - def activity(a) case a.to_s when "true" -- cgit v1.2.3 From fa86b693e73db0959f92c5291050634dec237d38 Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Wed, 9 Mar 2011 12:00:09 +0100 Subject: version bumped to 1.0.0 --- application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 9d8c0d5..866a267 100644 --- a/application.rb +++ b/application.rb @@ -1,5 +1,5 @@ require 'rubygems' -gem "opentox-ruby", "~> 0" +gem "opentox-ruby", "~> 1" require 'opentox-ruby' set :lock, true -- cgit v1.2.3