-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* SRCH-202 - scrub job keywords from query * update jobs.rb to have options in the jobs module * change job_scrub to scrub_keyword, squish instead of strip, delete instead of gsub * add a comment to explain why we keeping the keyword * fix bracket and update scrub_keyword spec * update jobs.rb to scrub jobs if employment, or jobs or posting or opening * spec/vcr_cassettes/govbox_set/new_query_/affiliate_geoip_info_when_the_affiliate_has_the_jobs_govbox_enabled.yml * update vcr cassettes * SRCH-183, SRCH - 181 - bulk reindex urls * test to check urls can be enqueued for reindexing * wrap line for attr_accessible remove parenthesis in rspec test * Feature/bool db column urls (#172) * SRCH-179 - Add a boolean column to the searchgov_urls * update structure.sql * migration file for enqueued for reindex to searachgov_url
- Loading branch information
Showing
11 changed files
with
127 additions
and
64 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,18 @@ | ||
new: | ||
url: http://www.agency.gov/new | ||
|
||
outdated: | ||
url: http://www.agency.gov/outdated | ||
last_crawled_at: <%= 1.week.ago.to_s(:db) %> | ||
lastmod: <%= 1.day.ago.to_s(:db) %> | ||
|
||
current: | ||
url: http://www.agency.gov/current | ||
last_crawled_at: <%= 1.day.ago.to_s(:db) %> | ||
lastmod: <%= 1.week.ago.to_s(:db) %> | ||
|
||
enqueued: | ||
url: http://www.agency.gov/enqueued | ||
last_crawled_at: <%= 1.day.ago.to_s(:db) %> | ||
lastmod: <%= 1.week.ago.to_s(:db) %> | ||
enqueued_for_reindex: true |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1222,9 +1222,9 @@ http_interactions: | |
string: '' | ||
headers: | ||
Authorization-Key: | ||
- Qbk5RB/WRc1ctYqwojqlSKeoLVrwokT8OnSLq+G1qu0= | ||
- "<JOBS_AUTHORIZATION_KEY>" | ||
User-Agent: | ||
- [email protected] | ||
- "<JOBS_USER_AGENT>" | ||
Accept-Encoding: | ||
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | ||
Accept: | ||
|
@@ -1877,9 +1877,9 @@ http_interactions: | |
string: '' | ||
headers: | ||
Authorization-Key: | ||
- Qbk5RB/WRc1ctYqwojqlSKeoLVrwokT8OnSLq+G1qu0= | ||
- "<JOBS_AUTHORIZATION_KEY>" | ||
User-Agent: | ||
- [email protected] | ||
- "<JOBS_USER_AGENT>" | ||
Accept-Encoding: | ||
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | ||
Accept: | ||
|
@@ -3061,7 +3061,7 @@ http_interactions: | |
Authorization-Key: | ||
- Qbk5RB/WRc1ctYqwojqlSKeoLVrwokT8OnSLq+G1qu0= | ||
User-Agent: | ||
- [email protected] | ||
- "<JOBS_USER_AGENT>" | ||
Accept-Encoding: | ||
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | ||
Accept: | ||
|
@@ -3111,9 +3111,9 @@ http_interactions: | |
string: '' | ||
headers: | ||
Authorization-Key: | ||
- Qbk5RB/WRc1ctYqwojqlSKeoLVrwokT8OnSLq+G1qu0= | ||
- "<JOBS_AUTHORIZATION_KEY>" | ||
User-Agent: | ||
- [email protected] | ||
- "<JOBS_USER_AGENT>" | ||
Accept-Encoding: | ||
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | ||
Accept: | ||
|
@@ -3163,9 +3163,9 @@ http_interactions: | |
string: '' | ||
headers: | ||
Authorization-Key: | ||
- Qbk5RB/WRc1ctYqwojqlSKeoLVrwokT8OnSLq+G1qu0= | ||
- "<JOBS_AUTHORIZATION_KEY>" | ||
User-Agent: | ||
- [email protected] | ||
- "<JOBS_USER_AGENT>" | ||
Accept-Encoding: | ||
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | ||
Accept: | ||
|
@@ -4345,9 +4345,9 @@ http_interactions: | |
string: '' | ||
headers: | ||
Authorization-Key: | ||
- Qbk5RB/WRc1ctYqwojqlSKeoLVrwokT8OnSLq+G1qu0= | ||
- "<JOBS_AUTHORIZATION_KEY>" | ||
User-Agent: | ||
- [email protected] | ||
- "<JOBS_USER_AGENT>" | ||
Accept-Encoding: | ||
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | ||
Accept: | ||
|
@@ -4975,9 +4975,9 @@ http_interactions: | |
string: '' | ||
headers: | ||
Authorization-Key: | ||
- Qbk5RB/WRc1ctYqwojqlSKeoLVrwokT8OnSLq+G1qu0= | ||
- "<JOBS_AUTHORIZATION_KEY>" | ||
User-Agent: | ||
- [email protected] | ||
- "<JOBS_USER_AGENT>" | ||
Accept-Encoding: | ||
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | ||
Accept: | ||
|
@@ -5229,9 +5229,9 @@ http_interactions: | |
string: '' | ||
headers: | ||
Authorization-Key: | ||
- Qbk5RB/WRc1ctYqwojqlSKeoLVrwokT8OnSLq+G1qu0= | ||
- "<JOBS_AUTHORIZATION_KEY>" | ||
User-Agent: | ||
- [email protected] | ||
- "<JOBS_USER_AGENT>" | ||
Accept-Encoding: | ||
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3 | ||
Accept: | ||
|
Oops, something went wrong.