Browse Source

👮 newline at end of file

dev
Andy Meneely 10 years ago
parent
commit
dad2ab5ba9
  1. 2
      benchmarks/antialias_best.rb
  2. 2
      benchmarks/antialias_fast.rb
  3. 2
      benchmarks/backend_memory.rb
  4. 2
      benchmarks/backend_svg.rb
  5. 2
      benchmarks/tons_of_png.rb
  6. 2
      benchmarks/tons_of_svg.rb
  7. 2
      benchmarks/tons_of_text.rb
  8. 2
      lib/squib/args/color_validator.rb
  9. 2
      lib/squib/graphics/gradient_regex.rb
  10. 1
      lib/squib/graphics/shapes.rb
  11. 2
      samples/cairo_access.rb
  12. 2
      samples/config_text_markup.rb
  13. 2
      samples/gradients.rb
  14. 1
      samples/hand.rb
  15. 2
      samples/hello_world.rb
  16. 2
      samples/showcase.rb
  17. 2
      spec/api/api_settings_spec.rb
  18. 2
      spec/args/paint_spec.rb
  19. 2
      spec/args/paragraph_spec.rb
  20. 2
      spec/args/range_spec.rb
  21. 2
      spec/args/transform_spec.rb
  22. 2
      spec/args/typographer_spec.rb
  23. 2
      spec/args/unit_conversion_spec.rb
  24. 2
      spec/card_spec.rb
  25. 2
      spec/logger_spec.rb
  26. 2
      spec/samples/sanity.rb

2
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
end

2
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
end

2
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
end

2
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
end

2
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
end

2
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
end

2
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
end

2
lib/squib/args/color_validator.rb

@ -9,4 +9,4 @@ module Squib
end
end
end
end

2
lib/squib/graphics/gradient_regex.rb

@ -44,4 +44,4 @@ module Squib
\s* # trailing whitespace is ok
/x
end
end
end

1
lib/squib/graphics/shapes.rb

@ -132,4 +132,3 @@ module Squib
end
end

2
samples/cairo_access.rb

@ -25,4 +25,4 @@ Squib::Deck.new(cards: 2) do
end
save_png prefix: 'cairo_access_'
end
end

2
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
end

2
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
end

1
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

2
samples/hello_world.rb

@ -3,4 +3,4 @@ require 'squib'
Squib::Deck.new(cards: 2) do
text str: %w(Hello World!)
save_png
end
end

2
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
end

2
spec/api/api_settings_spec.rb

@ -35,4 +35,4 @@ describe Squib::Deck do
end
end
end

2
spec/args/paint_spec.rb

@ -19,4 +19,4 @@ describe Squib::Args::Draw do
end
end
end
end

2
spec/args/paragraph_spec.rb

@ -150,4 +150,4 @@ describe Squib::Args::Paragraph do
end
end
end
end

2
spec/args/range_spec.rb

@ -38,4 +38,4 @@ describe Squib::Args::CardRange do
expect(range.to_a).to eq([])
end
end
end

2
spec/args/transform_spec.rb

@ -22,4 +22,4 @@ describe Squib::Args::Box do
end
end
end

2
spec/args/typographer_spec.rb

@ -68,4 +68,4 @@ it 'single quotes inside double quotes' do
end
end

2
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
end

2
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
end

2
spec/logger_spec.rb

@ -9,4 +9,4 @@ describe Squib.logger do
expect($stdout.string).to match /WARN: Test warn/
$stdout = oldstdout
end
end
end

2
spec/samples/sanity.rb

@ -67,4 +67,4 @@ class Sanity
end
end
end
end

Loading…
Cancel
Save