Skip to content

Commit 8618d99

Browse files
⬆️ 💥 drop support for ruby < 3.2 and bump dependency (#239)
1 parent 4e46724 commit 8618d99

116 files changed

Lines changed: 394 additions & 310 deletions

File tree

Some content is hidden

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

.github/workflows/_publish-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Ruby
1717
uses: ruby/setup-ruby@v1
1818
with:
19-
ruby-version: "3.0"
19+
ruby-version: "3.2"
2020
bundler-cache: true
2121

2222
- name: Set credentials

.github/workflows/_publish-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: set up Ruby
1818
uses: ruby/setup-ruby@v1
1919
with:
20-
ruby-version: "3.1"
20+
ruby-version: "3.2"
2121
bundler-cache: true
2222

2323
- name: Analyse the code with Rubocop

.github/workflows/_static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: set up Ruby
2020
uses: ruby/setup-ruby@v1
2121
with:
22-
ruby-version: "3.0.0"
22+
ruby-version: "3.2.0"
2323
bundler-cache: true
2424

2525
- name: Set up Python

.github/workflows/_test-cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- os: "windows-latest"
2525
rid: "win-x64"
2626
ruby:
27-
- "3.0"
27+
- "3.2"
2828
- "4.0"
2929
runs-on: ${{ matrix.os_config.os }}
3030
steps:

.github/workflows/_test-integrations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- "ubuntu-24.04"
3333
- "macos-latest"
3434
ruby:
35-
- "3.0"
35+
- "3.2"
3636
- "4.0"
3737
steps:
3838
- uses: actions/checkout@v5

.github/workflows/_test-smoke.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ jobs:
2424
strategy:
2525
matrix:
2626
ruby:
27-
- "3.0"
28-
- "3.1"
2927
- "3.2"
3028
- "3.3"
3129
- "3.4"
30+
- "4.0"
3231
runs-on: ubuntu-latest
3332
steps:
3433
- uses: actions/checkout@v5

.github/workflows/_test-units.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ jobs:
1818
- "ubuntu-22.04"
1919
- "macos-latest"
2020
ruby:
21-
- "3.0"
22-
- "3.1"
2321
- "3.2"
2422
- "3.3"
2523
- "3.4"

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ AllCops:
1010
- local_test/*
1111
- Steepfile
1212

13-
TargetRubyVersion: 3.0.0
13+
TargetRubyVersion: 3.2
1414
SuggestExtensions: false
1515

1616
Gemspec/DevelopmentDependencies:

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ https://app.mindee.com
1515
It uses **API version 2**.
1616

1717
Consult the
18-
**[V2 Documentation](https://docs.mindee.com/integrations/client-libraries-sdk)**
18+
**<a href="https://docs.mindee.com/integrations/client-libraries-sdk">V2 Documentation</a>**
1919

2020

2121
### V1
@@ -26,17 +26,17 @@ https://platform.mindee.com/
2626
It uses **API version 1**.
2727

2828
Consult the
29-
[V1 Documentation](https://docs.mindee.com/v1/libraries/ruby-sdk)
29+
<a href="https://docs.mindee.com/v1/libraries/ruby-sdk">V1 Documentation</a>
3030

3131
## Additional Information
3232

33-
**[Source Code](https://github.com/mindee/mindee-api-ruby)**
33+
**<a href="https://github.com/mindee/mindee-api-ruby">Source Code</a>**
3434

35-
**[Reference Documentation](https://mindee.github.io/mindee-api-ruby/)**
35+
**<a href="https://mindee.github.io/mindee-api-ruby/">Reference Documentation</a>**
3636

37-
**[Feedback](https://feedback.mindee.com/)**
37+
**<a href="https://feedback.mindee.com/">Feedback</a>**
3838

3939
### License
4040
Copyright © Mindee
4141

42-
Available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
42+
Available as open source under the terms of the <a href="https://opensource.org/licenses/MIT">MIT License</a>.

bin/v2/products.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
'ocr' => {
2727
description: 'OCR Utility',
28-
response_class: Mindee::V2::Product::Ocr::Ocr,
28+
response_class: Mindee::V2::Product::OCR::OCR,
2929
},
3030
'split' => {
3131
description: 'Split Utility',

0 commit comments

Comments
 (0)