Skip to content

Commit

Permalink
HYC-1823 - Update to bulkrax 6.0.1 (#1073)
Browse files Browse the repository at this point in the history
* Update to bulkrax 6.0.1

* Update bulkrax_api.yml from upstream

* Add missing new field
  • Loading branch information
bbpennel authored Feb 9, 2024
1 parent 679f582 commit d7ac497
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 55 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ gem 'blacklight_advanced_search', '~> 8.0.0.alpha2'
gem 'blacklight_oai_provider', '7.0.2'
gem 'blacklight_range_limit', '~> 8.3.0'
gem 'bootstrap', '~> 4.0'
gem 'bulkrax', git: 'https://github.com/UNC-Libraries/bulkrax.git', branch: 'unc-bulkrax-5-development'
gem 'bulkrax', '6.0.1'
gem 'clamav-client', require: 'clamav/client'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 5.0.0'
Expand Down
37 changes: 15 additions & 22 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14,27 +14,6 @@ GIT
rails (>= 5.1, < 7.1)
view_component (>= 2.66, < 4)

GIT
remote: https://github.com/UNC-Libraries/bulkrax.git
revision: 605a43a5d9725cebb87d796b729991080970741f
branch: unc-bulkrax-5-development
specs:
bulkrax (5.4.1)
bagit (~> 0.4)
coderay
dry-monads (~> 1.5.0)
iso8601 (~> 0.9.0)
kaminari
language_list (~> 1.2, >= 1.2.1)
libxml-ruby (~> 3.2.4)
loofah (>= 2.2.3)
oai (>= 0.4, < 2.x)
rack (>= 2.0.6)
rails (>= 5.1.6)
rdf (>= 2.0.2, < 4.0)
rubyzip
simple_form

GIT
remote: https://github.com/UNC-Libraries/hyrax.git
revision: 6127e4878a833f807e9b884899294a708be226e0
Expand Down Expand Up @@ -254,6 +233,20 @@ GEM
signet (~> 0.8)
typhoeus
builder (3.2.4)
bulkrax (6.0.1)
bagit (~> 0.4)
coderay
iso8601 (~> 0.9.0)
kaminari
language_list (~> 1.2, >= 1.2.1)
libxml-ruby (~> 3.2.4)
loofah (>= 2.2.3)
oai (>= 0.4, < 2.x)
rack (>= 2.0.6)
rails (>= 5.1.6)
rdf (>= 2.0.2, < 4.0)
rubyzip
simple_form
byebug (11.1.3)
cancancan (3.5.0)
capybara (3.39.2)
Expand Down Expand Up @@ -1084,7 +1077,7 @@ DEPENDENCIES
blacklight_oai_provider (= 7.0.2)
blacklight_range_limit (~> 8.3.0)
bootstrap (~> 4.0)
bulkrax!
bulkrax (= 6.0.1)
byebug (~> 11.1.3)
capybara (~> 3.36)
clamav-client
Expand Down
30 changes: 0 additions & 30 deletions app/views/bulkrax/importers/new.html.erb

This file was deleted.

4 changes: 3 additions & 1 deletion config/bulkrax_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,6 @@ bulkrax:
- "Update and Import (importer has not yet been run)"
auth_token:
definition: 'Authentication token. Required for JSON requests only.'
required: true
required: true
port:
definition: 'Port to use in http request. Defaults to 80. May need to set to 3000 when running in the development environment'
2 changes: 1 addition & 1 deletion config/initializers/bulkrax.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# ]

# WorkType to use as the default if none is specified in the import
# Default is the first returned by Hyrax.config.curation_concerns
# Default is the first returned by Hyrax.config.curation_concerns, stringified
# config.default_work_type = MyWork

# Factory Class to use when generating and saving objects
Expand Down
1 change: 1 addition & 0 deletions spec/models/bulkrax/object_factory_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ module Bulkrax
subject { described_class.new(attributes: attributes,
source_identifier_value: '9p2909328',
work_identifier: '9p2909328',
work_identifier_search_field: 'id',
klass: General)
}

Expand Down

0 comments on commit d7ac497

Please sign in to comment.