Sha256: 35008a665be4f1c16650349cd106e4c3018b03692cff1269dd8952c8327ef82c
Contents?: true
Size: 377 Bytes
Versions: 3
Compression:
Stored size: 377 Bytes
Contents
# frozen_string_literal: true require_relative 'base' module Bankai module Generators # :nodoc: class JsonGenerator < Base def add_oj gem 'oj' Bundler.with_clean_env { run 'bundle install' } initializer 'oj.rb' do "# frozen_string_literal: true\n\n" \ 'Oj.optimize_rails' end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bankai-0.8.1 | lib/bankai/generators/json_generator.rb |
bankai-0.8.0 | lib/bankai/generators/json_generator.rb |
bankai-0.7.0 | lib/bankai/generators/json_generator.rb |