Skip to content

Conversation

@millotp
Copy link
Collaborator

@millotp millotp commented Oct 15, 2024

🧭 What and Why

🎟 JIRA Ticket: DI-3070

Add helpers to customize ruby user agent, either with:
client = Algolia::SearchClient.create(appID, apiKey, {user_agent_segments: ['Rails (3.0.0)']})

or with client.add_user_agent_segment('Rails', '3.0.0)

@millotp millotp self-assigned this Oct 15, 2024
@millotp millotp requested a review from a team as a code owner October 15, 2024 10:01
@millotp millotp requested review from Fluf22 and morganleroi October 15, 2024 10:01
@algolia-bot
Copy link
Collaborator

algolia-bot commented Oct 15, 2024

✔️ Code generated!

Name Link
🪓 Triggered by 9772c7fa04cfbb886b005df9b3f7ebc08a685e3b
🍃 Generated commit 49d329622b306653b87ef6351db761afff81e22a
🌲 Generated branch generated/fix/ruby-ua
📊 Benchmark results

Benchmarks performed on the method using a mock server, the results might not reflect the real-world performance.

Language Req/s
ruby 891

Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice, did you find other clients where it was missing?

@millotp
Copy link
Collaborator Author

millotp commented Oct 15, 2024

nice, did you find other clients where it was missing?

I only looked at ruby for now because it's needed for algolia/algoliasearch-rails#449, I don't know if I can add a test for that

@millotp millotp merged commit 9e73e97 into main Oct 15, 2024
16 checks passed
@millotp millotp deleted the fix/ruby-ua branch October 15, 2024 12:11
algolia-bot added a commit that referenced this pull request Oct 15, 2024
algolia-bot added a commit to algolia/algoliasearch-client-ruby that referenced this pull request Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants