Sha256: 79bf939df59d27cff0d5d6fe4d749733b9f3161483b2c6e78e1d731fdd0eb768

Contents?: true

Size: 954 Bytes

Versions: 22

Compression:

Stored size: 954 Bytes

Contents

# frozen_string_literal: true

module EacRailsBase0
  module AppGenerator
    class Builder < Rails::AppBuilder
      def readme
        # Do nothing
      end

      def app
        directory 'app'
      end

      def config
        inside 'config' do
          template 'routes.rb'
          template 'application.rb'
          template 'environment.rb'
          template 'secrets.yml'
        end
      end

      def database_yml
        template 'config/database.yml'
      end

      def db
        directory 'db'
      end

      def lib
        directory 'lib'
      end

      def log
        # Do nothing
        empty_directory_with_keep_file 'log'
      end

      def test
        # Do nothing
      end

      def tmp
        # Do nothing
      end

      def vendor
        # Do nothing
      end

      def vendor_javascripts
        # Do nothing
      end

      def vendor_stylesheets
        # Do nothing
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
eac_rails_base0-0.69.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.68.7 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.68.6 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.68.5 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.68.4 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.68.3 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.68.2 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.68.1 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.68.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.67.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.66.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.65.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.64.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.63.1 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.63.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.62.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.61.1 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.61.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.60.4 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.60.3 lib/eac_rails_base0/app_generator/builder.rb