ncbo / ontologies_linked_data

Models and serializers for ontologies and related artifacts backed by 4store
Other
17 stars 8 forks source link

Fix: Enhance zipped submissions support - follow up #174

Closed syphax-bouazzouni closed 10 months ago

syphax-bouazzouni commented 10 months ago

This PR is a fork of @alexskr solution (#172), handling the remaining the not passing test of #144

This iteration uses zlib module, to unzip Gz files (it seems zip module does not handle it).

Thanks, @alexskr for contributing to this.

codecov[bot] commented 10 months ago

Codecov Report

Merging #174 (299a01c) into develop (e33a0e4) will increase coverage by 0.04%. The diff coverage is 87.50%.

@@             Coverage Diff             @@
##           develop     #174      +/-   ##
===========================================
+ Coverage    80.75%   80.80%   +0.04%     
===========================================
  Files           63       63              
  Lines         4901     4907       +6     
===========================================
+ Hits          3958     3965       +7     
+ Misses         943      942       -1     
Flag Coverage Δ
unittests 80.80% <87.50%> (+0.04%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
lib/ontologies_linked_data/utils/file.rb 75.22% <87.50%> (+2.32%) :arrow_up: