Commit 40b03f3b89e9831e35a2b26ef886042c2bc969d7

Authored by Laust Rud Jacobsen
1 parent 2f7e58ad
Exists in master and in 1 other branch production

Rubocop: one of the small consistencies: a single trailing blank line

.rubocop_todo.yml
... ... @@ -369,12 +369,6 @@ Style/SymbolProc:
369 369 - 'app/models/deploy.rb'
370 370 - 'spec/models/deploy_spec.rb'
371 371  
372   -# Offense count: 21
373   -# Cop supports --auto-correct.
374   -# Configuration parameters: EnforcedStyle, SupportedStyles.
375   -Style/TrailingBlankLines:
376   - Enabled: false
377   -
378 372 # Offense count: 13
379 373 # Cop supports --auto-correct.
380 374 # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
... ...
app/controllers/deploys_controller.rb
... ... @@ -40,4 +40,3 @@ private
40 40 }
41 41 end
42 42 end
43   -
... ...
app/controllers/users_controller.rb
... ... @@ -73,4 +73,3 @@ protected
73 73 @user_password_params ||= params[:user] ? params.require(:user).permit(:password, :password_confirmation) : {}
74 74 end
75 75 end
76   -
... ...
app/helpers/problems_helper.rb
... ... @@ -29,4 +29,3 @@ module ProblemsHelper
29 29 "#{url}/avatar/#{email_hash}?#{params.to_query}"
30 30 end
31 31 end
32   -
... ...
app/models/app.rb
... ... @@ -218,4 +218,3 @@ protected
218 218 github_repo.sub!(/\.git$/, '')
219 219 end
220 220 end
221   -
... ...
app/models/deploy.rb
... ... @@ -44,4 +44,3 @@ protected
44 44 end
45 45 end
46 46 end
47   -
... ...
app/models/notification_services/hubot_service.rb
... ... @@ -29,4 +29,3 @@ class NotificationServices::HubotService < NotificationService
29 29 HTTParty.post(url, :body => {:message => message_for_hubot(problem), :room => room_id})
30 30 end
31 31 end
32   -
... ...
app/models/watcher.rb
... ... @@ -40,4 +40,3 @@ protected
40 40 end
41 41 end
42 42 end
43   -
... ...
autotest/discover.rb
1 1 Autotest.add_discovery { "rails" }
2 2 Autotest.add_discovery { "rspec2" }
3   -
... ...
config/initializers/hoptoad.rb
... ... @@ -6,4 +6,3 @@ HoptoadNotifier.configure do |config|
6 6 # Don't log error that causes 404 page
7 7 config.ignore << "Mongoid::Errors::DocumentNotFound"
8 8 end
9   -
... ...
config/routes.rb
... ... @@ -71,4 +71,3 @@ Rails.application.routes.draw do
71 71  
72 72 root :to => 'apps#index'
73 73 end
74   -
... ...
config/unicorn.default.rb
... ... @@ -29,4 +29,3 @@ before_fork do |server, _worker|
29 29 end
30 30 end
31 31 end
32   -
... ...
lib/airbrake_api/params_error.rb
1 1 module AirbrakeApi
2 2 class ParamsError < StandardError; end
3   -end
4 3 \ No newline at end of file
  4 +end
... ...
lib/airbrake_api/v3/notice_parser.rb
... ... @@ -86,4 +86,4 @@ module AirbrakeApi
86 86 end
87 87 end
88 88 end
89   -end
90 89 \ No newline at end of file
  90 +end
... ...
lib/hoptoad.rb
... ... @@ -22,4 +22,3 @@ module Hoptoad
22 22 end
23 23 end
24 24 end
25   -
... ...
lib/overrides/hoptoad_notifier/hoptoad_notifier.rb
... ... @@ -21,4 +21,3 @@ HoptoadNotifier.module_eval do
21 21 end
22 22 end
23 23 end
24   -
... ...
lib/recurse.rb
... ... @@ -20,4 +20,3 @@ class Hash
20 20 yield h
21 21 end
22 22 end
23   -
... ...
lib/tasks/heroku/cron.rake
... ... @@ -2,4 +2,3 @@ desc &quot;This task is called by the Heroku cron add-on&quot;
2 2 task :cron => :environment do
3 3 Rake::Task["errbit:db:clear_resolved"].invoke
4 4 end
5   -
... ...
spec/fabricators/app_fabricator.rb
... ... @@ -27,4 +27,3 @@ Fabricator(:deploy) do
27 27 environment 'production'
28 28 revision { SecureRandom.hex(10) }
29 29 end
30   -
... ...
spec/fabricators/comment_fabricator.rb
... ... @@ -3,4 +3,3 @@ Fabricator :comment do
3 3 body 'Test comment'
4 4 err(:fabricator => :problem)
5 5 end
6   -
... ...
spec/fabricators/sequences_fabricator.rb
1 1 Fabricate.sequence(:name) {|n| "John #{n} Doe"}
2 2 Fabricate.sequence(:word) {|n| "word#{n}"}
3   -
... ...
spec/models/deploy_spec.rb
... ... @@ -39,4 +39,3 @@ describe Deploy, type: &#39;model&#39; do
39 39 expect(Deploy.new(:revision => "1234567890abcdef").short_revision).to eq "1234567"
40 40 end
41 41 end
42   -
... ...