growsurf-ruby 0.5.0 → 0.6.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1ac4a21288a39b1b353991906e251d66defef13a542306c9a20d2997a64ba7f8
4
- data.tar.gz: e7d9dc119edc82f58f68de3b088e983c53c819d9a2ae000bc153c9fa1dcc5bc6
3
+ metadata.gz: bf2044f5c1394f045017fb26bbef5c1f32a73927bd70bb8219c05ff1e2954a62
4
+ data.tar.gz: 53a2d8cc6e160ea451f573f6b7976512944523493c6e55666e7357af4cef2f18
5
5
  SHA512:
6
- metadata.gz: 6766b01f7d674381c2d2b38584fe6ba93ef68851fb60c60841dffed9512ef062e38e5e48797c79b6517b4315e54e754ae9d816346f987bc87143130453dde1cb
7
- data.tar.gz: 2bac4d0c18cf042b032e431904f303ff53b4da988b4008890a047755f6d00529b2272da61268afcbb3e86c7ca20096c8e7da20ca4d7e6c072821f3061e24cc65
6
+ metadata.gz: fe2d3d09e5689fba7eee1300c9cbc1f0ea5b574a0f3b458fb26d290e2b87ea4274e3ccc866eb17f3df0d511c35a782f0defec716237afa0cb065b2af6cc9156a
7
+ data.tar.gz: 4e744e8ec4eb87a69ab0e509983db6fdb006d77443cd5e7664b29ed257b58af55be456ceea322e083993b548062449779540eeef0e2af34fe66eda0f5b796071
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.0 (2026-06-23)
4
+
5
+ Full Changelog: [v0.5.0...v0.6.0](https://github.com/growsurf/growsurf-ruby/compare/v0.5.0...v0.6.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** add payoutSettings to Participant ([06cc7ba](https://github.com/growsurf/growsurf-ruby/commit/06cc7baef48c17162488b5f102cdf02f33573e7a))
10
+ * **api:** manual updates ([f004f12](https://github.com/growsurf/growsurf-ruby/commit/f004f12b834d5f569f9768415c4929a899ddb514))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **client:** send content-type header for requests with an omitted optional body ([0240e48](https://github.com/growsurf/growsurf-ruby/commit/0240e480262947dcb8f679ad59e9f91003330af2))
16
+
3
17
  ## 0.5.0 (2026-05-25)
4
18
 
5
19
  Full Changelog: [v0.4.0...v0.5.0](https://github.com/growsurf/growsurf-ruby/compare/v0.4.0...v0.5.0)
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", "~> 0.5.0"
20
+ gem "growsurf-ruby", "~> 0.6.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -306,7 +306,10 @@ module GrowsurfRuby
306
306
  GrowsurfRuby::Internal::Util.deep_merge(*[req[:body], opts[:extra_body]].compact)
307
307
  end
308
308
 
309
- headers.delete("content-type") if body.nil?
309
+ # Generated methods always pass `req[:body]` for operations that define a
310
+ # request body, so only elide the content-type header when the operation
311
+ # has no body at all, not when an optional body param was omitted.
312
+ headers.delete("content-type") if body.nil? && !req.key?(:body)
310
313
 
311
314
  url = GrowsurfRuby::Internal::Util.join_parsed_uri(
312
315
  @base_url_components,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module GrowsurfRuby
4
- VERSION = "0.5.0"
4
+ VERSION = "0.6.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: growsurf-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Growsurf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-25 00:00:00.000000000 Z
11
+ date: 2026-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi