Skip to content

Commit e8a20b9

Browse files
committed
Edited error string and updated packages
- Removed period after an error message. Periods should not be used in error strings. - Updated dependencies - Updating ansi_term v0.11.0 -> v0.12.1 - Updating clap v2.33.3 -> v2.33.4 - Updating itoa v0.4.8 -> v1.0.1 - Updating libc v0.2.107 -> v0.2.112 - Updating once_cell v1.8.0 -> v1.9.0 - Updating proc-macro2 v1.0.32 -> v1.0.36 - Updating quote v1.0.10 -> v1.0.14 - Updating ryu v1.0.5 -> v1.0.9 - Updating serde v1.0.130 -> v1.0.133 - Updating serde_derive v1.0.130 -> v1.0.133 - Updating serde_json v1.0.71 -> v1.0.74 - Updating syn v1.0.81 -> v1.0.84
1 parent b38fde7 commit e8a20b9

File tree

4 files changed

+43
-28
lines changed

4 files changed

+43
-28
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## ScriptX [v0.4.8](https://github.com/JoelMon/scriptx/releases/tag/v0.4.7) (2022-01-05)
4+
- Removed period after an error message. Periods should not be used in error strings.
5+
- Updated dependencies
6+
- Updating ansi_term v0.11.0 -> v0.12.1
7+
- Updating clap v2.33.3 -> v2.33.4
8+
- Updating itoa v0.4.8 -> v1.0.1
9+
- Updating libc v0.2.107 -> v0.2.112
10+
- Updating once_cell v1.8.0 -> v1.9.0
11+
- Updating proc-macro2 v1.0.32 -> v1.0.36
12+
- Updating quote v1.0.10 -> v1.0.14
13+
- Updating ryu v1.0.5 -> v1.0.9
14+
- Updating serde v1.0.130 -> v1.0.133
15+
- Updating serde_derive v1.0.130 -> v1.0.133
16+
- Updating serde_json v1.0.71 -> v1.0.74
17+
- Updating syn v1.0.81 -> v1.0.84
18+
319
## ScriptX [v0.4.7](https://github.com/JoelMon/scriptx/releases/tag/v0.4.7) (2021-11-18)
420
- Updated dependencies
521
- Updating bitflags v1.2.1 -> v1.3.2

Cargo.lock

Lines changed: 25 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "scriptx"
3-
version = "0.4.7"
3+
version = "0.4.8"
44
authors = ["Joel Montes de Oca"]
55
homepage = "https://joelmon.github.io/scriptx/"
66
documentation = "https://github.com/JoelMon/scriptx/"

src/ffwrappers/probe.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ impl Root {
203203
return i.id;
204204
}
205205
}
206-
panic!("The verse was not found.");
206+
panic!("The verse was not found");
207207
}
208208

209209
/// Returns a tuple of the *start* and *end* time for the chapter in which the *id* has been provided for.
@@ -233,7 +233,6 @@ impl Root {
233233
with the verse the user wants.
234234
*/
235235
fn get_prefix(&self) -> &str {
236-
// let last_chapter = *&self.chapters.last().unwrap();
237236
let title = self.get_last_chapter().tags.title.as_str();
238237

239238
let pattern = Regex::new(r"(^[\s\S]*:)").unwrap(); // Regular expression to find the prefix (ig. 'Joel 1:') of a `title`. See https://regexr.com/5vus6

0 commit comments

Comments
 (0)