Skip to content

Commit

Permalink
Migrate to zeitwerk (#2241)
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbergja authored Sep 8, 2023
1 parent 0f52a99 commit 6e8a31d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 66 deletions.
13 changes: 0 additions & 13 deletions app/models/electronic_locations/ark_location.rb

This file was deleted.

26 changes: 0 additions & 26 deletions app/services/ark_resolver.rb

This file was deleted.

1 change: 1 addition & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ class Application < Rails::Application
config.authz = netids.split if netids

config.alma = config_for(:alma).with_indifferent_access
config.autoloader = :zeitwerk
end
end
20 changes: 4 additions & 16 deletions config/initializers/inflections.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
# Be sure to restart your server when you modify this file.

# Add new inflection rules using the following format. Inflections
# are locale specific, and you may define rules for as many different
# locales as you wish. All of these examples are active by default:
# ActiveSupport::Inflector.inflections(:en) do |inflect|
# inflect.plural /^(ox)$/i, '\1en'
# inflect.singular /^(ox)en/i, '\1'
# inflect.irregular 'person', 'people'
# inflect.uncountable %w( fish sheep )
# end

# These inflection rules are supported but not enabled by default:
# ActiveSupport::Inflector.inflections(:en) do |inflect|
# inflect.acronym 'RESTful'
# end
ActiveSupport::Inflector.inflections do |inflect|
inflect.acronym 'IIIF'
inflect.acronym 'URI'
end
11 changes: 0 additions & 11 deletions spec/models/electronic_locations/ark_location_spec.rb

This file was deleted.

0 comments on commit 6e8a31d

Please sign in to comment.