lib/cocina/models.rb in cocina-models-0.75.0 vs lib/cocina/models.rb in cocina-models-0.76.0
- old
+ new
@@ -7,12 +7,15 @@
require 'json'
require 'yaml'
require 'openapi_parser'
require 'openapi3_parser'
require 'active_support'
+require 'active_support/core_ext/class/attribute'
+require 'active_support/core_ext/enumerable'
require 'active_support/core_ext/hash/indifferent_access'
require 'active_support/core_ext/string'
+require 'active_support/core_ext/object/deep_dup'
require 'thor'
# Help Zeitwerk find some of our classes
class CocinaModelsInflector < Zeitwerk::Inflector
INFLECTIONS = {
@@ -22,9 +25,10 @@
'dro_access' => 'DROAccess',
'dro_structural' => 'DROStructural',
'dro_with_metadata' => 'DROWithMetadata',
'request_dro_structural' => 'RequestDROStructural',
'rspec' => 'RSpec',
+ 'value_uri' => 'ValueURI',
'version' => 'VERSION'
}.freeze
def camelize(basename, _abspath)
INFLECTIONS.fetch(basename) { super }