diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32ab53ba..8cff4c53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,7 +55,7 @@ jobs: - name: Install dependencies shell: bash run: | - gem install --no-document toys + gem install --no-document toys -v '~> 0.22.0' bundle install - name: Test ${{ matrix.task }} shell: bash diff --git a/.kokoro/samples.sh b/.kokoro/samples.sh index 50ae3929..6aa4455a 100755 --- a/.kokoro/samples.sh +++ b/.kokoro/samples.sh @@ -7,7 +7,7 @@ set -eo pipefail export GEM_HOME=$HOME/.gem export PATH=$GEM_HOME/bin:$PATH -gem install --no-document toys +gem install --no-document toys -v '~> 0.22.0' # To run acceptance tests for samples, we need the `sample_loader.rb` helper # from the `googleapis/ruby-common-tools` repository. diff --git a/.toys/.toys.rb b/.toys/.toys.rb index 9f76ff2a..855c075a 100644 --- a/.toys/.toys.rb +++ b/.toys/.toys.rb @@ -49,7 +49,7 @@ def run exec ["bundle", "exec", "yard", "doc"] end end -alias_tool :yard, :yardoc +tool "yard", delegate_to: "yardoc" expand :gem_build