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

Remove browser gem direct dependency #3860

Merged
merged 1 commit into from
Nov 18, 2019
Merged

Remove browser gem direct dependency #3860

merged 1 commit into from
Nov 18, 2019

Conversation

javierm
Copy link
Member

@javierm javierm commented Nov 18, 2019

Objectives

  • Reduce the number of gems we need to keep up to date

Notes

We're still using the browser gem because ahoy_matey depends on it, but now it's an indirect dependency.

@javierm javierm self-assigned this Nov 18, 2019
@javierm javierm added this to Reviewing in Roadmap via automation Nov 18, 2019
@javierm javierm changed the title Simplify detecting internet explorer Remove browser gem Nov 18, 2019
While the browser gem is great, we don't need it in this case for such a
simple usage.

There are a few really small differences between this code and the old
one: matching `/MSIE/` will return true for Opera 12 and false for
certain versions of IE11. Since we're only rendering a comment for IE8
and below, we don't care about IE11, and Opera 12 is six years old and
its users won't be affected by the comment.

Note we're still using the browser gem because ahoy_matey depends on it,
but now it's an indirect dependency.
@javierm javierm changed the title Remove browser gem Remove browser gem direct dependency Nov 18, 2019
@javierm javierm merged commit c8bbced into master Nov 18, 2019
Roadmap automation moved this from Reviewing to Release 1.1.0 Nov 18, 2019
@javierm javierm deleted the remove_browser branch November 18, 2019 13:21
smarques pushed a commit to venetochevogliamo/consul that referenced this pull request Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Roadmap
  
Release 1.1.0
Development

Successfully merging this pull request may close these issues.

None yet

1 participant