summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordosire <sytse@gitlab.com>2018-01-15 08:23:48 -0800
committerRémy Coutable <remy@rymai.me>2018-01-16 21:08:48 +0100
commit70ac55bce189a5d6e860c4921d349267319f5960 (patch)
treec370d8761357dceaf4a5ea471f2a87bbac067884
parentf17d7a4beef61d0156865f1a9070fb53c8f05c99 (diff)
downloadgitlab-ce-add-fast-blank.tar.gz
Use the fast_blank gemadd-fast-blank
See https://github.com/rails/rails/pull/24658#issuecomment-212651965
-rw-r--r--Gemfile3
-rw-r--r--Gemfile.lock2
-rw-r--r--changelogs/unreleased/16468-add-fast-blank.yml5
3 files changed, 10 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 9e1e0b3c0c6..5f4911ff628 100644
--- a/Gemfile
+++ b/Gemfile
@@ -233,6 +233,9 @@ gem 'charlock_holmes', '~> 0.7.5'
# Faster JSON
gem 'oj', '~> 2.17.4'
+# Faster blank
+gem 'fast_blank'
+
# Parse time & duration
gem 'chronic', '~> 0.10.2'
gem 'chronic_duration', '~> 0.10.6'
diff --git a/Gemfile.lock b/Gemfile.lock
index 10e2585a0e8..b251b8c481a 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -207,6 +207,7 @@ GEM
faraday_middleware-multi_json (0.0.6)
faraday_middleware
multi_json
+ fast_blank (1.0.0)
fast_gettext (1.4.0)
ffaker (2.4.0)
ffi (1.9.18)
@@ -1034,6 +1035,7 @@ DEPENDENCIES
email_spec (~> 1.6.0)
factory_bot_rails (~> 4.8.2)
faraday (~> 0.12)
+ fast_blank
ffaker (~> 2.4)
flay (~> 2.8.0)
flipper (~> 0.11.0)
diff --git a/changelogs/unreleased/16468-add-fast-blank.yml b/changelogs/unreleased/16468-add-fast-blank.yml
new file mode 100644
index 00000000000..ef68888ae33
--- /dev/null
+++ b/changelogs/unreleased/16468-add-fast-blank.yml
@@ -0,0 +1,5 @@
+---
+title: "Add fast-blank"
+merge_request: 16468
+author:
+type: performance