lib/zeitwerk_config.rb in ruby-jss-2.0.0a11 vs lib/zeitwerk_config.rb in ruby-jss-2.0.0b1

- old
+ new

@@ -84,14 +84,15 @@ loader.inflector.inflect 'vpp_account' => 'VPPAccount' loader.inflector.inflect 'removable_macaddr' => 'RemovableMacAddress' loader.inflector.inflect 'md_prestage_name' => 'MobileDevicePrestageName' loader.inflector.inflect 'md_prestage_names' => 'MobileDevicePrestageNames' loader.inflector.inflect 'md_prestage_skip_setup_items' => 'MobileDevicePrestageSkipSetupItems' + loader.inflector.inflect 'macos_managed_updates' => 'MacOSManagedUpdates' # deprecations, separated so they load only when used - loader.inflector.inflect("deprecated_api_constant" => "API") - loader.inflector.inflect("deprecated_config_constant" => "CONFIG") + loader.inflector.inflect('deprecated_api_constant' => 'API') + loader.inflector.inflect('deprecated_config_constant' => 'CONFIG') # These should be ignored, some will be required directly ##################################### loader.ignore "#{__dir__}/jamf/api/jamf_pro/pre_oapi" @@ -132,11 +133,10 @@ parsed = value.parse_oapi_properties Jamf.load_msg "Parsed OAPI_PROPERTIES for #{value}" if parsed end - # Generate the identifier list methods (.all_*) for subclasses of APIObject # in the Classic API if value.is_a?(Class) && value.superclass == Jamf::APIObject done = value.define_identifier_list_methods @@ -156,8 +156,8 @@ def eager_load_for_testing return unless JAMF_ZEITWERK_EAGER_LOAD_FILE.file? @loader.eager_load(force: true) warn :loaded -# rescue Zeitwerk::NameError => e -# warn e.message + # rescue Zeitwerk::NameError => e + # warn e.message end