Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
0200fb8
chore: sync repo
stainless-app[bot] Sep 1, 2025
5ce5d1f
chore: update SDK settings
stainless-app[bot] Sep 1, 2025
b4c2a83
feat(api): add BaseWebhookEvent
stainless-app[bot] Sep 2, 2025
453e942
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
a4ed0df
codegen metadata
stainless-app[bot] Sep 2, 2025
c64d558
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
8ac0ad3
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
24f9f11
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
eb624fa
codegen metadata
stainless-app[bot] Sep 2, 2025
bddb2fa
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
c0417fb
feat(api): manual updates
stainless-app[bot] Sep 2, 2025
e9bad22
feat(api): manual updates
stainless-app[bot] Sep 3, 2025
6c0d9f3
codegen metadata
stainless-app[bot] Sep 3, 2025
4c04de9
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
e33d6ed
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
8c970ed
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
54e5bdf
feat(api): manual updates
stainless-app[bot] Sep 4, 2025
a472b9b
codegen metadata
stainless-app[bot] Sep 4, 2025
ba5a211
codegen metadata
stainless-app[bot] Sep 4, 2025
9aaa659
feat(api): extract UpdateFileDetailsRequest to model
stainless-app[bot] Sep 5, 2025
72c02c3
feat: expose response headers for both streams and errors
stainless-app[bot] Sep 18, 2025
428829b
feat(api): manual updates
stainless-app[bot] Sep 19, 2025
2f5a40a
feat(api): manual updates
stainless-app[bot] Sep 19, 2025
f9bee87
feat(api): manual updates
stainless-app[bot] Sep 19, 2025
0682128
feat(api): manual updates
stainless-app[bot] Sep 19, 2025
9604a8e
feat(api): manual updates
stainless-app[bot] Sep 19, 2025
14104e2
chore: do not install brew dependencies in ./scripts/bootstrap by def…
stainless-app[bot] Sep 20, 2025
db61f60
feat(api): Update env var name
stainless-app[bot] Sep 20, 2025
03ecbdf
feat(api): update api docs link
stainless-app[bot] Sep 20, 2025
45e7793
feat(api): remove Stainless attribution from readme
stainless-app[bot] Sep 20, 2025
83b1bc9
codegen metadata
stainless-app[bot] Sep 21, 2025
eaa294e
feat(api): manual updates
stainless-app[bot] Sep 22, 2025
8005df1
perf: faster code formatting
stainless-app[bot] Sep 26, 2025
d13a1d7
chore(internal): codegen related update
stainless-app[bot] Sep 27, 2025
b2ffa6a
fix: shorten multipart boundary sep to less than RFC specificed max l…
stainless-app[bot] Sep 27, 2025
81093a0
chore: allow fast-format to use bsd sed as well
stainless-app[bot] Sep 27, 2025
9cf2e92
fix: always send `filename=...` for multipart requests where a file i…
stainless-app[bot] Sep 30, 2025
b24e025
feat(api): add path policy related non-breaking changes
stainless-app[bot] Sep 30, 2025
c2d983e
feat(api): updated docs
stainless-app[bot] Sep 30, 2025
557f058
feat(api): add selectedFieldsSchema in upload and list API response
stainless-app[bot] Sep 30, 2025
c16e257
docs: correct typo in default value description for custom metadata f…
stainless-app[bot] Sep 30, 2025
0ac922a
feat(api): fix upload API request params
stainless-app[bot] Sep 30, 2025
62e54e5
fix: coroutine leaks from connection pool
stainless-app[bot] Oct 1, 2025
2d9cda5
feat(api): modify upload options serialization for backend API compat…
manu4543 Oct 2, 2025
b115379
codegen metadata
stainless-app[bot] Oct 3, 2025
2c58d1f
codegen metadata
stainless-app[bot] Oct 3, 2025
e9466dd
codegen metadata
stainless-app[bot] Oct 3, 2025
1ded000
codegen metadata
stainless-app[bot] Oct 3, 2025
18b61e2
codegen metadata
stainless-app[bot] Oct 3, 2025
e1afec6
codegen metadata
stainless-app[bot] Oct 3, 2025
0fc2791
codegen metadata
stainless-app[bot] Oct 5, 2025
86d5b43
chore: ignore linter error for tests having large collections
stainless-app[bot] Oct 8, 2025
56a4db1
basic working
manu4543 Oct 12, 2025
67d2ecb
refactor: unify helper attribute naming across client and test files
manu4543 Oct 12, 2025
028871e
refactor: rename generateTransformationString to buildTransformationS…
manu4543 Oct 12, 2025
f736fef
refactor: standardize method naming for URL and transformation string…
manu4543 Oct 12, 2025
3083284
test: add unit tests for helper methods in Helper class
manu4543 Oct 12, 2025
cd3618c
refactor: update parameter naming for build_url method to use options
manu4543 Oct 12, 2025
989ebd5
test: add comprehensive unit tests for URL generation in BasicURLGene…
manu4543 Oct 12, 2025
298f1c8
test: add advanced URL generation tests for AI transformations and pa…
manu4543 Oct 12, 2025
9bbdd26
test: add unit tests for build_transformation_string method in BuildT…
manu4543 Oct 13, 2025
5bfb8b4
test: add overlay handling tests for various overlay types in Overlay…
manu4543 Oct 13, 2025
42cd448
test: add signing URL generation tests for various scenarios in Signi…
manu4543 Oct 13, 2025
f1d9ca4
test: add unit tests for helper authentication parameters in HelperAu…
manu4543 Oct 13, 2025
031ce2f
test: update expected URL format in BasicURLGenerationTest for transf…
manu4543 Oct 13, 2025
615356b
wip helper functions logic
manu4543 Oct 13, 2025
6b76d56
test: update expected URL format in AdvancedURLGenerationTest for tra…
manu4543 Oct 13, 2025
14dc6d9
so far
manu4543 Oct 13, 2025
1cfd9cb
feat: pass all test cases
manu4543 Oct 13, 2025
091e6d2
refactor: format and fix all lint issues
manu4543 Oct 13, 2025
f35d7eb
refactor: simplify overlay processing and enhance safe property access
manu4543 Oct 13, 2025
ebf5887
refactor: streamline model object handling and enhance safe property …
manu4543 Oct 13, 2025
a45cc83
refactor: update method calls to use fully qualified names for clarity
manu4543 Oct 13, 2025
75820cd
refactor: remove unnecessary require statements for improved clarity
manu4543 Oct 13, 2025
2b7d54e
refactor: consolidate handling of tags and responseFields for improve…
manu4543 Oct 13, 2025
80dcda6
fix: should not reuse buffers for `IO.copy_stream` interop
stainless-app[bot] Oct 14, 2025
eebaf5e
fix: absolutely qualified uris should always override the default
stainless-app[bot] Oct 15, 2025
494295e
add workaround for SSL issues
dtmeadows Oct 16, 2025
e33414a
adjust ocmment
dtmeadows Oct 16, 2025
2bdcafa
fixup!
dtmeadows Oct 16, 2025
6479d2e
Merge pull request #2 from stainless-sdks/dmeadows/fix-ssl-issue
dtmeadows Oct 17, 2025
2e76262
fix: add examples/temp* to .gitignore
manu4543 Oct 21, 2025
5af1833
correct test cases for responsive images
manu4543 Oct 21, 2025
13edc3d
feat: add responsive image attributes generation for HTML <img> tags
manu4543 Oct 21, 2025
08560d4
feat(api): add GetImageAttributesOptions and ResponsiveImageAttribute…
stainless-app[bot] Oct 21, 2025
e37df85
test: use generated models. update test suite
manu4543 Oct 21, 2025
525a5aa
feat(api): fix go sdk breaking changes
stainless-app[bot] Oct 21, 2025
766ded9
feat: add get_responsive_image_attributes method with options parameter
manu4543 Oct 22, 2025
4d258e9
feat: handle thread interrupts in the core HTTP client
stainless-app[bot] Oct 23, 2025
f7a8f2d
feat(tests): add support for plain hashes in various helper methods a…
manu4543 Oct 24, 2025
fab9156
feat(tests): add tests to ensure integer descriptors in srcset for re…
manu4543 Oct 25, 2025
3cf2616
refactor(tests): remove password parameter from client setup in URL g…
manu4543 Oct 25, 2025
41b17ab
feat(tests): add test for generating signed URLs in responsive image …
manu4543 Oct 25, 2025
efe2092
chore: remove example upload script
manu4543 Oct 25, 2025
f1687c0
docs: update README to enhance URL generation section with detailed e…
manu4543 Oct 25, 2025
17a776a
fix(docs): update README examples for file uploads and remove obsolet…
manu4543 Oct 25, 2025
ca62b83
fix(docs): update README examples to use File.read instead of StringI…
manu4543 Oct 25, 2025
0e398a9
Refactor ImageKit helper modules and update signatures
manu4543 Oct 29, 2025
15d893e
chore: update SDK settings
stainless-app[bot] Oct 30, 2025
f99f77c
codegen metadata
stainless-app[bot] Oct 30, 2025
a966137
feat(api): update gem name
stainless-app[bot] Oct 30, 2025
6beb35d
fix(docs): update README to reflect gem name change from imagekit to …
manu4543 Oct 30, 2025
f3e7216
fix: update namespace for coerce_hash! method in file upload parameters
manu4543 Oct 30, 2025
694b0d3
fix lint issues
manu4543 Oct 30, 2025
c427415
fix: standardize naming from "Image Kit" to "ImageKit" across documen…
manu4543 Oct 31, 2025
d1760a3
fix(docs): update README to enhance documentation for Ruby on Rails i…
manu4543 Oct 31, 2025
855c7f9
fix(docs): streamline documentation for Ruby on Rails integration and…
manu4543 Oct 31, 2025
22c2cec
fix(docs): enhance README to clarify features and integration with Ru…
manu4543 Oct 31, 2025
e5f64f1
fix(docs): update README to enhance clarity on Ruby documentation and…
manu4543 Nov 1, 2025
b3355da
fix(docs): remove unnecessary Bundler setup requirement from usage ex…
manu4543 Nov 1, 2025
0cfea18
fix(deps): update gem dependencies to latest versions in Gemfile.lock
manu4543 Nov 3, 2025
0cb8bf2
release: 4.0.0
stainless-app[bot] Nov 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 48 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI
on:
push:
branches-ignore:
- 'generated'
- 'codegen/**'
- 'integrated/**'
- 'stl-preview-head/**'
- 'stl-preview-base/**'
pull_request:
branches-ignore:
- 'stl-preview-head/**'
- 'stl-preview-base/**'

