Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Commit

Permalink
Remove warnings about already-defined constants
Browse files Browse the repository at this point in the history
Due to us being on Ruby 2.7 and faraday-net_http not having a dependency
on the `net-http` default gem (to maintain Ruby 2.5 compatibility) - see
ruby/net-imap#16. Issue should go away on Ruby
3.
  • Loading branch information
rjpaskin committed May 15, 2023
1 parent 0ba5647 commit 5ef7821
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ gem 'github_webhook'
gem 'haml'
gem 'jbuilder'
gem 'jwt'
gem 'net-http' # needed to remove warnings about already-defined constants on Ruby 2.7
gem 'octokit'
gem 'omniauth-github'
gem 'omniauth-rails_csrf_protection'
Expand Down
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ GEM
msgpack (1.7.0)
multi_xml (0.6.0)
multipart-post (2.3.0)
net-http (0.3.2)
uri
net-imap (0.3.4)
date
net-protocol
Expand Down Expand Up @@ -332,6 +334,7 @@ GEM
timeout (0.3.2)
tzinfo (1.2.11)
thread_safe (~> 0.1)
uri (0.12.1)
version_gem (1.1.2)
vite_rails (3.0.14)
railties (>= 5.1, < 8)
Expand Down Expand Up @@ -383,6 +386,7 @@ DEPENDENCIES
jbuilder
jwt
listen
net-http
octokit
omniauth-github
omniauth-rails_csrf_protection
Expand Down

0 comments on commit 5ef7821

Please sign in to comment.