-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduced code and security analysis checkers.
- Loading branch information
Vijay Raghavan Aravamudhan
committed
Oct 20, 2017
1 parent
f58d9f0
commit 92a5b5c
Showing
9 changed files
with
250 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,4 @@ | |
Passwords.txt | ||
|
||
/coverage/ | ||
/brakeman-report.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MetricFu.configuration.configure_metrics.each do |metric| | ||
metric.enabled = ![:flog, :reek].include?(metric.name) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# frozen_string_literal: true | ||
|
||
if Rails.env.test? || Rails.env.development? | ||
Rails.application.configure do | ||
config.after_initialize do | ||
Bullet.enable = true | ||
Bullet.alert = true | ||
Bullet.bullet_logger = true | ||
Bullet.console = true | ||
# Bullet.growl = true | ||
# Bullet.xmpp = { account: '[email protected]', | ||
# password: 'bullets_password_for_jabber', | ||
# receiver: '[email protected]', | ||
# show_online_status: true } | ||
Bullet.rails_logger = true | ||
# Bullet.honeybadger = true | ||
# Bullet.bugsnag = true | ||
# Bullet.airbrake = true | ||
# Bullet.rollbar = true | ||
Bullet.add_footer = true | ||
# Bullet.stacktrace_includes = [ 'your_gem', 'your_middleware' ] | ||
# Bullet.slack = { webhook_url: 'http://some.slack.url', foo: 'bar' } | ||
end | ||
end | ||
end |
Oops, something went wrong.