Sha256: b86719447c3bd25128315e70d82166360c46e84965a177592da65da0480dd081
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 KB
Contents
module Semmy module Tasks class ChangelogSections < Base def define namespace 'changelog' do task 'close_section' do version = Project.version homepage = Gemspec.homepage Shell.info("Inserting #{version} section " \ "in #{config.changelog_path}.") Files.rewrite(config.changelog_path, Changelog::CloseSection.new(config, version: version, homepage: homepage, date: Date.today)) end task 'update_for_minor' do Shell.info('Updating changelog ' \ "in #{config.changelog_path}.") Files.rewrite(config.changelog_path, Changelog::UpdateForMinor.new(config, version: Project.version, homepage: Gemspec.homepage)) end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
semmy-0.4.0 | lib/semmy/tasks/changelog_sections.rb |