README.md in polyfill-1.4.0 vs README.md in polyfill-1.5.0
- old
+ new
@@ -25,11 +25,11 @@
## Installation
Add it to your Gemfile:
```ruby
-gem 'polyfill', '~> 1.4'
+gem 'polyfill', '~> 1.5'
```
Or install it manually:
```sh
@@ -132,12 +132,12 @@
though they have techically changed. `FrozenError` is a subclass of
`RuntimeError` so it is safe to continue rescuing `RuntimeError` if needed.
| | Object | Method | Changes |
|:-:| ---------------- | ------------------------ | ------- |
-| ✗ | Array | #append | New (alias for `push`)
-| ✗ | | #prepend | New (alias for `unshift`)
+| ✓ | Array | #append | New (alias for `push`)
+| ✓ | | #prepend | New (alias for `unshift`)
| ✓ | 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`.
@@ -208,12 +208,12 @@
| ✗ | Process | .last_status | New (alias of `$?`)
| ✗ | | .times | Precision is improved if getrusage(2) exists.
| ✗ | Range | .initialize | No longer hides exceptions when comparing begin and end with `<=>` and raise a "bad value for range" `ArgumentError` but instead lets the exception from the `<=>` call go through.
| ✗ | Random | #urandom | Renamed from `raw_seed`.
| ✗ | SecureRandom | .alphanumeric | New
-| ✗ | Set | #=== | New (alias of `include?`)
+| ✓ | Set | #=== | New (alias of `include?`)
| ✗ | | #reset | New
-| ✗ | | #to_s | New (alias of `inspect`)
+| ✓ | | #to_s | New (alias of `inspect`)
| ✓ | String | #casecmp | Returns `nil` for non-string arguments instead of raising a `TypeError`.
| ✓ | | #casecmp? | Returns `nil` for non-string arguments instead of raising a `TypeError`.
| ✓ | | #delete_prefix | New
| P | | #delete_prefix! | New **Differences:** Throws `RuntimeError` instead of `FrozenError` when attempting to modify a frozen string.
| ✓ | | #delete_suffix | New (alias of `chomp`)