From c6805bce3942f6c2c7bf78a57bd0119297617d2a Mon Sep 17 00:00:00 2001 From: Mat Sadler Date: Thu, 31 Mar 2022 20:07:54 -0700 Subject: [PATCH] bump version for 0.2.0 release --- CHANGELOG.md | 20 ++++++++++++++----- Cargo.toml | 2 +- README.md | 4 ++-- examples/rust_blank/ext/rust_blank/Cargo.toml | 2 +- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 12cc9ba2..2347ca76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ ## [Unreleased] ### Added + +### Changed + +### Deprecated + +### Removed + +### Fixed + +### Security + +## [0.2.0] - 2022-03-31 +### Added - Functions in `class`, `module`, and `error` modules to access built-in classes/modules. - Many doc examples. @@ -32,8 +45,6 @@ - `Binding::new`. This will be removed in the future as the underlying `rb_binding_new` will not function as of Ruby 3.2. -### Removed - ### Fixed - Converting Ruby integers to `isize`/`i64`/`usize`/`u64` on Windows. - Edge case where static symbol created after a dynamic symbol with the same @@ -41,8 +52,6 @@ - Many `RArray` methods now correctly protect from exceptions (instead returning `Result<_, Error>` when an exception occurs). -### Security - ## [0.1.0] - 2022-02-25 ### Added - Support for most core classes, `String`, `Symbol`, `Integer`, `Float`, @@ -58,5 +67,6 @@ - Pre-built bindings for Ruby 2.6 - 3.1 on common platforms, build-time generated bindings otherwise. -[Unreleased] https://github.com/matsadler/magnus/compare/0.1.0...HEAD +[Unreleased] https://github.com/matsadler/magnus/compare/0.2.0...HEAD +[0.2.0]: https://github.com/matsadler/magnus/compare/0.1.0...0.2.0 [0.1.0]: https://github.com/matsadler/magnus/tree/0.1.0 diff --git a/Cargo.toml b/Cargo.toml index 5c441c39..6616c835 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "magnus" -version = "0.1.0" +version = "0.2.0" authors = ["Mat Sadler "] edition = "2018" description = "High level Ruby bindings for Rust." diff --git a/README.md b/README.md index 71d0984e..a7d23a31 100644 --- a/README.md +++ b/README.md @@ -242,7 +242,7 @@ setting the `crate-type` attribute in your `Cargo.toml`. crate-type = ["cdylib"] [dependencies] -magnus = "0.1" +magnus = "0.2" ``` When Ruby loads your extension it calls an 'init' function defined in your @@ -311,7 +311,7 @@ To call Ruby from a Rust program, enable the `embed` feature: **`Cargo.toml`** ``` [dependencies] -magnus = { version = "0.1", features = ["embed"] } +magnus = { version = "0.2", features = ["embed"] } ``` This enables linking to Ruby and gives access to the `embed` module. diff --git a/examples/rust_blank/ext/rust_blank/Cargo.toml b/examples/rust_blank/ext/rust_blank/Cargo.toml index f309e5ae..3866f73f 100644 --- a/examples/rust_blank/ext/rust_blank/Cargo.toml +++ b/examples/rust_blank/ext/rust_blank/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rust_blank" -version = "0.1.0" +version = "0.2.0" authors = ["Mat Sadler "] edition = "2018"