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

Pin faraday >= 2 #970

Merged
merged 1 commit into from
Apr 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ jobs:
ruby: ['3.1', '3.2']
steps:
- uses: actions/checkout@v3
# required to avoid https://github.com/actions/runner-images/issues/37
# because faraday depends on patron, which requires curl headers to build
- name: Install cURL Headers
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ end
gem 'blacklight', '~> 7.33'
gem 'rsolr' # required for Blacklight
gem "geoblacklight", '~> 3.8'
gem 'faraday', '~> 2.0'
gem "devise"
gem "devise-guests", ">= 0.3.3"
gem 'devise-remote-user'
Expand Down
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -553,6 +553,7 @@ DEPENDENCIES
devise-remote-user
dlss-capistrano
factory_bot_rails
faraday (~> 2.0)
geo_monitor (~> 0.7)!
geoblacklight (~> 3.8)
honeybadger
Expand Down
2 changes: 1 addition & 1 deletion scripts/geoserver/set_raster_styles.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
puts "Updating WMS default style for all raster layers on #{geoserver_url}"

conn = Faraday.new(url: geoserver_url) do |faraday|
faraday.basic_auth(ENV.fetch('GEOSERVER_USER', nil), ENV.fetch('GEOSERVER_PASS', nil))
faraday.set_basic_auth(ENV.fetch('GEOSERVER_USER', nil), ENV.fetch('GEOSERVER_PASS', nil))
faraday.adapter :net_http
end

Expand Down
2 changes: 1 addition & 1 deletion scripts/geoserver/set_wms_default_style.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
puts "Updating WMS default style for all vector layers on #{geoserver_url}"

conn = Faraday.new(url: geoserver_url) do |faraday|
faraday.basic_auth(ENV.fetch('GEOSERVER_USER', nil), ENV.fetch('GEOSERVER_PASS', nil))
faraday.set_basic_auth(ENV.fetch('GEOSERVER_USER', nil), ENV.fetch('GEOSERVER_PASS', nil))
faraday.adapter :net_http
end

Expand Down
2 changes: 1 addition & 1 deletion scripts/geoserver/update_caching.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
puts "Updating cache defaults for all layers on #{geoserver_url}"

conn = Faraday.new(url: geoserver_url) do |faraday|
faraday.basic_auth(ENV.fetch('GEOSERVER_USER', nil), ENV.fetch('GEOSERVER_PASS', nil))
faraday.set_basic_auth(ENV.fetch('GEOSERVER_USER', nil), ENV.fetch('GEOSERVER_PASS', nil))
faraday.adapter :net_http
end

Expand Down
2 changes: 1 addition & 1 deletion scripts/geowebcache/add_gridsets.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
puts "Updating gridsets for all layers on #{geoserver_url}"

conn = Faraday.new(url: geoserver_url) do |faraday|
faraday.basic_auth(ENV.fetch('GEOSERVER_USER', nil), ENV.fetch('GEOSERVER_PASS', nil))
faraday.set_basic_auth(ENV.fetch('GEOSERVER_USER', nil), ENV.fetch('GEOSERVER_PASS', nil))
faraday.adapter :net_http
end

Expand Down