Skip to content

Instantly share code, notes, and snippets.

@tekwiz
Created February 2, 2018 13:59
Show Gist options
  • Save tekwiz/0fa385e335d00a7dbd630e9455d3d22d to your computer and use it in GitHub Desktop.
Save tekwiz/0fa385e335d00a7dbd630e9455d3d22d to your computer and use it in GitHub Desktop.
Diff of Enduro master a0e2241 vs Enduro 1.4.45 release package
Only in dev/Enduro/: .git
diff -U 2 -w -r dev/Enduro/libs/bricks/brick_handler.js Downloads/Enduro-1.4.45/libs/bricks/brick_handler.js
--- dev/Enduro/libs/bricks/brick_handler.js 2018-01-30 12:49:35.000000000 -0500
+++ Downloads/Enduro-1.4.45/libs/bricks/brick_handler.js 2018-01-08 06:47:15.000000000 -0500
@@ -7,10 +7,11 @@
// * vendor dependencies
+const Promise = require('bluebird')
const path = require('path')
+const fs = Promise.promisifyAll(require('fs-extra'))
// * enduro dependencies
const flat = require(enduro.enduro_path + '/libs/flat_db/flat')
-const Promise = require('bluebird')
-const fs = Promise.promisifyAll(require('fs-extra'))
+const flat_helpers = require(enduro.enduro_path + '/libs/flat_db/flat_helpers')
// * ———————————————————————————————————————————————————————— * //
@@ -43,5 +44,8 @@
const brick_admin_settings_path = path.join(enduro.project_path, enduro.config.build_folder, '/_prebuilt/brick_admin_settings.js');
const brick_admin_settings_string_to_save = 'var brick_admin_settings = ' + JSON.stringify(brick_admin_settings)
+ return flat_helpers.ensure_directory_existence(brick_admin_settings_path)
+ .then(() => {
return fs.writeFileAsync(brick_admin_settings_path, brick_admin_settings_string_to_save);
+ })
}
Only in dev/Enduro/: node_modules
diff -U 2 -w -r dev/Enduro/package-lock.json Downloads/Enduro-1.4.45/package-lock.json
--- dev/Enduro/package-lock.json 2018-02-02 08:45:55.000000000 -0500
+++ Downloads/Enduro-1.4.45/package-lock.json 2018-01-08 06:47:15.000000000 -0500
@@ -1,5 +1,5 @@
{
"name": "enduro",
- "version": "1.4.43",
+ "version": "1.4.45",
"lockfileVersion": 1,
"requires": true,
diff -U 2 -w -r dev/Enduro/package.json Downloads/Enduro-1.4.45/package.json
--- dev/Enduro/package.json 2018-02-02 08:45:55.000000000 -0500
+++ Downloads/Enduro-1.4.45/package.json 2018-01-08 06:47:15.000000000 -0500
@@ -1,5 +1,5 @@
{
"name": "enduro",
- "version": "1.4.43",
+ "version": "1.4.45",
"description": "Minimalistic, lean & mean static page generator / cms",
"main": "index.js",
diff -U 2 -w -r dev/Enduro/test/cli_test/cli_upload_test.js Downloads/Enduro-1.4.45/test/cli_test/cli_upload_test.js
--- dev/Enduro/test/cli_test/cli_upload_test.js 2017-12-10 12:33:19.000000000 -0500
+++ Downloads/Enduro-1.4.45/test/cli_test/cli_upload_test.js 2018-01-08 06:47:15.000000000 -0500
@@ -7,5 +7,5 @@
describe('[online_test] cli upload', function () {
- this.timeout(5000)
+ this.timeout(15000)
before(function () {
@@ -54,5 +54,5 @@
describe('cli upload with local filesystem', function () {
- this.timeout(5000)
+ this.timeout(15000)
before(function () {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment