Skip to content

Commit 6c976fa

Browse files
author
Daisuke Baba
committed
Merge branch 'release/4.0.3'
2 parents b544c92 + 13586d1 commit 6c976fa

File tree

8 files changed

+3653
-2348
lines changed

8 files changed

+3653
-2348
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ dist
55
*.tgz
66
*.log
77
.node-version
8+
.python-version

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Revision History
22

3+
* 4.0.3
4+
- Always show BLE error info
5+
- Update dependencies
6+
37
* 4.0.2
48
- Fix Module Loading Error on macOS
59

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ The node should still work on macOS and Windows as nothing is modified for these
1111

1212
Supported operations are as follows:
1313

14+
- Start BLE Scanning
15+
- Stop BLE Scanning
16+
- Restart BLE Scanning (Stop then start BLE Scanning again)
17+
- Connect to a peripheral device
18+
- Disonnect from a peripheral device
1419
- Read
1520
- Write
1621
- Write without Response

gulpfile.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ gulp.task('testAssets', () => {
160160
.pipe(gulp.dest('./dist'));
161161
});
162162

163-
gulp.task('test', gulp.series('build', 'testAssets', () => {
163+
gulp.task('test', gulp.series('build', 'testAssets', done => {
164164
process.env.NODE_ENV = 'test';
165165
return gulp.src('tests').pipe(jest({
166166
modulePaths: [
@@ -172,7 +172,9 @@ gulp.task('test', gulp.series('build', 'testAssets', () => {
172172
],
173173
verbose: true,
174174
automock: false
175-
}));
175+
}))
176+
.once('error', () => { done();process.exit(1); })
177+
.once('end', () => { done();process.exit(); })
176178
}));
177179

178180
gulp.task('default', gulp.series('build'));

0 commit comments

Comments
 (0)