diff --git a/benchmarks/antialias_best.rb b/benchmarks/antialias_best.rb index ef8448f..198fce4 100644 --- a/benchmarks/antialias_best.rb +++ b/benchmarks/antialias_best.rb @@ -10,4 +10,4 @@ Squib::Deck.new(cards: 200, config: 'antialias_best.yml') do y: (i / 17) * 50 end save_png prefix: 'antialias_best_' -end \ No newline at end of file +end diff --git a/benchmarks/antialias_fast.rb b/benchmarks/antialias_fast.rb index c104af9..00c8f0a 100644 --- a/benchmarks/antialias_fast.rb +++ b/benchmarks/antialias_fast.rb @@ -10,4 +10,4 @@ Squib::Deck.new(cards: 200, config: 'antialias_fast.yml') do y: (i / 17) * 50 end save_png prefix: 'antialias_fast_' -end \ No newline at end of file +end diff --git a/benchmarks/backend_memory.rb b/benchmarks/backend_memory.rb index ff80581..fc5c5ff 100644 --- a/benchmarks/backend_memory.rb +++ b/benchmarks/backend_memory.rb @@ -11,4 +11,4 @@ Squib::Deck.new(cards: 200) do png file: 'shiny-purse.png', x: 250, y: 20 save_png prefix: 'rasterized_' save_pdf file: 'backend.pdf' -end \ No newline at end of file +end diff --git a/benchmarks/backend_svg.rb b/benchmarks/backend_svg.rb index ed8f31f..1fc0e74 100644 --- a/benchmarks/backend_svg.rb +++ b/benchmarks/backend_svg.rb @@ -11,4 +11,4 @@ Squib::Deck.new(cards: 200, config: 'backend-svg.yml') do png file: 'shiny-purse.png', x: 250, y: 20 save_png prefix: 'rasterized_' save_pdf file: 'backend.pdf' -end \ No newline at end of file +end diff --git a/benchmarks/tons_of_png.rb b/benchmarks/tons_of_png.rb index 6cfb9c4..c83639d 100644 --- a/benchmarks/tons_of_png.rb +++ b/benchmarks/tons_of_png.rb @@ -3,4 +3,4 @@ require 'squib' Squib::Deck.new(cards: 200) do png file: 'shiny-purse.png' save_png prefix: 'tons_of_png_' -end \ No newline at end of file +end diff --git a/benchmarks/tons_of_svg.rb b/benchmarks/tons_of_svg.rb index 24a2bd2..a797d31 100644 --- a/benchmarks/tons_of_svg.rb +++ b/benchmarks/tons_of_svg.rb @@ -4,4 +4,4 @@ Squib::Deck.new(cards: 200) do svg file: 'spanner.svg', width: 400, height: 400 save_png prefix: 'tons_of_svg_' -end \ No newline at end of file +end diff --git a/benchmarks/tons_of_text.rb b/benchmarks/tons_of_text.rb index 3d59510..a68b47b 100644 --- a/benchmarks/tons_of_text.rb +++ b/benchmarks/tons_of_text.rb @@ -5,4 +5,4 @@ Squib::Deck.new(cards: 200) do font: 'Sans bold 12', width: 825, ellipsize: false save_png prefix: 'tons_of_text_' -end \ No newline at end of file +end diff --git a/lib/squib/args/color_validator.rb b/lib/squib/args/color_validator.rb index e823197..746a897 100644 --- a/lib/squib/args/color_validator.rb +++ b/lib/squib/args/color_validator.rb @@ -9,4 +9,4 @@ module Squib end end -end \ No newline at end of file +end diff --git a/lib/squib/graphics/gradient_regex.rb b/lib/squib/graphics/gradient_regex.rb index 8605153..173a11b 100644 --- a/lib/squib/graphics/gradient_regex.rb +++ b/lib/squib/graphics/gradient_regex.rb @@ -44,4 +44,4 @@ module Squib \s* # trailing whitespace is ok /x end -end \ No newline at end of file +end diff --git a/lib/squib/graphics/shapes.rb b/lib/squib/graphics/shapes.rb index 5b57eae..ab9f388 100644 --- a/lib/squib/graphics/shapes.rb +++ b/lib/squib/graphics/shapes.rb @@ -132,4 +132,3 @@ module Squib end end - diff --git a/samples/cairo_access.rb b/samples/cairo_access.rb index b5d98a2..dd4b21e 100644 --- a/samples/cairo_access.rb +++ b/samples/cairo_access.rb @@ -25,4 +25,4 @@ Squib::Deck.new(cards: 2) do end save_png prefix: 'cairo_access_' -end \ No newline at end of file +end diff --git a/samples/config_text_markup.rb b/samples/config_text_markup.rb index 42c3007..db7eda7 100644 --- a/samples/config_text_markup.rb +++ b/samples/config_text_markup.rb @@ -17,4 +17,4 @@ Squib::Deck.new(config: 'config_disable_quotes.yml') do x: 10, y: 10, width: 300, height: 200, font: 'Serif 20', markup: true, hint: :cyan save_png prefix: 'config_disable_text_' -end \ No newline at end of file +end diff --git a/samples/gradients.rb b/samples/gradients.rb index aa588e6..09b5b35 100644 --- a/samples/gradients.rb +++ b/samples/gradients.rb @@ -31,4 +31,4 @@ Squib::Deck.new do color: '(0,0)(825,0) #000f@0.0 #0000@1.0' save_png prefix: 'gradient_' -end \ No newline at end of file +end diff --git a/samples/hand.rb b/samples/hand.rb index 4897a1f..95d830b 100644 --- a/samples/hand.rb +++ b/samples/hand.rb @@ -21,4 +21,3 @@ Squib::Deck.new(cards: 8, layout: 'playing-card.yml') do # Tip: you can have the top card be on the left by reversing the range # angle_range: (Math::PI / 4)..(Math::PI / -4) end - diff --git a/samples/hello_world.rb b/samples/hello_world.rb index c7d7e56..3599022 100644 --- a/samples/hello_world.rb +++ b/samples/hello_world.rb @@ -3,4 +3,4 @@ require 'squib' Squib::Deck.new(cards: 2) do text str: %w(Hello World!) save_png -end \ No newline at end of file +end diff --git a/samples/showcase.rb b/samples/showcase.rb index cfc8353..0f4cfcf 100644 --- a/samples/showcase.rb +++ b/samples/showcase.rb @@ -22,4 +22,4 @@ Squib::Deck.new(cards: 4) do file: 'showcase2.png' save_png prefix: 'showcase_individual_' # to show that they're not trimmed -end \ No newline at end of file +end diff --git a/spec/api/api_settings_spec.rb b/spec/api/api_settings_spec.rb index af0b2e6..6e60345 100644 --- a/spec/api/api_settings_spec.rb +++ b/spec/api/api_settings_spec.rb @@ -35,4 +35,4 @@ describe Squib::Deck do end -end \ No newline at end of file +end diff --git a/spec/args/paint_spec.rb b/spec/args/paint_spec.rb index 03553b0..f72c6f2 100644 --- a/spec/args/paint_spec.rb +++ b/spec/args/paint_spec.rb @@ -19,4 +19,4 @@ describe Squib::Args::Draw do end end -end \ No newline at end of file +end diff --git a/spec/args/paragraph_spec.rb b/spec/args/paragraph_spec.rb index a944f9e..d3a8eb7 100644 --- a/spec/args/paragraph_spec.rb +++ b/spec/args/paragraph_spec.rb @@ -150,4 +150,4 @@ describe Squib::Args::Paragraph do end end -end \ No newline at end of file +end diff --git a/spec/args/range_spec.rb b/spec/args/range_spec.rb index 08e413d..cf1479b 100644 --- a/spec/args/range_spec.rb +++ b/spec/args/range_spec.rb @@ -38,4 +38,4 @@ describe Squib::Args::CardRange do expect(range.to_a).to eq([]) end -end \ No newline at end of file +end diff --git a/spec/args/transform_spec.rb b/spec/args/transform_spec.rb index 31339e8..7bd3fa4 100644 --- a/spec/args/transform_spec.rb +++ b/spec/args/transform_spec.rb @@ -22,4 +22,4 @@ describe Squib::Args::Box do end -end \ No newline at end of file +end diff --git a/spec/args/typographer_spec.rb b/spec/args/typographer_spec.rb index 98a4c78..ca8c9af 100644 --- a/spec/args/typographer_spec.rb +++ b/spec/args/typographer_spec.rb @@ -68,4 +68,4 @@ it 'single quotes inside double quotes' do -end \ No newline at end of file +end diff --git a/spec/args/unit_conversion_spec.rb b/spec/args/unit_conversion_spec.rb index 03cea16..82bc248 100644 --- a/spec/args/unit_conversion_spec.rb +++ b/spec/args/unit_conversion_spec.rb @@ -19,4 +19,4 @@ describe Squib::Args::UnitConversion do expect(subject.parse('1cm')).to eq(118.1102361) end -end \ No newline at end of file +end diff --git a/spec/card_spec.rb b/spec/card_spec.rb index 14e0ebf..3b0cbb0 100644 --- a/spec/card_spec.rb +++ b/spec/card_spec.rb @@ -8,4 +8,4 @@ describe Squib::Card do expect(Squib::logger).to receive(:fatal).with("Back end not recognized: 'broken robots'") expect { Squib::Card.new(deck, 100, 100, 0) }.to raise_error SystemExit end -end \ No newline at end of file +end diff --git a/spec/logger_spec.rb b/spec/logger_spec.rb index 3bc61bc..15fb7b7 100644 --- a/spec/logger_spec.rb +++ b/spec/logger_spec.rb @@ -9,4 +9,4 @@ describe Squib.logger do expect($stdout.string).to match /WARN: Test warn/ $stdout = oldstdout end -end \ No newline at end of file +end diff --git a/spec/samples/sanity.rb b/spec/samples/sanity.rb index ad65d48..a641408 100644 --- a/spec/samples/sanity.rb +++ b/spec/samples/sanity.rb @@ -67,4 +67,4 @@ class Sanity end end -end \ No newline at end of file +end