dry-monads 1.11.0 → 1.11.1
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 +10 -3
- data/README.md +1 -1
- data/lib/dry/monads/maybe.rb +2 -2
- data/lib/dry/monads/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fdd835ba0f212ec628d4c5b7e41d94d1861869382caa71d8b451d3b1c7ebdd82
|
|
4
|
+
data.tar.gz: '08887331e8036567e4c242b324048018ea9a667b3096667c8006a36e25587be2'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d95ef23f00311d28d669c7cdd25a693de4201118888186b347e196efe510a83fe3286c41191dbaf7ec0c3ba8e280865252b285ab8df0aef025ab589b09460e7
|
|
7
|
+
data.tar.gz: 66d915687ffe336edecda1bdf3b25d88762fdc167247bea5d7e00249261204c14919c4f259708671db312869aee5cc26499f24c64cad1861937e2ac24eaf8367
|
data/CHANGELOG.md
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
-
and this project adheres to [Break Versioning](https://www.taoensso.com/break-versioning).
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Break Versioning](https://www.taoensso.com/break-versioning).
|
|
7
6
|
|
|
8
7
|
## [Unreleased]
|
|
9
8
|
|
|
@@ -19,7 +18,15 @@ and this project adheres to [Break Versioning](https://www.taoensso.com/break-ve
|
|
|
19
18
|
|
|
20
19
|
### Security
|
|
21
20
|
|
|
22
|
-
[Unreleased]: https://github.com/dry-rb/dry-monads/compare/v1.
|
|
21
|
+
[Unreleased]: https://github.com/dry-rb/dry-monads/compare/v1.11.1...main
|
|
22
|
+
|
|
23
|
+
## [1.11.1] - 2026-11-19
|
|
24
|
+
|
|
25
|
+
### Fixed
|
|
26
|
+
|
|
27
|
+
- Work around a [JRuby bug](https://github.com/jruby/jruby/issues/10115). (@timriley in #213)
|
|
28
|
+
|
|
29
|
+
[1.11.1]: https://github.com/dry-rb/dry-monads/compare/v1.11.0...v1.11.1
|
|
23
30
|
|
|
24
31
|
## [1.11.0] - 2026-09-11
|
|
25
32
|
|
data/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[actions]: https://github.com/dry-rb/dry-monads/actions
|
|
4
4
|
[chat]: https://discord.gg/naQApPAsZB
|
|
5
|
-
[forum]: https://discourse.
|
|
5
|
+
[forum]: https://discourse.hanakai.org
|
|
6
6
|
[rubygem]: https://rubygems.org/gems/dry-monads
|
|
7
7
|
|
|
8
8
|
# dry-monads [][rubygem] [][actions]
|
data/lib/dry/monads/maybe.rb
CHANGED
|
@@ -106,8 +106,8 @@ module Dry
|
|
|
106
106
|
# @param args [Array<Object>] arguments will be transparently passed through to #bind
|
|
107
107
|
# @return [Maybe::Some, Maybe::None] Wrapped result, i.e. nil will be mapped to None,
|
|
108
108
|
# other values will be wrapped with Some
|
|
109
|
-
def fmap(
|
|
110
|
-
next_value = bind(
|
|
109
|
+
def fmap(*, **, &)
|
|
110
|
+
next_value = bind(*, **, &)
|
|
111
111
|
|
|
112
112
|
if next_value.nil?
|
|
113
113
|
if self.class.warn_on_implicit_nil_coercion
|
data/lib/dry/monads/version.rb
CHANGED