From 1dfc6988ed285891d5f043150b2b7f52c1d6622f Mon Sep 17 00:00:00 2001 From: Rhys Kidd Date: Sat, 27 Jan 2018 15:24:41 -0500 Subject: [PATCH] Update to current Pelias contact email address Per https://github.com/pelias/pelias/tree/master/announcements/2018-01-02-pelias-update replace all @mapzen.com email addresses with the current Pelias contact email address. grep used to confirm no '@mapzen.com' remain. --- sanitizer/_deprecate_quattroshapes.js | 2 +- test/ciao/reverse/sources_deprecation_warning.coffee | 2 +- test/ciao/search/sources_deprecation_warning.coffee | 2 +- test/unit/sanitizer/_deprecate_quattroshapes.js | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sanitizer/_deprecate_quattroshapes.js b/sanitizer/_deprecate_quattroshapes.js index 50f3af8e..1db2fef1 100644 --- a/sanitizer/_deprecate_quattroshapes.js +++ b/sanitizer/_deprecate_quattroshapes.js @@ -26,7 +26,7 @@ function _sanitize( raw, clean, opts ) { 'replaced by Who\'s on First, an actively maintained data project based on Quattroshapes' + 'Your existing queries WILL CONTINUE TO WORK for the foreseeable future, but results will ' + 'be coming from Who\'s on First and `sources=quattroshapes` will be interpreted as ' + - '`sources=whosonfirst`. If you have any questions, please email search@mapzen.com.'); + '`sources=whosonfirst`. If you have any questions, please email pelias.team@gmail.com.'); // user requested 'quattroshapes', we will give them 'whosonfirst' instead. sources = _.without(sources, 'quattroshapes', 'qs'); diff --git a/test/ciao/reverse/sources_deprecation_warning.coffee b/test/ciao/reverse/sources_deprecation_warning.coffee index 45c2c967..51445800 100644 --- a/test/ciao/reverse/sources_deprecation_warning.coffee +++ b/test/ciao/reverse/sources_deprecation_warning.coffee @@ -27,7 +27,7 @@ should.not.exist json.geocoding.errors #? expected warnings should.exist json.geocoding.warnings -json.geocoding.warnings.should.eql ['You are using Quattroshapes as a data source in this query. Quattroshapes has been disabled as a data source for Mapzen Search, and has beenreplaced by Who\'s on First, an actively maintained data project based on QuattroshapesYour existing queries WILL CONTINUE TO WORK for the foreseeable future, but results will be coming from Who\'s on First and `sources=quattroshapes` will be interpreted as `sources=whosonfirst`. If you have any questions, please email search@mapzen.com.' ] +json.geocoding.warnings.should.eql ['You are using Quattroshapes as a data source in this query. Quattroshapes has been disabled as a data source for Mapzen Search, and has beenreplaced by Who\'s on First, an actively maintained data project based on QuattroshapesYour existing queries WILL CONTINUE TO WORK for the foreseeable future, but results will be coming from Who\'s on First and `sources=quattroshapes` will be interpreted as `sources=whosonfirst`. If you have any questions, please email pelias.team@gmail.com.' ] #? inputs json.geocoding.query['size'].should.eql 10 diff --git a/test/ciao/search/sources_deprecation_warning.coffee b/test/ciao/search/sources_deprecation_warning.coffee index c6d96a2c..fe82d298 100644 --- a/test/ciao/search/sources_deprecation_warning.coffee +++ b/test/ciao/search/sources_deprecation_warning.coffee @@ -27,7 +27,7 @@ should.not.exist json.geocoding.errors #? expected warnings should.exist json.geocoding.warnings -json.geocoding.warnings.should.eql ['You are using Quattroshapes as a data source in this query. Quattroshapes has been disabled as a data source for Mapzen Search, and has beenreplaced by Who\'s on First, an actively maintained data project based on QuattroshapesYour existing queries WILL CONTINUE TO WORK for the foreseeable future, but results will be coming from Who\'s on First and `sources=quattroshapes` will be interpreted as `sources=whosonfirst`. If you have any questions, please email search@mapzen.com.' ] +json.geocoding.warnings.should.eql ['You are using Quattroshapes as a data source in this query. Quattroshapes has been disabled as a data source for Mapzen Search, and has beenreplaced by Who\'s on First, an actively maintained data project based on QuattroshapesYour existing queries WILL CONTINUE TO WORK for the foreseeable future, but results will be coming from Who\'s on First and `sources=quattroshapes` will be interpreted as `sources=whosonfirst`. If you have any questions, please email pelias.team@gmail.com.' ] #? inputs json.geocoding.query['size'].should.eql 10 diff --git a/test/unit/sanitizer/_deprecate_quattroshapes.js b/test/unit/sanitizer/_deprecate_quattroshapes.js index d468b97f..6cbe1f09 100644 --- a/test/unit/sanitizer/_deprecate_quattroshapes.js +++ b/test/unit/sanitizer/_deprecate_quattroshapes.js @@ -15,7 +15,7 @@ module.exports.tests.warning_message_1 = function(test, common) { 'replaced by Who\'s on First, an actively maintained data project based on Quattroshapes' + 'Your existing queries WILL CONTINUE TO WORK for the foreseeable future, but results will ' + 'be coming from Who\'s on First and `sources=quattroshapes` will be interpreted as ' + - '`sources=whosonfirst`. If you have any questions, please email search@mapzen.com.'] + '`sources=whosonfirst`. If you have any questions, please email pelias.team@gmail.com.'] }, 'warning emitted'); t.end(); @@ -35,7 +35,7 @@ module.exports.tests.warning_message_2 = function(test, common) { 'replaced by Who\'s on First, an actively maintained data project based on Quattroshapes' + 'Your existing queries WILL CONTINUE TO WORK for the foreseeable future, but results will ' + 'be coming from Who\'s on First and `sources=quattroshapes` will be interpreted as ' + - '`sources=whosonfirst`. If you have any questions, please email search@mapzen.com.'] + '`sources=whosonfirst`. If you have any questions, please email pelias.team@gmail.com.'] }, 'warning emitted'); t.end();