the actual version was in lib/nyu_geoblacklight.rb in main; PR moves it to lib/nyugeoblacklight/version.rb which is a more common pattern.
config/application.rb loads all of lib in main (including rake tasks and other junk). now it's scoped to config.eager_load_paths += Dir["#{Rails.root}/lib/nyugeoblacklight/*.rb"]
Problem
Current staging footer shows "Running SDR 4.1.0", but it's actually running GBL 1.10.
Solution
Show GBL and SDR versions to make deploy tracking easier / current status more apparent.
PR Type
Feature
Notes
lib/nyugeoblacklight
all along but the dir inmain
is namedlib/nyu_geoblacklight
; the PR fixes the dir name tolib/geoblacklight
lib/nyu_geoblacklight.rb
inmain
; PR moves it tolib/nyugeoblacklight/version.rb
which is a more common pattern.config/application.rb
loads all oflib
inmain
(including rake tasks and other junk). now it's scoped toconfig.eager_load_paths += Dir["#{Rails.root}/lib/nyugeoblacklight/*.rb"]