lib/pimpmychangelog/parser.rb in pimpmychangelog-0.0.2 vs lib/pimpmychangelog/parser.rb in pimpmychangelog-0.0.3
- old
+ new
@@ -19,9 +19,9 @@
end
# @return [Array] ordered array of contributors found in the changelog
# Example: ['gregbell', 'pcreux', 'samvincent']
def contributors
- changelog.scan(/@(\w+)/).flatten.uniq.sort
+ changelog.scan(/@([\w-]+)/).flatten.uniq.sort
end
end
end