From c4f9add764d9ceb0f24cc6b18b9004d5acbfd9bf Mon Sep 17 00:00:00 2001 From: Kapil Sachdev Date: Thu, 27 Aug 2020 14:17:49 +0530 Subject: [PATCH] fix(docs): Rename remaining NEWS to CHANGELOG [ci skip] - Related to #1308 which renamed NEWS.md to CHANGELOG.md --- .yardopts | 2 +- shoulda-matchers.gemspec | 2 +- tasks/documentation.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.yardopts b/.yardopts index 45d74d53..622603a1 100644 --- a/.yardopts +++ b/.yardopts @@ -6,5 +6,5 @@ --hide-tag param -e ./doc_config/yard/setup.rb - -NEWS.md +CHANGELOG.md docs/**/*.md diff --git a/shoulda-matchers.gemspec b/shoulda-matchers.gemspec index 752579a3..5dbec514 100644 --- a/shoulda-matchers.gemspec +++ b/shoulda-matchers.gemspec @@ -21,7 +21,7 @@ Gem::Specification.new do |s| s.description = 'Shoulda Matchers provides RSpec- and Minitest-compatible one-liners to test common Rails functionality that, if written by hand, would be much longer, more complex, and error-prone.' s.metadata = { 'bug_tracker_uri' => 'https://github.com/thoughtbot/shoulda-matchers/issues', - 'changelog_uri' => 'https://github.com/thoughtbot/shoulda-matchers/blob/master/NEWS.md', + 'changelog_uri' => 'https://github.com/thoughtbot/shoulda-matchers/blob/master/CHANGELOG.md', 'documentation_uri' => 'https://matchers.shoulda.io/docs', 'homepage_uri' => 'https://matchers.shoulda.io', 'source_code_uri' => 'https://github.com/thoughtbot/shoulda-matchers', diff --git a/tasks/documentation.rb b/tasks/documentation.rb index e0d5289a..c47b5166 100644 --- a/tasks/documentation.rb +++ b/tasks/documentation.rb @@ -54,7 +54,7 @@ module Shoulda FSSM.monitor do path project_directory do - glob '{README.md,NEWS.md,.yardopts,docs/**/*.md,doc_config/yard/**/*.{rb,js,css,erb},lib/**/*.rb}' + glob '{README.md,CHANGELOG.md,.yardopts,docs/**/*.md,doc_config/yard/**/*.{rb,js,css,erb},lib/**/*.rb}' create(®enerate_docs) update(®enerate_docs) end