From f6f92788dd128583e09823ef35a8b1fec4b909dd Mon Sep 17 00:00:00 2001 From: Eric Schultz Date: Mon, 20 Apr 2020 16:41:31 -0500 Subject: [PATCH] Add jbuilder for json based views --- Gemfile | 1 + Gemfile.lock | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index 546f1f85..07eee77c 100755 --- a/Gemfile +++ b/Gemfile @@ -4,6 +4,7 @@ source 'https://rubygems.org' ruby '2.6.6' gem 'rails', '~> 5.2.3' +gem 'jbuilder', '~> 2.10' gem 'bootsnap', '~> 1.4', require: false # Large rails application booting enhancer gem 'font_assets', '~> 0.1.14' # for serving fonts on cdn https://github.com/ericallam/font_assets gem 'hamster', '~> 3.0' # Thread-safe collection classes for Ruby diff --git a/Gemfile.lock b/Gemfile.lock index 277f7e6b..da264075 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -267,6 +267,8 @@ GEM i18n_data (0.8.0) ice_nine (0.11.2) jaro_winkler (1.5.3) + jbuilder (2.10.0) + activesupport (>= 5.0.0) jmespath (1.4.0) json (1.8.6) kdtree (0.4) @@ -544,6 +546,7 @@ DEPENDENCIES heroku-deflater (~> 0.6.3) httparty (~> 0.17.0) i18n-js (~> 3.3) + jbuilder (~> 2.10) lograge (~> 0.11.2) mail_view (~> 2.0) mini_magick (~> 4.9)