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
#<Set: | |
{ | |
"/Users/valerie/.rvm/gems/ruby-2.3.1@cc/gems/hydra-core-10.3.0/app/helpers/blacklight_helper", | |
"/Users/valerie/.rvm/gems/ruby-2.3.1@cc/gems/hydra-core-10.3.0/app/helpers/hydra/blacklight_helper_behavior", | |
"/Users/valerie/.rvm/gems/ruby-2.3.1@cc/gems/blacklight-6.7.1/app/helpers/blacklight/blacklight_helper_behavior", | |
"/Users/valerie/.rvm/gems/ruby-2.3.1@cc/gems/blacklight-6.7.1/app/helpers/blacklight_url_helper", | |
"/Users/valerie/.rvm/gems/ruby-2.3.1@cc/gems/blacklight-6.7.1/app/helpers/blacklight/url_helper_behavior", | |
"/Users/valerie/.rvm/gems/ruby-2.3.1@cc/gems/blacklight-6.7.1/app/helpers/blacklight/deprecated_url_helper_behavior", | |
"/Users/valerie/.rvm/gems/ruby-2.3.1@cc/gems/blacklight-6.7.1/app/helpers/blacklight_configuration_helper", | |
"/Users/valerie/.rvm/gems/ruby-2.3.1@cc/gems/blacklight-6.7.1/app/helpers/blacklight/configuration_helper_behavior", |
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
999 requiring: /Users/valerie/.rvm/gems/ruby-2.3.1@cc/gems/devise-4.2.0/app/controllers/devise/confirmations_controller | |
999 requiring: /Users/valerie/.rvm/gems/ruby-2.3.1@cc/gems/devise-4.2.0/app/controllers/devise_controller | |
999 requiring: devise/controllers/scoped_views | |
999 requiring: devise/confirmations_helper | |
999 requiring: /Users/valerie/.rvm/gems/ruby-2.3.1@cc/gems/devise-4.2.0/app/controllers/devise/omniauth_callbacks_controller | |
999 requiring: devise/omniauth_callbacks_helper | |
999 requiring: /Users/valerie/.rvm/gems/ruby-2.3.1@cc/gems/devise-4.2.0/app/controllers/devise/passwords_controller | |
999 requiring: devise/passwords_helper | |
999 requiring: /Users/valerie/.rvm/gems/ruby-2.3.1@cc/gems/devise-4.2.0/app/controllers/devise/registrations_controller | |
999 requiring: devise/registrations_helper |
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
How are video derivatives done in hyrax? | |
1. In hyrax app/jobs/create_derivatives_job.rb | |
it calls: | |
file_set.create_derivatives(filename) | |
2. In hyrax app/services/hyrax/file_set_derivatives_service.rb | |
the create_derivatives method calls: | |
create_video_derivatives(filename) |
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
Failures: | |
1) Hydra::Derivatives::AudioDerivatives.create with a filename creates derivatives | |
Failure/Error: remote_file.mime_type = m_type | |
Ldp::BadRequest: | |
Prefix http has not been registered | |
# /Users/valerie/.rvm/gems/ruby-2.3.3@hydra-derivatives/gems/ldp-0.6.4/lib/ldp/client/methods.rb:119:in `block in check_for_errors' | |
# /Users/valerie/.rvm/gems/ruby-2.3.3@hydra-derivatives/gems/ldp-0.6.4/lib/ldp/client/methods.rb:117:in `tap' | |
# /Users/valerie/.rvm/gems/ruby-2.3.3@hydra-derivatives/gems/ldp-0.6.4/lib/ldp/client/methods.rb:117:in `check_for_errors' |
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
# frozen_string_literal: true | |
# See the comments in the ProjectPositionSequencer class for info about how the gaps are set | |
# for the "position" of the Project records. | |
# Goals of this class: | |
# * Reset the positions so that they have proper gaps between records. | |
# * Try to perform the updates in fewer SQL queries, so that it's not 1 update per record. | |
# Assumption: It's okay if the update takes a long time. For now, the rebalancer is rarely |
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
# frozen_string_literal: true | |
require 'rails_helper' | |
require 'support/login' | |
RSpec.describe "Finishing tasks from dashboard:", type: :system, js: true do | |
let(:project) { Project.create!(title: 'Test Project') } | |
let!(:task_1) { project.tasks.create!(title: 'T111') } | |
let!(:task_2) { project.tasks.create!(title: 'T222') } | |
let(:new_task) { Task.find_by_title('T333') } |