From 78aacafe5485f90e3bcadb7abcb0ca1630833657 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Fri, 3 Jul 2015 17:22:17 +0200 Subject: [PATCH] Applied rubocop cop 'Style/EmptyLines'. --- app/helpers/application_helper.rb | 2 +- lib/tweet.rb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 95c5f2c00..02ca60ce6 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -2,7 +2,7 @@ module ApplicationHelper def inline_svg(path) - File.open("public/assets/images/#{path}", "rb") do |file| + File.open("public/assets/images/#{path}", 'rb') do |file| raw file.read end end diff --git a/lib/tweet.rb b/lib/tweet.rb index 44c19a07c..9a6df4c03 100644 --- a/lib/tweet.rb +++ b/lib/tweet.rb @@ -45,7 +45,7 @@ class Tweet def to_user(tweet) - Rails.logger.debug "Create user from tweet..." + Rails.logger.debug 'Create user from tweet...' Rails.logger.debug tweet.inspect # do tweet_user lookup @@ -92,7 +92,7 @@ class Tweet def to_ticket(tweet, user, group_id) - Rails.logger.debug "Create ticket from tweet..." + Rails.logger.debug 'Create ticket from tweet...' Rails.logger.debug tweet.inspect Rails.logger.debug user.inspect Rails.logger.debug group_id.inspect @@ -120,7 +120,7 @@ class Tweet def to_article(tweet, user, ticket) - Rails.logger.debug "Create article from tweet..." + Rails.logger.debug 'Create article from tweet...' Rails.logger.debug tweet.inspect Rails.logger.debug user.inspect Rails.logger.debug ticket.inspect @@ -207,7 +207,7 @@ class Tweet ) elsif article[:type] == 'twitter status' - Rails.logger.debug "Create tweet from article..." + Rails.logger.debug 'Create tweet from article...' tweet = @client.update( article[:body],