lib/tasks/changelog_task.rb in fog-1.22.0 vs lib/tasks/changelog_task.rb in fog-1.22.1

- old
+ new

@@ -2,11 +2,10 @@ require "rake/tasklib" module Fog module Rake class ChangelogTask < ::Rake::TaskLib - def initialize desc "Update the changelog since the last release" task(:changelog) do @changelog = [] @@ -97,11 +96,11 @@ end def committers_sorted_by_commits committer_pairs = @committers.to_a.sort {|x,y| y[1] <=> x[1]} committer_pairs.reject! {|pair| pair.last < 1 } - committer_pairs.collect {|pair| pair.first } + committer_pairs.map {|pair| pair.first } end def former_mvp?(committer) [ 'Aaron Suggs', @@ -204,9 +203,8 @@ end def timestamp @time ||= Time.now.utc.strftime('%m/%d/%Y') end - end end end