Update version strings for next release: 0.3.0 -> 0.4.0

This commit is contained in:
Matthias Beyer 2017-08-26 13:27:32 +02:00
parent 764ff6ea96
commit 1c37703c32
47 changed files with 62 additions and 62 deletions

View file

@ -1,6 +1,6 @@
[package] [package]
name = "imag" name = "imag"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Part of the imag core distribution: imag command" description = "Part of the imag core distribution: imag command"

View file

@ -1,6 +1,6 @@
--- ---
title: imag User Documentation title: imag User Documentation
version: 0.3.0 version: 0.4.0
date: August 2017 date: August 2017
listings: true listings: true
codeBlockCaptions: true codeBlockCaptions: true

View file

@ -72,7 +72,7 @@ An example for a file in the store follows.
--- ---
[imag] [imag]
links = ["/home/user/more_kittens.mpeg"] links = ["/home/user/more_kittens.mpeg"]
version = "0.3.0" version = "0.4.0"
[note] [note]
name = "foo" name = "foo"
@ -257,12 +257,12 @@ The strucure is as follows:
```json ```json
{ {
"version": "0.3.0", "version": "0.4.0",
"store": { "store": {
"example": { "example": {
"header": { "header": {
"imag": { "imag": {
"version": "0.3.0", "version": "0.4.0",
}, },
}, },
"content": "hi there!", "content": "hi there!",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "imag-bookmark" name = "imag-bookmark"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Part of the imag core distribution: imag-bookmark command" description = "Part of the imag core distribution: imag-bookmark command"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "imag-counter" name = "imag-counter"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Part of the imag core distribution: imag-counter command" description = "Part of the imag core distribution: imag-counter command"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "imag-diary" name = "imag-diary"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Part of the imag core distribution: imag-diary command" description = "Part of the imag core distribution: imag-diary command"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "imag-link" name = "imag-link"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Part of the imag core distribution: imag-link command" description = "Part of the imag core distribution: imag-link command"

View file

@ -356,7 +356,7 @@ mod tests {
make_mock_app! { make_mock_app! {
app "imag-link"; app "imag-link";
modulename mock; modulename mock;
version "0.3.0"; version "0.4.0";
with help "imag-link mocking app"; with help "imag-link mocking app";
} }
use self::mock::generate_test_runtime; use self::mock::generate_test_runtime;

View file

@ -1,6 +1,6 @@
[package] [package]
name = "imag-mail" name = "imag-mail"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Part of the imag core distribution: imag-notes command" description = "Part of the imag core distribution: imag-notes command"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "imag-notes" name = "imag-notes"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Part of the imag core distribution: imag-notes command" description = "Part of the imag core distribution: imag-notes command"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "imag-ref" name = "imag-ref"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Part of the imag core distribution: imag-ref command" description = "Part of the imag core distribution: imag-ref command"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "imag-store" name = "imag-store"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Part of the imag core distribution: imag-store command" description = "Part of the imag core distribution: imag-store command"

View file

@ -42,7 +42,7 @@ test_std_header() {
--- ---
[imag] [imag]
links = [] links = []
version = "0.3.0" version = "0.4.0"
--- ---
EOS EOS
@ -63,7 +63,7 @@ test_std_header_plus_custom() {
--- ---
[imag] [imag]
links = [] links = []
version = "0.3.0" version = "0.4.0"
[zzz] [zzz]
zzz = "z" zzz = "z"
@ -90,7 +90,7 @@ bar = "baz"
[imag] [imag]
links = [] links = []
version = "0.3.0" version = "0.4.0"
[zzz] [zzz]
zzz = "z" zzz = "z"
@ -116,7 +116,7 @@ test_std_header_plus_custom_multiheader_same_section() {
--- ---
[imag] [imag]
links = [] links = []
version = "0.3.0" version = "0.4.0"
[zzz] [zzz]
bar = "baz" bar = "baz"
@ -142,7 +142,7 @@ test_std_header_plus_custom_and_content() {
--- ---
[imag] [imag]
links = [] links = []
version = "0.3.0" version = "0.4.0"
[zzz] [zzz]
zzz = "z" zzz = "z"

View file

@ -8,7 +8,7 @@ std_header() {
--- ---
[imag] [imag]
links = [] links = []
version = "0.3.0" version = "0.4.0"
--- ---
EOS EOS
} }

View file

@ -1,6 +1,6 @@
[package] [package]
name = "imag-tag" name = "imag-tag"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Part of the imag core distribution: imag-tag command" description = "Part of the imag core distribution: imag-tag command"

View file

@ -196,7 +196,7 @@ mod tests {
make_mock_app! { make_mock_app! {
app "imag-tag"; app "imag-tag";
modulename mock; modulename mock;
version "0.3.0"; version "0.4.0";
with help "imag-tag mocking app"; with help "imag-tag mocking app";
} }
use self::mock::generate_test_runtime; use self::mock::generate_test_runtime;

View file

@ -1,6 +1,6 @@
[package] [package]
name = "imag-timetrack" name = "imag-timetrack"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Part of the imag core distribution: imag-tag command" description = "Part of the imag core distribution: imag-tag command"

View file

@ -1,7 +1,7 @@
[package] [package]
authors = ["mario <mario-krehl@gmx.de>"] authors = ["mario <mario-krehl@gmx.de>"]
name = "imag-todo" name = "imag-todo"
version = "0.3.0" version = "0.4.0"
description = "Part of the imag core distribution: imag-todo command" description = "Part of the imag core distribution: imag-todo command"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "imag-view" name = "imag-view"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Part of the imag core distribution: imag-view command" description = "Part of the imag core distribution: imag-view command"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagannotation" name = "libimagannotation"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagbookmark" name = "libimagbookmark"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagcounter" name = "libimagcounter"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagdiary" name = "libimagdiary"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagentrycategory" name = "libimagentrycategory"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagentrydatetime" name = "libimagentrydatetime"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagentryedit" name = "libimagentryedit"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagentryfilter" name = "libimagentryfilter"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagentrylink" name = "libimagentrylink"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagentrylist" name = "libimagentrylist"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagentrymarkdown" name = "libimagentrymarkdown"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagentrytag" name = "libimagentrytag"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagentrytimetrack" name = "libimagentrytimetrack"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagentryview" name = "libimagentryview"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagerror" name = "libimagerror"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimaginteraction" name = "libimaginteraction"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagmail" name = "libimagmail"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagnotes" name = "libimagnotes"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagref" name = "libimagref"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagrt" name = "libimagrt"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagstore" name = "libimagstore"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -107,7 +107,7 @@ mod test {
let loca = StoreId::new_baseless(path).unwrap(); let loca = StoreId::new_baseless(path).unwrap();
let file = Entry::from_str(loca.clone(), r#"--- let file = Entry::from_str(loca.clone(), r#"---
[imag] [imag]
version = "0.3.0" version = "0.4.0"
--- ---
Hello World"#).unwrap(); Hello World"#).unwrap();

View file

@ -165,7 +165,7 @@ mod test {
#[test] #[test]
fn test_empty_json_to_fs() { 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 mut json = Cursor::new(String::from(json).into_bytes());
let mapper = JsonMapper::new(); let mapper = JsonMapper::new();
let mut hm = HashMap::new(); let mut hm = HashMap::new();
@ -178,12 +178,12 @@ mod test {
#[test] #[test]
fn test_json_to_fs() { fn test_json_to_fs() {
let json = r#" let json = r#"
{ "version": "0.3.0", { "version": "0.4.0",
"store": { "store": {
"example": { "example": {
"header": { "header": {
"imag": { "imag": {
"version": "0.3.0" "version": "0.4.0"
} }
}, },
"content": "test" "content": "test"
@ -210,7 +210,7 @@ mod test {
let mut hm = HashMap::new(); let mut hm = HashMap::new();
let content = r#"--- let content = r#"---
[imag] [imag]
version = "0.3.0" version = "0.4.0"
--- ---
hi there!"#; hi there!"#;
@ -225,12 +225,12 @@ hi there!"#;
let example = r#" let example = r#"
{ {
"version": "0.3.0", "version": "0.4.0",
"store": { "store": {
"example": { "example": {
"header": { "header": {
"imag": { "imag": {
"version": "0.3.0" "version": "0.4.0"
} }
}, },
"content": "hi there!" "content": "hi there!"

View file

@ -1325,7 +1325,7 @@ mod store_tests {
// Lets have an empty store as input // Lets have an empty store as input
let mut input = Cursor::new(r#" let mut input = Cursor::new(r#"
{ "version": "0.3.0", { "version": "0.4.0",
"store": { } "store": { }
} }
"#); "#);
@ -1362,7 +1362,7 @@ mod store_tests {
Value::Object(ref map) => { Value::Object(ref map) => {
assert!(map.get("version").is_some(), format!("No 'version' in JSON")); assert!(map.get("version").is_some(), format!("No 'version' in JSON"));
match map.get("version").unwrap() { 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'"), _ => panic!("Wrong type in JSON at 'version'"),
} }
@ -1663,12 +1663,12 @@ mod store_tests {
// Lets have an empty store as input // Lets have an empty store as input
let mut input = Cursor::new(r#" let mut input = Cursor::new(r#"
{ "version": "0.3.0", { "version": "0.4.0",
"store": { "store": {
"example": { "example": {
"header": { "header": {
"imag": { "imag": {
"version": "0.3.0" "version": "0.4.0"
} }
}, },
"content": "foobar" "content": "foobar"
@ -1712,7 +1712,7 @@ mod store_tests {
Value::Object(ref map) => { Value::Object(ref map) => {
assert!(map.get("version").is_some(), format!("No 'version' in JSON")); assert!(map.get("version").is_some(), format!("No 'version' in JSON"));
match map.get("version").unwrap() { 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'"), _ => panic!("Wrong type in JSON at 'version'"),
} }

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagtimeui" name = "libimagtimeui"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagtodo" name = "libimagtodo"
version = "0.3.0" version = "0.4.0"
authors = ["mario <mario-krehl@gmx.de>"] authors = ["mario <mario-krehl@gmx.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -1,6 +1,6 @@
[package] [package]
name = "libimagutil" name = "libimagutil"
version = "0.3.0" version = "0.4.0"
authors = ["Matthias Beyer <mail@beyermatthias.de>"] authors = ["Matthias Beyer <mail@beyermatthias.de>"]
description = "Library for the imag core distribution" description = "Library for the imag core distribution"

View file

@ -21,7 +21,7 @@ pub static DEFAULT_ENTRY: &'static str = "\
---\ ---\
[imag]\ [imag]\
links = []\ links = []\
version = \"0.3.0\"\ version = \"0.4.0\"\
---"; ---";
/// Generator helper macro for mock app (for testing only) /// Generator helper macro for mock app (for testing only)