Sha256: b4aa455e839b516b7f7dc1888b81fce308229f6d40fab6e3f90602a0e64f4964

Contents?: true

Size: 1005 Bytes

Versions: 56

Compression:

Stored size: 1005 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
        # Do nothing
      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

56 entries across 56 versions & 1 rubygems

Version Path
eac_rails_base0-0.43.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.42.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.41.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.40.1 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.40.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.39.1 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.39.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.38.1 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.38.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.37.1 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.37.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.36.1 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.36.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.35.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.34.1 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.34.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.33.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.32.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.31.0 lib/eac_rails_base0/app_generator/builder.rb
eac_rails_base0-0.30.2 lib/eac_rails_base0/app_generator/builder.rb