Skip to content

Commit 55b6f40

Browse files
committed
Updating to 1.4.7
1 parent c5a20c1 commit 55b6f40

File tree

9 files changed

+602
-33
lines changed

9 files changed

+602
-33
lines changed

Gruntfile.js

+11
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,15 @@ module.exports = function (grunt) {
341341
jarName: 'coverage/JSCover-all.jar',
342342
javaArgs: '-fs dist/debug coverage/dist/debug --no-instrument=impl/sql-where-parser.min.js --no-instrument=impl/fetch.js --no-instrument=<%= pouchdb_bundle %>'
343343
}
344+
},
345+
shell: {
346+
start_test_server: {
347+
command: 'node ./test/lib/testServer/server.js',
348+
options: {
349+
stdout: true,
350+
async:true,
351+
}
352+
}
344353
}
345354
});
346355

@@ -357,6 +366,7 @@ module.exports = function (grunt) {
357366
grunt.loadNpmTasks('grunt-browserify');
358367
grunt.loadNpmTasks('grunt-contrib-rename');
359368
grunt.loadNpmTasks('grunt-string-replace');
369+
grunt.loadNpmTasks('grunt-shell-spawn');
360370

361371
// Default task.
362372
grunt.registerTask('build', ['clean:all',
@@ -375,6 +385,7 @@ module.exports = function (grunt) {
375385
'string-replace',
376386
'copy:dist_bundles_debug',
377387
'clean:bundles_debug',
388+
'shell:start_test_server',
378389
'qunit',
379390
'uglify',
380391
'copy:dist_bundles_min',

JSDOC.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# offline-persistence-toolkit 1.4.6 #
1+
# offline-persistence-toolkit 1.4.7 #
22

33
## Introduction ##
44

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# offline-persistence-toolkit 1.4.6 #
1+
# offline-persistence-toolkit 1.4.7 #
22

33
offline-persistence-toolkit is a client-side JavaScript library that provides caching and offline support at the HTTP request layer. This support is transparent to the user and is done through the Fetch API and an XHR adapter. HTTP requests made while the client device is offline are captured for replay when connection to the server is restored. Additional capabilities include a persistent storage layer, synchronization manager, binary data support and various configuration APIs for customizing the default behavior. This framework can be used in both ServiceWorker and non-ServiceWorker contexts within web and hybrid mobile apps.
44

@@ -58,16 +58,16 @@ If your app uses [RequireJS](http://www.requirejs.org/ "RequireJS"), update the
5858
```javascript
5959
requirejs.config({
6060
paths: {
61-
'persist' : 'js/libs/persist/v1.4.6/min'
61+
'persist' : 'js/libs/persist/v1.4.7/min'
6262

6363
// Other path mappings here
6464
}
6565
```
66-
For Oracle JET apps, also open `appDir/src/js/main-release-paths.json` and add the `'persist' : 'js/libs/persist/v1.4.6/min'` entry to the list of paths.
66+
For Oracle JET apps, also open `appDir/src/js/main-release-paths.json` and add the `'persist' : 'js/libs/persist/v1.4.7/min'` entry to the list of paths.
6767
6868
You can choose the name of the paths prefix. That is, you can use a different value to the ‘persist’ value shown in the examples.
6969
70-
It is recommended to add the version number as a convention in your application build step such as `'persist' : 'js/libs/persist/v1.4.6/min'`.
70+
It is recommended to add the version number as a convention in your application build step such as `'persist' : 'js/libs/persist/v1.4.7/min'`.
7171
7272
Versions of the toolkit are also available on CDN under the latest JET release. e.g.
7373
@@ -91,7 +91,7 @@ And again, if you are using RequireJS, you will need to map paths for these pack
9191
paths: {
9292
'pouchdb': 'js/libs/pouchdb-7.0.0',
9393
'pouchfind': 'js/libs/pouchdb.find',
94-
'persist' : 'js/libs/persist/v1.4.6/min'
94+
'persist' : 'js/libs/persist/v1.4.7/min'
9595

9696
// Other path mappings here
9797
}

USAGE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# offline-persistence-toolkit 1.4.6 #
1+
# offline-persistence-toolkit 1.4.7 #
22

33
# Introduction #
44

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@oracle/offline-persistence-toolkit",
33
"title": "Offline Persistence Toolkit",
4-
"version": "1.4.6",
4+
"version": "1.4.7",
55
"description": "Offline Persistence Toolkit by Oracle Corp.",
66
"author": "oraclejet",
77
"license": "UPL-1.0",
@@ -23,6 +23,7 @@
2323
],
2424
"devDependencies": {
2525
"eslint-plugin-react": "^6.7.1",
26+
"express": "^4.17.1",
2627
"grunt": "~0.4.5",
2728
"grunt-browserify": "^5.2.0",
2829
"grunt-contrib-clean": "^0.6.0",
@@ -34,6 +35,7 @@
3435
"grunt-contrib-watch": "~0.6.1",
3536
"grunt-jsdoc": "^2.1.0",
3637
"grunt-run-java": "^0.1.1",
38+
"grunt-shell-spawn": "^0.4.0",
3739
"grunt-string-replace": "^1.3.1",
3840
"gruntify-eslint": "^3.1.0",
3941
"load-grunt-tasks": "^3.5.2",

0 commit comments

Comments
 (0)