jobs:
lint:
timeout-minutes: 10
name: lint
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork

steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: false
- run: |-
bundle install

- name: Run lints
run: ./scripts/lint
test:
timeout-minutes: 10
name: test
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: false
- run: |-
bundle install

- name: Run tests
run: ./scripts/test
33 changes: 0 additions & 33 deletions .github/workflows/gempush.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/publish-gem.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflow is triggered when a GitHub release is created.
# It can also be run manually to re-publish to rubygems.org in case it failed for some reason.
# You can run this workflow by navigating to https://www.github.com/imagekit-developer/imagekit-ruby/actions/workflows/publish-gem.yml
name: Publish Gem
on:
workflow_dispatch:

release:
types: [published]

jobs:
publish:
name: publish
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: false
- run: |-
bundle install

- name: Publish to RubyGems.org
run: |
bash ./bin/publish-gem
env:
# `RUBYGEMS_HOST` is only required for private gem repositories, not https://rubygems.org
RUBYGEMS_HOST: ${{ secrets.IMAGE_KIT_RUBYGEMS_HOST || secrets.RUBYGEMS_HOST }}
GEM_HOST_API_KEY: ${{ secrets.IMAGE_KIT_GEM_HOST_API_KEY || secrets.GEM_HOST_API_KEY }}
22 changes: 22 additions & 0 deletions .github/workflows/release-doctor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Release Doctor
on:
pull_request:
branches:
- master
workflow_dispatch:

