Skip to content

Commit

Permalink
Require at least Ruby 2.1
Browse files Browse the repository at this point in the history
While this will still work with older versions, this lint check is only
intended for Puppet 4 and newer Ruby 2.1 is safe to assume.
  • Loading branch information
ekohl committed Nov 28, 2019
1 parent e6c6fcb commit 824bcb1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
language: ruby
sudo: false
cache: bundler
script:
- bundle exec rake spec
- bundle exec rake spec
rvm:
- 1.9.3
- 2.0.0
- 2.1.5
- "2.1"
- "2.4"
- "2.5"
- "2.6"
matrix:
fast_finish: true
deploy:
provider: rubygems
api_key:
secure: "QpxxVQ8+0af/LVbFtZRYlJcY431xX7VTqPT7jjwO3x0PV3MLJcH+baGvoxAceAEbD0xgHPQGiFxSNhAZIwDBg9hW28ADP089HO0yxPxY/G7hBdLU9ZpSVe14p2V2M30SKcJ+vmNugK4oq26/ebe5NmoUCALClwyjZMNCXHr8OoQ="
on:
rvm: 2.1.5
rvm: "2.6"
tags: true
all_branches: true
notifications:
Expand Down
2 changes: 2 additions & 0 deletions puppet-lint-absolute_classname-check.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Gem::Specification.new do |spec|
A puppet-lint plugin to check that classes are included by their absolute name.
EOF

spec.required_ruby_version = '>= 2.1.0'

spec.add_dependency 'puppet-lint', '>= 1.0', '< 3.0'
spec.add_development_dependency 'coveralls'
spec.add_development_dependency 'mime-types'
Expand Down

0 comments on commit 824bcb1

Please sign in to comment.