Skip to content

Commit 0fbdd2d

Browse files
committed
update sprocket gem to handle vulnerability issues
1 parent 955b74d commit 0fbdd2d

3 files changed

Lines changed: 19 additions & 18 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ gem "paperclip", "~> 5.1.0"
4040
gem "aws-sdk"
4141
gem "redcarpet"
4242
gem "holidays"
43-
gem "sprockets-rails", "~> 2.3"
43+
gem "sprockets-rails", "~>3.0"
4444
gem "brakeman"
4545

4646
source "https://rails-assets.org" do

Gemfile.lock

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ GEM
636636
concurrent-ruby (1.0.5)
637637
crack (0.4.2)
638638
safe_yaml (~> 1.0.0)
639-
crass (1.0.3)
639+
crass (1.0.4)
640640
dalli (2.7.0)
641641
database_cleaner (1.3.0)
642642
debug_inspector (0.0.2)
@@ -694,7 +694,7 @@ GEM
694694
highline (1.7.8)
695695
holidays (1.2.0)
696696
http_accept_language (2.0.1)
697-
i18n (0.9.1)
697+
i18n (0.9.5)
698698
concurrent-ruby (~> 1.0)
699699
jmespath (1.3.1)
700700
jquery-atwho-rails (1.3.2)
@@ -711,7 +711,7 @@ GEM
711711
addressable (~> 2.3)
712712
letter_opener (1.2.0)
713713
launchy (~> 2.2)
714-
loofah (2.2.1)
714+
loofah (2.2.2)
715715
crass (~> 1.0.2)
716716
nokogiri (>= 1.5.9)
717717
mail (2.7.0)
@@ -724,15 +724,15 @@ GEM
724724
mimemagic (0.3.2)
725725
mini_mime (1.0.0)
726726
mini_portile2 (2.3.0)
727-
minitest (5.10.3)
727+
minitest (5.11.3)
728728
momentjs-rails (2.7.0)
729729
railties (>= 3.1)
730730
multi_json (1.11.2)
731731
neat (1.5.1)
732732
bourbon (>= 3.1)
733733
sass (~> 3.2.19)
734734
newrelic_rpm (3.9.0.229)
735-
nokogiri (1.8.2)
735+
nokogiri (1.8.4)
736736
mini_portile2 (~> 2.3.0)
737737
normalize-rails (3.0.1)
738738
orm_adapter (0.5.0)
@@ -751,7 +751,7 @@ GEM
751751
slop (~> 3.4)
752752
pry-rails (0.3.2)
753753
pry (>= 0.9.10)
754-
rack (1.6.8)
754+
rack (1.6.10)
755755
rack-test (0.6.3)
756756
rack (>= 1.0)
757757
rack-timeout (0.0.4)
@@ -769,12 +769,12 @@ GEM
769769
rails-assets-chartjs (1.0.1)
770770
rails-deprecated_sanitizer (1.0.3)
771771
activesupport (>= 4.2.0.alpha)
772-
rails-dom-testing (1.0.8)
773-
activesupport (>= 4.2.0.beta, < 5.0)
772+
rails-dom-testing (1.0.9)
773+
activesupport (>= 4.2.0, < 5.0)
774774
nokogiri (~> 1.6)
775775
rails-deprecated_sanitizer (>= 1.0.1)
776-
rails-html-sanitizer (1.0.3)
777-
loofah (~> 2.0)
776+
rails-html-sanitizer (1.0.4)
777+
loofah (~> 2.2, >= 2.2.2)
778778
rails-observers (0.1.2)
779779
activemodel (~> 4.0)
780780
rails_12factor (0.0.2)
@@ -845,13 +845,13 @@ GEM
845845
spring (1.1.3)
846846
spring-commands-rspec (1.0.2)
847847
spring (>= 0.9.1)
848-
sprockets (3.7.1)
848+
sprockets (3.7.2)
849849
concurrent-ruby (~> 1.0)
850850
rack (> 1, < 3)
851-
sprockets-rails (2.3.3)
852-
actionpack (>= 3.0)
853-
activesupport (>= 3.0)
854-
sprockets (>= 2.8, < 4.0)
851+
sprockets-rails (3.2.1)
852+
actionpack (>= 4.0)
853+
activesupport (>= 4.0)
854+
sprockets (>= 3.0.0)
855855
temple (0.7.6)
856856
terminal-table (1.5.2)
857857
thor (0.19.4)
@@ -863,7 +863,7 @@ GEM
863863
rails (>= 3.1)
864864
twitter-text (1.9.2)
865865
unf (~> 0.1.0)
866-
tzinfo (1.2.4)
866+
tzinfo (1.2.5)
867867
thread_safe (~> 0.1)
868868
uglifier (4.0.2)
869869
execjs (>= 0.3.0, < 3)
@@ -944,7 +944,7 @@ DEPENDENCIES
944944
simplecov
945945
spring
946946
spring-commands-rspec
947-
sprockets-rails (~> 2.3)
947+
sprockets-rails (~> 3.0)
948948
timecop
949949
title
950950
twitter-text

config/application.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,6 @@ class Application < Rails::Application
5858
# config.i18n.default_locale = :de
5959
config.secret_token = ENV["SECRET_TOKEN"]
6060
config.active_record.raise_in_transactional_callbacks = true
61+
config.assets.precompile << %w(landing.css)
6162
end
6263
end

0 commit comments

Comments
 (0)