Applied rubocop cop 'Style/EmptyLines'.
This commit is contained in:
parent
9b6bf4e762
commit
78aacafe54
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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],
|
||||
|
|
Loading…
Reference in a new issue