Releases: ualbertalib/acts_as_rdfable
[0.5.0] - 2023-11-08
Configuration and Export
Added
Configuring ActsAsRdfable
You can configure the following default values by overriding these values using ActsAsRdfable.configure
method.
dump_changes # false by default
dump_to_path # 'db/seeds/rdf_annotations.rb' by default
There's a handy generator that generates the default configuration file into config/initializers directory. Run the following generator command, then edit the generated file.
% rails g acts_as_rdfable:config
Exporting RDF Annoations
Any of the add/remove/delete methods in ActsAsRdfable::MigrationAnnotations::RdfConfig create/update a db/seeds/rdf_annotations.rb
file in our application. To enable this behaviour
# config/initializers/acts_as_rdfable.rb
ActsAsRdfable.configure do |config|
config.dump_changes = true
# config.dump_to_path = 'db/seeds/rdf_annotations.rb'
end
Add a lookup for attribute given an rdf predicate
Added:
@pgwillia
Add a lookup for attribute given an rdf predicate
Usage: instance.attribute_for_rdf_annotation(predicate)
v0.2.4
Changes:
-Moved some logic to decorators as they require defaults and added publisher field
-moved publisher field
v0.2.3
changes:
Commits on Aug 11, 2020
Merge pull request #8 from ualbertalib/msb/renderers_and_presenters …
@mbarnett
mbarnett committed 8 days ago
Commits on Feb 7, 2020
better align OAI:DC required fields with LAC
@mbarnett
mbarnett committed on 7 Feb
Rendering support for OAI:DC and OAI:ETDMS serializations
@mbarnett
mbarnett committed on 7 Feb
Commits on Jan 31, 2020
OAI-DC renderer; remaining work needed for metadata format support an… …
@mbarnett
mbarnett committed on 31 Jan
Commits on Jan 30, 2020
Working OAIDC renderer w/ presentation engine
@mbarnett
mbarnett committed on 30 Jan
Commits on Jan 28, 2020
Merge pull request #7 from ualbertalib/open-rails-dependency …
@murny
murny committed on 28 Jan
Open Rails dependency up for Rails 6
@murny
murny committed on 28 Jan