From 7d9152614d66afef4431125610658513c8a64f0f Mon Sep 17 00:00:00 2001 From: Lucas Pirola Date: Fri, 14 Feb 2020 09:10:08 -0300 Subject: [PATCH 1/6] feat(notifications): Add page to view by screening --- imports/models/zones.js | 54 +++++++++---------- imports/startup/client/routes-admin.js | 11 ++++ imports/startup/server/index.js | 3 ++ imports/ui/components/admFilter.html | 2 + imports/ui/pages/admin/adm-ambassadors.js | 2 +- .../pages/admin/adm-fluxo-by-screening.html | 8 +++ .../ui/pages/admin/adm-fluxo-by-screening.js | 41 ++++++++++++++ imports/ui/pages/admin/adm-sessions2.js | 8 +-- 8 files changed, 97 insertions(+), 32 deletions(-) create mode 100644 imports/ui/pages/admin/adm-fluxo-by-screening.html create mode 100644 imports/ui/pages/admin/adm-fluxo-by-screening.js diff --git a/imports/models/zones.js b/imports/models/zones.js index 3fceef70..7951b9c7 100644 --- a/imports/models/zones.js +++ b/imports/models/zones.js @@ -1,33 +1,33 @@ // An optimized hard-coded index to get zone by uf const ZONES = { - "SP": "Sudeste", - "ES": "Sudeste", - "MG": "Sudeste", - "RG": "Sudeste", - "PR": "Sul", - "SC": "Sul", - "RS": "Sul", - "DF": "Centro-Oeste", - "GO": "Centro-Oeste", - "MS": "Centro-Oeste", - "MT": "Centro-Oeste", - "BA": "Nordeste", - "AL": "Nordeste", - "CE": "Nordeste", - "MA": "Nordeste", - "PB": "Nordeste", - "PE": "Nordeste", - "PI": "Nordeste", - "RN": "Nordeste", - "SE": "Nordeste", - "AM": "Norte", - "PA": "Norte", - "RO": "Norte", - "RR": "Norte", - "AC": "Norte", - "AP": "Norte", - "TO": "Norte", + SP: 'Sudeste', + ES: 'Sudeste', + MG: 'Sudeste', + RG: 'Sudeste', + PR: 'Sul', + SC: 'Sul', + RS: 'Sul', + DF: 'Centro-Oeste', + GO: 'Centro-Oeste', + MS: 'Centro-Oeste', + MT: 'Centro-Oeste', + BA: 'Nordeste', + AL: 'Nordeste', + CE: 'Nordeste', + MA: 'Nordeste', + PB: 'Nordeste', + PE: 'Nordeste', + PI: 'Nordeste', + RN: 'Nordeste', + SE: 'Nordeste', + AM: 'Norte', + PA: 'Norte', + RO: 'Norte', + RR: 'Norte', + AC: 'Norte', + AP: 'Norte', + TO: 'Norte', }; export default ZONES; diff --git a/imports/startup/client/routes-admin.js b/imports/startup/client/routes-admin.js index 6f99842f..5963de97 100644 --- a/imports/startup/client/routes-admin.js +++ b/imports/startup/client/routes-admin.js @@ -6,6 +6,7 @@ import { Router } from 'meteor/iron:router'; import '../../ui/components/adm-sidebar.html'; import '../../ui/components/admFilter.html'; +import '../../ui/pages/admin/adm-fluxo-by-screening'; import '../../ui/pages/admin/adm-notification-templates'; import '../../ui/pages/admin/adm-notification-templates-new'; import '../../ui/pages/admin/adm-notification-templates-edit'; @@ -31,6 +32,7 @@ import Screenings from '../../models/screenings.js'; import Films from '../../models/films.js'; import Users from '../../models/users'; import NotificationTemplates from '../../models/notification_templates'; +import Notifications from '../../models/notifications'; import { publicRoutes } from './routes-ambassador.js'; @@ -64,6 +66,15 @@ Router.route('/adm/notification-templates', { action() { this.render('admNotificationTemplates'); }, }); +Router.route('/adm/fluxo-by-screening/:screeningId', { + waitOn() { return Meteor.subscribe('notificationTemplates.all') && Meteor.subscribe('notificationByScreening.byScreening'); }, + data() { + return NotificationTemplates.find({}) + && Notifications.find({ screeningId: this.params.screeningId }); + }, + action() { this.render('admFluxoByScreening'); }, +}); + Router.route('/adm/notification-templates-new', { waitOn() { return Meteor.subscribe('films.all'); }, // data() { return NotificationTemplates.find({}); }, diff --git a/imports/startup/server/index.js b/imports/startup/server/index.js index 9861fea5..4d8c25f0 100644 --- a/imports/startup/server/index.js +++ b/imports/startup/server/index.js @@ -11,6 +11,7 @@ import './fixtures.js'; import './migrations'; import Films from '../../models/films'; import Screenings from '../../models/screenings'; +import Notifications from '../../models/notifications'; import Images from '../../models/images'; import { Cities, States } from '../../models/states_and_cities'; import Worker from './worker'; @@ -35,6 +36,8 @@ Meteor.startup(() => { Meteor.publish('notificationTemplates.all', function() { return NotificationTemplates.find({}); }); + Meteor.publish('notificationByScreening.byScreening', function(screeningId) { return Notifications.find({ screeningId }); }); + Meteor.publish('files.images.all', function() { return Images.find().cursor; }); Meteor.publish('cities', function(uf) { diff --git a/imports/ui/components/admFilter.html b/imports/ui/components/admFilter.html index 7f1314fe..8559a0cc 100644 --- a/imports/ui/components/admFilter.html +++ b/imports/ui/components/admFilter.html @@ -133,4 +133,6 @@

