Package: ruby-prawn-table / 0.2.2-4

Metadata

Package Version Patches format
ruby-prawn-table 0.2.2-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
clean_spec_helper.patch | (download)

spec/spec_helper.rb | 11 1 + 10 - 0 !
1 file changed, 1 insertion(+), 10 deletions(-)

 remove unneeded stuff from spec_helper file
 - remove call to bundler
 - remove test coverage
 - use path relative to LOAD_PATH instead of a require_relative to load
   prawn/table.rb
no_require_relative_in_specs.patch | (download)

spec/cell_spec.rb | 2 1 + 1 - 0 !
spec/table_spec.rb | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 do not use require_relative in specs
 Use instead require, and let the interpreter find the lib
 The tests should not rely on the presence of the lib/ directory for
 autopkgtest purposes.
mocha 3.patch | (download)

spec/table_spec.rb | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 spec: fix mocha 3+ strict keyword-argument matching in #style test
 Mocha 3.0+ (default on Ruby 3+) now treats `.with(foo: bar)` as real
 keyword arguments, while Prawn::Table#style (lib/prawn/table.rb:254)
 always passes the options hash *positionally*.