about summary refs log tree commit diff
path: root/Gemfile
diff options
context:
space:
mode:
authornullkal <nullkal@users.noreply.github.com>2017-07-09 05:44:31 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-07-08 22:44:31 +0200
commit007ab330e6ffb1e07995d4e306473d457043e2eb (patch)
treebaf206a3c7ae9f626a679fb3c7b650e694d8d480 /Gemfile
parent794781d1219112482e4abbc0a98683a17d170e2b (diff)
Use charlock_holmes instead of nkf at FetchLinkCardService (#4080)
* Specs for language detection

* Use CharlockHolmes instead of NKF

* Correct mistakes

* Correct style

* Set hint_enc instead of falling back and strip_tags

* Improve specs

* Add dependencies
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 95c74eef9..b52685cba 100644
--- a/Gemfile
+++ b/Gemfile
@@ -22,6 +22,7 @@ gem 'active_model_serializers', '~> 0.10'
 gem 'addressable', '~> 2.5'
 gem 'bootsnap'
 gem 'browser'
+gem 'charlock_holmes', '~> 0.7.3'
 gem 'cld3', '~> 3.1'
 gem 'devise', '~> 4.2'
 gem 'devise-two-factor', '~> 3.0'