{{title}}

{{/if}} + Fluxo de e-mail + diff --git a/imports/ui/pages/admin/adm-ambassadors.js b/imports/ui/pages/admin/adm-ambassadors.js index 88c2485a..98b6caae 100644 --- a/imports/ui/pages/admin/adm-ambassadors.js +++ b/imports/ui/pages/admin/adm-ambassadors.js @@ -10,7 +10,7 @@ import { moment } from 'meteor/momentjs:moment'; import getSelectOptions from '../../../models/schemas/getSelectOptions'; import { FILM_CATEGORIES, FILM_SUBCATEGORIES, STATES } from '../../../models/schemas/index.js'; -import Films from '../../../models/films.js'; +// import Films from '../../../models/films.js'; const downloadCsvUser = (users) => { const data = users.map((u) => { diff --git a/imports/ui/pages/admin/adm-fluxo-by-screening.html b/imports/ui/pages/admin/adm-fluxo-by-screening.html new file mode 100644 index 00000000..b336f48f --- /dev/null +++ b/imports/ui/pages/admin/adm-fluxo-by-screening.html @@ -0,0 +1,8 @@ + diff --git a/imports/ui/pages/admin/adm-fluxo-by-screening.js b/imports/ui/pages/admin/adm-fluxo-by-screening.js new file mode 100644 index 00000000..c0de989d --- /dev/null +++ b/imports/ui/pages/admin/adm-fluxo-by-screening.js @@ -0,0 +1,41 @@ +import { Template } from 'meteor/templating'; +// import { $ } from 'meteor/jquery'; + +import './adm-fluxo-by-screening.html'; +import NotificationTemplates from '../../../models/notification_templates'; + +Template.admFluxoByScreening.helpers({ + settings() { + const instance = Template.instance(); + return { + collection: instance.data, + // filters: ['filterTeamMember'], + rowsPerPage: 100, + showFilter: false, + showRowCount: true, + fields: [ + // { label: 'Ações', key: 'actions', tmpl: Template.actionsNotificationTemplateCellTmpl }, + { + key: 'notificationTemplateId', + label: 'Template', + headerClass: 'col-md-2', + fn: (value) => NotificationTemplates.find({ _id: value }).fetch()[0].name, + // tmpl: Template.filmCellTmpl + }, + + // 'userId', + // 'screeningId', + 'deliveredAt', + 'created_at', + 'updatedAt', + ], + // 'status', + // { label: 'Press Kit', key: 'press_kit_path', tmpl: Template.pressKitCellTmpl }, + // // 'slug', + // 'genre', + // { label: 'Poster', key: 'poster_path', tmpl: Template.posterCellTmpl }, + // { label: 'Poster Home', key: 'poster_home_path', tmpl: Template.posterHomeCellTmpl }, + // ], + }; + }, +}); diff --git a/imports/ui/pages/admin/adm-sessions2.js b/imports/ui/pages/admin/adm-sessions2.js index 0c23e19e..24b0c7f1 100644 --- a/imports/ui/pages/admin/adm-sessions2.js +++ b/imports/ui/pages/admin/adm-sessions2.js @@ -1,15 +1,15 @@ import { Meteor } from 'meteor/meteor'; import { Template } from 'meteor/templating'; import { AutoForm } from 'meteor/aldeed:autoform'; -import { $ } from 'meteor/jquery'; +// import { $ } from 'meteor/jquery'; import { _ } from 'meteor/underscore'; import { Router } from 'meteor/iron:router'; -import Screenings from '../../../models/screenings.js'; import { ReactiveDict } from 'meteor/reactive-dict'; -import Films from '../../../models/films.js'; -import getSelectOptions from '../../../models/schemas/getSelectOptions'; import Papa from 'papaparse'; import { moment } from 'meteor/momentjs:moment'; +import Screenings from '../../../models/screenings.js'; +import Films from '../../../models/films.js'; +import getSelectOptions from '../../../models/schemas/getSelectOptions'; import { SCREENING_STATUS, STATES } from '../../../models/schemas/index.js'; const downloadCsvScreening = (screenings) => { From b242921c32fe0dbef46df261920225d98dbac0ad Mon Sep 17 00:00:00 2001 From: Lucas Pirola Date: Mon, 2 Mar 2020 07:44:07 -0300 Subject: [PATCH 2/6] chore(devops): Force restart containers at staging --- docker-compose.staging.yml | 8 ++++++++ docker-compose.yml | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docker-compose.staging.yml b/docker-compose.staging.yml index 2bad703b..6806677c 100644 --- a/docker-compose.staging.yml +++ b/docker-compose.staging.yml @@ -41,6 +41,7 @@ services: fake-smtp: image: mailhog/mailhog + restart: always environment: MH_HOSTNAME: fake-smtp.taturana ports: @@ -55,6 +56,7 @@ services: traefik: image: traefik:1.7-alpine + restart: always ports: - 80:80/tcp - 8080/tcp @@ -70,6 +72,7 @@ services: images: image: h2non/imaginary + restart: always ports: - 9000/tcp volumes: @@ -91,6 +94,7 @@ services: postgres: image: postgres + restart: always ports: - 9000/tcp environment: @@ -133,6 +137,7 @@ services: metabase: image: metabase/metabase + restart: always environment: JAVA_TIMEZONE: America/Sao_Paulo MB_DB_TYPE: postgres @@ -180,6 +185,7 @@ services: frontend: image: taturanamobi/plataforma-frontend + restart: always build: . ports: - 3000/tcp @@ -251,6 +257,7 @@ services: mariadb: image: 'bitnami/mariadb:latest' + restart: always environment: - ALLOW_EMPTY_PASSWORD=yes - MARIADB_USER=bn_wordpress @@ -259,6 +266,7 @@ services: - mariadb:/bitnami wordpress: image: bitnami/wordpress:latest + restart: always depends_on: - mariadb ports: diff --git a/docker-compose.yml b/docker-compose.yml index 4ebf2d5a..79c8dbca 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -21,7 +21,7 @@ volumes: services: mongo: image: mongo - restart: always + # restart: always ports: - 27017:27017 networks: @@ -98,7 +98,7 @@ services: mongo-express: image: mongo-express - restart: always + # restart: always ports: - 4005:8081 networks: From 444d4e0e8df0763f77d039eb8a02ad414b587f05 Mon Sep 17 00:00:00 2001 From: Lucas Pirola Date: Mon, 2 Mar 2020 07:45:44 -0300 Subject: [PATCH 3/6] fix(notifications): Set date when events occurs; --- imports/models/notifications.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/imports/models/notifications.js b/imports/models/notifications.js index 363987c7..4528f339 100644 --- a/imports/models/notifications.js +++ b/imports/models/notifications.js @@ -12,10 +12,10 @@ Notifications.attachSchema(Schemas.Notification); if (Meteor.isServer) { Notifications.before.insert((userId, doc) => { - doc.createdAt = Date.now(); + doc.createdAt = new Date(); }); Notifications.before.upsert((userId, doc) => { - doc.updatedAt = Date.now(); + doc.updatedAt = new Date(); }); Notifications.after.insert((userId, doc) => { const template = NotificationTemplates.findOne({ _id: doc.notificationTemplateId }); @@ -43,6 +43,8 @@ if (Meteor.isServer) { pidgeon.html = SSR.render(template.name, varsData); Email.send(pidgeon); + + Notifications.update({ _id: doc._id }, { $set: { deliveredAt: new Date() } }); // console.log('Enviando e-mail:', doc); }); } From 1fcce59b44002d363f2e9c113718811c45df5024 Mon Sep 17 00:00:00 2001 From: Lucas Pirola Date: Mon, 2 Mar 2020 07:50:46 -0300 Subject: [PATCH 4/6] fix(process): How intervals are calculated --- imports/startup/server/processScreenings.js | 24 +++++++++++++-------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/imports/startup/server/processScreenings.js b/imports/startup/server/processScreenings.js index dca7a705..089107d2 100644 --- a/imports/startup/server/processScreenings.js +++ b/imports/startup/server/processScreenings.js @@ -8,50 +8,53 @@ import NotificationTemplates from '../../models/notification_templates'; const processScreenings = { isGreaterThan10days(sDate, refDate = new Date()) { check(sDate, Date); - const tenDaysAfter = moment(refDate).add(9, 'days'); + const tenDaysAfter = moment(refDate).add(11, 'days'); return moment(sDate).isSameOrAfter(tenDaysAfter); }, isBetween9and4days(sDate, refDate = new Date()) { check(sDate, Date); - const nineDaysBefore = moment(refDate).add(9, 'days').toDate(); - const fourDaysBefore = moment(refDate).add(3, 'days').toDate(); + const nineDaysBefore = moment(refDate).add(10, 'days').toDate(); + const fourDaysBefore = moment(refDate).add(4, 'days').toDate(); return moment(sDate).isBetween(fourDaysBefore, nineDaysBefore, null, '[]'); }, isLowerThan3days(sDate, refDate = new Date()) { - const threeDaysBefore = moment(refDate).add(3, 'days').toDate(); + // const threeDaysBefore = moment(refDate).add(3, 'days').toDate(); + const fourDaysBefore = moment(refDate).add(4, 'days').toDate(); check(sDate, Date); - return moment(sDate).isSameOrBefore(threeDaysBefore); + return moment(sDate).isSameOrBefore(fourDaysBefore); }, isAt10thDayBefore(sDate, refDate = new Date()) { check(sDate, Date); const at10thDayBefore = moment(refDate).add(10, 'days').toDate(); + const at11thDayBefore = moment(refDate).add(11, 'days').toDate(); - return moment(sDate).isSame(at10thDayBefore, 'day'); + return moment(sDate).isBetween(at10thDayBefore, at11thDayBefore, null, '[]'); }, is7daysBefore(sDate, refDate = new Date()) { check(sDate, Date); const sevenDaysBefore = moment(refDate).add(7, 'days').toDate(); + const eightDaysBefore = moment(refDate).add(8, 'days').toDate(); - return moment(sDate).isSameOrBefore(sevenDaysBefore); + return moment(sDate).isBetween(sevenDaysBefore, eightDaysBefore, null, '[]'); }, is2daysBefore(sDate, refDate = new Date()) { check(sDate, Date); - const twoDaysBefore = moment(refDate).add(2, 'days').toDate(); + const twoDaysBefore = moment(refDate).add(48, 'hours').toDate(); return moment(sDate).isSameOrBefore(twoDaysBefore); }, is1dayBefore(sDate, refDate = new Date()) { check(sDate, Date); - const oneDayBefore = moment(refDate).add(1, 'days').toDate(); + const oneDayBefore = moment(refDate).add(24, 'hours').toDate(); return moment(sDate).isSameOrBefore(oneDayBefore); }, @@ -118,6 +121,7 @@ const processScreenings = { processConfirmada(s) { // Confirmada - Sessão agendada com 10 dias ou mais de antecedência, // enviar e-mail 1 dias antes da sessão send_the_movie_3 + console.log('processScreenings.isGreaterThan10days(s.date, s.created_at)', processScreenings.isGreaterThan10days(s.date, s.created_at), s.date, s.created_at); if (processScreenings.isLowerThan3days(s.date, s.created_at)) { if (processScreenings.is1dayBefore(s.date)) { processScreenings.createNotification(s, 'send_the_movie_3'); @@ -132,9 +136,11 @@ const processScreenings = { // enviar e-mail 7 dias antes da sessão send_the_movie_10 } else if (processScreenings.isGreaterThan10days(s.date, s.created_at)) { // enviar e-mail no dia 10 screening_date + console.log('processScreenings.isAt10thDayBefore(s.date)', processScreenings.isAt10thDayBefore(s.date)); if (processScreenings.isAt10thDayBefore(s.date)) { processScreenings.createNotification(s, 'confirm_screening_date'); } + console.log('processScreenings.is7daysBefore(s.date)', processScreenings.is7daysBefore(s.date)); if (processScreenings.is7daysBefore(s.date)) { processScreenings.createNotification(s, 'send_the_movie_10'); } From c6361ff4a6f0d2aafc33d47ed436828f59385303 Mon Sep 17 00:00:00 2001 From: Lucas Pirola Date: Mon, 2 Mar 2020 08:44:44 -0300 Subject: [PATCH 5/6] fix(process): Set default interval calculated --- imports/startup/server/processScreenings.js | 4 +-- .../startup/server/processScreenings.test.js | 34 +++++++++---------- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/imports/startup/server/processScreenings.js b/imports/startup/server/processScreenings.js index 089107d2..e010e029 100644 --- a/imports/startup/server/processScreenings.js +++ b/imports/startup/server/processScreenings.js @@ -47,14 +47,14 @@ const processScreenings = { is2daysBefore(sDate, refDate = new Date()) { check(sDate, Date); - const twoDaysBefore = moment(refDate).add(48, 'hours').toDate(); + const twoDaysBefore = moment(refDate).add(3, 'days').toDate(); return moment(sDate).isSameOrBefore(twoDaysBefore); }, is1dayBefore(sDate, refDate = new Date()) { check(sDate, Date); - const oneDayBefore = moment(refDate).add(24, 'hours').toDate(); + const oneDayBefore = moment(refDate).add(2, 'days').toDate(); return moment(sDate).isSameOrBefore(oneDayBefore); }, diff --git a/imports/startup/server/processScreenings.test.js b/imports/startup/server/processScreenings.test.js index d0e00281..8320d6f1 100644 --- a/imports/startup/server/processScreenings.test.js +++ b/imports/startup/server/processScreenings.test.js @@ -19,8 +19,8 @@ describe('process screenings', () => { }); it('screening date is 10 or more days away', async () => { - const elevenDaysAfter = moment().add(11, 'days'); - const tenDaysAfter = moment().add(10, 'days').add(1, 'seconds'); + const elevenDaysAfter = moment().add(12, 'days'); + const tenDaysAfter = moment().add(240, 'hours'); const nineDaysAfter = moment().add(9, 'days'); assert.throws(() => { @@ -30,19 +30,19 @@ describe('process screenings', () => { processScreenings.isGreaterThan10days(moment()); }, 'Expected Date'); assert.ok(processScreenings.isGreaterThan10days(elevenDaysAfter.toDate())); - assert.ok(processScreenings.isGreaterThan10days(tenDaysAfter.toDate())); + assert.isNotOk(processScreenings.isGreaterThan10days(tenDaysAfter.toDate())); assert.isNotOk(processScreenings.isGreaterThan10days(nineDaysAfter.toDate())); }); it('screening date is between 9 and 4 days away', async () => { - const tenDaysBefore = moment().add(10, 'days'); + const tenDaysBefore = moment().add(10, 'days').add(1, 'seconds'); const nineDaysBefore = moment().add(9, 'days').subtract(1, 'seconds'); const eightDaysBefore = moment().add(8, 'days'); const sevenDaysBefore = moment().add(7, 'days'); const sixDaysBefore = moment().add(6, 'days'); const fiveDaysBefore = moment().add(5, 'days'); - const fourDaysBefore = moment().add(4, 'days'); - const threeDaysBefore = moment().add(3, 'days').add(1, 'seconds'); + const fourDaysBefore = moment().add(4, 'days').add(1, 'seconds'); + const threeDaysBefore = moment().add(3, 'days'); const twoDaysBefore = moment().add(2, 'days'); assert.throws(() => { @@ -58,12 +58,12 @@ describe('process screenings', () => { assert.ok(processScreenings.isBetween9and4days(sixDaysBefore.toDate())); assert.ok(processScreenings.isBetween9and4days(fiveDaysBefore.toDate())); assert.ok(processScreenings.isBetween9and4days(fourDaysBefore.toDate())); - assert.ok(processScreenings.isBetween9and4days(threeDaysBefore.toDate())); + assert.isNotOk(processScreenings.isBetween9and4days(threeDaysBefore.toDate())); assert.isNotOk(processScreenings.isBetween9and4days(twoDaysBefore.toDate())); }); it('screening date is 3 or less days away', async () => { - const fourDaysBefore = moment().add(4, 'days'); + const fourDaysBefore = moment().add(4, 'days').add(1, 'seconds'); const threeDaysBefore = moment().add(3, 'days').subtract(1, 'seconds'); const twoDaysBefore = moment().add(2, 'days'); const oneDaysBefore = moment().add(1, 'days'); @@ -81,8 +81,8 @@ describe('process screenings', () => { }); it('screening date is exact 10 days away', async () => { - const elevenDaysBefore = moment().add(11, 'days'); - const tenDaysBefore = moment().add(10, 'days'); + const elevenDaysBefore = moment().add(11, 'days').subtract(1, 'seconds'); + const tenDaysBefore = moment().add(10, 'days').add(1, 'seconds'); const threeDaysBefore = moment().add(3, 'days'); assert.throws(() => { @@ -91,14 +91,14 @@ describe('process screenings', () => { assert.throws(() => { processScreenings.isAt10thDayBefore(moment()); }, 'Expected Date'); - assert.isNotOk(processScreenings.isAt10thDayBefore(elevenDaysBefore.toDate())); + assert.ok(processScreenings.isAt10thDayBefore(elevenDaysBefore.toDate())); assert.ok(processScreenings.isAt10thDayBefore(tenDaysBefore.toDate())); assert.isNotOk(processScreenings.isAt10thDayBefore(threeDaysBefore.toDate())); }); it('screening date is 7 days away', async () => { - const eightDaysBefore = moment().add(8, 'days'); - const sevenDaysBefore = moment().add(7, 'days').subtract(1, 'seconds'); + const eightDaysBefore = moment().add(8, 'days').subtract(1, 'seconds'); + const sevenDaysBefore = moment().add(7, 'days').add(1, 'seconds'); const sixDaysBefore = moment().add(6, 'days'); assert.throws(() => { @@ -107,13 +107,13 @@ describe('process screenings', () => { assert.throws(() => { processScreenings.is7daysBefore(moment()); }, 'Expected Date'); - assert.isNotOk(processScreenings.is7daysBefore(eightDaysBefore.toDate())); + assert.ok(processScreenings.is7daysBefore(eightDaysBefore.toDate())); assert.ok(processScreenings.is7daysBefore(sevenDaysBefore.toDate())); - assert.ok(processScreenings.is7daysBefore(sixDaysBefore.toDate())); + assert.isNotOk(processScreenings.is7daysBefore(sixDaysBefore.toDate())); }); it('screening date is 2 days away', async () => { - const threeDaysBefore = moment().add(3, 'days'); + const threeDaysBefore = moment().add(3, 'days').add(1, 'seconds'); const twoDaysBefore = moment().add(2, 'days'); const oneDaysBefore = moment().add(1, 'days'); @@ -130,7 +130,7 @@ describe('process screenings', () => { it('screening date is 1 day away', async () => { const threeDaysBefore = moment().add(3, 'days'); - const twoDaysBefore = moment().add(2, 'days'); + const twoDaysBefore = moment().add(2, 'days').add(1, 'seconds'); const oneDaysBefore = moment().add(1, 'days'); assert.throws(() => { From 1814aa85f6232d2de632fd5e49db3faecdf5717a Mon Sep 17 00:00:00 2001 From: Lucas Pirola Date: Mon, 2 Mar 2020 09:09:10 -0300 Subject: [PATCH 6/6] chore(devops): Upgrade meteor --- .meteor/packages | 2 +- .meteor/release | 2 +- .meteor/versions | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.meteor/packages b/.meteor/packages index 35547d46..87b05686 100644 --- a/.meteor/packages +++ b/.meteor/packages @@ -14,7 +14,7 @@ tracker@1.2.0 # Meteor's client-side reactive programming librar standard-minifier-css@1.6.0 # CSS minifier run for production mode standard-minifier-js@2.6.0 # JS minifier run for production mode es5-shim@4.8.0 # ECMAScript 5 compatibility for older browsers -ecmascript@0.14.0 # Enable ECMAScript2015+ syntax in app code +ecmascript@0.14.2 # Enable ECMAScript2015+ syntax in app code shell-server@0.4.0 # Server-side component of the `meteor shell` command udondan:slick diff --git a/.meteor/release b/.meteor/release index c6ae8ec1..8558e149 100644 --- a/.meteor/release +++ b/.meteor/release @@ -1 +1 @@ -METEOR@1.9 +METEOR@1.9.2 diff --git a/.meteor/versions b/.meteor/versions index 8e7b1449..7f597f7a 100644 --- a/.meteor/versions +++ b/.meteor/versions @@ -11,7 +11,7 @@ anback:bootstrap-validator@0.9.0 anti:i18n@0.4.3 aslagle:reactive-table@0.8.45 autoupdate@1.6.0 -babel-compiler@7.5.1 +babel-compiler@7.5.2 babel-runtime@1.5.0 base64@1.0.12 binary-heap@1.0.11 @@ -34,7 +34,7 @@ ddp-server@2.3.1 deps@1.0.12 diff-sequence@1.1.1 dynamic-import@0.5.1 -ecmascript@0.14.1 +ecmascript@0.14.2 ecmascript-runtime@0.7.0 ecmascript-runtime-client@0.10.0 ecmascript-runtime-server@0.9.0 @@ -69,7 +69,7 @@ matb33:collection-hooks@0.9.1 meteor@1.9.3 meteor-base@1.4.0 meteorhacks:ssr@2.2.0 -meteortesting:browser-tests@1.3.1 +meteortesting:browser-tests@1.3.2 meteortesting:mocha@1.1.4 meteortesting:mocha-core@7.0.1 minifier-css@1.5.0