Browse Source

Rubocop: TrailingBlankLines

dev
Andy Meneely 11 years ago
parent
commit
bf91190b3b
  1. 2
      bin/squib
  2. 2
      lib/squib.rb
  3. 2
      lib/squib/api/background.rb
  4. 1
      lib/squib/api/data.rb
  5. 2
      lib/squib/api/image.rb
  6. 1
      lib/squib/api/save.rb
  7. 2
      lib/squib/api/shapes.rb
  8. 2
      lib/squib/api/text.rb
  9. 2
      lib/squib/api/units.rb
  10. 2
      lib/squib/card.rb
  11. 2
      lib/squib/commands/new.rb
  12. 2
      lib/squib/constants.rb
  13. 2
      lib/squib/deck.rb
  14. 2
      lib/squib/graphics/background.rb
  15. 2
      lib/squib/graphics/save_doc.rb
  16. 2
      lib/squib/graphics/save_images.rb
  17. 2
      lib/squib/graphics/shapes.rb
  18. 2
      lib/squib/graphics/text.rb
  19. 2
      lib/squib/input_helpers.rb
  20. 2
      lib/squib/progress.rb
  21. 2
      lib/squib/project_template/Gemfile
  22. 2
      lib/squib/project_template/deck.rb
  23. 2
      samples/autoscale_font.rb
  24. 2
      samples/basic.rb
  25. 2
      samples/colors.rb
  26. 2
      samples/custom_config.rb
  27. 2
      samples/draw_shapes.rb
  28. 2
      samples/hello_world.rb
  29. 2
      samples/portrait-landscape.rb
  30. 1
      samples/ranges.rb
  31. 2
      samples/tgc_proofs.rb
  32. 2
      samples/use_layout.rb
  33. 4
      spec/commands/new_spec.rb
  34. 2
      spec/input_helpers_spec.rb
  35. 2
      spec/samples_run_spec.rb
  36. 2
      spec/spec_helper.rb

2
bin/squib

@ -16,4 +16,4 @@ Mercenary.program(:squib) do |p|
end
end
end
end

2
lib/squib.rb

@ -29,4 +29,4 @@ module Squib
end
module_function :logger
end
end

2
lib/squib/api/background.rb

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

1
lib/squib/api/data.rb

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

2
lib/squib/api/image.rb

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

1
lib/squib/api/save.rb

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

2
lib/squib/api/shapes.rb

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

2
lib/squib/api/text.rb

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

2
lib/squib/api/units.rb

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

2
lib/squib/card.rb

@ -39,4 +39,4 @@ module Squib
require 'squib/graphics/text'
end
end
end

2
lib/squib/commands/new.rb

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

2
lib/squib/constants.rb

@ -106,4 +106,4 @@ module Squib
:y3 => :y3,
:y_radius => :y_radius,
}
end
end

2
lib/squib/deck.rb

@ -170,4 +170,4 @@ module Squib
require 'squib/api/units'
end
end
end

2
lib/squib/graphics/background.rb

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

2
lib/squib/graphics/save_doc.rb

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

2
lib/squib/graphics/save_images.rb

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

2
lib/squib/graphics/shapes.rb

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

2
lib/squib/graphics/text.rb

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

2
lib/squib/input_helpers.rb

@ -191,4 +191,4 @@ module Squib
module_function :svgidify
end
end
end

2
lib/squib/progress.rb

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

2
lib/squib/project_template/Gemfile

@ -1,3 +1,3 @@
source 'https://rubygems.org'
gem 'squib'
gem 'squib'

2
lib/squib/project_template/deck.rb

@ -3,4 +3,4 @@ require 'squib'
Squib::Deck.new(cards: 3, layout: 'layout.yml') do
text str: 'Hello, World!'
save format: :png
end
end

2
samples/autoscale_font.rb

@ -24,4 +24,4 @@ Squib::Deck.new(cards: 3) do
font: 'Arial', font_size: autoscale(title), hint: :red
save prefix: 'autoscale_', format: :png
end
end

2
samples/basic.rb

@ -17,4 +17,4 @@ Squib::Deck.new(width: 825, height: 1125, cards: 3) do
svg range: 1..2, file: 'spanner.svg', x: 620, y: 218
save prefix: 'basic_', format: :png#, progress_bar: true
end
end

2
samples/colors.rb

@ -13,4 +13,4 @@ Squib::Deck.new(width: 825, height: 1125, cards: 1) do
text color: :burnt_orange, str: 'Symbols of constants too', x: 50, y: y+=50
save_png prefix: 'colors_'
end
end

2
samples/custom_config.rb

@ -16,4 +16,4 @@ Squib::Deck.new(config: 'custom-config.yml') do
save_png prefix: 'custom-config_'
save_pdf file: 'custom-config-out.pdf'
end
end

2
samples/draw_shapes.rb

@ -16,4 +16,4 @@ Squib::Deck.new do
stroke_width: 25.0
save_png prefix: 'shape_'
end
end

2
samples/hello_world.rb

@ -4,4 +4,4 @@ require 'squib'
Squib::Deck.new do
text str: 'Hello, World!'
save_png
end
end

2
samples/portrait-landscape.rb

@ -20,4 +20,4 @@ Squib::Deck.new(width: 1125, height: 825) do
text str: 'This is landscape'
save_png prefix: 'landscape_', rotate: true
end
end

1
samples/ranges.rb

@ -52,4 +52,3 @@ Squib::Deck.new(width: 825, height: 1125, cards: 3) do
save prefix: 'ranges_', format: :png
end

2
samples/tgc_proofs.rb

@ -17,4 +17,4 @@ Squib::Deck.new(width: 825, height: 1125, cards: 1) do
png file: 'pokercard.png', x:0, y:0, alpha: 0.5
save_png prefix: 'tgc_sample_'
end
end

2
samples/use_layout.rb

@ -31,4 +31,4 @@ Squib::Deck.new(layout: 'custom-layout.yml') do
#pp @layout
save_png prefix: 'layout_'
end
end

4
spec/commands/new_spec.rb

@ -43,6 +43,6 @@ describe Squib::Commands::New do
$stderr = @old_stderr
Dir.chdir(@oldpwd)
end
end
end
end
end

2
spec/input_helpers_spec.rb

@ -114,4 +114,4 @@ describe Squib::InputHelpers do
end
end
end
end

2
spec/samples_run_spec.rb

@ -17,4 +17,4 @@ describe Squib do
end
end
end
end

2
spec/spec_helper.rb

@ -9,4 +9,4 @@ SimpleCov.start
def test_file(str)
"#{File.expand_path(File.dirname(__FILE__))}/data/#{str}"
end
end

Loading…
Cancel
Save