-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(BKR-967) Add :disable_analytics option
Allow :disable_analytics to be set in beaker options, allowing us to block traffic to Google Analytics.
- Loading branch information
james-stocks
committed
Nov 4, 2016
1 parent
6becdbb
commit c9e2565
Showing
3 changed files
with
66 additions
and
3 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
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,9 @@ | ||
# Generates an OptionsHash of preset values for Beaker options relating to PE | ||
# | ||
# @return [OptionsHash] The supported arguments in an OptionsHash | ||
def pe_presets | ||
h = Beaker::Options::OptionsHash.new | ||
h.merge({ | ||
:disable_analytics => true, | ||
}) | ||
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