Skip to content

Commit

Permalink
remove deprecated resource_index
Browse files Browse the repository at this point in the history
  • Loading branch information
alexskr committed Mar 10, 2022
1 parent 16b1fab commit dac4061
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 37 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN mkdir -p /srv/ontoportal/ontologies_linked_data
COPY Gemfile* *.gemspec /srv/ontoportal/ontologies_linked_data/
WORKDIR /srv/ontoportal/ontologies_linked_data
RUN gem install bundler -v "$(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1)"
RUN bundle install
RUN bundle install --jobs 4

COPY . /srv/ontoportal/ontologies_linked_data

Expand Down
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,3 @@ end
# NCBO gems (can be from a local dev path or from rubygems/git)
gem 'goo', github: 'ncbo/goo', branch: 'develop'
gem 'sparql-client', github: 'ncbo/sparql-client', branch: 'develop'

# ResourceIndex dependencies (managed per-platform)
gem 'ncbo_resource_index', github: 'ncbo/resource_index'
30 changes: 0 additions & 30 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,6 @@ GIT
systemu
uuid

GIT
remote: https://github.com/ncbo/resource_index.git
revision: 24a7f14a6da4f4a0eaba1016ca5a378dfccd7441
specs:
ncbo_resource_index (0.0.1)
elasticsearch (= 2.0.0)
mysql2 (= 0.5.2)
pony
ref
ruby-xxHash
sequel
typhoeus

GIT
remote: https://github.com/ncbo/sparql-client.git
revision: fb4a89b420f8eb6dda5190a126b6c62e32c4c0c9
Expand Down Expand Up @@ -58,20 +45,10 @@ GEM
docile (1.4.0)
domain_name (0.5.20190701)
unf (>= 0.0.5, < 1.0.0)
elasticsearch (2.0.0)
elasticsearch-api (= 2.0.0)
elasticsearch-transport (= 2.0.0)
elasticsearch-api (2.0.0)
multi_json
elasticsearch-transport (2.0.0)
faraday
multi_json
email_spec (2.2.0)
htmlentities (~> 4.3.3)
launchy (~> 2.1)
mail (~> 2.7)
ethon (0.15.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
faraday (1.10.0)
faraday-em_http (~> 1.0)
Expand Down Expand Up @@ -126,7 +103,6 @@ GEM
powerbar
multi_json (1.15.0)
multipart-post (2.1.1)
mysql2 (0.5.2)
net-http-persistent (2.9.4)
netrc (0.11.0)
oj (2.18.5)
Expand All @@ -150,7 +126,6 @@ GEM
rdf (1.0.8)
addressable (>= 2.2)
redis (4.6.0)
ref (2.0.0)
regexp_parser (2.2.1)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
Expand All @@ -172,10 +147,8 @@ GEM
rubocop-ast (1.16.0)
parser (>= 3.1.1.0)
ruby-progressbar (1.11.0)
ruby-xxHash (0.4.0.2)
ruby2_keywords (0.0.5)
rubyzip (1.3.0)
sequel (5.54.0)
simplecov (0.21.2)
docile (~> 1.1)
simplecov-html (~> 0.11)
Expand All @@ -190,8 +163,6 @@ GEM
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thread_safe (0.3.6)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (0.3.60)
unf (0.1.4)
unf_ext
Expand All @@ -216,7 +187,6 @@ DEPENDENCIES
minitest
minitest-reporters (>= 0.5.0)
multi_json (~> 1.0)
ncbo_resource_index!
oj (~> 2.0)
omni_logger
pony
Expand Down
2 changes: 0 additions & 2 deletions lib/ontologies_linked_data/models/class.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
require "multi_json"
require "ontologies_linked_data/models/notes/note"
require "ontologies_linked_data/mappings/mappings"
require "ncbo_resource_index"

module LinkedData
module Models
class ClassAttributeNotLoaded < StandardError
end

class Class < LinkedData::Models::Base
include ResourceIndex::Class

model :class, name_with: :id, collection: :submission,
namespace: :owl, :schemaless => :true,
Expand Down
1 change: 0 additions & 1 deletion ontologies_linked_data.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Gem::Specification.new do |gem|
gem.add_dependency("rsolr")
gem.add_dependency("pony")
gem.add_dependency("omni_logger")
gem.add_dependency("ncbo_resource_index")

gem.add_development_dependency("email_spec")

Expand Down

0 comments on commit dac4061

Please sign in to comment.