Skip to content

Version 1.2.0

Compare
Choose a tag to compare
@kerchner kerchner released this 02 Jun 19:13
· 478 commits to master since this release

About this release

  • Hyrax upgrade from v2.0.1 to v2.5.0 , which brings:
    • UI styling and accessibility improvements
      • Fixes #73 ("My Works" breadcrumb had been appearing for non-logged-in users)
    • Resolves #157 (links for Manage Embargoes and Manage Leases were not showing up on the Dashboard)
    • Security improvements (#119, #166)
    • Functionality improvements
      • Fixes #178 (default Admin Set is now Default Admin Set, not ETDs)
    • From Hyrax 2.1.0 :
      • Collection Extensions with collection types and control over collection nesting, sharing, discovery, branding, and membership in collections.
      • UniversalViewer for images in works
    • Enhancements/fixes from Hyrax 2.2.0, Hyrax 2.2.4, Hyrax 2.4.1, and Hyrax 2.5.0
    • Ruby upgrade from v2.3.3 to 2.5.5 (#210)
    • Rails upgrade from v5.0.7 to v5.1.7 (#210)
    • Passenger upgrade from v5.1.7 to v5.3.7 (#215)
  • Various gem version upgrades
  • Fixed bibliographic_citation field (labled as "Previous Publication Information") - #194
  • UI branding
    • #208 GW-ified footer references
  • Metadata updates
    • GW Units: #203, #212
    • Resource Types: #195 (removed "Masters Thesis")
  • Share Your Work link updated to new Google form (#197)
  • Updated "Featured Researcher" to Wooden Teeth (#202)

Upgrade instructions

Upgrade Ruby to 2.5.5:

rvm install 2.5.5
rvm --default use 2.5.5
rvm remove 2.3.3

Removing the previous Ruby version may require manually deleting the directory (and symbolic link).

Reinstall bundler:

gem install bundler

Install rails

gem install rails -v 5.1.7 -N

Check out the 1.2.0 tag:

cd /opt/scholarspace/scholarspace-hyrax
git pull origin master
git checkout 1.2.0

Reinstall the hyrax gems


cd /opt/scholarspace/scholarspace-hyrax
bundle install --without development --deployment

Reinstall passenger 5.1.7 -- follow the steps in this version's README.

Run Database migrations (as scholarspace user)

cd /opt/scholarspace/scholarspace-hyrax
rake db:migrate RAILS_ENV=production

Recompile assets (as scholarspace user)

cd /opt/scholarspace/scholarspace-hyrax
rake assets:precompile RAILS_ENV=production

Restart Apache

sudo service apache2 restart

1.1.3...1.2.0