Skip to content

fix(clients): lock version #4228

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Dec 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,18 @@ jobs:
with:
working-directory: packages/client_core

wait_for_core:
needs: publish_core
runs-on: ubuntu-latest
steps:
- name: Wait for core package to be published
shell: bash
run: sleep 300

publish_clients:
needs:
- check
- publish_core
- wait_for_core
strategy:
matrix:
package:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Install Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.2
ruby-version: 3.3.6
bundler-cache: true

- uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32
Expand Down
24 changes: 13 additions & 11 deletions clients/algoliasearch-client-ruby/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,29 +12,31 @@ GEM
specs:
base64 (0.2.0)
connection_pool (2.4.1)
faraday (2.11.0)
faraday-net_http (>= 2.0, < 3.4)
faraday (2.12.2)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.3.0)
net-http
faraday-net_http_persistent (2.1.0)
faraday-net_http (3.4.0)
net-http (>= 0.5.0)
faraday-net_http_persistent (2.3.0)
faraday (~> 2.5)
net-http-persistent (~> 4.0)
logger (1.6.1)
net-http (0.4.1)
net-http-persistent (>= 4.0.4, < 5)
json (2.9.0)
logger (1.6.2)
net-http (0.6.0)
uri
net-http-persistent (4.0.4)
net-http-persistent (4.0.5)
connection_pool (~> 2.2)
rake (13.2.1)
uri (0.13.1)
uri (1.0.2)

PLATFORMS
aarch64-linux
x86_64-linux

DEPENDENCIES
algolia!
bundler
bundler (>= 2.4.10)
rake

BUNDLED WITH
Expand Down
2 changes: 1 addition & 1 deletion clients/algoliasearch-client-ruby/algolia.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ Gem::Specification.new do |s|

s.add_dependency 'net-http-persistent'

s.add_development_dependency 'bundler'
s.add_development_dependency 'bundler', '>= 2.4.10'
s.add_development_dependency 'rake'
end
1 change: 1 addition & 0 deletions config/generation.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const patterns = [
'clients/algoliasearch-client-dart/packages/client_core/lib/src/version.dart',
'!clients/algoliasearch-client-dart/packages/*/lib/src/extension.dart',
'!clients/algoliasearch-client-dart/packages/algoliasearch/lib/algoliasearch.dart',
'!clients/algoliasearch-client-dart/.github/workflows/release.yml',

// GO
'clients/algoliasearch-client-go/algolia/**',
Expand Down
20 changes: 10 additions & 10 deletions docs/guides/ruby/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ GEM
base64 (0.2.0)
connection_pool (2.4.1)
dotenv (3.1.4)
faraday (2.12.0)
faraday-net_http (>= 2.0, < 3.4)
faraday (2.12.2)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.3.0)
net-http
faraday-net_http (3.4.0)
net-http (>= 0.5.0)
faraday-net_http_persistent (2.3.0)
faraday (~> 2.5)
net-http-persistent (>= 4.0.4, < 5)
json (2.7.2)
logger (1.6.1)
net-http (0.4.1)
json (2.9.0)
logger (1.6.2)
net-http (0.6.0)
uri
net-http-persistent (4.0.4)
net-http-persistent (4.0.5)
connection_pool (~> 2.2)
rake (13.2.1)
uri (0.13.1)
uri (1.0.2)

PLATFORMS
ruby
Expand All @@ -41,4 +41,4 @@ DEPENDENCIES
rake

BUNDLED WITH
2.5.16
2.5.23
20 changes: 10 additions & 10 deletions docs/snippets/ruby/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ GEM
base64 (0.2.0)
connection_pool (2.4.1)
dotenv (3.1.4)
faraday (2.12.0)
faraday-net_http (>= 2.0, < 3.4)
faraday (2.12.2)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.3.0)
net-http
faraday-net_http (3.4.0)
net-http (>= 0.5.0)
faraday-net_http_persistent (2.3.0)
faraday (~> 2.5)
net-http-persistent (>= 4.0.4, < 5)
json (2.7.2)
logger (1.6.1)
net-http (0.4.1)
json (2.9.0)
logger (1.6.2)
net-http (0.6.0)
uri
net-http-persistent (4.0.4)
net-http-persistent (4.0.5)
connection_pool (~> 2.2)
rake (13.2.1)
uri (0.13.1)
uri (1.0.2)

