diff --git a/CHANGELOG.md b/CHANGELOG.md index a90521d59..f1ca0ca6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ + +## [0.65.7](https://github.com/ipfs/interface-ipfs-core/compare/v0.65.6...v0.65.7) (2018-05-15) + + + ## [0.65.6](https://github.com/ipfs/interface-ipfs-core/compare/v0.65.5...v0.65.6) (2018-05-15) diff --git a/js/src/files-mfs.js b/js/src/files-mfs.js index 781f15599..948c5fc5e 100644 --- a/js/src/files-mfs.js +++ b/js/src/files-mfs.js @@ -476,5 +476,27 @@ module.exports = (common) => { }) }) }) + + // TODO (achingbrain) - Not yet supported in js-ipfs or go-ipfs yet') + describe.skip('.stat', () => { + before((done) => ipfs.files.add(smallFile.data, done)) + + it.skip('stat outside of mfs', function (done) { + ipfs.files.stat('/ipfs/' + smallFile.cid, (err, stat) => { + expect(err).to.not.exist() + expect(stat).to.eql({ + type: 'file', + blocks: 0, + size: 12, + hash: 'Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP', + cumulativeSize: 20, + withLocality: false, + local: undefined, + sizeLocal: undefined + }) + done() + }) + }) + }) }) } diff --git a/js/src/files.js b/js/src/files.js index 83256fede..884726132 100644 --- a/js/src/files.js +++ b/js/src/files.js @@ -1171,29 +1171,5 @@ module.exports = (common) => { ) }) }) - - describe('.stat', () => { - before((done) => ipfs.files.add(smallFile.data, done)) - - it('stat outside of mfs', function (done) { - console.log('Not supported in js-ipfs or go-ipfs yet') - this.skip() - - ipfs.files.stat('/ipfs/' + smallFile.cid, (err, stat) => { - expect(err).to.not.exist() - expect(stat).to.eql({ - type: 'file', - blocks: 0, - size: 12, - hash: 'Qma4hjFTnCasJ8PVp3mZbZK5g2vGDT4LByLJ7m8ciyRFZP', - cumulativeSize: 20, - withLocality: false, - local: undefined, - sizeLocal: undefined - }) - done() - }) - }) - }) }) } diff --git a/package.json b/package.json index 709761aed..1c30db251 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "interface-ipfs-core", - "version": "0.65.6", + "version": "0.65.7", "description": "A test suite and interface you can use to implement a IPFS core interface.", "leadMaintainer": "Alan Shaw ", "main": "js/src/index.js",