File tree Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 3131 matrix :
3232 os :
3333 - " ubuntu-latest"
34- - " windows-2019 "
34+ - " windows-latest "
3535 ruby_version :
3636 - " 2.5"
3737 - " 2.7"
4343 secrets : " inherit"
4444 with :
4545 ruby_version : ${{ matrix.ruby_version }}
46- rake_task : ' acceptance:local_parallel '
46+ rake_task : ' acceptance'
4747 puppet_version : ${{ matrix.puppet_gem_version }}
4848 runs_on : ${{ matrix.os }}
49-
Original file line number Diff line number Diff line change 3030 matrix :
3131 os :
3232 - " ubuntu-latest"
33- - " windows-2019 "
33+ - " windows-latest "
3434 ruby_version :
3535 - " 2.5"
3636 - " 2.7"
4242 secrets : " inherit"
4343 with :
4444 ruby_version : ${{ matrix.ruby_version }}
45- rake_task : ' acceptance:local_parallel '
45+ rake_task : ' acceptance'
4646 puppet_version : ${{ matrix.puppet_gem_version }}
4747 runs_on : ${{ matrix.os }}
48-
Original file line number Diff line number Diff line change 11require : rubocop-rspec
22
33AllCops :
4- TargetRubyVersion : 2.3
4+ TargetRubyVersion : 2.5
55 Exclude :
66 # binstubs, and other utilities
77 - bin/**/*
@@ -178,3 +178,6 @@ Lint/RaiseException:
178178
179179Lint/StructNewOverride :
180180 Enabled : true
181+
182+ RSpec/MultipleMemoizedHelpers :
183+ Max : 14
Original file line number Diff line number Diff line change @@ -11,8 +11,9 @@ group :development do
1111 gem 'rake' , '~> 12.0'
1212 gem 'rspec' , '~> 3.0'
1313
14- gem 'rubocop' , [ '~> 0.68' , '< 0.82.0' ]
15- gem 'rubocop-rspec' , '~> 1.38'
14+ gem 'rubocop' , '= 1.6.1' , require : false
15+ gem 'rubocop-performance' , '= 1.9.1' , require : false
16+ gem 'rubocop-rspec' , '= 2.0.1' , require : false
1617
1718 gem 'codecov' , '~> 0.1'
1819 gem 'github_changelog_generator' , '~> 1.15' , require : false
Original file line number Diff line number Diff line change @@ -16,9 +16,7 @@ class Builder
1616 '/vendor/' ,
1717 ] . freeze
1818
19- attr_reader :destination
20-
21- attr_reader :logger
19+ attr_reader :destination , :logger
2220
2321 def initialize ( source , destination = nil , logger = nil )
2422 raise ArgumentError , 'logger is expected to be nil or a Logger. Got %{klass}' % { klass : logger . class } unless logger . nil? || logger . is_a? ( Logger )
@@ -143,7 +141,7 @@ def copy_mtime(path)
143141 #
144142 # @return [Boolean] true if the path matches and should be ignored.
145143 def ignored_path? ( path )
146- path = path . to_s + '/' if File . directory? ( path )
144+ path = " #{ path } /" if File . directory? ( path )
147145
148146 ignored_files . match_path ( path , source )
149147 end
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
99 spec . email = [ '[email protected] ' , 'https://puppetlabs.github.io/iac/' ] 1010 spec . summary = 'A gem to set up puppet-modulebuilder'
1111 spec . homepage = 'https://github.com/puppetlabs/puppet-modulebuilder'
12- spec . required_ruby_version = Gem ::Requirement . new ( '>= 2.1 .0' )
12+ spec . required_ruby_version = Gem ::Requirement . new ( '>= 2.5 .0' )
1313 spec . license = 'Apache-2.0'
1414
1515 spec . metadata [ 'homepage_uri' ] = spec . homepage
You can’t perform that action at this time.
0 commit comments