diff --git a/Gemfile b/Gemfile index 48e1df72..75e2ce6e 100644 --- a/Gemfile +++ b/Gemfile @@ -29,6 +29,7 @@ gem "fog-local" gem "haml", "~> 5.0" gem "hcaptcha", "~> 7.0" gem "mini_magick" +gem "oj" gem "rqrcode" gem "rolify", "~> 6.0" diff --git a/Gemfile.lock b/Gemfile.lock index db94a7a1..df941d4b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -320,6 +320,7 @@ GEM nenv (~> 0.1) shellany (~> 0.0) oauth (0.5.8) + oj (3.13.17) omniauth (2.1.0) hashie (>= 3.4.6) rack (>= 2.2.3) @@ -605,6 +606,7 @@ DEPENDENCIES letter_opener lograge mini_magick + oj omniauth omniauth-rails_csrf_protection (~> 1.0) omniauth-twitter diff --git a/config/initializers/oj.rb b/config/initializers/oj.rb new file mode 100644 index 00000000..8c00f045 --- /dev/null +++ b/config/initializers/oj.rb @@ -0,0 +1 @@ +Oj.optimize_rails