Method: Semmy::Configuration#initialize

Defined in:
lib/semmy/configuration.rb

#initialize {|_self| ... } ⇒ Configuration

Returns a new instance of Configuration.

Yields:

  • (_self)

Yield Parameters:



21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'lib/semmy/configuration.rb', line 21

def initialize
  @development_version_suffix = 'dev'

  @stable_branch_name = '%{major}-%{minor}-stable'

  @prepare_commit_message = 'Prepare %{version} release'
  @bump_commit_message = 'Bump version to %{version}'

  @changelog_path = 'CHANGELOG.md'
  @changelog_version_section_heading = '### Version %{version}'
  @changelog_compare_url = '%{repository}/compare/%{old_version_tag}..%{new_version_tag}'
  @changelog_unrelased_section_heading = '### Changes on `master`'
  @changelog_unrelased_section_blank_slate = 'None so far.'

  @source_files_with_docs_tags = '{app,lib}/**/*.{js,rb,scss}'
  @rewritten_since_doc_tag = 'edge'

  yield self if block_given?
end