Sha256: ef099fa1007345709f22b5ac6073128058e7587ac1394749f086f489e940e677

Contents?: true

Size: 1007 Bytes

Versions: 24

Compression:

Stored size: 1007 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'
          directory 'environments'
        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
        template 'test/test_helper.rb'
      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

24 entries across 24 versions & 1 rubygems

Version Path
eac_rails_base0-0.60.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.59.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.58.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.57.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.56.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.55.3 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.55.2 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.55.1 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.55.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.54.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.53.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.52.3 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.52.2 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.52.1 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.52.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.51.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.50.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.49.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.48.1 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.48.0 lib/eac_rails_base0/app_generator/builder.rb