lib/iqvoc/configuration/core.rb in iqvoc-4.1.3 vs lib/iqvoc/configuration/core.rb in iqvoc-4.2.0
- old
+ new
@@ -83,13 +83,13 @@
:href => "http://iqvoc.net/"
}]
}]
self.searchable_class_names = [
- 'Labeling::SKOS::Base',
- 'Labeling::SKOS::PrefLabel',
- 'Note::Base'
+ "Labeling::SKOS::Base",
+ "Labeling::SKOS::PrefLabel",
+ "Note::Base"
]
self.unlimited_search_results = false
self.default_rdf_namespace_helper_methods = [:iqvoc_default_rdf_namespaces]
@@ -101,23 +101,24 @@
:dct => "http://purl.org/dc/terms/",
:foaf => "http://xmlns.com/foaf/spec/"
}
# The class to use for automatic generation of change notes on every save
- self.change_note_class_name = 'Note::SKOS::ChangeNote'
+ self.change_note_class_name = "Note::SKOS::ChangeNote"
self.first_level_class_configuration_modules = [] # Will be set in the modules
- self.ability_class_name = 'Iqvoc::Ability'
+ self.ability_class_name = "Iqvoc::Ability"
- self.search_sections = ['klass', 'mode', 'terms', 'type', 'collection', 'languages']
+ self.search_sections = ["klass", "mode", "terms", "type", "collection", "languages"]
# initialize
self.config.register_settings({
"title" => "iQvoc",
"languages.pref_labeling" => ["en", "de"],
"languages.further_labelings.Labeling::SKOS::AltLabel" => ["en", "de"],
- "languages.notes" => ["en", "de"]
+ "languages.notes" => ["en", "de"],
+ "performance.unbounded_hierarchy" => false
})
end
module ClassMethods
def generate_secret_token