- Use keyword argument for ERB.new to suppress deprecated warnings.
- Use default bundle path (
vendor/bundle
) whenBundler.settings[:path]
returns nil.
- Drop support for Ruby 2.3 and 2.4.
- Add ability to generate and verify x509 certificates.
- Bundle extra files in the gem (MIT-LICENSE etc.).
- Allow thor 0.x and 1.x.
- Remove extra spaces from the database templates.
- Address a deprecation warning when using Rails 6.0.
- Gem specifies MIT license.
- Fix adapter name in the database.yml.dice template for PostgreSQL.
- Detect pg gem and generate database.yml.dice for PostgreSQL.
- Fix: Add missing newline after ruby warning message.
- Remove trailing space from the message generated by
<%= warning.as_yaml_comment %>
.
- Replaces
starts_with?
withstart_with?
to remove Rails dependency.
- Adds a
config:generate_from_gems
task to generate the templates from the specified gems only
- Updates the database.yml.dice file to not provide settings for test and development when building in production.
- Removed the template for Newrelic.
config:generate_all
task allows user to choose an appropriate action when source and local templates are different.config:generate_all:force
allows user to generate templates in 'force mode' (replacing local templates with the source).
- Feature: Adding a bang (!) at the end of method names, will raise when the variable is not found in production.
- New relic template to use SSL by default
- Fix Template generation fails if the target directory is missing
- Document that configuration files must not be loaded in Rails config/application.rb
- Don't overwrite config files if user responds 'No' instead of just 'N'.
- Omit .dice files in Bundler path or in dot-prefixed directories
- The ensure_is_private_key method now additionally supports RSA keys without spaces.
- New ensure_is_private_key helper method to process RSA private keys.
- New config:deploy rake task to use for deployments, which overwrites config files without prompting.
- Breaking change: Only templates with the '.dice' extension are processed.
- Breaking change: Local override via the '.local' extension has been removed.
- Templates are processed in all directories.
- Generated templates should be committed to source control.
- New '.dice' extension for templates.
- Better testing infrastructure.
- Plugins and rake task can specify custom location for templates.
- Fix: Templates are generated in 'config' directory for Rails projects.
- Initial open source release.