Skip to content

Commit

Permalink
bump version for 0.2.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
matsadler committed Apr 1, 2022
1 parent 1290030 commit c6805bc
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
20 changes: 15 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -32,17 +45,13 @@
- `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
name wouldn't be detected as static.
- 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`,
Expand All @@ -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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "magnus"
version = "0.1.0"
version = "0.2.0"
authors = ["Mat Sadler <[email protected]>"]
edition = "2018"
description = "High level Ruby bindings for Rust."
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion examples/rust_blank/ext/rust_blank/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust_blank"
version = "0.1.0"
version = "0.2.0"
authors = ["Mat Sadler <[email protected]>"]
edition = "2018"

Expand Down

0 comments on commit c6805bc

Please sign in to comment.