Skip to content

Commit f170cc5

Browse files
committed
Workaround for broke CI with YARD 0.9.20 when using Ruby 2.7.0-dev
This PR solves the following "The manual directory is out of sync" error when using Ruby 2.7.0-dev. ```console % ruby -v ruby 2.7.0dev (2019-12-03T05:51:14Z master e42d9d8df8) [x86_64-darwin17] % CI=true bundle exec rake (snip) The manual directory is out of sync. Run `rake generate_cops_documentation` and commit the results. ``` https://circleci.com/gh/rubocop-hq/rubocop-minitest/968 This issue will be resolved with the release of YARD 0.9.21 or higher, which includes the following changes: lsegal/yard#1290
1 parent 2d8e7f2 commit f170cc5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Gemfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ gem 'bump', require: false
1010
gem 'rake'
1111
gem 'rubocop', github: 'rubocop-hq/rubocop'
1212
gem 'rubocop-performance', '~> 1.5.0'
13-
gem 'yard', '~> 0.9'
13+
# Workaround for YARD 0.9.20 or lower.
14+
# It specifies `github` until the release that includes the following changes:
15+
# https://github.com/lsegal/yard/pull/1290
16+
gem 'yard', github: 'lsegal/yard', ref: '10a2e5b'

0 commit comments

Comments
 (0)