diff --git a/bin/Cargo.toml b/bin/Cargo.toml index 321c0578..67851c88 100644 --- a/bin/Cargo.toml +++ b/bin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Part of the imag core distribution: imag command" diff --git a/doc/src/00000.md b/doc/src/00000.md index 6f1f537c..2764a5ac 100644 --- a/doc/src/00000.md +++ b/doc/src/00000.md @@ -1,6 +1,6 @@ --- title: imag User Documentation -version: 0.3.0 +version: 0.4.0 date: August 2017 listings: true codeBlockCaptions: true diff --git a/doc/src/02000-store.md b/doc/src/02000-store.md index 0abf7a08..3a8b38fb 100644 --- a/doc/src/02000-store.md +++ b/doc/src/02000-store.md @@ -72,7 +72,7 @@ An example for a file in the store follows. --- [imag] links = ["/home/user/more_kittens.mpeg"] -version = "0.3.0" +version = "0.4.0" [note] name = "foo" @@ -257,12 +257,12 @@ The strucure is as follows: ```json { - "version": "0.3.0", + "version": "0.4.0", "store": { "example": { "header": { "imag": { - "version": "0.3.0", + "version": "0.4.0", }, }, "content": "hi there!", diff --git a/imag-bookmark/Cargo.toml b/imag-bookmark/Cargo.toml index 23af516b..b4b2bea3 100644 --- a/imag-bookmark/Cargo.toml +++ b/imag-bookmark/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-bookmark" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Part of the imag core distribution: imag-bookmark command" diff --git a/imag-counter/Cargo.toml b/imag-counter/Cargo.toml index 9e7cc070..cb1882e6 100644 --- a/imag-counter/Cargo.toml +++ b/imag-counter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-counter" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Part of the imag core distribution: imag-counter command" diff --git a/imag-diary/Cargo.toml b/imag-diary/Cargo.toml index 6f3e01da..e4d7f8e0 100644 --- a/imag-diary/Cargo.toml +++ b/imag-diary/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-diary" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Part of the imag core distribution: imag-diary command" diff --git a/imag-link/Cargo.toml b/imag-link/Cargo.toml index 85ed1582..f34ba406 100644 --- a/imag-link/Cargo.toml +++ b/imag-link/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-link" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Part of the imag core distribution: imag-link command" diff --git a/imag-link/src/main.rs b/imag-link/src/main.rs index 76b03cc4..45c08325 100644 --- a/imag-link/src/main.rs +++ b/imag-link/src/main.rs @@ -356,7 +356,7 @@ mod tests { make_mock_app! { app "imag-link"; modulename mock; - version "0.3.0"; + version "0.4.0"; with help "imag-link mocking app"; } use self::mock::generate_test_runtime; diff --git a/imag-mail/Cargo.toml b/imag-mail/Cargo.toml index 8172ceec..8c372384 100644 --- a/imag-mail/Cargo.toml +++ b/imag-mail/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-mail" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Part of the imag core distribution: imag-notes command" diff --git a/imag-notes/Cargo.toml b/imag-notes/Cargo.toml index e84cd3fa..9bb55aa7 100644 --- a/imag-notes/Cargo.toml +++ b/imag-notes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-notes" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Part of the imag core distribution: imag-notes command" diff --git a/imag-ref/Cargo.toml b/imag-ref/Cargo.toml index fee2ed52..234821a2 100644 --- a/imag-ref/Cargo.toml +++ b/imag-ref/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-ref" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Part of the imag core distribution: imag-ref command" diff --git a/imag-store/Cargo.toml b/imag-store/Cargo.toml index fba77d9a..71362dbc 100644 --- a/imag-store/Cargo.toml +++ b/imag-store/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-store" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Part of the imag core distribution: imag-store command" diff --git a/imag-store/tests/001-create_test.sh b/imag-store/tests/001-create_test.sh index c188ea65..591c15ba 100644 --- a/imag-store/tests/001-create_test.sh +++ b/imag-store/tests/001-create_test.sh @@ -42,7 +42,7 @@ test_std_header() { --- [imag] links = [] -version = "0.3.0" +version = "0.4.0" --- EOS @@ -63,7 +63,7 @@ test_std_header_plus_custom() { --- [imag] links = [] -version = "0.3.0" +version = "0.4.0" [zzz] zzz = "z" @@ -90,7 +90,7 @@ bar = "baz" [imag] links = [] -version = "0.3.0" +version = "0.4.0" [zzz] zzz = "z" @@ -116,7 +116,7 @@ test_std_header_plus_custom_multiheader_same_section() { --- [imag] links = [] -version = "0.3.0" +version = "0.4.0" [zzz] bar = "baz" @@ -142,7 +142,7 @@ test_std_header_plus_custom_and_content() { --- [imag] links = [] -version = "0.3.0" +version = "0.4.0" [zzz] zzz = "z" diff --git a/imag-store/tests/002-retrieve_test.sh b/imag-store/tests/002-retrieve_test.sh index da88ce12..e7ba5962 100644 --- a/imag-store/tests/002-retrieve_test.sh +++ b/imag-store/tests/002-retrieve_test.sh @@ -8,7 +8,7 @@ std_header() { --- [imag] links = [] -version = "0.3.0" +version = "0.4.0" --- EOS } diff --git a/imag-tag/Cargo.toml b/imag-tag/Cargo.toml index 0388270e..899b62a1 100644 --- a/imag-tag/Cargo.toml +++ b/imag-tag/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-tag" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Part of the imag core distribution: imag-tag command" diff --git a/imag-tag/src/main.rs b/imag-tag/src/main.rs index 7e710c9b..c4f7eb3f 100644 --- a/imag-tag/src/main.rs +++ b/imag-tag/src/main.rs @@ -196,7 +196,7 @@ mod tests { make_mock_app! { app "imag-tag"; modulename mock; - version "0.3.0"; + version "0.4.0"; with help "imag-tag mocking app"; } use self::mock::generate_test_runtime; diff --git a/imag-timetrack/Cargo.toml b/imag-timetrack/Cargo.toml index f9b4ab03..4ce30c07 100644 --- a/imag-timetrack/Cargo.toml +++ b/imag-timetrack/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-timetrack" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Part of the imag core distribution: imag-tag command" diff --git a/imag-todo/Cargo.toml b/imag-todo/Cargo.toml index bc11fc5e..9fd2e87f 100644 --- a/imag-todo/Cargo.toml +++ b/imag-todo/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["mario "] name = "imag-todo" -version = "0.3.0" +version = "0.4.0" description = "Part of the imag core distribution: imag-todo command" diff --git a/imag-view/Cargo.toml b/imag-view/Cargo.toml index a8b3ef89..1c0c07d8 100644 --- a/imag-view/Cargo.toml +++ b/imag-view/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-view" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Part of the imag core distribution: imag-view command" diff --git a/libimagannotation/Cargo.toml b/libimagannotation/Cargo.toml index 52e56682..cea0355e 100644 --- a/libimagannotation/Cargo.toml +++ b/libimagannotation/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagannotation" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagbookmark/Cargo.toml b/libimagbookmark/Cargo.toml index 5f612a8e..b761f729 100644 --- a/libimagbookmark/Cargo.toml +++ b/libimagbookmark/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagbookmark" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagcounter/Cargo.toml b/libimagcounter/Cargo.toml index 3f1f52ce..8acf6190 100644 --- a/libimagcounter/Cargo.toml +++ b/libimagcounter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagcounter" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagdiary/Cargo.toml b/libimagdiary/Cargo.toml index 55ab05e9..68ef1527 100644 --- a/libimagdiary/Cargo.toml +++ b/libimagdiary/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagdiary" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagentrycategory/Cargo.toml b/libimagentrycategory/Cargo.toml index 5a86b3e0..4a822ef1 100644 --- a/libimagentrycategory/Cargo.toml +++ b/libimagentrycategory/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentrycategory" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagentrydatetime/Cargo.toml b/libimagentrydatetime/Cargo.toml index 9d1fbaf6..6f90fa0c 100644 --- a/libimagentrydatetime/Cargo.toml +++ b/libimagentrydatetime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentrydatetime" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagentryedit/Cargo.toml b/libimagentryedit/Cargo.toml index 047cc35f..7c7375ad 100644 --- a/libimagentryedit/Cargo.toml +++ b/libimagentryedit/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentryedit" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagentryfilter/Cargo.toml b/libimagentryfilter/Cargo.toml index eff48c61..fcbd2797 100644 --- a/libimagentryfilter/Cargo.toml +++ b/libimagentryfilter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentryfilter" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagentrylink/Cargo.toml b/libimagentrylink/Cargo.toml index 193f5108..2e67b110 100644 --- a/libimagentrylink/Cargo.toml +++ b/libimagentrylink/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentrylink" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagentrylist/Cargo.toml b/libimagentrylist/Cargo.toml index 99ba8a62..a9535b24 100644 --- a/libimagentrylist/Cargo.toml +++ b/libimagentrylist/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentrylist" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagentrymarkdown/Cargo.toml b/libimagentrymarkdown/Cargo.toml index e6e58b97..8a2e1666 100644 --- a/libimagentrymarkdown/Cargo.toml +++ b/libimagentrymarkdown/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentrymarkdown" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagentrytag/Cargo.toml b/libimagentrytag/Cargo.toml index 97cdde62..8944fc00 100644 --- a/libimagentrytag/Cargo.toml +++ b/libimagentrytag/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentrytag" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagentrytimetrack/Cargo.toml b/libimagentrytimetrack/Cargo.toml index 02deca76..fcc9c7c3 100644 --- a/libimagentrytimetrack/Cargo.toml +++ b/libimagentrytimetrack/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentrytimetrack" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagentryview/Cargo.toml b/libimagentryview/Cargo.toml index f0175497..bc2acd1b 100644 --- a/libimagentryview/Cargo.toml +++ b/libimagentryview/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentryview" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagerror/Cargo.toml b/libimagerror/Cargo.toml index 960bee7a..e1084975 100644 --- a/libimagerror/Cargo.toml +++ b/libimagerror/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagerror" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimaginteraction/Cargo.toml b/libimaginteraction/Cargo.toml index 9d5d6a0d..ea65c286 100644 --- a/libimaginteraction/Cargo.toml +++ b/libimaginteraction/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimaginteraction" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagmail/Cargo.toml b/libimagmail/Cargo.toml index fa9122b1..dc85c7a6 100644 --- a/libimagmail/Cargo.toml +++ b/libimagmail/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagmail" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagnotes/Cargo.toml b/libimagnotes/Cargo.toml index 7853772f..a63d4680 100644 --- a/libimagnotes/Cargo.toml +++ b/libimagnotes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagnotes" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagref/Cargo.toml b/libimagref/Cargo.toml index be49b0fc..84d7f034 100644 --- a/libimagref/Cargo.toml +++ b/libimagref/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagref" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagrt/Cargo.toml b/libimagrt/Cargo.toml index 870b0410..5439dccd 100644 --- a/libimagrt/Cargo.toml +++ b/libimagrt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagrt" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagstore/Cargo.toml b/libimagstore/Cargo.toml index 66ce38d2..06c69c96 100644 --- a/libimagstore/Cargo.toml +++ b/libimagstore/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagstore" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagstore/src/file_abstraction/mod.rs b/libimagstore/src/file_abstraction/mod.rs index 332f2503..07362c35 100644 --- a/libimagstore/src/file_abstraction/mod.rs +++ b/libimagstore/src/file_abstraction/mod.rs @@ -107,7 +107,7 @@ mod test { let loca = StoreId::new_baseless(path).unwrap(); let file = Entry::from_str(loca.clone(), r#"--- [imag] -version = "0.3.0" +version = "0.4.0" --- Hello World"#).unwrap(); diff --git a/libimagstore/src/file_abstraction/stdio/mapper/json.rs b/libimagstore/src/file_abstraction/stdio/mapper/json.rs index 74d9e6eb..0b66f91c 100644 --- a/libimagstore/src/file_abstraction/stdio/mapper/json.rs +++ b/libimagstore/src/file_abstraction/stdio/mapper/json.rs @@ -165,7 +165,7 @@ mod test { #[test] fn test_empty_json_to_fs() { - let json = r#"{"version":"0.3.0","store":{}}"#; + let json = r#"{"version":"0.4.0","store":{}}"#; let mut json = Cursor::new(String::from(json).into_bytes()); let mapper = JsonMapper::new(); let mut hm = HashMap::new(); @@ -178,12 +178,12 @@ mod test { #[test] fn test_json_to_fs() { let json = r#" - { "version": "0.3.0", + { "version": "0.4.0", "store": { "example": { "header": { "imag": { - "version": "0.3.0" + "version": "0.4.0" } }, "content": "test" @@ -210,7 +210,7 @@ mod test { let mut hm = HashMap::new(); let content = r#"--- [imag] -version = "0.3.0" +version = "0.4.0" --- hi there!"#; @@ -225,12 +225,12 @@ hi there!"#; let example = r#" { - "version": "0.3.0", + "version": "0.4.0", "store": { "example": { "header": { "imag": { - "version": "0.3.0" + "version": "0.4.0" } }, "content": "hi there!" diff --git a/libimagstore/src/store.rs b/libimagstore/src/store.rs index c24e241f..a0ee33e5 100644 --- a/libimagstore/src/store.rs +++ b/libimagstore/src/store.rs @@ -1325,7 +1325,7 @@ mod store_tests { // Lets have an empty store as input let mut input = Cursor::new(r#" - { "version": "0.3.0", + { "version": "0.4.0", "store": { } } "#); @@ -1362,7 +1362,7 @@ mod store_tests { Value::Object(ref map) => { assert!(map.get("version").is_some(), format!("No 'version' in JSON")); match map.get("version").unwrap() { - &Value::String(ref s) => assert_eq!("0.3.0", s), + &Value::String(ref s) => assert_eq!("0.4.0", s), _ => panic!("Wrong type in JSON at 'version'"), } @@ -1663,12 +1663,12 @@ mod store_tests { // Lets have an empty store as input let mut input = Cursor::new(r#" - { "version": "0.3.0", + { "version": "0.4.0", "store": { "example": { "header": { "imag": { - "version": "0.3.0" + "version": "0.4.0" } }, "content": "foobar" @@ -1712,7 +1712,7 @@ mod store_tests { Value::Object(ref map) => { assert!(map.get("version").is_some(), format!("No 'version' in JSON")); match map.get("version").unwrap() { - &Value::String(ref s) => assert_eq!("0.3.0", s), + &Value::String(ref s) => assert_eq!("0.4.0", s), _ => panic!("Wrong type in JSON at 'version'"), } diff --git a/libimagtimeui/Cargo.toml b/libimagtimeui/Cargo.toml index deb74124..ab66090b 100644 --- a/libimagtimeui/Cargo.toml +++ b/libimagtimeui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagtimeui" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagtodo/Cargo.toml b/libimagtodo/Cargo.toml index 791b681c..ec63986e 100644 --- a/libimagtodo/Cargo.toml +++ b/libimagtodo/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagtodo" -version = "0.3.0" +version = "0.4.0" authors = ["mario "] description = "Library for the imag core distribution" diff --git a/libimagutil/Cargo.toml b/libimagutil/Cargo.toml index d732e394..b0e06f45 100644 --- a/libimagutil/Cargo.toml +++ b/libimagutil/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagutil" -version = "0.3.0" +version = "0.4.0" authors = ["Matthias Beyer "] description = "Library for the imag core distribution" diff --git a/libimagutil/src/testing.rs b/libimagutil/src/testing.rs index cb36a4a5..13a70d99 100644 --- a/libimagutil/src/testing.rs +++ b/libimagutil/src/testing.rs @@ -21,7 +21,7 @@ pub static DEFAULT_ENTRY: &'static str = "\ ---\ [imag]\ links = []\ -version = \"0.3.0\"\ +version = \"0.4.0\"\ ---"; /// Generator helper macro for mock app (for testing only)