Skip to content

Adding user-agent option#337

Merged
mwrock merged 2 commits intoWinRb:masterfrom
laxa:add_user_agent_option
Apr 26, 2022
Merged

Adding user-agent option#337
mwrock merged 2 commits intoWinRb:masterfrom
laxa:add_user_agent_option

Conversation

@laxa
Copy link
Copy Markdown
Contributor

@laxa laxa commented Apr 26, 2022

Fix the issue #336.
It should be noted that there is a slight change regarding the User-Agent with this PR. Before the changement the User-Agent would have been:

User-Agent: Ruby WinRM Client (HTTPClient_LIB_VERSION, ruby VERSION (DATE_VERSION))

After this PR, the User-Agent would simply be: Ruby WinRM Client.

As I am nowhere near the skill of a ruby developer, let me know if my code can be improved (I have run the required tests).

@mwrock
Copy link
Copy Markdown
Member

mwrock commented Apr 26, 2022

This looks good. Thanks!

@mwrock mwrock merged commit 033b439 into WinRb:master Apr 26, 2022
@laxa
Copy link
Copy Markdown
Contributor Author

laxa commented Apr 26, 2022

Thanks for the merge. Do you have any idea when a new release would be made? I introduced this PR to use it in another project that depends on WinRM. Cheers,

@laxa
Copy link
Copy Markdown
Contributor Author

laxa commented Oct 26, 2022

Hello sir, I am wondering if that would be possible to make a release including this fix and to push it on the gem so other projects can use it.
Cheers

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.

2 participants