Skip to content

Commit

Permalink
Merge pull request #10 from jollygoodcode/new-format-support
Browse files Browse the repository at this point in the history
Add support for RELEASE_NOTES
  • Loading branch information
JuanitoFatas committed May 27, 2016
2 parents 9432ac2 + 160927d commit 0283168
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/whatsnew/constants.rb
Expand Up @@ -4,5 +4,5 @@ module Whatsnew
EMPTY_STRING = "".freeze
STAR = "*".freeze
NOT_FOUND = "NOT FOUND".freeze
FILES_TO_SEARCH_REGEXP = %r{(CHANGE|CHANGES|CHANGELOG|NEWS|HISTORY)}i.freeze
FILES_TO_SEARCH_REGEXP = %r{(CHANGE|CHANGES|CHANGELOG|NEWS|HISTORY|RELEASE_NOTES)}i.freeze
end
2 changes: 1 addition & 1 deletion spec/whatsnew/constants_spec.rb
Expand Up @@ -20,6 +20,6 @@
end

it "should have a FILES_TO_SEARCH_REGEXP constant" do
expect(subject.const_get("FILES_TO_SEARCH_REGEXP")).to eq(/(CHANGE|CHANGES|CHANGELOG|NEWS|HISTORY)/i)
expect(subject.const_get("FILES_TO_SEARCH_REGEXP")).to eq(/(CHANGE|CHANGES|CHANGELOG|NEWS|HISTORY|RELEASE_NOTES)/i)
end
end

0 comments on commit 0283168

Please sign in to comment.