voxpupuli / puppet-lint-strict_indent-check

indent check for puppet-lint
Mozilla Public License 2.0
4 stars 10 forks source link

Support ruby 1.8.7 again #6

Closed Reamer closed 8 years ago

Reamer commented 8 years ago

Hi,

without this fix I get this error.

bundle exec rake all
rake aborted!
SyntaxError: /usr/local/rvm/gems/ruby-1.8.7-p374/gems/puppet-lint-strict_indent-check-2.0.2/lib/puppet-lint/plugins/check_strict_indent.rb:154: syntax error, unexpected ')'
/usr/local/rvm/gems/ruby-1.8.7-p374/gems/puppet-lint-2.0.0/lib/puppet-lint/plugins.rb:18:in `load'

I think it's a small fix to work with old ruby versions. I know 1.8.7 is EndOfLife, but some old supported Distros has ruby 1.8.7 as default ruby.

Thanks in advance.

If you accept this change, please don't forget to push this new version to rubygems.

Greetings Reamer

relud commented 8 years ago

released 2.0.3 to rubygems for this

Reamer commented 8 years ago

Thanks, works as expected.