Skip to content

Commit

Permalink
Bump version to 0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojciech Polak committed Oct 1, 2019
1 parent d121e29 commit c7b5acf
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 7 deletions.
16 changes: 12 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
# Changelog

## 0.3.2
### Bugfixes
* Added support for `impl Trait` - it worked in 2.x crate.
### Minor improvements
* Added extra test cases
### Upgraded dependencies
* Upgraded `version_check` to `v0.9.1`

## 0.3.1
### Minor improvements:
* Refreshed readme
* Added CI for stable version of Rust. - thanks to @macisamuele
* Limited crate to Rust 1.29+ - thanks to @macisamuele
### Upgraded dependencies:
* Upgraded syn, quote and proc-macro-2 to v1
* Upgraded lazy-static to 1.4.0
* Upgraded insta to 0.11.0
* Upgraded `syn`, `quote` and `proc-macro-2` to `v1`
* Upgraded `lazy-static` to `1.4.0`
* Upgraded `insta` to `0.11.0`

## 0.3.0
### Breaking changes
Expand All @@ -20,6 +28,6 @@
### New features
* Proper error propagation :tada:
When there is for example a typo in function body, rustc can now show location
of it instead of test_case location.
of it instead of `test_case` location.
* Internally for tests crate uses `cargo insta` for snapshot testing
* Attribute is now compatible all other attributes like `#[should_panic]`
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "test-case"
version = "0.3.1"
version = "0.3.2"
edition = "2018"
authors = ["Marcin Sas-Szymanski <[email protected]>", "Wojciech Polak <[email protected]>"]
description = "Provides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ First of all you have to add this dependency to your `Cargo.toml`:

```toml
[dev-dependencies]
test-case = "0.3.1"
test-case = "0.3.2"
```

Additionally you have to import the procedural macro with `use` statement:
Expand Down
17 changes: 17 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

cargo clippy
cargo fmt --all
cargo test --all --all-features

nvim Cargo.toml
cargo build

nvim CHANGELOG.md
nvim src/lib.rs

cargo readme > README.md

cargo publish --dry-run --allow-dirty

git commit
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//!
//! ```toml
//! [dev-dependencies]
//! test-case = "0.3.1"
//! test-case = "0.3.2"
//! ```
//!
//! Additionally you have to import the procedural macro with `use` statement:
Expand Down

0 comments on commit c7b5acf

Please sign in to comment.