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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca562d07f14b6b4bb9ddfe6c3b406d324bc3a177b24e401e57ec57a9be6a028d
4
- data.tar.gz: ce11d1705332aa0833becd801c6f4da9665f20c256c1cc9160bfc8dae0fdaccc
3
+ metadata.gz: 520daf4acec5f87016ba10fe9a5062e7e690e86f38da3f9d5586b614405e39c5
4
+ data.tar.gz: 903970c1d39f6cc9787d61b653932907692b3a3ca8a56eeac684c3f6b7a26055
5
5
  SHA512:
6
- metadata.gz: 2761d2e88df9386702e1bd5890f19f1febf44172aeb23d07fa9c81abca15800e092f8511d7366f3efa163b5a503fcf449ac0c283dfc4caae7770fd8ea8a9297c
7
- data.tar.gz: b62aee56c7f15ab87782a66dfb5bb729b17cc8c6a9eccfa316bafac29d40deaa3cb20da563174124d7b4891daa722c3ef74e4ecc571e592bb7fa600560eb8324
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
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "growsurf-ruby", "~> 1.21.0"
20
+ gem "growsurf-ruby", "~> 1.21.1"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -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)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GrowsurfRuby
4
- VERSION = "1.21.0"
4
+ VERSION = "1.21.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: growsurf-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.21.0
4
+ version: 1.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Growsurf