From 1dd213dda62a8e25eb8f0a2a29dcbe5bf2fe926e Mon Sep 17 00:00:00 2001 From: Eduardo Robles Elvira Date: Thu, 2 Dec 2021 18:30:48 +0100 Subject: [PATCH] Release for version 5.0.0 --- Gruntfile.js | 26 +++++++++++++------------- avConfig.js | 2 +- index.html | 6 +++--- package.json | 4 ++-- 4 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 2fe1e2c1..cfd49bb9 100755 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -19,7 +19,7 @@ 'use strict'; var pkg = require('./package.json'); -var AV_CONFIG_VERSION = 'master'; +var AV_CONFIG_VERSION = '5.0.0'; //Using exclusion patterns slows down Grunt significantly //instead of creating a set of patterns like '**/*.js' and '!**/node_modules/**' @@ -222,13 +222,13 @@ module.exports = function (grunt) { remove: ['script[data-remove!="false"]','link[data-remove!="false"]'], append: [ {selector:'body',html:'<%= variables.booth_html_body_include %>'}, - {selector:'body',html:''}, + {selector:'body',html:''}, {selector:'body',html:''}, - {selector:'body',html:''}, - {selector:'body',html:''}, - {selector:'body',html:''}, - {selector:'body',html:''}, - {selector:'body',html:''}, + {selector:'body',html:''}, + {selector:'body',html:''}, + {selector:'body',html:''}, + {selector:'body',html:''}, + {selector:'body',html:''}, {selector:'head',html:''} ] }, @@ -257,9 +257,9 @@ module.exports = function (grunt) { ], 'temp/lib.js': ['<%= dom_munger.data.libjs %>'], 'temp/app.js': ['<%= dom_munger.data.appjs %>','<%= ngtemplates.main.dest %>'], - 'dist/avConfig-vmaster.js': ['avConfig.js'], - 'dist/avThemes-vmaster.js': ['node_modules/agora-gui-common/dist/avThemes-vmaster.js'], - 'dist/avPlugins-vmaster.js': ['plugins/**/*.js'] + 'dist/avConfig-v5.0.0.js': ['avConfig.js'], + 'dist/avThemes-v5.0.0.js': ['node_modules/agora-gui-common/dist/avThemes-v5.0.0.js'], + 'dist/avPlugins-v5.0.0.js': ['plugins/**/*.js'] } } }, @@ -321,9 +321,9 @@ module.exports = function (grunt) { beautify: true }, files: { - 'dist/app-vmaster.min.js': 'temp/app.js', - 'dist/lib-vmaster.min.js': 'temp/lib.js', - 'dist/libnocompat-vmaster.min.js': 'temp/libnocompat.js', + 'dist/app-v5.0.0.min.js': 'temp/app.js', + 'dist/lib-v5.0.0.min.js': 'temp/lib.js', + 'dist/libnocompat-v5.0.0.min.js': 'temp/libnocompat.js', 'dist/avWidgets.min.js': 'avWidgets.js', "dist/locales/moment/en.js": "node_modules/moment/locale/en-gb.js", diff --git a/avConfig.js b/avConfig.js index ed565d72..5f8d6cdd 100644 --- a/avConfig.js +++ b/avConfig.js @@ -20,7 +20,7 @@ * in this same file, which you might want to edit and tune if needed. */ -var AV_CONFIG_VERSION = 'master'; +var AV_CONFIG_VERSION = '5.0.0'; var avConfigData = { // the base url path for ajax requests, for example for sending ballots or diff --git a/index.html b/index.html index 081b997d..42fc3199 100755 --- a/index.html +++ b/index.html @@ -15,8 +15,8 @@ - - + + @@ -38,7 +38,7 @@ - + diff --git a/package.json b/package.json index c0281dd4..a8dcccb5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "agora-gui-booth", - "version" : "master", + "version" : "5.0.0", "license": "AGPL-3.0-only", "browsers": [ "ie >= 8", @@ -53,7 +53,7 @@ "yarn": "^1.22.0" }, "dependencies": { - "agora-gui-common": "https://github.com/agoravoting/agora-gui-common.git#master", + "agora-gui-common": "https://github.com/agoravoting/agora-gui-common.git#5.0.0", "angular-aria": "^1.8.2", "pdfmake": "^0.1.65", "qrcode-generator": "^1.4.4"