Rubocop: TrailingBlankLines

dev
Andy Meneely 2014-10-29 12:10:37 -04:00
parent f5ef5ad6fd
commit bf91190b3b
36 changed files with 34 additions and 37 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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 svg range: 1..2, file: 'spanner.svg', x: 620, y: 218
save prefix: 'basic_', format: :png#, progress_bar: true save prefix: 'basic_', format: :png#, progress_bar: true
end end

View File

@ -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 text color: :burnt_orange, str: 'Symbols of constants too', x: 50, y: y+=50
save_png prefix: 'colors_' save_png prefix: 'colors_'
end end

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -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 png file: 'pokercard.png', x:0, y:0, alpha: 0.5
save_png prefix: 'tgc_sample_' save_png prefix: 'tgc_sample_'
end end

View File

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

View File

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

View File

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

View File

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

View File

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