Skip to content

Commit

Permalink
v2.2.1 (meteor)
Browse files Browse the repository at this point in the history
 - Regular update
 - Compatibility with `[email protected]`
 - Dependencies update
 - Minor auto-tests enhancements
  • Loading branch information
dr-dimitru committed Nov 9, 2017
1 parent 6b0138a commit f304267
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 52 deletions.
3 changes: 2 additions & 1 deletion .npm/package/npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

58 changes: 25 additions & 33 deletions .versions
Original file line number Diff line number Diff line change
@@ -1,49 +1,41 @@
allow-deny@1.0.5
babel-compiler@6.18.2
babel-runtime@1.0.1
allow-deny@1.1.0
babel-compiler@6.24.7
babel-runtime@1.1.1
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
local-test:ostrio:[email protected]
logging@1.1.17
meteor@1.6.1
[email protected]
modules@0.8.2
[email protected]
[email protected].17
local-test:ostrio:[email protected]
[email protected]
meteor@1.8.0
minimongo@1.4.0
[email protected]
modules-runtime@0.9.0
[email protected]
mongo-dev-server@1.1.0
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
ostrio:[email protected].0
promise@0.8.8
ostrio:[email protected].1
promise@0.10.0
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
webapp@1.3.15
webapp@1.4.0
[email protected]
34 changes: 17 additions & 17 deletions client-storage-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ Tinytest.add('ClientStorage - remove() - non existent value', function (test) {

Tinytest.add('ClientStorage - empty() - ALL', function (test) {
ClientStorage.empty();
var setResOne = ClientStorage.set('teststorageOne', 'One');
var setResTwo = ClientStorage.set('teststorageTwo', 'Two');
ClientStorage.set('teststorageOne', 'One');
ClientStorage.set('teststorageTwo', 'Two');
var removeRes = ClientStorage.empty();

test.isTrue(removeRes);
Expand All @@ -113,8 +113,8 @@ Tinytest.add('ClientStorage - empty() - ALL', function (test) {

Tinytest.add('ClientStorage - keys() / has() / remove() - String', function (test) {
ClientStorage.empty();
var setResOne = ClientStorage.set('teststorageOne', 'One');
var setResTwo = ClientStorage.set('teststorageTwo', 'Two');
ClientStorage.set('teststorageOne', 'One');
ClientStorage.set('teststorageTwo', 'Two');

test.isTrue(!!~ClientStorage.keys().indexOf('teststorageOne'));
test.isTrue(!!~ClientStorage.keys().indexOf('teststorageTwo'));
Expand Down Expand Up @@ -235,8 +235,8 @@ Tinytest.add('ClientStorage - Cookies - remove() - non existent value', function

Tinytest.add('ClientStorage - Cookies - empty() - ALL', function (test) {
ClientStorageCookies.empty();
var setResOne = ClientStorageCookies.set('teststorageOne', 'One');
var setResTwo = ClientStorageCookies.set('teststorageTwo', 'Two');
ClientStorageCookies.set('teststorageOne', 'One');
ClientStorageCookies.set('teststorageTwo', 'Two');
var removeRes = ClientStorageCookies.empty();

test.isTrue(removeRes);
Expand All @@ -248,8 +248,8 @@ Tinytest.add('ClientStorage - Cookies - empty() - ALL', function (test) {

Tinytest.add('ClientStorage - Cookies - keys() / has() / remove() - String', function (test) {
ClientStorageCookies.empty();
var setResOne = ClientStorageCookies.set('teststorageOne', 'One');
var setResTwo = ClientStorageCookies.set('teststorageTwo', 'Two');
ClientStorageCookies.set('teststorageOne', 'One');
ClientStorageCookies.set('teststorageTwo', 'Two');

test.isTrue(!!~ClientStorageCookies.keys().indexOf('teststorageOne'));
test.isTrue(!!~ClientStorageCookies.keys().indexOf('teststorageTwo'));
Expand All @@ -270,7 +270,7 @@ Tinytest.add('ClientStorage - Cookies - keys() / has() / remove() - String', fun
//////////////
var ClientStorageLS = new clientStorage('localStorage');

Tinytest.add('ClientStorage - LocalStorage - set() / get() / has() - Void (localStorage can\'t store undefined)', function (test) {
Tinytest.add('ClientStorage - LocalStorage - set() / get() / has() - Void (Error is expected as localStorage can\'t store undefined)', function (test) {
ClientStorageLS.empty();
var testVal = void 0;
var setRes = ClientStorageLS.set('Void', testVal);
Expand Down Expand Up @@ -370,8 +370,8 @@ Tinytest.add('ClientStorage - LocalStorage - remove() - non existent value', fun

Tinytest.add('ClientStorage - LocalStorage - empty() - ALL', function (test) {
ClientStorageLS.empty();
var setResOne = ClientStorageLS.set('teststorageOne', 'One');
var setResTwo = ClientStorageLS.set('teststorageTwo', 'Two');
ClientStorageLS.set('teststorageOne', 'One');
ClientStorageLS.set('teststorageTwo', 'Two');
var removeRes = ClientStorageLS.empty();

test.isTrue(removeRes);
Expand All @@ -383,8 +383,8 @@ Tinytest.add('ClientStorage - LocalStorage - empty() - ALL', function (test) {

Tinytest.add('ClientStorage - LocalStorage - keys() / has() / remove() - String', function (test) {
ClientStorageLS.empty();
var setResOne = ClientStorageLS.set('teststorageOne', 'One');
var setResTwo = ClientStorageLS.set('teststorageTwo', 'Two');
ClientStorageLS.set('teststorageOne', 'One');
ClientStorageLS.set('teststorageTwo', 'Two');

test.isTrue(!!~ClientStorageLS.keys().indexOf('teststorageOne'));
test.isTrue(!!~ClientStorageLS.keys().indexOf('teststorageTwo'));
Expand Down Expand Up @@ -483,8 +483,8 @@ Tinytest.add('ClientStorage - JS - remove() - non existent value', function (tes

Tinytest.add('ClientStorage - JS - empty() - ALL', function (test) {
ClientStorageJS.empty();
var setResOne = ClientStorageJS.set('teststorageOne', 'One');
var setResTwo = ClientStorageJS.set('teststorageTwo', 'Two');
ClientStorageJS.set('teststorageOne', 'One');
ClientStorageJS.set('teststorageTwo', 'Two');
var removeRes = ClientStorageJS.empty();

test.isTrue(removeRes);
Expand All @@ -496,8 +496,8 @@ Tinytest.add('ClientStorage - JS - empty() - ALL', function (test) {

Tinytest.add('ClientStorage - JS - keys() / has() / remove() - String', function (test) {
ClientStorageJS.empty();
var setResOne = ClientStorageJS.set('teststorageOne', 'One');
var setResTwo = ClientStorageJS.set('teststorageTwo', 'Two');
ClientStorageJS.set('teststorageOne', 'One');
ClientStorageJS.set('teststorageTwo', 'Two');

test.isTrue(!!~ClientStorageJS.keys().indexOf('teststorageOne'));
test.isTrue(!!~ClientStorageJS.keys().indexOf('teststorageTwo'));
Expand Down
2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package.describe({
name: 'ostrio:cstorage',
version: '2.2.0',
version: '2.2.1',
summary: 'Bulletproof persistent Client (Browser) storage, works with disabled Cookies and/or localStorage',
git: 'https://github.com/VeliovGroup/Client-Storage',
documentation: 'README.md'
Expand Down

0 comments on commit f304267

Please sign in to comment.