Skip to content

Commit

Permalink
Merge pull request #122 from JuliaString/spj/update
Browse files Browse the repository at this point in the history
Improve handling of Project Gutenberg test books, including ones with Latin-1 encoding
  • Loading branch information
ScottPJones authored May 17, 2021
2 parents 20aaa69 + b46a618 commit 044e6ca
Show file tree
Hide file tree
Showing 7 changed files with 281 additions and 217 deletions.
41 changes: 41 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
kind: pipeline
name: linux - arm64 - Julia 1.5

platform:
os: linux
arch: arm64

steps:
- name: build
image: julia:1.5
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

---
kind: pipeline
name: linux - arm - Julia 1.6

platform:
os: linux
arch: arm

steps:
- name: build
image: julia:1.6
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"

---
kind: pipeline
name: linux - arm64 - Julia 1.6

platform:
os: linux
arch: arm64

steps:
- name: build
image: julia:1.6
commands:
- "julia --project=. --check-bounds=yes --color=yes -e 'using InteractiveUtils; versioninfo(verbose=true); using Pkg; Pkg.build(); Pkg.test(coverage=true)'"
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI
on:
- push
- pull_request
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version:
- '1.5'
- '1.6'
- 'nightly'
os:
- ubuntu-latest
- macOS-latest
- windows-latest
arch:
- x64
- x86
exclude:
- os: macOS-latest
arch: x86
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v1
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
35 changes: 0 additions & 35 deletions .travis.yml

This file was deleted.

34 changes: 17 additions & 17 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ authors = ["ScottPJones <[email protected]>"]
keywords = ["Strings", "Characters", "Formatting", "Intern", "Unicode", "Regex"]
license = "MIT"
uuid = "7bddbee9-b4ee-5d4f-bf0b-c84b4398bbf6"
version = "1.0.3"
version = "1.1.0"

[deps]
ModuleInterfaceTools = "5cb8414e-7aab-5a03-a681-351269c074bf"
Expand Down Expand Up @@ -41,21 +41,21 @@ Serialization = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
test = ["Test", "REPL", "BenchmarkTools", "Serialization"]

