Sha256: cd7d026dca081655043e997be658179268e1be2c522a29151d65f50b864aa863
Contents?: true
Size: 405 Bytes
Versions: 2
Compression:
Stored size: 405 Bytes
Contents
# frozen_string_literal: true module Boring module Faker class InstallGenerator < Rails::Generators::Base desc "Adds Faker to the application" source_root File.expand_path("templates", __dir__) def add_faker_gem log :adding, "faker" Bundler.with_unbundled_env do run "bundle add faker --group='development,test'" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
boring_generators-0.15.0 | lib/generators/boring/faker/install/install_generator.rb |
boring_generators-0.14.0 | lib/generators/boring/faker/install/install_generator.rb |