DEV: Add csv to Gemfile to resolve Ruby 3.3 deprecation warning (#26995)

The following warning is being printed when running Discourse with Ruby
3.3

`warning: /usr/local/lib/ruby/3.3.0/csv.rb was loaded from the standard
library, but will no longer be part of the default gems since Ruby
3.4.0. Add csv to your Gemfile or gemspec.`
This commit is contained in:
Alan Guo Xiang Tan 2024-05-13 13:23:15 +08:00 committed by GitHub
parent 9bcbfbba43
commit 507e8d3120
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -267,6 +267,7 @@ gem "net-http"
gem "cgi", ">= 0.3.6", require: false gem "cgi", ">= 0.3.6", require: false
gem "tzinfo-data" gem "tzinfo-data"
gem "csv", require: false
# dependencies for the automation plugin # dependencies for the automation plugin
gem "iso8601" gem "iso8601"

View File

@ -108,6 +108,7 @@ GEM
crass (1.0.6) crass (1.0.6)
css_parser (1.17.1) css_parser (1.17.1)
addressable addressable
csv (3.3.0)
date (3.3.4) date (3.3.4)
debug_inspector (1.2.0) debug_inspector (1.2.0)
diff-lcs (1.5.1) diff-lcs (1.5.1)
@ -568,6 +569,7 @@ DEPENDENCIES
cose cose
cppjieba_rb cppjieba_rb
css_parser css_parser
csv
diffy diffy
digest digest
discourse-fonts discourse-fonts