-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Sync: merge releases 2.2.3 and 2.2.4 from ncbo (#3)"
This reverts commit 0feaef1.
- Loading branch information
Showing
12 changed files
with
42 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
# frozen_string_literal: true | ||
|
||
source 'https://rubygems.org' | ||
|
||
gemspec | ||
|
||
gem 'pry' | ||
gem 'rake' | ||
gem 'rubocop', '~> 1.43' | ||
gem 'pry' | ||
gem 'test-unit' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
# frozen_string_literal: true | ||
|
||
# config.rb is required for testing | ||
# unit test makes calls to bioportal api so it needs a valid API key which can | ||
# be set via ENV variable UT_APIKEY | ||
abort('UT_APIKEY env variable is not set. Canceling tests') unless ENV.include?('UT_APIKEY') | ||
abort('UT_APIKEY env variable is set to an empty value. Canceling tests') unless ENV['UT_APIKEY'].size > 5 | ||
|
||
LinkedData::Client.config do |config| | ||
config.rest_url = 'https://data.bioontology.org' | ||
config.apikey = ENV['UT_APIKEY'] | ||
# config.apikey = 'xxxxx-xxxxx-xxxxxxxxxx' | ||
config.links_attr = 'links' | ||
config.purl_host = 'purl.bioontology.org' | ||
config.purl_prefix = 'https://purl.bioontology.org/ontology' | ||
config.cache = false | ||
config.rest_url = 'https://data.bioontology.org' | ||
config.apikey = ENV['UT_APIKEY'] | ||
# config.apikey = 'xxxxx-xxxxx-xxxxxxxxxx' | ||
config.links_attr = 'links' | ||
config.cache = false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
require_relative 'lib/ontologies_api_client/version' | ||
|
||
Gem::Specification.new do |gem| | ||
gem.authors = ['Paul R Alexander'] | ||
gem.email = ['[email protected]'] | ||
|
@@ -16,7 +14,7 @@ Gem::Specification.new do |gem| | |
gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) | ||
gem.name = 'ontologies_api_client' | ||
gem.require_paths = ['lib'] | ||
gem.version = LinkedData::Client::VERSION | ||
gem.version = '2.2.2' | ||
|
||
gem.add_dependency('activesupport', '6.1.7.3') | ||
gem.add_dependency('addressable', '~> 2.8') | ||
|
@@ -28,7 +26,4 @@ Gem::Specification.new do |gem| | |
gem.add_dependency('multi_json') | ||
gem.add_dependency('oj') | ||
gem.add_dependency('spawnling', '2.1.5') | ||
|
||
gem.add_development_dependency('faraday-follow_redirects', '~> 0.3') | ||
gem.add_development_dependency('minitest', '~> 5.18') | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
# frozen_string_literal: true | ||
|
||
require 'minitest/autorun' | ||
require 'test-unit' | ||
require_relative '../lib/ontologies_api_client' | ||
require_relative '../config/config' | ||
|
||
module LinkedData | ||
module Client | ||
class TestCase < Minitest::Test | ||
class TestCase < Test::Unit::TestCase | ||
end | ||
end | ||
end |