diff --git a/lib/voxpupuli/test/rake.rb b/lib/voxpupuli/test/rake.rb index 84bd895..dfdc9b2 100644 --- a/lib/voxpupuli/test/rake.rb +++ b/lib/voxpupuli/test/rake.rb @@ -21,4 +21,5 @@ end end end -Rake::Task[:release_checks].enhance ['check:trailing_whitespace'] + +task :check => 'check:trailing_whitespace' diff --git a/voxpupuli-test.gemspec b/voxpupuli-test.gemspec index f398cc8..595740e 100644 --- a/voxpupuli-test.gemspec +++ b/voxpupuli-test.gemspec @@ -12,13 +12,15 @@ Gem::Specification.new do |s| s.files = Dir['lib/**/*.rb', 'rubocop.yml'] + s.required_ruby_version = '>= 2.4.0' + s.add_runtime_dependency 'rake' # Testing s.add_runtime_dependency 'facterdb', '>= 1.4.0' s.add_runtime_dependency 'metadata-json-lint' s.add_runtime_dependency 'parallel_tests' - s.add_runtime_dependency 'puppetlabs_spec_helper', '>= 2.14.0' + s.add_runtime_dependency 'puppetlabs_spec_helper', '>= 3.0.0' s.add_runtime_dependency 'rspec-puppet-facts', '>= 1.9.5' s.add_runtime_dependency 'rspec-puppet-utils', '>= 1.9.5'