Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to CRC module and fix self register #512

Merged
merged 2 commits into from
Apr 28, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
# Name or Organization <email address>
# The email address is not required for organizations.

Google Inc.
Google Inc.
Anand Suresh
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ Johan Euphrosine <proppy@google.com>
Patrick Costello <pcostell@google.com>
Silvano Luciani <silvano@google.com>
Stephen Sawchuk <sawchuk@gmail.com>
Anand Suresh <anandsuresh@gmail.com>
2 changes: 1 addition & 1 deletion lib/storage/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

var bufferEqual = require('buffer-equal');
var ConfigStore = require('configstore');
var crc = require('fast-crc32c');
var crc = require('sse4_crc32');
var crypto = require('crypto');
var duplexify = require('duplexify');
var fs = require('fs');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"configstore": "^0.3.2",
"duplexify": "^3.2.0",
"extend": "^2.0.0",
"fast-crc32c": "^0.1.3",
"sse4_crc32": "^3.1.0",
"google-auth-library": "^0.9.4",
"mime-types": "^2.0.8",
"node-uuid": "^1.4.2",
Expand Down
3 changes: 2 additions & 1 deletion test/storage/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

var assert = require('assert');
var Bucket = require('../../lib/storage/bucket.js');
var crc = require('fast-crc32c');
var crc = require('sse4_crc32');
var crypto = require('crypto');
var duplexify = require('duplexify');
var extend = require('extend');
Expand Down Expand Up @@ -92,6 +92,7 @@ describe('File', function() {
var bucket;

before(function() {
mockery.registerMock('sse4_crc32', crc);
mockery.registerMock('configstore', FakeConfigStore);
mockery.registerMock('duplexify', FakeDuplexify);
mockery.registerMock('request', fakeRequest);
Expand Down