Skip to content

Commit

Permalink
Release 1.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mfalaize committed Sep 25, 2016
1 parent af08986 commit 1ed3120
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<property name="build" location="build"/>
<property name="buildCvDir" location="${build}/cv"/>
<property name="lib" location="lib"/>
<property name="version" value="1.1.2"/>
<property name="version" value="1.1.3"/>
<property name="encoding" value="UTF-8"/>

<target name="clean">
Expand Down
33 changes: 33 additions & 0 deletions version/scripts/update-1.1.2-to-1.1.3.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* Copyright (C) 2015 Maxime Falaize
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* Update the cv model for the newer app version.
* Use updateCVUtils methods to update the cv model.
*
* @param {type} cv The cv model.
* @returns {type} the modified cv parameter.
*/
var updateVersion = function(cv) {
var keySkillField = new Object();
keySkillField.key = "keySkill";
keySkillField.inputType = "checkbox";

updateCVUtils.insertField(keySkillField, "skills/types/categories/skills/name", false, cv);

return cv;
};
6 changes: 6 additions & 0 deletions version/versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
},
{
"version": "1.1.1"
},
{
"version": "1.1.2"
},
{
"version": "1.1.3"
}
]
}

0 comments on commit 1ed3120

Please sign in to comment.