aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2019-07-22 14:59:13 +0200
committerHans de Graaff <graaff@gentoo.org>2019-07-22 15:00:37 +0200
commita3ccf56b2dc094b9b641a983581eb40da559e1e1 (patch)
tree355179ac8228a53c12ee7e93040d240cacec4ed0
parentUpdate sdoc to a more modern version (diff)
downloadpackages-5-a3ccf56b2dc094b9b641a983581eb40da559e1e1.tar.gz
packages-5-a3ccf56b2dc094b9b641a983581eb40da559e1e1.tar.bz2
packages-5-a3ccf56b2dc094b9b641a983581eb40da559e1e1.zip
Pin jquery-rails and require new enough version
We need at least 4.3.5 to get jQuery 3.4.1 which fixes a security issue: https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/ Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--Gemfile2
-rw-r--r--Gemfile.lock2
2 files changed, 2 insertions, 2 deletions
diff --git a/Gemfile b/Gemfile
index 0b1366f..6509fb7 100644
--- a/Gemfile
+++ b/Gemfile
@@ -14,7 +14,7 @@ gem 'uglifier', '>= 1.3.0'
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
-gem 'jquery-rails'
+gem 'jquery-rails', '~> 4.3.5'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
diff --git a/Gemfile.lock b/Gemfile.lock
index 201a209..ec26ca7 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -204,7 +204,7 @@ DEPENDENCIES
elasticsearch-persistence (~> 5.0)
elasticsearch-rails (~> 5.0)
jbuilder (~> 2.0)
- jquery-rails
+ jquery-rails (~> 4.3.5)
nokogiri
octicons_helper
rails (= 4.2.11.1)