7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# File 'lib/generators/init_generator.rb', line 7
def create_initializer_file
create_file "config/initializers/allages.rb", <<~CONFIG
Allages.configure do |config|
# config.input_dir = 'changelogs'
# config.output_file = :stdout
# config.include_unreleased = false
# config.header = <<~END
# # Changelog
# All notable changes to this project will be documented in this file.
# The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
# and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
# END
end
CONFIG
end
|