Closed hackartisan closed 7 years ago
@hackmastera my only concern with this implementation is that you may or may not be matching up the height and width. Is it possible for the arrays to be height: [5,25] & width: [7,2], so you would end up with height:25 width:7 ? I'm guessing that may never happen, but I thought I would point it out...
@cam156 I'm not sure that such a file exists. however, if it did, I would probably argue that its cumulative dimensions are indeed 7 x 25.
no idea what this failure means and I'm not getting it locally. @samvera/hyrax-code-reviewers?
@hackmastera hmm, can you confirm that you've got AF 11.4.0 locally?
The error in Travis is thrown when calling #uri
on an AF object that returns true
when you ask it if it's a #new_record?
. AFAICT, that particular code (in the contains association) hasn't changed in 2-3 years, but what has changed somewhat recently is the #new_record?
determination: https://github.com/samvera/active_fedora/compare/v11.2.0...v11.4.0
@mjgiarlo good catch! I was running on 11.3.1; didn't update my bundle in the weeks between submitting this PR and coming back around to it. i'm getting the failures now after updating.
It looks like changing these specs from new
to create
fixes all but one failure. I don't have time to look at it more right now.
Actually that one failure is one I had before since I don't have the dependency required for the docx thumnbnail generation. I'm going to push now and see what travis says about changing these from new
to create
.
this is passing now. quick somebody review it before dependencies break it again! 😆 @samvera/hyrax-code-reviewers
:clap:
This can be reviewed; please don't merge until i've run it by the tech list as promised on this week's call. Update: this is ready for review / merge.