Skip to content
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
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ gem "rack", "~> 3.0.11"

# Utilities
gem "nokogiri"
gem "warning", require: false # for silencing certain warnings, will require before boot in warings_silencer.rb

# Only used in rake tasks
gem "http", require: false # protected areas job
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ GEM
useragent (0.16.11)
warden (1.2.9)
rack (>= 2.0.9)
warning (1.5.0)
web-console (4.2.1)
actionview (>= 6.0.0)
activemodel (>= 6.0.0)
Expand Down Expand Up @@ -878,6 +879,7 @@ DEPENDENCIES
super_diff
tzinfo-data
uglifier
warning
web-console (>= 4.1.0)
webmock
whenever
Expand Down
1 change: 1 addition & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# frozen_string_literal: true

require_relative "warnings_silencer"
require_relative "boot"

require "rails"
Expand Down
5 changes: 5 additions & 0 deletions config/warnings_silencer.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require "warning"

# ignore gdal warnings
Warning.ignore(/undefining the allocator of T_DATA class/)
Warning.ignore(/undefining the allocator of T_DATA class SWIG::TYPE_p_f_double_p_q_const__char_p_void__int/)
Loading