From a3092f16b9418b07f897720757bcfba1bf97ec9c Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 5 Oct 2018 18:19:09 -0600 Subject: [PATCH 1/4] fix(docs): Add missing link --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 33e94b5..ced70a8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -162,6 +162,7 @@ //! - [`path_pred = bytes_pred.from_file_path`]: Specified path's contents must equal the `bytes_pred`. //! //! [prelude]: prelude/index.html +//! [`DifferencePredicate`]: https://docs.rs/predicates/0.9.1/predicates/str/struct.DifferencePredicate.html //! [`bytes_pred = str_pred.from_utf8()`]: prelude/trait.PredicateStrExt.html#method.from_utf8 //! [`path_pred = bytes_pred.from_file_path`]: prelude/trait.PredicateFileContentExt.html#method.from_file_path //! [`path_pred = predicate::path::eq_file`]: prelude/predicate/path/fn.eq_file.html From 5219df795da152fc342b42bf10aa406091c24d83 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Sat, 6 Oct 2018 07:56:35 -0600 Subject: [PATCH 2/4] chore: Release v1.0.0 --- CHANGELOG.md | 5 ++++- Cargo.toml | 2 +- README.md | 2 +- predicates-core/Cargo.toml | 2 +- predicates-tree/Cargo.toml | 4 ++-- src/lib.rs | 2 +- 6 files changed, 10 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a50b63d..f9bb19a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] - Unreleased +## [1.0.0] - 2018-10-06 + ## [0.9.1] - 2018-10-05 ### Added - Created a predicate selection guide. @@ -103,7 +105,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Continuous integration with Travis (Linux) and AppVeyor (Windows) - Basic README -[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/v0.9.1...HEAD +[Unreleased]: https://github.com/assert-rs/predicates-rs/compare/v1.0.0...HEAD +[1.0.0]: https://github.com/assert-rs/predicates-rs/compare/v0.9.1...v1.0.0 [0.9.1]: https://github.com/assert-rs/predicates-rs/compare/v0.9.0...v0.9.1 [0.9.0]: https://github.com/assert-rs/predicates-rs/compare/v0.5.2...v0.9.0 [0.5.2]: https://github.com/assert-rs/predicates-rs/compare/v0.5.1...v0.5.2 diff --git a/Cargo.toml b/Cargo.toml index 384869d..f4e09ea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ members = ["predicates-core", "predicates-tree"] [package] name = "predicates" -version = "0.9.1" +version = "1.0.0" authors = ["Nick Stevens "] license = "MIT/Apache-2.0" readme = "README.md" diff --git a/README.md b/README.md index a9ed7b6..41fc6ec 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ First, add this to your `Cargo.toml`: ```toml [dependencies] -predicates = "0.9" +predicates = "1.0" ``` Next, add this to your crate: diff --git a/predicates-core/Cargo.toml b/predicates-core/Cargo.toml index 6476cde..14ba7b1 100644 --- a/predicates-core/Cargo.toml +++ b/predicates-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "predicates-core" -version = "0.9.0" +version = "1.0.0" authors = ["Nick Stevens "] license = "MIT/Apache-2.0" readme = "README.md" diff --git a/predicates-tree/Cargo.toml b/predicates-tree/Cargo.toml index 3044d85..ce1cc9b 100644 --- a/predicates-tree/Cargo.toml +++ b/predicates-tree/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "predicates-tree" -version = "0.9.0" +version = "1.0.0" authors = ["Nick Stevens "] license = "MIT/Apache-2.0" readme = "README.md" @@ -18,5 +18,5 @@ travis-ci = { repository = "assert-rs/predicates-rs" } appveyor = { repository = "assert-rs/predicates-rs" } [dependencies] -predicates-core = { version = "0.9", path = "../predicates-core" } +predicates-core = { version = "1.0", path = "../predicates-core" } treeline = "0.1" diff --git a/src/lib.rs b/src/lib.rs index ced70a8..15b6d75 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,7 +24,7 @@ //! //! ```toml //! [dependencies] -//! predicates = "0.9" +//! predicates = "1.0" //! ``` //! //! A [prelude] is available to bring in all extension traits as well as providing From 02d95ddb05ec2e3d01a4e5dbaca4eef300cf673b Mon Sep 17 00:00:00 2001 From: Ed Page Date: Sat, 6 Oct 2018 07:59:38 -0600 Subject: [PATCH 3/4] fix: predicates dependency --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index f4e09ea..667dc50 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ travis-ci = { repository = "assert-rs/predicates-rs" } appveyor = { repository = "assert-rs/predicates-rs" } [dependencies] -predicates-core = { version = "0.9", path = "predicates-core" } +predicates-core = { version = "1.0", path = "predicates-core" } difference = { version = "2.0", optional = true } normalize-line-endings = { version = "0.2.2", optional = true } regex = { version="1.0", optional = true } From 9a9ac0ab148cabe143bc6215db2f23effb88f5d1 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Sat, 6 Oct 2018 08:00:46 -0600 Subject: [PATCH 4/4] fix: predicates dependency --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 667dc50..eb69ccc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -28,7 +28,7 @@ regex = { version="1.0", optional = true } float-cmp = { version="0.4", optional = true } [dev-dependencies] -predicates-tree = { version = "0.9", path = "predicates-tree" } +predicates-tree = { version = "1.0", path = "predicates-tree" } [features] default = ["difference", "regex", "float-cmp", "normalize-line-endings"]