From dcae427fe5a02fed7792bd0ddcdede2f51cf51b6 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 11 Aug 2023 14:18:23 +0200 Subject: [PATCH] Gemfile: Allow Puppet 8 For the 8.0 we had to pin to 7.x because of a rubygems bug. --- Gemfile | 2 +- rubocop.yml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index fa60626..5b2c938 100644 --- a/Gemfile +++ b/Gemfile @@ -13,4 +13,4 @@ group :coverage, optional: ENV['COVERAGE']!='yes' do end # Override gemspec for CI matrix builds. -gem 'puppet', ENV.fetch('PUPPET_VERSION', '~> 7.24'), :require => false +gem 'puppet', ENV.fetch('PUPPET_VERSION', '>= 7.24'), :require => false diff --git a/rubocop.yml b/rubocop.yml index f6483be..d3506fd 100644 --- a/rubocop.yml +++ b/rubocop.yml @@ -7,6 +7,9 @@ require: AllCops: # Puppet agent 6 ships with ruby 2.5. Puppetserver 6 uses JRuby 9.2.x (Ruby 2.5 compatible) since version 6.1.0. TargetRubyVersion: 2.5 + DisplayCopNames: true + ExtraDetails: true + DisplayStyleGuide: true Include: - '**/*.rb' Exclude: