growsurf-ruby 1.21.0 → 1.21.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 +8 -0
- data/README.md +1 -1
- data/lib/growsurf_ruby/internal/type/array_of.rb +4 -0
- data/lib/growsurf_ruby/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: 520daf4acec5f87016ba10fe9a5062e7e690e86f38da3f9d5586b614405e39c5
|
|
4
|
+
data.tar.gz: 903970c1d39f6cc9787d61b653932907692b3a3ca8a56eeac684c3f6b7a26055
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e63ebf55005c9d51389c8572fb955c50532fe991565e77e67e0b15e45299bef474d5ea4571b43ffdedef89f96827a4f6c0613ec536de704f1357bf4f0e4ad08
|
|
7
|
+
data.tar.gz: e081b6aeb9d254cd63861fa1d2f8926892d580b9395084b00d95b8c2e1a87364329f3cab687c8a007e5eeefadbac4ff4ec7daa06b3753c05126e398d5fd0790e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.21.1](https://github.com/growsurf/growsurf-ruby/compare/v1.21.0...v1.21.1) (2026-11-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* send enumerator and set array params as arrays ([53abd3d](https://github.com/growsurf/growsurf-ruby/commit/53abd3d152a8a45b035ea7eb2c9244c1695ddb0a))
|
|
9
|
+
* send enumerator and set array params as arrays ([d2b77fc](https://github.com/growsurf/growsurf-ruby/commit/d2b77fce1138a2fdd8441ea7564354158415ee45))
|
|
10
|
+
|
|
3
11
|
## [1.21.0](https://github.com/growsurf/growsurf-ruby/compare/v1.20.1...v1.21.0) (2026-11-18)
|
|
4
12
|
|
|
5
13
|
|
data/README.md
CHANGED
|
@@ -107,6 +107,10 @@ module GrowsurfRuby
|
|
|
107
107
|
# @return [Array<Object>, Object]
|
|
108
108
|
def dump(value, state:)
|
|
109
109
|
target = item_type
|
|
110
|
+
# Enumerators (including lazy ones) and sets are not Arrays, and would
|
|
111
|
+
# otherwise be serialized as their `#to_s` text. Other Enumerables, such
|
|
112
|
+
# as Hash and IO, must stay unchanged.
|
|
113
|
+
value = value.to_a if value.is_a?(Enumerator) || value.is_a?(Set)
|
|
110
114
|
if value.is_a?(Array)
|
|
111
115
|
value.map do
|
|
112
116
|
GrowsurfRuby::Internal::Type::Converter.dump(target, _1, state: state)
|