-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from epimorphics/issue/9-change-duration-unit-…
…return-type-to-integer Update duration unit return type to integer
- Loading branch information
Showing
14 changed files
with
297 additions
and
46 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
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,10 +1,11 @@ | ||
# frozen-string-literal: true | ||
# frozen_string_literal: true | ||
|
||
require 'bundler/gem_tasks' | ||
require 'rake/testtask' | ||
|
||
Rake::TestTask.new(:test) do |t| | ||
t.test_files = FileList['test/**/*_test.rb'] | ||
t.warning = false | ||
end | ||
|
||
task default: :test |
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,4 +1,4 @@ | ||
# frozen-string-literal: true | ||
# frozen_string_literal: true | ||
|
||
lib = File.expand_path('lib', __dir__) | ||
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) | ||
|
@@ -10,7 +10,8 @@ Gem::Specification.new do |spec| | |
spec.version = DataServicesApi::VERSION | ||
spec.authors = ['Epimorphics Ltd'] | ||
spec.email = ['[email protected]'] | ||
spec.summary = 'Ruby wrapper for Epimorphics data service API' | ||
spec.summary = 'Data Services API' | ||
spec.description = 'Ruby wrapper for Epimorphics Data Services API' | ||
spec.homepage = 'https://github.com/epimorphics/data-API-ruby' | ||
spec.license = 'MIT' | ||
spec.required_ruby_version = '>= 2.6' | ||
|
@@ -26,7 +27,7 @@ Gem::Specification.new do |spec| | |
spec.add_runtime_dependency 'json', '~> 2.6.1' | ||
spec.add_runtime_dependency 'yajl-ruby', '~> 1.4.1' | ||
|
||
spec.add_development_dependency 'bundler', '~> 2.3.5' | ||
spec.add_development_dependency 'bundler', '~> 2.4' | ||
spec.add_development_dependency 'byebug', '~> 11.1.3' | ||
spec.add_development_dependency 'excon', '~> 0.90.0' | ||
spec.add_development_dependency 'json_expressions', '~> 0.9.0' | ||
|
95 changes: 95 additions & 0 deletions
95
fixtures/vcr_cassettes/test_0007_should_also_instrument_a_failed_API_call.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
75 changes: 75 additions & 0 deletions
75
fixtures/vcr_cassettes/test_0009_should_correctly_receive_a_duration_in_microseconds.yml
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Oops, something went wrong.