Skip to content

Commit

Permalink
v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseditson committed Sep 11, 2024
1 parent 9cfeb07 commit 2c833e8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
[package]
name = "archival"
version = "0.7.5"
version = "0.8.0"
edition = "2021"
license = "Unlicense"
description = "The simplest CMS in existence"
repository = "https://github.com/jesseditson/archival"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
name = "archival"
path = "src/lib.rs"
Expand Down
2 changes: 1 addition & 1 deletion src/constants.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub const MIN_COMPAT_VERSION: &str = ">=0.6.0";
pub const MIN_COMPAT_VERSION: &str = ">=0.8.0";
pub const MANIFEST_FILE_NAME: &str = "manifest.toml";
pub const OBJECT_DEFINITION_FILE_NAME: &str = "objects.toml";
pub const PAGES_DIR_NAME: &str = "pages";
Expand Down
4 changes: 2 additions & 2 deletions src/manifest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -597,7 +597,7 @@ mod tests {
use super::*;

fn full_manifest_content() -> &'static str {
"archival_version = '0.6.0'
"archival_version = '0.8.0'
site_url = 'https://jesse.onarchival.dev'
object_file = 'm_objects.toml'
prebuild = ['echo \"HELLO!\"']
Expand Down Expand Up @@ -626,7 +626,7 @@ mod tests {
fn manifest_parsing() -> Result<(), Box<dyn Error>> {
let m = Manifest::from_string(Path::new(""), full_manifest_content().to_string())?;
println!("M: {:?}", m);
assert_eq!(m.archival_version, Some("0.6.0".to_string()));
assert_eq!(m.archival_version, Some("0.8.0".to_string()));
assert_eq!(m.site_url, Some("https://jesse.onarchival.dev".to_string()));
assert_eq!(
m.object_definition_file,
Expand Down
2 changes: 1 addition & 1 deletion tests/binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ mod binary_tests {
#[traced_test]
fn compatiblity_ok() -> Result<(), Box<dyn Error>> {
assert!(matches!(
archival::binary::binary(get_args(vec!["compat", "0.6.0"]))?,
archival::binary::binary(get_args(vec!["compat", "0.8.0"]))?,
ExitStatus::Ok
));
Ok(())
Expand Down

0 comments on commit 2c833e8

Please sign in to comment.