Skip to content

Releases: sul-dlss/dor-rights-auth

object rights convenience methods, bug fix, random maintenance

22 Aug 17:21
Compare
Choose a tag to compare

one bug fix:

  • fix minor bug in rights parsing for indexing (treat empty <machine/> stanza like <machine><none/></machine>)

small functional enhancements:

  • add a convenience method (#dark?) to see whether the rights metadata of an object indicates that it is dark as a whole
  • add #citation_only? method (analogous to #dark?)

minor maintenance:

  • minor spec refactoring
  • Add ruby 2.5.3 to travis build
  • remove obsolete ruby version from travis build list (2.1.2)
  • Enable caching and disable compiling libxml for faster builds
  • Update how we send test metrics to codeclimate
  • Remove gemnasium badge

v1.3.0...v1.4.0

v1.3.0

01 Nov 22:31
Compare
Choose a tag to compare

add downloadable methods for world and stanford at object and file levels

index_elements refinements, tests for location/stanford access rights, other code maintenance

06 Jul 22:04
Compare
Choose a tag to compare
  • .codeclimate.yml: turn off brakeman - it's only for rails apps
  • .codeclimate.yml: turn off bundle-audit (no Gemfile.lock for a gem)
  • rights_auth_spec: add tests for location OR stanford variants
  • add tests for variants of multiple files with file level stanford or location access
  • refactor code for computing index_elements (hash with object-level rights summary).
  • update index_elements building code to include more granular object- and file- level summary info for location, group, and agent rights.*
  • add more thorough tests for index_elements location and agent info (in new fields and in existing :terms field).

*NOTE: This has a minor backwards-incompatible change with prior versions: the index_elements[:primary] field will now contain access_restricted_qualified/access_restricted instead of stanford_qualified/stanford. Because index_elements[:primary] is a single-value object level summary field; and because there's no difference in precedence between stanford (group) rights, location rights, and agent rights; and because an object may have more than one of these rights types; an object-level summary term that could encompass all of these possibilities was chosen. Code that's specifically aware of the old value should be updated as part of upgrading to v1.2.0+ of dor-rights-auth.

add accessor methods for location-based rights

06 Jun 22:05
Compare
Choose a tag to compare