[compat]
julia = "^1.0.0"
PCRE2 = "1.0.2"
Format = "1.1.0"
ModuleInterfaceTools = "1.0.1"
julia = "^1.5"
PCRE2 = "^1.0.2"
Format = "^1.3.1"
ModuleInterfaceTools = "^1.0.1"
InternedStrings = "0.7.0"
StrAPI = "1"
StrBase = "1.0.4"
StrAPI = "^1.1"
StrBase = "^1.0.5"
StrTables = "1"
StrEntities = "1"
StrFormat = "1"
StrRegex = "1.0.1"
StrLiterals = "1"
ChrBase = "1.0.1"
Emoji_Entities = "1"
HTML_Entities = "1"
LaTeX_Entities = "1"
Unicode_Entities = "1"
MurmurHash3 = "^1.0.3"
StrEntities = "^1.0.1"
StrFormat = "^1.0.1"
StrRegex = "^1.1.1"
StrLiterals = "^1.1"
ChrBase = "^1.0.3"
MurmurHash3 = "^1.2"
Emoji_Entities = "^1.0.3"
HTML_Entities = "^1.0.1"
LaTeX_Entities = "^1.0.2"
Unicode_Entities = "^1.1.1"
41 changes: 1 addition & 40 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[pkg-url]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/report.html
[strs-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/S/Strs.svg
[contrib]: https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat
[travis-url]: https://travis-ci.org/JuliaString/Strs.jl
[travis-img]: https://travis-ci.org/JuliaString/Strs.jl.svg
[codecov-url]: https://codecov.io/gh/JuliaString/Strs.jl
[codecov-img]: https://codecov.io/gh/JuliaString/Strs.jl/branch/master/graph/badge.svg

Expand All @@ -12,7 +10,6 @@

[![contributions welcome][contrib]](https://github.com/JuliaString/Strs.jl/issues)
[![][strs-pkg]][pkg-url]
[![][travis-img]][travis-url]
[![][codecov-img]][codecov-url]

Strs.jl is a container for a number of different packages from [JuliaString](https://github.com/JuliaString)
Expand Down Expand Up @@ -96,132 +93,96 @@ or pointers to such (such as a way to get lots of tweets, to test mixed text and

[mit-loc]: https://github.com/JuliaString/ModuleInterfaceTools.jl
[mit-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/M/ModuleInterfaceTools.svg
[mit-tvs-img]: https://travis-ci.org/JuliaString/ModuleInterfaceTools.jl.svg?branch=master
[mit-tvs-url]: https://travis-ci.org/JuliaString/ModuleInterfaceTools.jl
[mit-rel]: https://img.shields.io/github/release/JuliaString/ModuleInterfaceTools.jl.svg?label="."
[mit-dat]: https://img.shields.io/github/release-date/JuliaString/ModuleInterfaceTools.jl.svg?label="."

[mh3-loc]: https://github.com/JuliaString/MurmurHash3.jl
[mh3-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/M/MurmurHash3.svg
[mh3-tvs-img]: https://travis-ci.org/JuliaString/MurmurHash3.jl.svg?branch=master
[mh3-tvs-url]: https://travis-ci.org/JuliaString/MurmurHash3.jl
[mh3-rel]: https://img.shields.io/github/release/JuliaString/MurmurHash3.jl.svg?label="."
[mh3-dat]: https://img.shields.io/github/release-date/JuliaString/MurmurHash3.jl.svg?label="."

[pcre2-loc]: https://github.com/JuliaString/PCRE2.jl
[pcre2-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/P/PCRE2.svg
[pcre2-tvs-img]: https://travis-ci.org/JuliaString/PCRE2.jl.svg?branch=master
[pcre2-tvs-url]: https://travis-ci.org/JuliaString/PCRE2.jl
[pcre2-rel]: https://img.shields.io/github/release/JuliaString/PCRE2.jl.svg?label="."
[pcre2-dat]: https://img.shields.io/github/release-date/JuliaString/PCRE2.jl.svg?label="."

[format-loc]: https://github.com/JuliaString/Format.jl
[format-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/F/Format.svg
[format-tvs-img]: https://travis-ci.org/JuliaString/Format.jl.svg?branch=master
[format-tvs-url]: https://travis-ci.org/JuliaString/Format.jl
[format-rel]: https://img.shields.io/github/release/JuliaString/Format.jl.svg?label="."
[format-dat]: https://img.shields.io/github/release-date/JuliaString/Format.jl.svg?label="."

[strapi-loc]: https://github.com/JuliaString/StrAPI.jl
[strapi-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/S/StrAPI.svg
[strapi-tvs-img]: https://travis-ci.org/JuliaString/StrAPI.jl.svg?branch=master
[strapi-tvs-url]: https://travis-ci.org/JuliaString/StrAPI.jl
[strapi-rel]: https://img.shields.io/github/release/JuliaString/StrAPI.jl.svg?label="."
[strapi-dat]: https://img.shields.io/github/release-date/JuliaString/StrAPI.jl.svg?label="."

[cse-loc]: https://github.com/JuliaString/CharSetEncodings.jl
[cse-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/C/CharSetEncodings.svg
[cse-tvs-img]: https://travis-ci.org/JuliaString/CharSetEncodings.jl.svg?branch=master
[cse-tvs-url]: https://travis-ci.org/JuliaString/CharSetEncodings.jl
[cse-rel]: https://img.shields.io/github/release/JuliaString/CharSetEncodings.jl.svg?label="."
[cse-dat]: https://img.shields.io/github/release-date/JuliaString/CharSetEncodings.jl.svg?label="."

[chrbase-loc]: https://github.com/JuliaString/ChrBase.jl
[chrbase-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/C/ChrBase.svg
[chrbase-tvs-img]: https://travis-ci.org/JuliaString/ChrBase.jl.svg?branch=master
[chrbase-tvs-url]: https://travis-ci.org/JuliaString/ChrBase.jl
[chrbase-rel]: https://img.shields.io/github/release/JuliaString/ChrBase.jl.svg?label="."
[chrbase-dat]: https://img.shields.io/github/release-date/JuliaString/ChrBase.jl.svg?label="."

[strbase-loc]: https://github.com/JuliaString/StrBase.jl
[strbase-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/S/StrBase.svg
[strbase-tvs-img]: https://travis-ci.org/JuliaString/StrBase.jl.svg?branch=master
[strbase-tvs-url]: https://travis-ci.org/JuliaString/StrBase.jl
[strbase-rel]: https://img.shields.io/github/release/JuliaString/StrBase.jl.svg?label="."
[strbase-dat]: https://img.shields.io/github/release-date/JuliaString/StrBase.jl.svg?label="."

[strregex-loc]: https://github.com/JuliaString/StrRegex.jl
[strregex-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/S/StrRegex.svg
[strregex-tvs-img]: https://travis-ci.org/JuliaString/StrRegex.jl.svg?branch=master
[strregex-tvs-url]: https://travis-ci.org/JuliaString/StrRegex.jl
[strregex-rel]: https://img.shields.io/github/release/JuliaString/StrRegex.jl.svg?label="."
[strregex-dat]: https://img.shields.io/github/release-date/JuliaString/StrRegex.jl.svg?label="."

[strliterals-loc]: https://github.com/JuliaString/StrLiterals.jl
[strliterals-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/S/StrLiterals.svg
[strliterals-tvs-img]: https://travis-ci.org/JuliaString/StrLiterals.jl.svg?branch=master
[strliterals-tvs-url]: https://travis-ci.org/JuliaString/StrLiterals.jl
[strliterals-rel]: https://img.shields.io/github/release/JuliaString/StrLiterals.jl.svg?label="."
[strliterals-dat]: https://img.shields.io/github/release-date/JuliaString/StrLiterals.jl.svg?label="."

[strformat-loc]: https://github.com/JuliaString/StrFormat.jl
[strformat-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/S/StrFormat.svg
[strformat-tvs-img]: https://travis-ci.org/JuliaString/StrFormat.jl.svg?branch=master
[strformat-tvs-url]: https://travis-ci.org/JuliaString/StrFormat.jl
[strformat-rel]: https://img.shields.io/github/release/JuliaString/StrFormat.jl.svg?label="."
[strformat-dat]: https://img.shields.io/github/release-date/JuliaString/StrFormat.jl.svg?label="."

[strtables-loc]: https://github.com/JuliaString/StrTables.jl
[strtables-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/S/StrTables.svg
[strtables-tvs-img]: https://travis-ci.org/JuliaString/StrTables.jl.svg?branch=master
[strtables-tvs-url]: https://travis-ci.org/JuliaString/StrTables.jl
[strtables-rel]: https://img.shields.io/github/release/JuliaString/StrTables.jl.svg?label="."
[strtables-dat]: https://img.shields.io/github/release-date/JuliaString/StrTables.jl.svg?label="."

[html-loc]: https://github.com/JuliaString/HTML_Entities.jl
[html-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/H/HTML_Entities.svg
[html-tvs-img]: https://travis-ci.org/JuliaString/HTML_Entities.jl.svg?branch=master
[html-tvs-url]: https://travis-ci.org/JuliaString/HTML_Entities.jl
[html-rel]: https://img.shields.io/github/release/JuliaString/HTML_Entities.jl.svg?label="."
[html-dat]: https://img.shields.io/github/release-date/JuliaString/HTML_Entities.jl.svg?label="."

[emoji-loc]: https://github.com/JuliaString/Emoji_Entities.jl
[emoji-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/E/Emoji_Entities.svg
[emoji-tvs-img]: https://travis-ci.org/JuliaString/Emoji_Entities.jl.svg?branch=master
[emoji-tvs-url]: https://travis-ci.org/JuliaString/Emoji_Entities.jl
[emoji-rel]: https://img.shields.io/github/release/JuliaString/Emoji_Entities.jl.svg?label="."
[emoji-dat]: https://img.shields.io/github/release-date/JuliaString/Emoji_Entities.jl.svg?label="."

[latex-loc]: https://github.com/JuliaString/LaTeX_Entities.jl
[latex-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/L/LaTeX_Entities.svg
[latex-tvs-img]: https://travis-ci.org/JuliaString/LaTeX_Entities.jl.svg?branch=master
[latex-tvs-url]: https://travis-ci.org/JuliaString/LaTeX_Entities.jl
[latex-rel]: https://img.shields.io/github/release/JuliaString/LaTeX_Entities.jl.svg?label="."
[latex-dat]: https://img.shields.io/github/release-date/JuliaString/LaTeX_Entities.jl.svg?label="."

[unicode-loc]: https://github.com/JuliaString/Unicode_Entities.jl
[unicode-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/U/Unicode_Entitites.svg
[unicode-tvs-img]: https://travis-ci.org/JuliaString/Unicode_Entities.jl.svg?branch=master
[unicode-tvs-url]: https://travis-ci.org/JuliaString/Unicode_Entities.jl
[unicode-rel]: https://img.shields.io/github/release/JuliaString/Unicode_Entities.jl.svg?label="."
[unicode-dat]: https://img.shields.io/github/release-date/JuliaString/Unicode_Entities.jl.svg?label="."

[strentities-loc]: https://github.com/JuliaString/StrEntities.jl
[strentities-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/S/StrEntities.svg
[strentities-tvs-img]: https://travis-ci.org/JuliaString/StrEntities.jl.svg?branch=master
[strentities-tvs-url]: https://travis-ci.org/JuliaString/StrEntities.jl
[strentities-rel]: https://img.shields.io/github/release/JuliaString/StrEntities.jl.svg?label="."
[strentities-dat]: https://img.shields.io/github/release-date/JuliaString/StrEntities.jl.svg?label="."

[int-loc]: https://github.com/JuliaString/InternedStrings.jl
[int-pkg]: https://juliaci.github.io/NanosoldierReports/pkgeval_badges/I/InternedStrings.svg
[int-tvs-img]: https://travis-ci.org/JuliaString/InternedStrings.jl.svg?branch=master
[int-tvs-url]: https://travis-ci.org/JuliaString/InternedStrings.jl
[int-rel]: https://img.shields.io/github/release/JuliaString/InternedStrings.jl.svg?label="."
[int-dat]: https://img.shields.io/github/release-date/JuliaString/InternedStrings.jl.svg?label="."


The new package [ModuleInterfaceTools](https://github.com/JuliaString/ModuleInterfaceTools.jl) is used to set up a consistent and easy to use API for most of the cooperating packages, without having to worry too much about imports, exports, using, and what functions are part of a public API, and which ones are part of the internal development API for other packages to extend.
The package [ModuleInterfaceTools](https://github.com/JuliaString/ModuleInterfaceTools.jl) is used to set up a consistent and easy to use API for most of the cooperating packages, without having to worry too much about imports, exports, using, and what functions are part of a public API, and which ones are part of the internal development API for other packages to extend.

## Architecture and Operations

Expand Down
Loading

2 comments on commit 044e6ca

@ScottPJones
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/36975

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.1.0 -m "<description of version>" 044e6cab450afeadfd39584fdbcf7e8e2298e3af
git push origin v1.1.0

Please sign in to comment.