Commit 40b03f3b89e9831e35a2b26ef886042c2bc969d7
1 parent
2f7e58ad
Exists in
master
and in
1 other branch
Rubocop: one of the small consistencies: a single trailing blank line
Showing
22 changed files
with
2 additions
and
27 deletions
Show diff stats
.rubocop_todo.yml
| @@ -369,12 +369,6 @@ Style/SymbolProc: | @@ -369,12 +369,6 @@ Style/SymbolProc: | ||
| 369 | - 'app/models/deploy.rb' | 369 | - 'app/models/deploy.rb' |
| 370 | - 'spec/models/deploy_spec.rb' | 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 | # Offense count: 13 | 372 | # Offense count: 13 |
| 379 | # Cop supports --auto-correct. | 373 | # Cop supports --auto-correct. |
| 380 | # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles. | 374 | # Configuration parameters: EnforcedStyleForMultiline, SupportedStyles. |
app/controllers/deploys_controller.rb
app/controllers/users_controller.rb
| @@ -73,4 +73,3 @@ protected | @@ -73,4 +73,3 @@ protected | ||
| 73 | @user_password_params ||= params[:user] ? params.require(:user).permit(:password, :password_confirmation) : {} | 73 | @user_password_params ||= params[:user] ? params.require(:user).permit(:password, :password_confirmation) : {} |
| 74 | end | 74 | end |
| 75 | end | 75 | end |
| 76 | - |
app/helpers/problems_helper.rb
app/models/app.rb
app/models/deploy.rb
app/models/notification_services/hubot_service.rb
| @@ -29,4 +29,3 @@ class NotificationServices::HubotService < NotificationService | @@ -29,4 +29,3 @@ class NotificationServices::HubotService < NotificationService | ||
| 29 | HTTParty.post(url, :body => {:message => message_for_hubot(problem), :room => room_id}) | 29 | HTTParty.post(url, :body => {:message => message_for_hubot(problem), :room => room_id}) |
| 30 | end | 30 | end |
| 31 | end | 31 | end |
| 32 | - |
app/models/watcher.rb
autotest/discover.rb
config/initializers/hoptoad.rb
| @@ -6,4 +6,3 @@ HoptoadNotifier.configure do |config| | @@ -6,4 +6,3 @@ HoptoadNotifier.configure do |config| | ||
| 6 | # Don't log error that causes 404 page | 6 | # Don't log error that causes 404 page |
| 7 | config.ignore << "Mongoid::Errors::DocumentNotFound" | 7 | config.ignore << "Mongoid::Errors::DocumentNotFound" |
| 8 | end | 8 | end |
| 9 | - |
config/routes.rb
config/unicorn.default.rb
lib/airbrake_api/params_error.rb
lib/airbrake_api/v3/notice_parser.rb
lib/hoptoad.rb
lib/overrides/hoptoad_notifier/hoptoad_notifier.rb
lib/recurse.rb
lib/tasks/heroku/cron.rake
| @@ -2,4 +2,3 @@ desc "This task is called by the Heroku cron add-on" | @@ -2,4 +2,3 @@ desc "This task is called by the Heroku cron add-on" | ||
| 2 | task :cron => :environment do | 2 | task :cron => :environment do |
| 3 | Rake::Task["errbit:db:clear_resolved"].invoke | 3 | Rake::Task["errbit:db:clear_resolved"].invoke |
| 4 | end | 4 | end |
| 5 | - |
spec/fabricators/app_fabricator.rb
spec/fabricators/comment_fabricator.rb
spec/fabricators/sequences_fabricator.rb
spec/models/deploy_spec.rb
| @@ -39,4 +39,3 @@ describe Deploy, type: 'model' do | @@ -39,4 +39,3 @@ describe Deploy, type: 'model' do | ||
| 39 | expect(Deploy.new(:revision => "1234567890abcdef").short_revision).to eq "1234567" | 39 | expect(Deploy.new(:revision => "1234567890abcdef").short_revision).to eq "1234567" |
| 40 | end | 40 | end |
| 41 | end | 41 | end |
| 42 | - |