This commit is contained in:
Tiffany Bennett 2024-04-20 19:35:30 -07:00
parent c5ec3ce3e1
commit e34e126258
14 changed files with 756 additions and 735 deletions

6
Cargo.lock generated
View file

@ -1316,7 +1316,7 @@ checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56"
[[package]]
name = "rink"
version = "0.7.0"
version = "0.8.0"
dependencies = [
"ansi_term",
"async-std",
@ -1340,7 +1340,7 @@ dependencies = [
[[package]]
name = "rink-core"
version = "0.7.0"
version = "0.8.0"
dependencies = [
"assert-json-diff",
"chrono",
@ -1359,7 +1359,7 @@ dependencies = [
[[package]]
name = "rink-js"
version = "0.7.0"
version = "0.8.0"
dependencies = [
"chrono",
"console_error_panic_hook",

View file

@ -103,7 +103,7 @@ Definition: rod = 5.5 yard = 5.0292 meter (length; m)
```toml
[dependencies]
rink-core = "0.7"
rink-core = "0.8"
```
## License

View file

@ -1,8 +1,8 @@
[package]
name = "rink"
version = "0.7.0"
version = "0.8.0"
description = "Unit conversion tool, similar to frink"
homepage = "https://rinkcalc.app"
homepage = "https://rinkcalc.app/about"
repository = "https://github.com/tiffany352/rink-rs"
readme = "../README.md"
license = "MPL-2.0"
@ -33,7 +33,7 @@ async-std = { version = "1.9", features = ["attributes"], default-features = fal
ubyte = { version = "0.10.3", features = ["serde"] }
[dependencies.rink-core]
version = "0.7"
version = "0.8"
path = "../core"
[dependencies.rink-sandbox]

View file

@ -42,7 +42,7 @@ pub fn noninteractive<T: BufRead>(mut f: T, config: &Config, show_prompt: bool)
}
const HELP_TEXT: &'static str = "The rink manual can be found with `man 7 rink`, or online:
https://github.com/tiffany352/rink-rs/blob/master/docs/rink.7.adoc
https://rinkcalc.app/manual
To quit, type `quit` or press Ctrl+D.";
pub fn interactive(config: &Config) -> Result<()> {

View file

@ -1,3 +1,24 @@
## Rink 0.8.0
`gpl` feature has been renamed to `bundle-files`.
`rink_core::DATES_FILE` and `rink_core::CURRENCY_FILE` are now `Option`s
and are only Some if `bundle-files` is set, otherwise they are None,
just like `DEFAULT_FILE`.
The intention is for distro packages to install these files to the
filesystem (e.g. in `/usr/share/rink/`) instead of embedding them in the
executable. See [PACKAGING.md](../PACKAGING.md) for more info.
### Behavior
- Unrecognized directives in definitions.units now print an error
instead of being silently ignored.
- Categories for non-units are now ignored. This may be improved in the
future, but will require changing categories to be namespaced.
- The output has changed slightly, as numbers can be represented as
recurring digits now.
## Rink 0.7.0
### Behavior

View file

@ -1,8 +1,8 @@
[package]
name = "rink-core"
version = "0.7.0"
version = "0.8.0"
description = "Unit conversion library behind rink"
homepage = "https://github.com/tiffany352/rink-rs"
homepage = "https://rinkcalc.app/about"
repository = "https://github.com/tiffany352/rink-rs"
readme = "README.md"
license = "MPL-2.0"

View file

@ -2,7 +2,7 @@
name = "rink-irc"
version = "0.4.0"
description = "IRC bot for Rink"
homepage = "https://github.com/tiffany352/rink-rs"
homepage = "https://rinkcalc.app/about"
repository = "https://github.com/tiffany352/rink-rs"
license = "MPL-2.0"

View file

@ -1,8 +1,8 @@
[package]
name = "rink-js"
version = "0.7.0"
version = "0.8.0"
description = "Wasm bindings to Rink, for use in rink-web"
homepage = "https://github.com/tiffany352/rink-rs"
homepage = "https://rinkcalc.app/about"
repository = "https://github.com/tiffany352/rink-rs"
readme = "README.md"
license = "MPL-2.0"
@ -16,7 +16,7 @@ default = ["console_error_panic_hook"]
[dependencies.rink-core]
path = "../core"
version = "0.7"
version = "0.8"
features = ["bundle-files"]
[dependencies]

View file

@ -3,7 +3,7 @@ name = "rink-sandbox"
version = "0.6.1"
edition = "2018"
description = "Library for limiting memory usage and time spent of code, and allowing interrupts (ctrl+C)."
homepage = "https://rinkcalc.app"
homepage = "https://rinkcalc.app/about"
repository = "https://github.com/tiffany352/rink-rs"
readme = "README.md"
license = "MPL-2.0"

View file

@ -1,12 +1,12 @@
{
"name": "rink-currency-updater",
"version": "0.6.3",
"version": "0.8.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "rink-currency-updater",
"version": "0.6.3",
"version": "0.8.0",
"license": "MPL-2.0",
"dependencies": {
"atomically": "1.7.0",

View file

@ -2,9 +2,9 @@
"type": "module",
"author": "Tiffany Bennett (https://tiffnix.com)",
"name": "rink-currency-updater",
"version": "0.6.3",
"version": "0.8.0",
"repository": "https://github.com/tiffany352/rink-rs",
"homepage": "https://rinkcalc.app",
"homepage": "https://rinkcalc.app/about",
"description": "Fetches currency data for rink",
"license": "MPL-2.0",
"devDependencies": {

8
web/package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "rink-web",
"version": "0.6.3",
"name": "rink-web-soupault",
"version": "0.8.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "rink-web",
"version": "0.6.3",
"name": "rink-web-soupault",
"version": "0.8.0",
"license": "MPL-2.0",
"devDependencies": {
"asciidoctor": "^3"

View file

@ -2,9 +2,9 @@
"type": "module",
"author": "Tiffany Bennett (https://tiffnix.com)",
"name": "rink-web-soupault",
"version": "0.6.3",
"version": "0.8.0",
"repository": "https://github.com/tiffany352/rink-rs",
"homepage": "https://rinkcalc.app",
"homepage": "https://rinkcalc.app/about",
"description": "Static site generation for rinkcalc.app",
"license": "MPL-2.0",
"devDependencies": {

File diff suppressed because it is too large Load diff