chore: Resolve bundle audit (#6671)

- Update gems to resolve bundle Audit advisories
This commit is contained in:
Sojan Jose
2023-03-15 14:05:54 +05:30
committed by GitHub
parent a4bcb7f154
commit a99c37ae5e
4 changed files with 78 additions and 76 deletions

View File

@@ -4,7 +4,7 @@ ruby '3.1.3'
##-- base gems for rails --## ##-- base gems for rails --##
gem 'rack-cors', require: 'rack/cors' gem 'rack-cors', require: 'rack/cors'
gem 'rails', '~> 6.1', '>= 6.1.7.1' gem 'rails', '~> 6.1', '>= 6.1.7.3'
# Reduces boot times through caching; required in config/boot.rb # Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', require: false gem 'bootsnap', require: false

View File

@@ -9,63 +9,63 @@ GIT
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actioncable (6.1.7.1) actioncable (6.1.7.3)
actionpack (= 6.1.7.1) actionpack (= 6.1.7.3)
activesupport (= 6.1.7.1) activesupport (= 6.1.7.3)
nio4r (~> 2.0) nio4r (~> 2.0)
websocket-driver (>= 0.6.1) websocket-driver (>= 0.6.1)
actionmailbox (6.1.7.1) actionmailbox (6.1.7.3)
actionpack (= 6.1.7.1) actionpack (= 6.1.7.3)
activejob (= 6.1.7.1) activejob (= 6.1.7.3)
activerecord (= 6.1.7.1) activerecord (= 6.1.7.3)
activestorage (= 6.1.7.1) activestorage (= 6.1.7.3)
activesupport (= 6.1.7.1) activesupport (= 6.1.7.3)
mail (>= 2.7.1) mail (>= 2.7.1)
actionmailer (6.1.7.1) actionmailer (6.1.7.3)
actionpack (= 6.1.7.1) actionpack (= 6.1.7.3)
actionview (= 6.1.7.1) actionview (= 6.1.7.3)
activejob (= 6.1.7.1) activejob (= 6.1.7.3)
activesupport (= 6.1.7.1) activesupport (= 6.1.7.3)
mail (~> 2.5, >= 2.5.4) mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
actionpack (6.1.7.1) actionpack (6.1.7.3)
actionview (= 6.1.7.1) actionview (= 6.1.7.3)
activesupport (= 6.1.7.1) activesupport (= 6.1.7.3)
rack (~> 2.0, >= 2.0.9) rack (~> 2.0, >= 2.0.9)
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (6.1.7.1) actiontext (6.1.7.3)
actionpack (= 6.1.7.1) actionpack (= 6.1.7.3)
activerecord (= 6.1.7.1) activerecord (= 6.1.7.3)
activestorage (= 6.1.7.1) activestorage (= 6.1.7.3)
activesupport (= 6.1.7.1) activesupport (= 6.1.7.3)
nokogiri (>= 1.8.5) nokogiri (>= 1.8.5)
actionview (6.1.7.1) actionview (6.1.7.3)
activesupport (= 6.1.7.1) activesupport (= 6.1.7.3)
builder (~> 3.1) builder (~> 3.1)
erubi (~> 1.4) erubi (~> 1.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0)
active_record_query_trace (1.8) active_record_query_trace (1.8)
activejob (6.1.7.1) activejob (6.1.7.3)
activesupport (= 6.1.7.1) activesupport (= 6.1.7.3)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (6.1.7.1) activemodel (6.1.7.3)
activesupport (= 6.1.7.1) activesupport (= 6.1.7.3)
activerecord (6.1.7.1) activerecord (6.1.7.3)
activemodel (= 6.1.7.1) activemodel (= 6.1.7.3)
activesupport (= 6.1.7.1) activesupport (= 6.1.7.3)
activerecord-import (1.4.0) activerecord-import (1.4.0)
activerecord (>= 4.2) activerecord (>= 4.2)
activestorage (6.1.7.1) activestorage (6.1.7.3)
actionpack (= 6.1.7.1) actionpack (= 6.1.7.3)
activejob (= 6.1.7.1) activejob (= 6.1.7.3)
activerecord (= 6.1.7.1) activerecord (= 6.1.7.3)
activesupport (= 6.1.7.1) activesupport (= 6.1.7.3)
marcel (~> 1.0) marcel (~> 1.0)
mini_mime (>= 1.1.0) mini_mime (>= 1.1.0)
activesupport (6.1.7.1) activesupport (6.1.7.3)
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2) i18n (>= 1.6, < 2)
minitest (>= 5.1) minitest (>= 5.1)
@@ -138,7 +138,7 @@ GEM
climate_control (1.1.1) climate_control (1.1.1)
coderay (1.1.3) coderay (1.1.3)
commonmarker (0.23.7) commonmarker (0.23.7)
concurrent-ruby (1.1.10) concurrent-ruby (1.2.2)
connection_pool (2.2.5) connection_pool (2.2.5)
crack (0.4.5) crack (0.4.5)
rexml rexml
@@ -189,7 +189,7 @@ GEM
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
http (>= 3.0) http (>= 3.0)
email_reply_trimmer (0.1.13) email_reply_trimmer (0.1.13)
erubi (1.10.0) erubi (1.12.0)
et-orbi (1.2.7) et-orbi (1.2.7)
tzinfo tzinfo
execjs (2.8.1) execjs (2.8.1)
@@ -250,7 +250,7 @@ GEM
grpc (~> 1.36) grpc (~> 1.36)
geocoder (1.8.0) geocoder (1.8.0)
gli (2.21.0) gli (2.21.0)
globalid (1.0.1) globalid (1.1.0)
activesupport (>= 5.0) activesupport (>= 5.0)
gmail_xoauth (0.4.2) gmail_xoauth (0.4.2)
oauth (>= 0.3.6) oauth (>= 0.3.6)
@@ -355,7 +355,7 @@ GEM
mini_mime (>= 1.0.0) mini_mime (>= 1.0.0)
multi_xml (>= 0.5.2) multi_xml (>= 0.5.2)
httpclient (2.8.3) httpclient (2.8.3)
i18n (1.11.0) i18n (1.12.0)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
image_processing (1.12.2) image_processing (1.12.2)
mini_magick (>= 4.9.5, < 5) mini_magick (>= 4.9.5, < 5)
@@ -419,8 +419,11 @@ GEM
loofah (2.19.1) loofah (2.19.1)
crass (~> 1.0.2) crass (~> 1.0.2)
nokogiri (>= 1.5.9) nokogiri (>= 1.5.9)
mail (2.7.1) mail (2.8.1)
mini_mime (>= 0.1.1) mini_mime (>= 0.1.1)
net-imap
net-pop
net-smtp
marcel (1.0.2) marcel (1.0.2)
maxminddb (0.1.22) maxminddb (0.1.22)
memoist (0.16.2) memoist (0.16.2)
@@ -430,8 +433,8 @@ GEM
mime-types-data (3.2022.0105) mime-types-data (3.2022.0105)
mini_magick (4.11.0) mini_magick (4.11.0)
mini_mime (1.1.2) mini_mime (1.1.2)
mini_portile2 (2.8.0) mini_portile2 (2.8.1)
minitest (5.16.2) minitest (5.18.0)
mock_redis (0.32.0) mock_redis (0.32.0)
ruby2_keywords ruby2_keywords
momentjs-rails (2.29.1.1) momentjs-rails (2.29.1.1)
@@ -456,14 +459,14 @@ GEM
sidekiq sidekiq
newrelic_rpm (8.15.0) newrelic_rpm (8.15.0)
nio4r (2.5.8) nio4r (2.5.8)
nokogiri (1.13.10) nokogiri (1.14.2)
mini_portile2 (~> 2.8.0) mini_portile2 (~> 2.8.0)
racc (~> 1.4) racc (~> 1.4)
nokogiri (1.13.10-arm64-darwin) nokogiri (1.14.2-arm64-darwin)
racc (~> 1.4) racc (~> 1.4)
nokogiri (1.13.10-x86_64-darwin) nokogiri (1.14.2-x86_64-darwin)
racc (~> 1.4) racc (~> 1.4)
nokogiri (1.13.10-x86_64-linux) nokogiri (1.14.2-x86_64-linux)
racc (~> 1.4) racc (~> 1.4)
oauth (0.5.10) oauth (0.5.10)
oauth2 (2.0.9) oauth2 (2.0.9)
@@ -511,8 +514,8 @@ GEM
pundit (2.2.0) pundit (2.2.0)
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
raabro (1.4.0) raabro (1.4.0)
racc (1.6.1) racc (1.6.2)
rack (2.2.6.3) rack (2.2.6.4)
rack-attack (6.6.1) rack-attack (6.6.1)
rack (>= 1.0, < 3) rack (>= 1.0, < 3)
rack-cors (1.1.1) rack-cors (1.1.1)
@@ -521,32 +524,32 @@ GEM
rack rack
rack-proxy (0.7.2) rack-proxy (0.7.2)
rack rack
rack-test (2.0.2) rack-test (2.1.0)
rack (>= 1.3) rack (>= 1.3)
rack-timeout (0.6.3) rack-timeout (0.6.3)
rails (6.1.7.1) rails (6.1.7.3)
actioncable (= 6.1.7.1) actioncable (= 6.1.7.3)
actionmailbox (= 6.1.7.1) actionmailbox (= 6.1.7.3)
actionmailer (= 6.1.7.1) actionmailer (= 6.1.7.3)
actionpack (= 6.1.7.1) actionpack (= 6.1.7.3)
actiontext (= 6.1.7.1) actiontext (= 6.1.7.3)
actionview (= 6.1.7.1) actionview (= 6.1.7.3)
activejob (= 6.1.7.1) activejob (= 6.1.7.3)
activemodel (= 6.1.7.1) activemodel (= 6.1.7.3)
activerecord (= 6.1.7.1) activerecord (= 6.1.7.3)
activestorage (= 6.1.7.1) activestorage (= 6.1.7.3)
activesupport (= 6.1.7.1) activesupport (= 6.1.7.3)
bundler (>= 1.15.0) bundler (>= 1.15.0)
railties (= 6.1.7.1) railties (= 6.1.7.3)
sprockets-rails (>= 2.0.0) sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3) rails-dom-testing (2.0.3)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
nokogiri (>= 1.6) nokogiri (>= 1.6)
rails-html-sanitizer (1.4.4) rails-html-sanitizer (1.5.0)
loofah (~> 2.19, >= 2.19.1) loofah (~> 2.19, >= 2.19.1)
railties (6.1.7.1) railties (6.1.7.3)
actionpack (= 6.1.7.1) actionpack (= 6.1.7.3)
activesupport (= 6.1.7.1) activesupport (= 6.1.7.3)
method_source method_source
rake (>= 12.2) rake (>= 12.2)
thor (~> 1.0) thor (~> 1.0)
@@ -681,9 +684,9 @@ GEM
spring-watcher-listen (2.0.1) spring-watcher-listen (2.0.1)
listen (>= 2.7, < 4.0) listen (>= 2.7, < 4.0)
spring (>= 1.2, < 3.0) spring (>= 1.2, < 3.0)
sprockets (4.1.1) sprockets (4.2.0)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
rack (> 1, < 3) rack (>= 2.2.4, < 4)
sprockets-rails (3.4.2) sprockets-rails (3.4.2)
actionpack (>= 5.2) actionpack (>= 5.2)
activesupport (>= 5.2) activesupport (>= 5.2)
@@ -706,7 +709,7 @@ GEM
nokogiri (>= 1.6, < 2.0) nokogiri (>= 1.6, < 2.0)
twitty (0.1.4) twitty (0.1.4)
oauth oauth
tzinfo (2.0.4) tzinfo (2.0.6)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
tzinfo-data (1.2022.1) tzinfo-data (1.2022.1)
tzinfo (>= 1.0.0) tzinfo (>= 1.0.0)
@@ -751,7 +754,7 @@ GEM
working_hours (1.4.1) working_hours (1.4.1)
activesupport (>= 3.2) activesupport (>= 3.2)
tzinfo tzinfo
zeitwerk (2.6.0) zeitwerk (2.6.7)
PLATFORMS PLATFORMS
arm64-darwin-20 arm64-darwin-20
@@ -838,7 +841,7 @@ DEPENDENCIES
rack-attack rack-attack
rack-cors rack-cors
rack-timeout rack-timeout
rails (~> 6.1, >= 6.1.7.1) rails (~> 6.1, >= 6.1.7.3)
redis redis
redis-namespace redis-namespace
responders responders

View File

@@ -6,7 +6,6 @@
@import 'utilities/text-color'; @import 'utilities/text-color';
@import 'selectize'; @import 'selectize';
@import 'datetime_picker';
@import 'library/clearfix'; @import 'library/clearfix';
@import 'library/data-label'; @import 'library/data-label';

View File

@@ -17,7 +17,7 @@ RSpec.describe MailPresenter do
it 'give utf8 encoded content' do it 'give utf8 encoded content' do
expect(decorated_mail.subject).to eq("Discussion: Let's debate these attachments") expect(decorated_mail.subject).to eq("Discussion: Let's debate these attachments")
expect(decorated_mail.text_content[:full]).to eq("Let's talk about these images:\r\n\r\n") expect(decorated_mail.text_content[:full]).to eq("Let's talk about these images:\n\n")
end end
it 'give decoded blob attachments' do it 'give decoded blob attachments' do