Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Av old hyrax #1130

Open
wants to merge 211 commits into
base: develop
Choose a base branch
from
Open

Av old hyrax #1130

wants to merge 211 commits into from

Conversation

jwellnit
Copy link
Collaborator

Add audio visual work type and associated back-end support

@jwellnit jwellnit self-assigned this May 28, 2024
require 'digest/md5'
require 'fileutils'

module Spot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 2 locations. Consider refactoring.

require 'digest/md5'
require 'fileutils'

module Spot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar blocks of code found in 2 locations. Consider refactoring.

Copy link

codeclimate bot commented Sep 3, 2024

Code Climate has analyzed commit d6dc02f and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 86.4% (100% is the threshold).

This pull request will bring the total coverage in the repository to 97.6%.

View more on Code Climate.

@jwellnit jwellnit force-pushed the av-old-hyrax branch 2 times, most recently from 8a30e5a to 52826be Compare September 9, 2024 15:30
return ""
end
client_opts = {}
client_opts = { endpoint: ENV['AWS_ENDPOINT_URL']&.sub('minio', 'localhost') } if Rails.env.development?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

try pulling out the & after ENV['AWS_ENDPOINT_URL'] to fix coverage? since you're already testing to see if it's empty above, you don't need to assume it might not be there at this point

Copy link

codecov bot commented Jan 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.75%. Comparing base (27cb5e8) to head (79c9430).
Report is 2 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1130      +/-   ##
===========================================
+ Coverage    98.56%   98.75%   +0.19%     
===========================================
  Files          177      192      +15     
  Lines         3059     3368     +309     
===========================================
+ Hits          3015     3326     +311     
+ Misses          44       42       -2     
Files with missing lines Coverage Δ
app/actors/hyrax/actors/audio_visual_actor.rb 100.00% <100.00%> (ø)
...ers/concerns/spot/downloads_controller_behavior.rb 100.00% <100.00%> (ø)
app/controllers/hyrax/audio_visuals_controller.rb 100.00% <100.00%> (ø)
app/forms/hyrax/audio_visual_form.rb 100.00% <100.00%> (ø)
app/helpers/audio_visual_helper.rb 100.00% <100.00%> (ø)
app/indexers/audio_visual_indexer.rb 100.00% <100.00%> (ø)
app/indexers/spot/file_set_indexer.rb 100.00% <100.00%> (ø)
app/jobs/spot/transcript_job.rb 100.00% <100.00%> (ø)
app/models/audio_visual.rb 100.00% <100.00%> (ø)
...p/models/concerns/spot/solr_document_attributes.rb 100.00% <100.00%> (ø)
... and 10 more

... and 1 file with indirect coverage changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants