tighter jobs-special

This commit is contained in:
Martin Donnelly 2018-08-09 17:28:34 +01:00
parent bac115650e
commit 7304d9b9c2
2 changed files with 42 additions and 43 deletions

View File

@ -2,9 +2,8 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="c2fd5632-2143-4c7e-8b0d-96d7692b700b" name="Default" comment="">
<change afterPath="$PROJECT_DIR$/plugins/filter_show.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/test.js" beforeDir="false" afterPath="$PROJECT_DIR$/test.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/plugins/filter_reject.js" beforeDir="false" afterPath="$PROJECT_DIR$/plugins/filter_reject.js" afterDir="false" />
</list>
<ignored path="rinser.iws" />
<ignored path=".idea/workspace.xml" />
@ -53,11 +52,11 @@
</provider>
</entry>
</file>
<file leaf-file-name="filter_reject.js" pinned="false" current-in-tab="false">
<file leaf-file-name="filter_reject.js" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/plugins/filter_reject.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="210">
<caret line="14" lean-forward="true" selection-start-line="10" selection-end-line="10" selection-end-column="75" />
<state relative-caret-position="45">
<caret line="3" column="120" selection-start-line="3" selection-start-column="120" selection-end-line="3" selection-end-column="120" />
</state>
</provider>
</entry>
@ -74,13 +73,13 @@
<file leaf-file-name="filter_show.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/plugins/filter_show.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="45">
<caret line="3" column="21" selection-start-line="3" selection-start-column="21" selection-end-line="3" selection-end-column="21" />
<state relative-caret-position="90">
<caret line="6" lean-forward="true" selection-start-line="6" selection-end-line="6" />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="test.js" pinned="false" current-in-tab="true">
<file leaf-file-name="test.js" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/test.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="255">
@ -227,10 +226,10 @@
<option value="$PROJECT_DIR$/v2.gulpfile.js" />
<option value="$PROJECT_DIR$/feeds/jobs-special.json" />
<option value="$PROJECT_DIR$/plugins/filter_location.js" />
<option value="$PROJECT_DIR$/plugins/filter_reject.js" />
<option value="$PROJECT_DIR$/plugins/filter_md_jobs.js" />
<option value="$PROJECT_DIR$/plugins/filter_show.js" />
<option value="$PROJECT_DIR$/test.js" />
<option value="$PROJECT_DIR$/plugins/filter_show.js" />
<option value="$PROJECT_DIR$/plugins/filter_reject.js" />
</list>
</option>
</component>
@ -606,21 +605,7 @@
<workItem from="1530391391023" duration="153000" />
<workItem from="1530557207480" duration="1187000" />
<workItem from="1531587000308" duration="70000" />
<workItem from="1533827599998" duration="2511000" />
</task>
<task id="LOCAL-00074" summary="jobs fix, reverted">
<created>1500371930584</created>
<option name="number" value="00074" />
<option name="presentableId" value="LOCAL-00074" />
<option name="project" value="LOCAL" />
<updated>1500371930584</updated>
</task>
<task id="LOCAL-00075" summary="jobs fix, reverted">
<created>1500371992812</created>
<option name="number" value="00075" />
<option name="presentableId" value="LOCAL-00075" />
<option name="project" value="LOCAL" />
<updated>1500371992812</updated>
<workItem from="1533827599998" duration="3332000" />
</task>
<task id="LOCAL-00076" summary="jobs fix, reverted">
<created>1500372139110</created>
@ -951,11 +936,25 @@
<option name="project" value="LOCAL" />
<updated>1533829429504</updated>
</task>
<option name="localTasksCounter" value="123" />
<task id="LOCAL-00123" summary="tighter jobs-special">
<created>1533830759287</created>
<option name="number" value="00123" />
<option name="presentableId" value="LOCAL-00123" />
<option name="project" value="LOCAL" />
<updated>1533830759287</updated>
</task>
<task id="LOCAL-00124" summary="tighter jobs-special">
<created>1533830877438</created>
<option name="number" value="00124" />
<option name="presentableId" value="LOCAL-00124" />
<option name="project" value="LOCAL" />
<updated>1533830877438</updated>
</task>
<option name="localTasksCounter" value="125" />
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="144580000" />
<option name="totallyTimeSpent" value="145401000" />
</component>
<component name="ToolWindowManager">
<frame x="17" y="22" width="1759" height="1106" extended-state="0" />
@ -1402,13 +1401,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_reject.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="210">
<caret line="14" lean-forward="true" selection-start-line="10" selection-end-line="10" selection-end-column="75" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_md_jobs.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="75">
@ -1430,13 +1422,6 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_show.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="45">
<caret line="3" column="21" selection-start-line="3" selection-start-column="21" selection-end-line="3" selection-end-column="21" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/jobs-special.js">
<provider selected="true" editor-type-id="text-editor">
<state>
@ -1465,5 +1450,19 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_show.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="90">
<caret line="6" lean-forward="true" selection-start-line="6" selection-end-line="6" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/plugins/filter_reject.js">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="45">
<caret line="3" column="120" selection-start-line="3" selection-start-column="120" selection-end-line="3" selection-end-column="120" />
</state>
</provider>
</entry>
</component>
</project>

View File

@ -1,8 +1,8 @@
module.exports = function (item, itemOptions, source) {
const patt = /(T24|Test Analyst|Insight Analyst|application tester|senior tester|Salesforce|QlikView|Navision|Murex|seo|django|drupal|SHAREPOINT|per annum|ServiceNow|Test Lead|User Researcher|Service Management|\(PERM\)|£\d.K|Remedy|ITSM|Symfony|Zend|Full Time|Technical Business Analyst|BUSINESS ANALYST|AUTOMATION TESTER|FIELD TECHNICIAN|websphere administrator|Research Data Scientist)/ig;
const engineers = /(Support|Devops|Planning|security|Postgresql|network|sccm|test|data|imac|firewall|vmware)\s(Engineer)/ig;
const developers = /(Java|PHP|Graduate|Access|Oracle ADF|SHAREPOINT|Ruby on Rails|Java Software|IOS|Qlikview|)\s(Developer|C\++)/ig;
const engineers = /(Support|Devops|Planning|security|Postgresql|network|sccm|test|data|imac|firewall|vmware)+(?:\s)(?=Engineer)/ig;
const developers = /(Java|PHP|Graduate|Access|Oracle ADF|SHAREPOINT|Ruby on Rails|Java Software|IOS|Qlikview)+(?:\s)(?=Developer)/ig;
const architects = /(Java|PHP|Microsoft)\s(Architect)/ig;
const result = patt.test(itemOptions.description) || engineers.test(itemOptions.description) || developers.test(itemOptions.description) || architects.test(itemOptions.description);