Skip to content

Commit

Permalink
3.1.0, standard formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nucleardreamer committed Jun 27, 2017
1 parent cdfd54b commit 233999e
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 2,321 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:7.9.0-slim
FROM node:7.4.0-slim

ARG DEBIAN_FRONTEND=noninteractive
ARG NPM_REGISTRY_URL=https://registry.npmjs.org/
Expand Down
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/bash -e

OAK_VERSION="3.1.0-rc2";
OAK_VERSION="3.1.0";
BASE="oaklabs/oak:$OAK_VERSION";

# our FROM line in the Dockerfile, should ideally match the current electron node version
FROM="node";
NODE_VERSION="7.9.0";
NODE_VERSION="7.4.0";
FROM_TAG="$NODE_VERSION-slim";

NPM_URL="https://registry.npmjs.org/";
Expand Down
6 changes: 3 additions & 3 deletions lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ class Core extends EventEmitter2 {

app.on('certificate-error', (event, webContents, url, error, certificate, cb) => {
let { host } = parse(url)
let isTrusted = false
if (_.filter(_this.sslExceptions, pat => minimatch(host, pat))) {
_this.log.debug({
name: 'ignoring SSL certificate error',
url,
host
})
event.preventDefault()
cb(true)
} else {
cb(false)
isTrusted = true
}
cb(isTrusted)
})

app.on('window-all-closed', function () {
Expand Down
8 changes: 4 additions & 4 deletions manifest.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
image: oaklabs/oak:3.1.0-rc2
image: oaklabs/oak:3.1.0
manifests:
- image: oaklabs/oak:3.1.0-rc2-arm
- image: oaklabs/oak:3.1.0-arm
platform:
architecture: arm
os: linux
- image: oaklabs/oak:3.1.0-rc2-arm64
- image: oaklabs/oak:3.1.0-arm64
platform:
architecture: arm64
os: linux
- image: oaklabs/oak:3.1.0-rc2-amd64
- image: oaklabs/oak:3.1.0-amd64
platform:
architecture: amd64
os: linux
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "oak",
"version": "3.1.0-rc2",
"version": "3.1.0",
"description": "A very opinionated kiosk framework based on Electron",
"engines": {
"node": "7.9.0"
"node": "7.4.0"
},
"scripts": {
"coverage": "node node_modules/.bin/istanbul cover node_modules/.bin/tape test/*.js || true",
Expand All @@ -28,7 +28,7 @@
"dependencies": {
"append-query": "~2.0.1",
"commander": "~2.9.0",
"electron": "1.7.3",
"electron": "1.6.11",
"eventemitter2": "~0.4.14",
"lodash": "~4.17.2",
"minimatch": "~3.0.4",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Oak
[![release](https://img.shields.io/badge/release-v3.1.0-rc2-green.svg)](https://github.com/OakLabsInc/oak/releases/tag/3.1.0-rc2)
[![release](https://img.shields.io/badge/release-v3.1.0-green.svg)](https://github.com/OakLabsInc/oak/releases/tag/3.1.0)
[![node](https://img.shields.io/badge/node-v7.4.0-green.svg)](https://github.com/nodejs/node/releases/tag/v7.4.0)
[![electron](https://img.shields.io/badge/electron-v1.6.11-green.svg)](https://github.com/electron/electron/releases/tag/v1.6.11)
[![Coverage Status](https://coveralls.io/repos/github/OakLabsInc/oak/badge.svg?branch=master&t=zYcBU6)](https://coveralls.io/github/OakLabsInc/oak?branch=master)
Expand Down
Loading

0 comments on commit 233999e

Please sign in to comment.