apsislabs / jekyll-tidy

A gem for tidying Jekyll HTML output
MIT License
42 stars 5 forks source link

Support for Ruby<2.3 broken #8

Closed abemedia closed 7 years ago

abemedia commented 7 years ago

Since the dig function used in /lib/jekyll/tidy.rb was introduced in Ruby 2.3, support for older Ruby versions is broken and produces the following error message

path/to/ruby/2.2.0/gems/jekyll-tidy-0.2.0/lib/jekyll/tidy.rb:35:in `ignore_env?': undefined method `dig' for #<Jekyll::Configuration:0x000000024e3750> (NoMethodError)
wkirby commented 7 years ago

@abeMedia We're now testing for support back to Ruby 2.0.0

abemedia commented 7 years ago

Awesome response time, thanks!