Skip to content

Releases: ualbertalib/acts_as_rdfable

[0.5.0] - 2023-11-08

08 Nov 16:35
e7ae5f7
Compare
Choose a tag to compare

What's Changed

  • Use .class instead of .singleton_class due to issue with Rails 7 by @murny in #14
  • Bump version file to v0.5.0 by @murny in #18

Full Changelog: 0.4.0...v0.5.0

Configuration and Export

27 Sep 19:59
1ea0065
Compare
Choose a tag to compare

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

11 Aug 16:11
ad213ea
Compare
Choose a tag to compare

Added:

@pgwillia
Add a lookup for attribute given an rdf predicate

Usage: instance.attribute_for_rdf_annotation(predicate)

v0.2.4

28 Aug 21:25
6b22406
Compare
Choose a tag to compare

Changes:

-Moved some logic to decorators as they require defaults and added publisher field
-moved publisher field

v0.2.3

19 Aug 20:26
bb4e1aa
Compare
Choose a tag to compare

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