Package: foodcritic / 13.1.1-2

Metadata

Package Version Patches format
foodcritic 13.1.1-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
system install layout | (download)

bin/foodcritic | 2 1 + 1 - 0 !
lib/foodcritic/chef.rb | 16 13 + 3 - 0 !
spec/spec_helper.rb | 2 1 + 1 - 0 !
3 files changed, 15 insertions(+), 5 deletions(-)

 we install into vendor_ruby, and ship data in /usr/share/foodcritic

require from vendor_ruby instead of a relative require.
Find chef_dsl_metadata in /usr/share/foodcritic.
hashery lru | (download)

foodcritic.gemspec | 2 1 + 1 - 0 !
lib/foodcritic/api.rb | 4 2 + 2 - 0 !
2 files changed, 3 insertions(+), 3 deletions(-)

 use hashery's lru implementation

We don't have ruby-rufus-lru in the archive, but hashery's implementation is
sufficiently compatible.
autopkgtests no lib | (download)

spec/unit/command_line_spec.rb | 10 5 + 5 - 0 !
spec/unit/linter_spec.rb | 2 2 + 0 - 0 !
2 files changed, 7 insertions(+), 5 deletions(-)

 avoid the lib directory in autopkgtests

The autodep8 ruby tests remove the lib directory, to use the installed library.