Skip to content

Commit

Permalink
Merge pull request googleapis#512 from ryanseys/fix-self-register
Browse files Browse the repository at this point in the history
Update to CRC module and fix self register
  • Loading branch information
ryanseys committed Apr 28, 2015
2 parents ea96513 + 3d6e163 commit cb65e34
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
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 @@ -17,3 +17,4 @@ Marco Ziccardi <marco.ziccard@gmail.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 @@ -18,7 +18,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 @@ -90,6 +90,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

0 comments on commit cb65e34

Please sign in to comment.