Sha256: 389fbd76800dedc2a3e63490959e521f2a7d315a02c5278434811a7984167cd2

Contents?: true

Size: 190 Bytes

Versions: 3

Compression:

Stored size: 190 Bytes

Contents

require_relative "base"

module Suspenders
  class JsonGenerator < Generators::Base
    def add_oj
      gem "oj"
      Bundler.with_unbundled_env { run "bundle install" }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
suspenders-1.55.1 lib/suspenders/generators/json_generator.rb
suspenders-1.55.0 lib/suspenders/generators/json_generator.rb
suspenders-1.54.1 lib/suspenders/generators/json_generator.rb