Skip to content

Commit ab5d6b7

Browse files
authored
Merge pull request #66 from imagekit-developer/release-please--branches--master--changes--next
release: 4.0.0
2 parents 293bd86 + 0cb8bf2 commit ab5d6b7

File tree

564 files changed

+64173
-5586
lines changed

Some content is hidden

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

564 files changed

+64173
-5586
lines changed

.github/workflows/ci.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CI
2+
on:
3+
push:
4+
branches-ignore:
5+
- 'generated'
6+
- 'codegen/**'
7+
- 'integrated/**'
8+
- 'stl-preview-head/**'
9+
- 'stl-preview-base/**'
10+
pull_request:
11+
branches-ignore:
12+
- 'stl-preview-head/**'
13+
- 'stl-preview-base/**'
14+
15+
jobs:
16+
lint:
17+
timeout-minutes: 10
18+
name: lint
19+
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
21+
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Set up Ruby
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
bundler-cache: false
28+
- run: |-
29+
bundle install
30+
31+
- name: Run lints
32+
run: ./scripts/lint
33+
test:
34+
timeout-minutes: 10
35+
name: test
36+
runs-on: ${{ github.repository == 'stainless-sdks/imagekit-ruby' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
37+
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
38+
steps:
39+
- uses: actions/checkout@v4
40+
- name: Set up Ruby
41+
uses: ruby/setup-ruby@v1
42+
with:
43+
bundler-cache: false
44+
- run: |-
45+
bundle install
46+
47+
- name: Run tests
48+
run: ./scripts/test

.github/workflows/gempush.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/publish-gem.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# This workflow is triggered when a GitHub release is created.
2+
# It can also be run manually to re-publish to rubygems.org in case it failed for some reason.
3+
# You can run this workflow by navigating to https://www.github.com/imagekit-developer/imagekit-ruby/actions/workflows/publish-gem.yml
4+
name: Publish Gem
5+
on:
6+
workflow_dispatch:
7+
8+
release:
9+
types: [published]
10+
11+
jobs:
12+
publish:
13+
name: publish
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Set up Ruby
19+
uses: ruby/setup-ruby@v1
20+
with:
21+
bundler-cache: false
22+
- run: |-
23+
bundle install
24+
25+
- name: Publish to RubyGems.org
26+
run: |
27+
bash ./bin/publish-gem
28+
env:
29+
# `RUBYGEMS_HOST` is only required for private gem repositories, not https://rubygems.org
30+
RUBYGEMS_HOST: ${{ secrets.IMAGE_KIT_RUBYGEMS_HOST || secrets.RUBYGEMS_HOST }}
31+
GEM_HOST_API_KEY: ${{ secrets.IMAGE_KIT_GEM_HOST_API_KEY || secrets.GEM_HOST_API_KEY }}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Release Doctor
2+
on:
3+
pull_request:
4+
branches:
5+
- master
6+
workflow_dispatch:
7+
8+
jobs:
9+
release_doctor:
10+
name: release doctor
11+
runs-on: ubuntu-latest
12+
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')
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Check release environment
18+
run: |
19+
bash ./bin/check-release-environment
20+
env:
21+
RUBYGEMS_HOST: ${{ secrets.IMAGE_KIT_RUBYGEMS_HOST || secrets.RUBYGEMS_HOST }}
22+
GEM_HOST_API_KEY: ${{ secrets.IMAGE_KIT_GEM_HOST_API_KEY || secrets.GEM_HOST_API_KEY }}

.github/workflows/test.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.gitignore

Lines changed: 11 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,11 @@
1-
.bundle/
2-
log/*.log
3-
pkg/
4-
coverage/
5-
test/dummy/db/*.sqlite3
6-
test/dummy/db/*.sqlite3-journal
7-
test/dummy/db/*.sqlite3-*
8-
test/dummy/log/*.log
9-
test/dummy/storage/
10-
test/dummy/tmp/
11-
.vscode
12-
public/uploads/
13-
config/master.key
14-
.DS_Store
15-
Gemfile.lock
16-
**/Gemfile.lock
17-
.idea/*
18-
.rakeTasks
19-
.idea/.gitignore
20-
.idea/imagekit-ruby.iml
21-
.idea/misc.xml
22-
.idea/modules.xml
23-
.idea/vcs.xml
1+
*.gem
2+
.idea/
3+
.ignore
4+
.prism.log
5+
.ruby-lsp/
6+
.yardoc/
7+
bin/tapioca
8+
Brewfile.lock.json
9+
doc/
10+
sorbet/tapioca/*
11+
examples/temp*

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "4.0.0"
3+
}

0 commit comments

Comments
 (0)