Skip to content

Commit 038fc53

Browse files
🌿 Fern Regeneration -- October 17, 2025 (#210)
* SDK regeneration * Update gemspecs and lockfile. Remove from .fernignore * Update Gemfile to use custom gemfile process for manual dependency injection * Fix integration tests due to new paginated responses * Fix remaining iterator test discrepancies. Fix pagination access pattern to not use .to_a * revert changes to client code * Fix bugs in client code where next cursor param is sent in request body instead of as query param * manually fix pagination error when response is empty --------- Co-authored-by: fern-api[bot] <115122769+fern-api[bot]@users.noreply.github.com> Co-authored-by: jsklan <[email protected]>
1 parent 979f2e7 commit 038fc53

File tree

151 files changed

+175309
-1182
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+175309
-1182
lines changed

.fernignore

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
lib/square_legacy/
22
lib/square_legacy.rb
3-
Gemfile
43
Rakefile
5-
.rubocop.yml
64
.gitignore
75
test/
86
.github/workflows
97
README.md
10-
Gemfile.lock
11-
square.gemspec
128
lib/square/file_param.rb
9+
custom.gemfile.rb
10+
11+
# Pagination is currently broken for endpoints where the page token is not submitted via a query param
12+
# Manually fixed pagination bugs in:
13+
lib/square/inventory/client.rb
14+
lib/square/transfer_orders/client.rb
15+
16+
# Iterator does not handle nil item fields (when API returns nil instead of empty array for no items)
17+
# Manually added nil checks to avoid calling .shift/.empty? on nil
18+
lib/square/internal/iterators/item_iterator.rb

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
SQUARE_SANDBOX_TOKEN: ${{ secrets.SQUARE_SANDBOX_TOKEN }}
2222
strategy:
2323
matrix:
24-
ruby-version: ['3.2', '3.3', '3.4']
24+
ruby-version: ['3.3', '3.4']
2525
bundler-version: ['2.7']
2626

2727
steps:

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
pkg
22
*.gem
33
CLAUDE.md
4+
vendor/
5+
.bundle/

0 commit comments

Comments
 (0)