From 894bb69f18015c48c46de0d8b7c3e7769b09f04a Mon Sep 17 00:00:00 2001 From: David Dias Date: Fri, 11 Dec 2015 20:27:55 -0800 Subject: [PATCH] update name --- README.md | 14 +++++++------- package.json | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 6edefc5..6c27305 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -abstract-record-store +interface-record-store ===================== [![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io) [![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs) > A test suite and interface you can use to implement a a IPRS compliant(https://github.com/ipfs/specs/tree/master/records) Record Store. -The primary goal of this module is to enable developers to pick and swap their Record Store module as they see fit for their libp2p installation, without having to go through shims or compatibility issues. This module and test suite were heavily inspired by [`abstract-blob-store`](https://github.com/maxogden/abstract-blob-store) and [`abstract-stream-muxer`](https://github.com/diasdavid/abstract-stream-muxer). +The primary goal of this module is to enable developers to pick and swap their Record Store module as they see fit for their libp2p installation, without having to go through shims or compatibility issues. This module and test suite were heavily inspired by [`abstract-blob-store`](https://github.com/maxogden/abstract-blob-store) and [`interface-stream-muxer`](https://github.com/diasdavid/interface-stream-muxer). Publishing a test suite as a module lets multiple modules all ensure compatibility since they use the same test suite. @@ -18,9 +18,9 @@ The API is presented with both Node.js and Go primitives, however, there is not # Badge -Include this badge in your readme if you make a module that is compatible with the abstract-record-store API. You can validate this by running the tests. +Include this badge in your readme if you make a module that is compatible with the interface-record-store API. You can validate this by running the tests. -![](https://raw.githubusercontent.com/diasdavid/abstract-record-store/master/img/badge.png) +![](https://raw.githubusercontent.com/diasdavid/interface-record-store/master/img/badge.png) # How to use the battery of tests @@ -28,7 +28,7 @@ Include this badge in your readme if you make a module that is compatible with t ``` var tape = require('tape') -var tests = require('abstract-record-store/tests') +var tests = require('interface-record-store/tests') var YourRecordStore = require('../src') var common = { @@ -74,7 +74,7 @@ if `err` is passed, means that the record wasn't stored properly or it was unval - the key is a multihash but not necessarily the hash of the record signature object. - a DRS instance must have a mapping of key->[hash(recordSignature)] to know which records belong to a given key (provided value) -- DRS implements the abstract-record-store interface -- DRS may levarage other implementations of abstract-record-store to find records in the network or other storage mechanisms +- DRS implements the interface-record-store interface +- DRS may levarage other implementations of interface-record-store to find records in the network or other storage mechanisms - DRS should return every valid record it can find in a query - all unvalid records detected in the process should be discarded/deleted diff --git a/package.json b/package.json index 3e3df62..1d8aba7 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "abstract-record-store", + "name": "interface-record-store", "version": "0.1.1", "description": "A test suite and interface you can use to implement a a IPRS compliant(https://github.com/ipfs/specs/tree/master/records) Record Store", "scripts": { @@ -7,7 +7,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/diasdavid/abstract-record-store.git" + "url": "https://github.com/diasdavid/interface-record-store.git" }, "keywords": [ "IPFS" @@ -18,9 +18,9 @@ "author": "David Dias ", "license": "MIT", "bugs": { - "url": "https://github.com/diasdavid/abstract-record-store/issues" + "url": "https://github.com/diasdavid/interface-record-store/issues" }, - "homepage": "https://github.com/diasdavid/abstract-record-store", + "homepage": "https://github.com/diasdavid/interface-record-store", "dependencies": { "ecdsa": "^0.6.0", "ipld": "^0.2.0",