README.md in polyfill-1.2.0 vs README.md in polyfill-1.3.0
- old
+ new
@@ -25,11 +25,11 @@
## Installation
Add it to your Gemfile:
```ruby
-gem 'polyfill', '~> 1.2'
+gem 'polyfill', '~> 1.3'
```
Or install it manually:
```sh
@@ -139,19 +139,19 @@
| ✓ | BigDecimal | #clone | Returns the receiver itself instead of making a new instance.
| ✓ | | #dup | Returns the receiver itself instead of making a new instance.
| ✓ | Dir | .children | New
| ✓ | | .each_child | New
| ✗ | | #glob | Accepts a new optional keyword argument, `:base`.
-| ✗ | Enumerable | #any? | Accepts a pattern argument.
-| ✗ | | #all? | Accepts a pattern argument.
-| ✗ | | #none? | Accepts a pattern argument.
-| ✗ | | #one? | Accepts a pattern argument.
+| ✓ | Enumerable | #all? | Accepts a pattern argument.
+| ✓ | | #any? | Accepts a pattern argument.
+| ✓ | | #none? | Accepts a pattern argument.
+| ✓ | | #one? | Accepts a pattern argument.
| ✗ | ERB | .result_with_hash | New
| ✗ | Exception | #full_message | New
| ✗ | File | .identical? | Support ReFS 128bit ino on Windows 8.1 and later.
| ✗ | | .lutime | New
-| ✗ | | .open | Accepts a new optional keyword argument, `:newline`.
+| ✗ | | .open | Use of the optional argument `newline` now implies text mode.
| ✗ | | #path | Raises an `IOError` for files opened with `File::Constants::TMPFILE` option.
| ✗ | File::Stat | #atime | Support fractional second timestamps on Windows 8 and later.
| ✗ | | #ctime | Support fractional second timestamps on Windows 8 and later.
| ✗ | | #ino | Support ReFS 128bit ino on Windows 8.1 and later.
| ✗ | | #mtime | Support fractional second timestamps on Windows 8 and later.
@@ -347,11 +347,11 @@
### 2.3
| | Object | Method | Changes |
|:-:| ----------------------- | ------------------------ | ------- |
| ✗ | ARGF | #read_nonblock | Accepts a new optional keyword argument, `exception`.
-| ✗ | Array | #bsearch_index | New
+| ✓ | Array | #bsearch_index | New
| ✓ | | #dig | New
| ✗ | | #flatten | No longer calls `to_ary` on elements beyond the given level.
| ✗ | | #flatten! | No longer calls `to_ary` on elements beyond the given level.
| ✗ | | #inspect | No longer raises an error if its content returns a string which is not compatible with `Encoding.default_external`.
| ✗ | | #pack | Add `j` and `J` directives for pointer width integer type.
@@ -368,13 +368,13 @@
| ✓ | | #grep_v | New
| ✓ | | #slice_before | No longer accepts the `initial_state` keyword argument.
| ✓ | Enumerator::Lazy | #grep_v | New
| ✗ | File | .mkfifo | New
| ✗ | File::Stat | #ino | On Windows, it always returned `0`, but now returns `BY_HANDLE_FILE_INFORMATION.nFileIndexHigh/Low`.
-| ✗ | Hash | #< | New
-| ✗ | | #<= | New
-| ✗ | | #> | New
-| ✗ | | #>= | New
+| ✓ | Hash | #< | New
+| ✓ | | #<= | New
+| ✓ | | #> | New
+| ✓ | | #>= | New
| ✓ | | #dig | New
| ✓ | | #fetch_values | New
| ✗ | | #inspect | No longer raises an error if its content returns a string which is not compatible with `Encoding.default_external`.
| P | | #to_proc | New **Differences:** Works in every respect but returns a `lambda` instead of a `proc`. Returning a `proc` may be an error in MRI's implementation. See: https://bugs.ruby-lang.org/issues/12671)
| ✗ | IO | #advise | No longer raises Errno::ENOSYS in cases where it was detected at build time but not available at runtime.