Class: GemToys::Template::Release

Inherits:
Object
  • Object
show all
Includes:
Toys::Template
Defined in:
lib/gem_toys/template/release.rb,
lib/gem_toys/template/release/git.rb,
lib/gem_toys/template/release/changelog.rb

Overview

Template with gem release tool, expanding internally

Defined Under Namespace

Modules: Changelog, Git

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(changelog_file_name:, version_file_path:, version_tag_prefix:, unreleased_title:) ⇒ Release

Returns a new instance of Release.



16
17
18
19
20
21
22
23
24
25
26
# File 'lib/gem_toys/template/release.rb', line 16

def initialize(
	changelog_file_name:,
	version_file_path:,
	version_tag_prefix:,
	unreleased_title:
)
	@changelog_file_name = changelog_file_name
	@version_file_path = version_file_path
	@version_tag_prefix = version_tag_prefix
	@unreleased_title = unreleased_title
end

Instance Attribute Details

#changelog_file_nameObject (readonly)

Returns the value of attribute changelog_file_name.



14
15
16
# File 'lib/gem_toys/template/release.rb', line 14

def changelog_file_name
  @changelog_file_name
end

#unreleased_titleObject (readonly)

Returns the value of attribute unreleased_title.



14
15
16
# File 'lib/gem_toys/template/release.rb', line 14

def unreleased_title
  @unreleased_title
end

#version_file_pathObject (readonly)

Returns the value of attribute version_file_path.



14
15
16
# File 'lib/gem_toys/template/release.rb', line 14

def version_file_path
  @version_file_path
end

#version_tag_prefixObject (readonly)

Returns the value of attribute version_tag_prefix.



14
15
16
# File 'lib/gem_toys/template/release.rb', line 14

def version_tag_prefix
  @version_tag_prefix
end