Skip to content

Commit

Permalink
release: v0.7.0
Browse files Browse the repository at this point in the history
Co-Authored-by: Pascal Repond <[email protected]>
  • Loading branch information
PascalRepond authored and rerowep committed Jun 12, 2024
1 parent b873242 commit 8337056
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 9 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## [v0.7.0](https://github.com/rero/rero-ebooks/tree/v0.7.0) (2024-06-12)

[Full Changelog](https://github.com/rero/rero-ebooks/compare/v0.6.2...v0.7.0)

**Fixes:**
* dependencies: fix security issues [\#78](https://github.com/rero/rero-ebooks/pull/78) (by @rerowep)
* bump dependencies, use black for tests, add 008 field [\#83](https://github.com/rero/rero-ebooks/pull/83) (by @rerowep)

## [v0.6.2](https://github.com/rero/rero-ebooks/tree/v0.6.2) (2023-11-27)

[Full Changelog](https://github.com/rero/rero-ebooks/compare/v0.6.1...v0.6.2)
Expand Down
17 changes: 12 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,21 @@
RERO Ebooks
=============

.. image:: https://img.shields.io/travis/rero/rero-ebooks.svg
:target: https://travis-ci.org/rero/rero-ebooks
.. image:: https://github.com/rero/rero-ebooks/workflows/build/badge.svg
:alt: Github actions status
:target: https://github.com/rero/rero-ebooks/actions?query=workflow%3Abuild

.. image:: https://img.shields.io/coveralls/rero/rero-ebooks.svg
:target: https://coveralls.io/r/rero/rero-ebooks
:alt: Coveralls
:target: https://coveralls.io/rero/rero-ebooks

.. image:: https://img.shields.io/github/license/rero/rero-ebooks.svg
:target: https://github.com/rero/rero-ebooks/blob/master/LICENSE
.. image:: https://img.shields.io/github/tag/rero/rero-ebooks.svg
:alt: Release Number
:target: https://github.com/rero/rero-ebooks/releases/latest

.. image:: https://img.shields.io/badge/License-AGPL%20v3-blue.svg
:alt: License
:target: http://www.gnu.org/licenses/agpl-3.0.html

Ebooks repository for RERO.

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "rero-ebooks"
version = "0.6.2"
version = "0.7.0"
description = "Ebooks repository for RERO."
authors = ["RERO <[email protected]>"]
license = "GNU Affero General Public License v3.0"
Expand Down
4 changes: 2 additions & 2 deletions rero_ebooks/dojson/json/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ def is_fiction(self, key, value):
Fiction is set in Marc21 008 33.
"""
if value:
self["fixed_length_data_elements"] = GENERIC_008
self["fixed_length_data_elements"][33] = 1
fixed_data = f'{GENERIC_008[:33]}1{GENERIC_008[34:]}'
self["fixed_length_data_elements"] = fixed_data


@cantook_json.over("language_code", "languages|translated_from")
Expand Down
2 changes: 1 addition & 1 deletion rero_ebooks/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@

from __future__ import absolute_import, print_function

__version__ = "0.6.2"
__version__ = "0.7.0"

0 comments on commit 8337056

Please sign in to comment.