Skip to content

Commit

Permalink
Merge pull request #12 from daniel-tran/0.6.1
Browse files Browse the repository at this point in the history
Version 0.6.1
  • Loading branch information
daniel-tran authored Sep 9, 2022
2 parents 83ec54f + 1b57662 commit 80e5d2a
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 14 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## 0.6.1
- Fixed an issue where the JSON file interface was writing Unicode characters incorrectly to output files

## 0.6.0
- Added text searching functionality into Base Extractor
- Added a dedicated area for experimental functionality and helper scripts
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ Running the above code would produce a file called `Ecclesiastes.json` in the cu
{
"Ecclesiastes": {
"1": {
"2": "\u00b2 \u201cMeaningless! Meaningless!\u201d\n says the Teacher.\n\u201cUtterly meaningless!\n Everything is meaningless.\u201d"
"2": "² “Meaningless! Meaningless!”\n says the Teacher.\n“Utterly meaningless!\n Everything is meaningless."
}
},
"Info": {
Expand Down Expand Up @@ -221,7 +221,7 @@ Running the above code would produce a file called `Ecclesiastes.json` in the cu
{
"Ecclesiastes": {
"1": {
"2": "\u00b2 \u201cMeaningless! Meaningless!\u201d\n says the Teacher.\n\u201cUtterly meaningless!\n Everything is meaningless.\u201d"
"2": "² “Meaningless! Meaningless!\n says the Teacher.\n“Utterly meaningless!\n Everything is meaningless."
}
},
"Info": {
Expand Down Expand Up @@ -478,10 +478,14 @@ If you notice any problems such as unhandled omitted passages or incorrect taggi

## Does this library provide support for the Apocrypha books?

At the moment, you can use the Web Extractor's `search()` and `search_multiple()` functions to obtain passages from the Apocrypha books.
There is currently no official support for the Apocrypha books in the other downloaders and extractors, at least until proper use cases can be identified.
At the moment, you can use the Web Extractor's `search()`, `search_multiple()` and other related functions to obtain passages from the Apocrypha books.
There is currently no official support for the Apocrypha books in the other downloaders and extractors, at least until the issues identified [here](https://github.com/daniel-tran/meaningless/pull/10#issuecomment-1236274786) become easier to work around.

# Contributors
- [daniel-tran](https://github.com/daniel-tran) (Creator & current maintainer)

To make a contribution to this library, refer to `CONTRIBUTING.md`.

# Disclaimer

This library is not endorsed by nor affiliated with Bible Gateway or any of its partners.
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.6.0
0.6.1
2 changes: 1 addition & 1 deletion docs/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '0.6.0',
VERSION: '0.6.1',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
2 changes: 1 addition & 1 deletion docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Index &#8212; Meaningless 0.6.0 documentation</title>
<title>Index &#8212; Meaningless 0.6.1 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<title>Meaningless - API Documentation &#8212; Meaningless 0.6.0 documentation</title>
<title>Meaningless - API Documentation &#8212; Meaningless 0.6.1 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/meaningless.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<title>meaningless package &#8212; Meaningless 0.6.0 documentation</title>
<title>meaningless package &#8212; Meaningless 0.6.1 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<title>meaningless &#8212; Meaningless 0.6.0 documentation</title>
<title>meaningless &#8212; Meaningless 0.6.1 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/py-modindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Python Module Index &#8212; Meaningless 0.6.0 documentation</title>
<title>Python Module Index &#8212; Meaningless 0.6.1 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion docs/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Search &#8212; Meaningless 0.6.0 documentation</title>
<title>Search &#8212; Meaningless 0.6.1 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css" />

Expand Down
2 changes: 1 addition & 1 deletion docs/utilities.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />

<title>meaningless.utilities package &#8212; Meaningless 0.6.0 documentation</title>
<title>meaningless.utilities package &#8212; Meaningless 0.6.1 documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/alabaster.css" />
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion meaningless/utilities/json_file_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def write(data_file, document):
os.makedirs(data_directory, exist_ok=True)
# Use UTF-8 encoding to allow for Unicode characters to be written to the file
with open(data_file, 'w', newline='', encoding='utf-8') as file:
json.dump(document, file, sort_keys=True, indent=2)
json.dump(document, file, sort_keys=True, indent=2, ensure_ascii=False)
return 1


Expand Down

0 comments on commit 80e5d2a

Please sign in to comment.