gorilla_patch 6.0.0 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +5 -3
- data/lib/gorilla_patch/blank.rb +4 -0
- data/lib/gorilla_patch/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 040bcbe963be649a245220a6d17553c721f08dfea2d433a71a92bfc639a2d065
|
|
4
|
+
data.tar.gz: 4b6bf07509f111784802a1a9352ef0e238e1acc2b06d915ea7774f8fc57a7d57
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 639b916c1e4621dfc37e118a66caacb663b768c89cf85026e7b7872767f877f5f9e8740e0f9ceccb6e0d0b2a684b160542a8566a519b93792aedee7817065536
|
|
7
|
+
data.tar.gz: a709509f6ceeb142b879bb7878d8ed67b86b5a3c7b735151ef4d28b41042cf182582d33389af362fd31b84f29ba493f632814ca1b7a3f13bb31c971d8625fdf2
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 6.1.0 (2026-08-16)
|
|
6
|
+
|
|
7
|
+
* Add `#present?` for `Blank` refinement.
|
|
8
|
+
* Update development dependencies.
|
|
9
|
+
* Switch from Cirrus CI to GitHub Actions.
|
|
10
|
+
* Fix badges in README.
|
|
11
|
+
|
|
5
12
|
## 6.0.0 (2026-02-08)
|
|
6
13
|
|
|
7
14
|
* Drop Ruby 3.0 and 3.1 support.
|
data/README.md
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# Gorilla Patch
|
|
2
2
|
|
|
3
|
-
[](https://github.com/AlexWayfer/gorilla_patch/actions)
|
|
4
4
|
[](https://codecov.io/gh/AlexWayfer/gorilla_patch)
|
|
5
|
-
[](https://codeclimate.com/github/AlexWayfer/gorilla_patch)
|
|
6
5
|
[](https://depfu.com/repos/github/AlexWayfer/gorilla_patch)
|
|
7
6
|
[](https://inch-ci.org/github/AlexWayfer/gorilla_patch)
|
|
8
7
|
[](https://github.com/AlexWayfer/gorilla_patch/blob/main/LICENSE.txt)
|
|
@@ -58,10 +57,13 @@ Before custom method declaration there is a check for current Ruby version.
|
|
|
58
57
|
|
|
59
58
|
* **Blank**
|
|
60
59
|
|
|
61
|
-
* **`String`**, **`NilClass`**
|
|
60
|
+
* **`String`**, **`NilClass`**, **`Object`** (relies on `#empty?` method),
|
|
61
|
+
**`Module`**, **`Class`**
|
|
62
62
|
|
|
63
63
|
* `#blank?`
|
|
64
64
|
|
|
65
|
+
* `#present?`
|
|
66
|
+
|
|
65
67
|
* **`Array`**, **`Hash`**
|
|
66
68
|
|
|
67
69
|
* `#reject_blank_strings`
|
data/lib/gorilla_patch/blank.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gorilla_patch
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.
|
|
4
|
+
version: 6.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alexander Popov
|
|
@@ -37,8 +37,8 @@ licenses:
|
|
|
37
37
|
- MIT
|
|
38
38
|
metadata:
|
|
39
39
|
bug_tracker_uri: https://github.com/AlexWayfer/gorilla_patch/issues
|
|
40
|
-
changelog_uri: https://github.com/AlexWayfer/gorilla_patch/blob/v6.
|
|
41
|
-
documentation_uri: http://www.rubydoc.info/gems/gorilla_patch/6.
|
|
40
|
+
changelog_uri: https://github.com/AlexWayfer/gorilla_patch/blob/v6.1.0/CHANGELOG.md
|
|
41
|
+
documentation_uri: http://www.rubydoc.info/gems/gorilla_patch/6.1.0
|
|
42
42
|
homepage_uri: https://github.com/AlexWayfer/gorilla_patch
|
|
43
43
|
rubygems_mfa_required: 'true'
|
|
44
44
|
source_code_uri: https://github.com/AlexWayfer/gorilla_patch
|
|
@@ -60,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
62
|
requirements: []
|
|
63
|
-
rubygems_version: 4.0.
|
|
63
|
+
rubygems_version: 4.0.16
|
|
64
64
|
specification_version: 4
|
|
65
65
|
summary: Refining core classes
|
|
66
66
|
test_files: []
|