-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously we allowed any style of quotation between files and within the same file, which only serves to increase the mental load when trying to write consistent code. It would be quite a large change to reenable the associated RuboCop across the whole of GOV.UK, but this change will help reduce the quotation choice overhead for at least this repo.
- Loading branch information
Ben Thorner
committed
Sep 12, 2019
1 parent
8be6062
commit 3f55cd1
Showing
181 changed files
with
2,196 additions
and
2,192 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
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# Add your own tasks in files placed in lib/tasks ending in .rake, | ||
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | ||
|
||
require File.expand_path('config/application', __dir__) | ||
require File.expand_path("config/application", __dir__) | ||
|
||
if Rails.env.development? && ENV['LIVE'] | ||
puts 'Pointing application at live dependencies...' | ||
ENV['GOVUK_APP_DOMAIN'] = 'www.gov.uk' | ||
ENV['GOVUK_WEBSITE_ROOT'] = 'https://www.gov.uk' | ||
ENV['PLEK_SERVICE_SEARCH_URI'] = 'https://www.gov.uk/api' | ||
ENV['PLEK_SERVICE_CONTENT_STORE_URI'] = 'https://www.gov.uk/api' | ||
ENV['PLEK_SERVICE_STATIC_URI'] = 'assets.publishing.service.gov.uk' | ||
ENV['PLEK_SERVICE_WHITEHALL_ADMIN_URI'] = 'https://www.gov.uk' | ||
if Rails.env.development? && ENV["LIVE"] | ||
puts "Pointing application at live dependencies..." | ||
ENV["GOVUK_APP_DOMAIN"] = "www.gov.uk" | ||
ENV["GOVUK_WEBSITE_ROOT"] = "https://www.gov.uk" | ||
ENV["PLEK_SERVICE_SEARCH_URI"] = "https://www.gov.uk/api" | ||
ENV["PLEK_SERVICE_CONTENT_STORE_URI"] = "https://www.gov.uk/api" | ||
ENV["PLEK_SERVICE_STATIC_URI"] = "assets.publishing.service.gov.uk" | ||
ENV["PLEK_SERVICE_WHITEHALL_ADMIN_URI"] = "https://www.gov.uk" | ||
end | ||
|
||
FinderFrontend::Application.load_tasks |
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
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
Oops, something went wrong.