0.9.3 - 2016-12-10
Hash::clear()
(#47)Hash::delete()
(#47)Clone
forHash
(#47)Default
forArray
Default
forNilClass
Default
forHash
RString::to_str()
RString::to_str_unchecked()
0.9.2 - 2016-12-10
Thread
classThread::new()
Thread::wait_fd()
(Unix-like systems)
VM::thread_call_without_gvl()
in favor ofThread::call_without_gvl()
VM::thread_call_without_gvl2()
in favor ofThread::call_without_gvl2()
VM::thread_call_with_gvl()
in favor ofThread::call_with_gvl()
0.9.1 - 2016-11-03
Float
class (#46)Array::with_capacity()
Class::const_get()
Class::const_set()
Object::is_frozen()
Object::freeze()
VM::is_block_given()
- Optional block for marking wrapped data for GC
0.9.0 - 2016-10-24
Array::concat()
(#38)Array::dup()
(#38)Array::pop()
(#38)Array::reverse()
Array::reverse_bang()
Array::shift()
(#38)Array::sort_bang()
(#38)Array::sort()
(#38)Array::to_s()
(#38)Array::unshift()
(#38)GC::mark()
Class::wrap_data()
Object::get_data()
wrappable_struct!
- Strings with interior null-bytes can be passed to Ruby
- AppVeyor build freezes (#39)
0.8.1 - 2016-09-25
VM
thread functions to receiveFnOnce
instead ofFnMut
0.8.0 - 2016-09-18
See wiki page for upgrading from 0.7.x to 0.8.0.
VerifiedObject
trait for safe conversions between typesObject::try_convert_to()
Error
enum convertible to exceptionsResult<T: Object, Error>
as a result of type conversionunsafe_methods!
macroClass::define_nested_class()
Object::respond_to()
Class::superclass()
Class::ancestors()
Hash::length()
Object::singleton_class()
attr_reader
,attr_writer
,attr_accessor
toClass
- GVL-related functions to
VM
(#34) - Checking for presence of method arguments
- Derive
Debug
,PartialEq
for all Ruby types VM::raise()
AnyObject::to()
marked asunsafe
AnyObject::to()
moved toObject::to()
AnyObject::ty()
moved toObject::ty()
methods!
macro sets arguments toResult<T: Object, Error>
usingtry_convert_to()
- Traits from
ruru::traits::*
module exported to top-levelruru::*
module Class::new()
receives optional superclassdefine
,define_method
,define_singleton_method
moved fromClass
toObject
traitHash::each()
yields keys and values asAnyObject
instead ofObject
to allow safe conversions
x86
build
0.7.8 - 2016-07-09
Iterator
forArray
(#30)FromIterator
forArray
0.7.7 - 2016-07-07
Hash::each()
- Windows build
- Direct
libc
crate dependency
0.7.6 - 2016-07-05
RString::bytesize()
RString::to_string_unchecked()
- Reduce the number of identifiers needed to import when using the
class!
macro
0.7.5 - 2016-06-30
VM::block_proc()
0.7.4 - 2016-06-29
Proc
class
- Reduce the number of identifiers needed to import when using macros
- Windows build (#25)
0.7.3 - 2016-05-07
NilClass
Object.is_nil()
- Move the
ruby-sys
crate to its own repository (#17)
- Warnings from the
methods!
macro
0.7.2 - 2016-05-05
- Refactor
Value
usage (#15)
0.7.1 - 2016-05-05
AnyObject.ty
(#13)
ruru.unsafe_binding
module
0.7.0 - 2016-05-02
VM::require()
(Ruby'srequire
statement)
fn
required when declaring methods inmethods!
macro
For versions prior to 0.7.0, please see git log
.