-
-
Save elia/72872e47b23423228f09 to your computer and use it in GitHub Desktop.
g diff -w v0.9.0.beta{1,2} -- CHANGELOG.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -26,6 +26,8 @@ | |
* Newly compliant with RubySpec: | |
* `Enumerable#chunk` | |
+ * `Enumerable#each_cons` | |
+ * `Enumerable#minmax` | |
* Operator methods (e.g. `+`, `<`, etc.) can be handled by `method_missing` | |
@@ -39,6 +41,23 @@ | |
* Method defs issued inside `Module#instance_eval` and `Class#instance_eval`, and the respective `exec` now create class methods | |
+* You can make direct JavaScript method calls on using the `recv.JS.method`syntax. Has support for method calls, final callback (as a block), property getter and setter (via `#[]` and `#[]=`), splats, JavaScript keywords (via the `::JS` module) and global functions (after `require "js"`). | |
+ | |
+* `Set#superset?`, `Set#subset?`, and the respective 'proper_' variant of each are now implemented | |
+ | |
+* Now with enabled arity checks calling a method with more arguments than those supported by its signature raises an `ArgumentError` as well. | |
+ | |
+* `NameError` and `NoMethodError` - add `#name` and `#args` attributes | |
+ | |
+* Previously arity checks would raise an error without clearing the block for a method, the could lead to strange bugs in case the error was rescued. | |
+ | |
+* `RegExp#match` now works correctly in multiline mode with white space | |
+ | |
+* `Regexp#===` returns false when the right hand side of the expression cannot be coereced to a string (instead of throwing a TypeError) | |
+ | |
+* `Regexp#options` has been optimized and correctly returns 0 when called on a Regexp literal without any options (e.g. //) | |
+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment