Skip to content
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

Allow user agent configuration ID:2733 #2

Merged
merged 1 commit into from
Jul 5, 2017

Conversation

upsidedownchicken
Copy link
Contributor

https://westernmilling.tpondemand.com/entity/2733

Changes the requester to include a configurable string and the current agris.rb version.

https://westernmilling.tpondemand.com/entity/2733

Changes the requester to include a configurable string and the current
`agris.rb` version.
@upsidedownchicken upsidedownchicken merged commit 9e07459 into master Jul 5, 2017
@upsidedownchicken upsidedownchicken deleted the task/make-ua-configurable-2733 branch July 5, 2017 16:08
require 'agris/version'

module Agris
USER_AGENT = Agris.user_agent.to_s + " (Agris.rb #{VERSION})".freeze

Choose a reason for hiding this comment

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

@wopr42 I know I missed the boat, was there a reason you didn't do?

USER_AGENT = "#{Agris.user_agent} (Agris.rb #{VERSION})".freeze

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just didn't catch it, it was copied from Otis.

Choose a reason for hiding this comment

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

Ok, thanks for the clarification.

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.

3 participants