PLATFORMS
ruby
Expand All @@ -41,4 +41,4 @@ DEPENDENCIES
rake

BUNDLED WITH
2.5.16
2.5.23
28 changes: 15 additions & 13 deletions playground/ruby/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: ../../clients/algoliasearch-client-ruby
specs:
algolia (3.5.1)
algolia (3.10.0)
base64 (>= 0.2.0, < 1)
faraday (>= 1.0.1, < 3.0)
faraday-net_http_persistent (>= 0.15, < 3)
Expand All @@ -12,21 +12,23 @@ GEM
specs:
base64 (0.2.0)
connection_pool (2.4.1)
dotenv (3.1.2)
faraday (2.11.0)
faraday-net_http (>= 2.0, < 3.4)
dotenv (3.1.4)
faraday (2.12.2)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.3.0)
net-http
faraday-net_http_persistent (2.1.0)
faraday-net_http (3.4.0)
net-http (>= 0.5.0)
faraday-net_http_persistent (2.3.0)
faraday (~> 2.5)
net-http-persistent (~> 4.0)
logger (1.6.1)
net-http (0.4.1)
net-http-persistent (>= 4.0.4, < 5)
json (2.9.0)
logger (1.6.2)
net-http (0.6.0)
uri
net-http-persistent (4.0.4)
net-http-persistent (4.0.5)
connection_pool (~> 2.2)
uri (0.13.1)
uri (1.0.2)

PLATFORMS
aarch64-linux
Expand All @@ -37,4 +39,4 @@ DEPENDENCIES
dotenv

BUNDLED WITH
2.4.10
2.5.23
10 changes: 10 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,16 @@
"datasourceTemplate": "ruby-version",
"depNameTemplate": "ruby"
},
{
"customType": "regex",
"description": "Update ruby version on CI",
"fileMatch": "clients/algoliasearch-client-ruby/.github/workflows/release.yml",
"matchStrings": [
"ruby-version: (?<currentValue>.*)"
],
"datasourceTemplate": "ruby-version",
"depNameTemplate": "ruby"
},
{
"customType": "regex",
"description": "Update .swift-version",
Expand Down
30 changes: 16 additions & 14 deletions tests/output/ruby/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,27 @@ GEM
specs:
base64 (0.2.0)
connection_pool (2.4.1)
dotenv (3.1.2)
faraday (2.11.0)
faraday-net_http (>= 2.0, < 3.4)
dotenv (3.1.4)
faraday (2.12.2)
faraday-net_http (>= 2.0, < 3.5)
json
logger
faraday-net_http (3.3.0)
net-http
faraday-net_http_persistent (2.1.0)
faraday-net_http (3.4.0)
net-http (>= 0.5.0)
faraday-net_http_persistent (2.3.0)
faraday (~> 2.5)
net-http-persistent (~> 4.0)
logger (1.6.1)
net-http (0.4.1)
net-http-persistent (>= 4.0.4, < 5)
json (2.9.0)
logger (1.6.2)
net-http (0.6.0)
uri
net-http-persistent (4.0.4)
net-http-persistent (4.0.5)
connection_pool (~> 2.2)
power_assert (2.0.3)
power_assert (2.0.4)
rake (13.2.1)
test-unit (3.6.2)
test-unit (3.6.4)
power_assert
uri (0.13.1)
uri (1.0.2)

PLATFORMS
aarch64-linux
Expand All @@ -43,4 +45,4 @@ DEPENDENCIES
test-unit

BUNDLED WITH
2.4.10
2.5.23