Sha256: ae5f9ce1043cbf8987e547a76cc50b3256754d38048765e732f42896b2148fc5

Contents?: true

Size: 1.24 KB

Versions: 1

Compression:

Stored size: 1.24 KB

Contents

# 0.1.3 (2022-02-02)

- Fix issue where applying subspecs against a subfield value as an implicit
  left-hand subterm would produce `NoMethodError`.

# 0.1.2 (2022-02-01)

- Adds `MARC::Spec#exists?` to check if a MARC record has data matching a
  query, without actually retrieving the data. This is slightly more efficient
  than using `MARC::Spec#find` with `any?`, as it will return early when it 
  finds the first result.

# 0.1.1 (2021-10-18)

- `MARC::Spec` methods now raise an `ArgumentError` for invalid query strings
  instead of returning a raw `Parslet::ParseFailed`.
- Add `MARC::Spec#parse_query` and `MARC::Spec#execute_query` to facilitate
  caching parsed query objects. (Not that parsing is expensive, but sometimes
  it's convenient to be able to treat the query as a structured object rather
  than a string.)
- Add `MARC::Spec::Queries::Query#tag_str` to retrieve the MARC tag specifier
  from a query object. Note that this returns a MARCSpec `fieldTag` string
  (which may include `.` wildcard characters), plus an optional, bracketed
  `index`. For more information see 
  [9.2 Reference to field data](http://marcspec.github.io/MARCspec/marc-spec.html#reference-to-field-data)
  in the MARCSpec docs.

# 0.1.0 (2021-10-15)

- Initial release.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-marc-spec-0.1.3 CHANGES.md