Skip to content

Commit 2a8881a

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-performance/869 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 990b9f6 commit 2a8881a

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
@@ -11,4 +11,7 @@ gem 'rake'
1111
gem 'rspec'
1212
gem 'rubocop', github: 'rubocop-hq/rubocop'
1313
gem 'rubocop-rspec', '~> 1.29.0'
14-
gem 'yard', '~> 0.9'
14+
# Workaround for YARD 0.9.20 or lower.
15+
# It specifies `github` until the release that includes the following changes:
16+
# https://github.com/lsegal/yard/pull/1290
17+
gem 'yard', github: 'lsegal/yard', ref: '10a2e5b'

0 commit comments

Comments
 (0)