From ddb24d6a06d5f03d3de99c764a6bbff76859455a Mon Sep 17 00:00:00 2001 From: Tobias Urdin Date: Tue, 1 Sep 2020 17:57:17 +0200 Subject: [PATCH] Replace gem --no-ri and --no-rdoc with --no-document The --no-ri and --no-rdoc option is removed in later versions. Change-Id: I199e980fe13d4932e7d3f9f484ea3dc25e58f01c --- all-in-one.sh | 2 +- install_modules.sh | 2 +- playbooks/prepare-node-integration.yaml | 2 +- playbooks/run-beaker-tests.yaml | 2 +- playbooks/run-lint-tests.yaml | 12 ++++++------ playbooks/run-syntax-tests.yaml | 2 +- playbooks/run-unit-tests.yaml | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/all-in-one.sh b/all-in-one.sh index b76d48799..75dcb6969 100755 --- a/all-in-one.sh +++ b/all-in-one.sh @@ -64,7 +64,7 @@ print_header 'Install Bundler' mkdir -p .bundled_gems export GEM_HOME=`pwd`/.bundled_gems ruby <&1 fi else - gem install rake -n ./.bundled_gems/ --no-ri --no-rdoc --no-user-install - gem install puppet-lint -n ./.bundled_gems/ --no-ri --no-rdoc --no-user-install - gem install metadata-json-lint -n ./.bundled_gems/ --no-ri --no-rdoc --no-user-install - gem install puppetlabs_spec_helper -n ./.bundled_gems/ --no-ri --no-rdoc --no-user-install - gem install puppet -n ./.bundled_gems/ --no-ri --no-rdoc --no-user-install + gem install rake -n ./.bundled_gems/ --no-document --no-user-install + gem install puppet-lint -n ./.bundled_gems/ --no-document --no-user-install + gem install metadata-json-lint -n ./.bundled_gems/ --no-document --no-user-install + gem install puppetlabs_spec_helper -n ./.bundled_gems/ --no-document --no-user-install + gem install puppet -n ./.bundled_gems/ --no-document --no-user-install ./.bundled_gems/rake lint 2>&1 if [ -f metadata.json ]; then ./.bundled_gems/metadata-json-lint diff --git a/playbooks/run-syntax-tests.yaml b/playbooks/run-syntax-tests.yaml index 4ef2a398f..6d58ab7a1 100644 --- a/playbooks/run-syntax-tests.yaml +++ b/playbooks/run-syntax-tests.yaml @@ -7,7 +7,7 @@ export GEM_HOME=`pwd`/.bundled_gems export GEM_BIN_DIR=$GEM_HOME/bin ruby <