Sha256: 65f11c75a9553d254c16e1e6062be37abef69dcb5b1e3eb764bcafbc2b8d0577

Contents?: true

Size: 1.83 KB

Versions: 2

Compression:

Stored size: 1.83 KB

Contents

DryerConfig
===========

Contains most of the files of a pristine "rails new" "config" directories.
They will be available to your application by
the engine nature of this gem.

Your private "config" directory (and your repository)
will contain just your particular requirements/options
(e.g. config/database.yml).

Version numbering is according to the Rails versions, e.g. use

    gem 'dryer-config', '= 5.0.0'  # for a Rails 5.0.0 applications

in your Gemfile.

It is expected that the version 5.0.0 is fine for the
complete Rails 5 serie.
If not, a new version of this gem will be released (hopefully).

Why
---

Usually I run several applications based on the same Rails on one server.
There is no need to waste disk space (mostly irrelevant today,
but I still don't like wasting).

Several "config" files will be out of the way (less attention)
for the developer.

Lastly, during the port of a Rails application to another version
a pristine configuration is handy.
The few remaining options in your "config" files needs
fewer attention/work.

Installation
------------
To install add the following to your Gemfile (e.g.):

    gem 'dryer-config', '~> 5.0'

and run bundle.

Configuration
-------------

The following original config files have been dropped:

    ./config/application.rb
    ./config/initializers/session_store.rb
    ./config/locales/*
    ./config/routes.rb
    ./config/secrets.yml

Create your owns.

The following original config files are unused:

    ./config/boot.rb
    ./config/cable.yml
    ./config/database.yml
    ./config/environment.rb
    ./config/puma.rb
    ./config/spring.rb

Create/copy your owns. They are still there for inspection.

The following file may require your attention:

    ./config/initializers/assets.rb

Create your own. It will run after the one from the gem.

See also
--------

    http://railsdiff.org/

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dryer-config-5.0.0 README.md
dryer-config-0.0.1 README.md