Note that the `sitemap:refresh` task only pings search engines at the end, so it only does so for the `Sitemap.default_host` defined last. So we're using the `sitemap:refresh:no_ping` task instead and pinging search engines after creating each sitemap. Note we're pinging search engines in staging and preproduction environments. I'm leaving it that way because that's what we've done until now, but I wonder whether we should only do so on production. Since we're creating a new method to get the current url_options, we're also using it in the dev_seeds.
38 lines
594 B
Plaintext
38 lines
594 B
Plaintext
# Version control
|
|
.git
|
|
.gitignore
|
|
|
|
# Confidential information
|
|
config/database.yml
|
|
config/secrets.yml
|
|
config/deploy-secrets.yml
|
|
config/maintenance.yml
|
|
|
|
# Logfiles and tempfiles.
|
|
**/log/*
|
|
!**/log/.keep
|
|
**/tmp/
|
|
|
|
# Files attached by users
|
|
public/system/
|
|
public/ckeditor_assets/
|
|
storage/
|
|
|
|
# Files generated by scripts or compiled
|
|
public/sitemap.xml
|
|
public/tenants/*/sitemap.xml
|
|
public/assets/
|
|
public/machine_learning/data/
|
|
|
|
# Bundler config, cache and gemsets
|
|
**/.bundle/
|
|
**/.ruby-gemset
|
|
|
|
# Files used in local development
|
|
**/.byebug_history
|
|
**/.DS_Store
|
|
|
|
# Test results
|
|
spec/examples.txt
|
|
coverage/
|