jobs:
release_doctor:
name: release doctor
runs-on: ubuntu-latest
if: github.repository == 'imagekit-developer/imagekit-ruby' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')

steps:
- uses: actions/checkout@v4

- name: Check release environment
run: |
bash ./bin/check-release-environment
env:
RUBYGEMS_HOST: ${{ secrets.IMAGE_KIT_RUBYGEMS_HOST || secrets.RUBYGEMS_HOST }}
GEM_HOST_API_KEY: ${{ secrets.IMAGE_KIT_GEM_HOST_API_KEY || secrets.GEM_HOST_API_KEY }}
30 changes: 0 additions & 30 deletions .github/workflows/test.yml

This file was deleted.

34 changes: 11 additions & 23 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,23 +1,11 @@
.bundle/
log/*.log
pkg/
coverage/
test/dummy/db/*.sqlite3
test/dummy/db/*.sqlite3-journal
test/dummy/db/*.sqlite3-*
test/dummy/log/*.log
test/dummy/storage/
test/dummy/tmp/
.vscode
public/uploads/
config/master.key
.DS_Store
Gemfile.lock
**/Gemfile.lock
.idea/*
.rakeTasks
.idea/.gitignore
.idea/imagekit-ruby.iml
.idea/misc.xml
.idea/modules.xml
.idea/vcs.xml
*.gem
.idea/
.ignore
.prism.log
.ruby-lsp/
.yardoc/
bin/tapioca
Brewfile.lock.json
doc/
sorbet/tapioca/*
examples/temp*
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "4.0.0"
}
Loading
Loading