lib/semmy/tasks/changelog_sections.rb in semmy-0.2.0 vs lib/semmy/tasks/changelog_sections.rb in semmy-0.2.1
- old
+ new
@@ -3,10 +3,10 @@
class ChangelogSections < Base
def define
namespace 'changelog' do
task 'close_section' do
new_version = Project.version
- old_version = VersionString.previous_minor(new_version)
+ old_version = VersionString.previous_version(new_version)
homepage = Gemspec.homepage
Shell.info("Inserting #{new_version} section " \
"in #{config.changelog_path}.")