diff --git a/samples/units.rb b/samples/units.rb index be1f183..00b92eb 100644 --- a/samples/units.rb +++ b/samples/units.rb @@ -1,6 +1,6 @@ require 'squib' -Squib::Deck.new(width: 825, height: 1125, cards: 3) do +Squib::Deck.new(width: 825, height: 1125) do background color: :white bleed = inches(0.125) diff --git a/spec/data/samples/units.rb.txt b/spec/data/samples/units.rb.txt index 914e644..29b2a49 100644 --- a/spec/data/samples/units.rb.txt +++ b/spec/data/samples/units.rb.txt @@ -4,32 +4,6 @@ cairo: set_source_color([#]) -cairo: paint([]) -cairo: restore([]) -cairo: save([]) -cairo: set_source_color([#]) -cairo: paint([]) -cairo: restore([]) -cairo: save([]) -cairo: rounded_rectangle([37.5, 37.5, 750.0, 1050.0, 25, 25]) -cairo: set_source_color([#]) -cairo: set_line_width([2.0]) -cairo: stroke([]) -cairo: rounded_rectangle([37.5, 37.5, 750.0, 1050.0, 25, 25]) -cairo: set_source_color([#]) -cairo: fill([]) -cairo: restore([]) -cairo: save([]) -cairo: rounded_rectangle([37.5, 37.5, 750.0, 1050.0, 25, 25]) -cairo: set_source_color([#]) -cairo: set_line_width([2.0]) -cairo: stroke([]) -cairo: rounded_rectangle([37.5, 37.5, 750.0, 1050.0, 25, 25]) -cairo: set_source_color([#]) -cairo: fill([]) -cairo: restore([]) -cairo: save([]) cairo: rounded_rectangle([37.5, 37.5, 750.0, 1050.0, 25, 25]) cairo: set_source_color([#]) cairo: set_line_width([2.0])