diff --git a/bin/Cargo.toml b/bin/Cargo.toml index b9d6cf22..d9aa7856 100644 --- a/bin/Cargo.toml +++ b/bin/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/doc/src/02000-store.md b/doc/src/02000-store.md index 098a5411..d7b7d22e 100644 --- a/doc/src/02000-store.md +++ b/doc/src/02000-store.md @@ -67,7 +67,7 @@ An example for a file in the store follows. ``` --- [imag] -version = "0.1.0" +version = "0.2.0" [imag.content] url = "file://home/user/kittens.mpeg" diff --git a/imag-counter/Cargo.toml b/imag-counter/Cargo.toml index 964eda85..70f4d5ea 100644 --- a/imag-counter/Cargo.toml +++ b/imag-counter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-counter" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/imag-diary/Cargo.toml b/imag-diary/Cargo.toml index 2edf2daa..d320816d 100644 --- a/imag-diary/Cargo.toml +++ b/imag-diary/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-diary" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/imag-link/Cargo.toml b/imag-link/Cargo.toml index 59ee82f1..72c26e0c 100644 --- a/imag-link/Cargo.toml +++ b/imag-link/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-link" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/imag-link/tests/link-test.sh b/imag-link/tests/link-test.sh index 2caf8e99..31599cb8 100644 --- a/imag-link/tests/link-test.sh +++ b/imag-link/tests/link-test.sh @@ -8,7 +8,7 @@ default_entry() { --- [imag] links = [] -version = "0.1.0" +version = "0.2.0" --- EOS @@ -19,7 +19,7 @@ entry_linked_to() { --- [imag] links = [$1] -version = "0.1.0" +version = "0.2.0" --- EOS @@ -31,13 +31,13 @@ mktestentry() { } test_link_modificates() { - mktestentry "test~0.1.0" - mktestentry "test2~0.1.0" + mktestentry "test~0.2.0" + mktestentry "test2~0.2.0" - imag-link internal add --from "test~0.1.0" --to "test2~0.1.0" + imag-link internal add --from "test~0.2.0" --to "test2~0.2.0" - if [[ "$(default_entry)" -eq "$(cat_entry 'test~0.1.0')" ]] || - [[ "$(default_entry)" -eq "$(cat_entry 'test2~0.1.0')" ]] + if [[ "$(default_entry)" -eq "$(cat_entry 'test~0.2.0')" ]] || + [[ "$(default_entry)" -eq "$(cat_entry 'test2~0.2.0')" ]] then err "Entry was unmodified after linking" return 1; @@ -45,21 +45,21 @@ test_link_modificates() { } test_linking_links() { - mktestentry "test~0.1.0" - mktestentry "test2~0.1.0" + mktestentry "test~0.2.0" + mktestentry "test2~0.2.0" - imag-link internal add --from "test~0.1.0" --to "test2~0.1.0" + imag-link internal add --from "test~0.2.0" --to "test2~0.2.0" - if [[ "$(entry_linked_to '/test~0.1.0')" == "$(cat_entry 'test2~0.1.0')" ]]; + if [[ "$(entry_linked_to '/test~0.2.0')" == "$(cat_entry 'test2~0.2.0')" ]]; then - err "Linking to 'test~0.1.0' didn't succeed for 'test2~0.1.0'" - err $(cat_entry 'test2~0.1.0') + err "Linking to 'test~0.2.0' didn't succeed for 'test2~0.2.0'" + err $(cat_entry 'test2~0.2.0') fi - if [[ "$(entry_linked_to '/test2~0.1.0')" == "$(cat_entry 'test~0.1.0')" ]]; + if [[ "$(entry_linked_to '/test2~0.2.0')" == "$(cat_entry 'test~0.2.0')" ]]; then - err "Linking to 'test2~0.1.0' didn't succeed for 'test~0.1.0'" - err $(cat_entry 'test~0.1.0') + err "Linking to 'test2~0.2.0' didn't succeed for 'test~0.2.0'" + err $(cat_entry 'test~0.2.0') fi } diff --git a/imag-notes/Cargo.toml b/imag-notes/Cargo.toml index d6f78bfd..4808c3d1 100644 --- a/imag-notes/Cargo.toml +++ b/imag-notes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-notes" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/imag-ref/Cargo.toml b/imag-ref/Cargo.toml index 949b7ec0..fda94d49 100644 --- a/imag-ref/Cargo.toml +++ b/imag-ref/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-ref" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/imag-store/Cargo.toml b/imag-store/Cargo.toml index 6c244322..3a3aa737 100644 --- a/imag-store/Cargo.toml +++ b/imag-store/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-store" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/imag-store/tests/001-create_test.sh b/imag-store/tests/001-create_test.sh index 823d8488..4f767c7d 100644 --- a/imag-store/tests/001-create_test.sh +++ b/imag-store/tests/001-create_test.sh @@ -4,7 +4,7 @@ source $(dirname ${BASH_SOURCE[0]})/../../tests/utils.sh source $(dirname ${BASH_SOURCE[0]})/utils.sh test_call() { - imag-store create -p /test-call~0.1.0 + imag-store create -p /test-call~0.2.0 if [[ ! $? -eq 0 ]]; then err "Return value should be zero, was non-zero" return 1; @@ -12,7 +12,7 @@ test_call() { } test_call_id() { - imag-store create -i /test-call~0.1.0 + imag-store create -i /test-call~0.2.0 if [[ ! $? -eq 0 ]]; then err "Return value should be zero, was non-zero" return 1; @@ -28,7 +28,7 @@ test_call_no_id() { } test_mkstore() { - imag-store create -p /test-mkstore~0.1.0 || { err "Calling imag failed"; return 1; } + imag-store create -p /test-mkstore~0.2.0 || { err "Calling imag failed"; return 1; } if [[ -d ${STORE} ]]; then out "Store exists." else @@ -42,18 +42,18 @@ test_std_header() { --- [imag] links = [] -version = "0.1.0" +version = "0.2.0" --- EOS ) - imag-store create -p /test-std-header~0.1.0 - local result=$(cat ${STORE}/test-std-header~0.1.0) + imag-store create -p /test-std-header~0.2.0 + local result=$(cat ${STORE}/test-std-header~0.2.0) if [[ "$expected" == "$result" ]]; then out "Expected store entry == result" else - err "${STORE}/test-std-header~0.1.0 differs from expected" + err "${STORE}/test-std-header~0.2.0 differs from expected" return 1 fi } @@ -63,7 +63,7 @@ test_std_header_plus_custom() { --- [imag] links = [] -version = "0.1.0" +version = "0.2.0" [zzz] zzz = "z" @@ -72,8 +72,8 @@ zzz = "z" EOS ) - imag-store create -p /test-std-header-plus-custom~0.1.0 entry -h zzz.zzz=z - local result=$(cat ${STORE}/test-std-header-plus-custom~0.1.0) + imag-store create -p /test-std-header-plus-custom~0.2.0 entry -h zzz.zzz=z + local result=$(cat ${STORE}/test-std-header-plus-custom~0.2.0) if [[ "$expected" == "$result" ]]; then out "Expected store entry == result" else @@ -90,7 +90,7 @@ bar = "baz" [imag] links = [] -version = "0.1.0" +version = "0.2.0" [zzz] zzz = "z" @@ -99,7 +99,7 @@ zzz = "z" EOS ) - local filename="test-std-header-plus-custom-multiheader~0.1.0" + local filename="test-std-header-plus-custom-multiheader~0.2.0" imag-store create -p /$filename entry -h zzz.zzz=z foo.bar=baz local result=$(cat ${STORE}/$filename) if [[ "$expected" == "$result" ]]; then @@ -116,7 +116,7 @@ test_std_header_plus_custom_multiheader_same_section() { --- [imag] links = [] -version = "0.1.0" +version = "0.2.0" [zzz] bar = "baz" @@ -126,7 +126,7 @@ zzz = "z" EOS ) - local filename="test-std-header-plus-custom-mutliheader-same-section~0.1.0" + local filename="test-std-header-plus-custom-mutliheader-same-section~0.2.0" imag-store create -p /$filename entry -h zzz.zzz=z zzz.bar=baz local result=$(cat ${STORE}/$filename) if [[ "$expected" == "$result" ]]; then @@ -142,7 +142,7 @@ test_std_header_plus_custom_and_content() { --- [imag] links = [] -version = "0.1.0" +version = "0.2.0" [zzz] zzz = "z" @@ -151,7 +151,7 @@ content EOS ) - local name="test-std-header-plus-custom-and-content~0.1.0" + local name="test-std-header-plus-custom-and-content~0.2.0" imag-store create -p /$name entry -h zzz.zzz=z -c content local result=$(cat ${STORE}/$name) if [[ "$expected" == "$result" ]]; then diff --git a/imag-store/tests/002-retrieve_test.sh b/imag-store/tests/002-retrieve_test.sh index 4e2c7d7c..01fcfd3e 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.1.0" +version = "0.2.0" --- EOS } @@ -18,7 +18,7 @@ retrieve() { } test_retrieve_nothing() { - local id="test-retrieve_nothing~0.1.0" + local id="test-retrieve_nothing~0.2.0" imag-store create -p /${id} || { err "create failed"; return 1; } @@ -33,7 +33,7 @@ test_retrieve_nothing() { } test_retrieve_content() { - local id="test-retrieve_simple~0.1.0" + local id="test-retrieve_simple~0.2.0" imag-store create -p /${id} || { err "create failed"; return 1; } @@ -49,7 +49,7 @@ test_retrieve_content() { } test_retrieve_header() { - local id="test-retrieve_simple~0.1.0" + local id="test-retrieve_simple~0.2.0" imag-store create -p /${id} || { err "create failed"; return 1; } @@ -64,7 +64,7 @@ test_retrieve_header() { } test_retrieve_raw() { - local id="test-retrieve_simple~0.1.0" + local id="test-retrieve_simple~0.2.0" imag-store create -p /${id} || { err "create failed"; return 1; } diff --git a/imag-store/tests/003-delete_test.sh b/imag-store/tests/003-delete_test.sh index 9beaba82..a0eb97a2 100644 --- a/imag-store/tests/003-delete_test.sh +++ b/imag-store/tests/003-delete_test.sh @@ -12,7 +12,7 @@ delete() { } test_delete_simple() { - local name="test~0.1.0" + local name="test~0.2.0" create -p /$name delete --id /$name diff --git a/imag-tag/Cargo.toml b/imag-tag/Cargo.toml index b9d7af38..a2c14f01 100644 --- a/imag-tag/Cargo.toml +++ b/imag-tag/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-tag" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/imag-view/Cargo.toml b/imag-view/Cargo.toml index 8acf3e5e..1f655f46 100644 --- a/imag-view/Cargo.toml +++ b/imag-view/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "imag-view" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagcounter/Cargo.toml b/libimagcounter/Cargo.toml index da194678..60fec3b3 100644 --- a/libimagcounter/Cargo.toml +++ b/libimagcounter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagcounter" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagcounter/src/lib.rs b/libimagcounter/src/lib.rs index 0426384d..957ac9f9 100644 --- a/libimagcounter/src/lib.rs +++ b/libimagcounter/src/lib.rs @@ -19,7 +19,7 @@ extern crate toml; #[macro_use] extern crate libimagstore; #[macro_use] extern crate libimagerror; -module_entry_path_mod!("counter", "0.1.0"); +module_entry_path_mod!("counter", "0.2.0"); pub mod counter; pub mod error; diff --git a/libimagdiary/Cargo.toml b/libimagdiary/Cargo.toml index 087c4922..2d21d7f6 100644 --- a/libimagdiary/Cargo.toml +++ b/libimagdiary/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagdiary" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagdiary/src/lib.rs b/libimagdiary/src/lib.rs index a13dc428..231ca0ea 100644 --- a/libimagdiary/src/lib.rs +++ b/libimagdiary/src/lib.rs @@ -27,7 +27,7 @@ extern crate itertools; #[macro_use] extern crate libimagerror; extern crate libimagrt; -module_entry_path_mod!("diary", "0.1.0"); +module_entry_path_mod!("diary", "0.2.0"); pub mod config; pub mod error; diff --git a/libimagentryfilter/Cargo.toml b/libimagentryfilter/Cargo.toml index f746a223..297da286 100644 --- a/libimagentryfilter/Cargo.toml +++ b/libimagentryfilter/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentryfilter" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagentrylink/Cargo.toml b/libimagentrylink/Cargo.toml index e4aeb4a6..cb48af2b 100644 --- a/libimagentrylink/Cargo.toml +++ b/libimagentrylink/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentrylink" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagentrylink/src/lib.rs b/libimagentrylink/src/lib.rs index 4f3b6ee7..1774c8a6 100644 --- a/libimagentrylink/src/lib.rs +++ b/libimagentrylink/src/lib.rs @@ -23,7 +23,7 @@ extern crate crypto; #[macro_use] extern crate libimagerror; #[macro_use] extern crate libimagutil; -module_entry_path_mod!("links", "0.1.0"); +module_entry_path_mod!("links", "0.2.0"); pub mod error; pub mod external; diff --git a/libimagentrylist/Cargo.toml b/libimagentrylist/Cargo.toml index 462331c7..d254bf0d 100644 --- a/libimagentrylist/Cargo.toml +++ b/libimagentrylist/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentrylist" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagentrymarkdown/Cargo.toml b/libimagentrymarkdown/Cargo.toml index c752ccc7..64c19059 100644 --- a/libimagentrymarkdown/Cargo.toml +++ b/libimagentrymarkdown/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentrymarkdown" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagentryselect/Cargo.toml b/libimagentryselect/Cargo.toml index ccd52838..58e885fc 100644 --- a/libimagentryselect/Cargo.toml +++ b/libimagentryselect/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentryselect" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagentrytag/Cargo.toml b/libimagentrytag/Cargo.toml index 64d62192..ea282f7e 100644 --- a/libimagentrytag/Cargo.toml +++ b/libimagentrytag/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentrytag" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagentryview/Cargo.toml b/libimagentryview/Cargo.toml index 7c0124a3..c264e818 100644 --- a/libimagentryview/Cargo.toml +++ b/libimagentryview/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagentryview" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagerror/Cargo.toml b/libimagerror/Cargo.toml index 2227ce9e..c176d9ea 100644 --- a/libimagerror/Cargo.toml +++ b/libimagerror/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagerror" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimaginteraction/Cargo.toml b/libimaginteraction/Cargo.toml index 1ee8e63f..7a78df33 100644 --- a/libimaginteraction/Cargo.toml +++ b/libimaginteraction/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimaginteraction" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagnotes/Cargo.toml b/libimagnotes/Cargo.toml index f13cf218..f33fb8e0 100644 --- a/libimagnotes/Cargo.toml +++ b/libimagnotes/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagnotes" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagnotes/src/lib.rs b/libimagnotes/src/lib.rs index ee43c9a3..577bd2c4 100644 --- a/libimagnotes/src/lib.rs +++ b/libimagnotes/src/lib.rs @@ -23,7 +23,7 @@ extern crate libimagrt; #[macro_use] extern crate libimagerror; extern crate libimagentrytag; -module_entry_path_mod!("notes", "0.1.0"); +module_entry_path_mod!("notes", "0.2.0"); pub mod error; pub mod note; diff --git a/libimagref/Cargo.toml b/libimagref/Cargo.toml index a21494ad..f0c31392 100644 --- a/libimagref/Cargo.toml +++ b/libimagref/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagref" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagref/src/lib.rs b/libimagref/src/lib.rs index 1cafe6a5..c34651ab 100644 --- a/libimagref/src/lib.rs +++ b/libimagref/src/lib.rs @@ -10,7 +10,7 @@ extern crate walkdir; #[macro_use] extern crate libimagerror; #[macro_use] extern crate libimagutil; -module_entry_path_mod!("ref", "0.1.0"); +module_entry_path_mod!("ref", "0.2.0"); pub mod error; pub mod flags; diff --git a/libimagrt/Cargo.toml b/libimagrt/Cargo.toml index 4e3dd673..9e1bf47d 100644 --- a/libimagrt/Cargo.toml +++ b/libimagrt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagrt" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagstore/Cargo.toml b/libimagstore/Cargo.toml index c35004c0..050472a0 100644 --- a/libimagstore/Cargo.toml +++ b/libimagstore/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagstore" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagstorestdhook/Cargo.toml b/libimagstorestdhook/Cargo.toml index 31a1e790..163f6398 100644 --- a/libimagstorestdhook/Cargo.toml +++ b/libimagstorestdhook/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagstorestdhook" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagtimeui/Cargo.toml b/libimagtimeui/Cargo.toml index f4ea5efa..f692b316 100644 --- a/libimagtimeui/Cargo.toml +++ b/libimagtimeui/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagtimeui" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies] diff --git a/libimagutil/Cargo.toml b/libimagutil/Cargo.toml index 96638623..53e0e0ee 100644 --- a/libimagutil/Cargo.toml +++ b/libimagutil/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libimagutil" -version = "0.1.0" +version = "0.2.0" authors = ["Matthias Beyer "] [dependencies]