Skip to content

Commit

Permalink
changed resource container package
Browse files Browse the repository at this point in the history
  • Loading branch information
da1nerd committed Aug 31, 2016
1 parent 2c6b358 commit 2ac1420
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions __tests__/main-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ describe('Client', () => {

return client.legacy_tools.convertResource('en', 'obs', 'book', 'obs', JSON.stringify(data))
.then(function() {
let rc = require('door43-rc');
let rc = require('resource-container');
expect(rc.tools.makeSlug.mock.calls.length).toEqual(1);
expect(library.public_getters.getSourceLanguage.mock.calls.length).toEqual(1);
expect(library.public_getters.getProject.mock.calls.length).toEqual(1);
Expand All @@ -450,7 +450,7 @@ describe('Update check', () => {
jest.mock('fs');

fs = require('fs');
rc = require('door43-rc');
rc = require('resource-container');
var Client = require('../');

fs.writeFileSync(config.schemaPath, '');
Expand Down
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const request = require('./request'),
SqliteHelper = require('./sqlite-helper'),
rimraf = require('rimraf'),
Library = require('./library'),
rc = require('door43-rc');
rc = require('resource-container');

/**
* Initializes a new api client.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "door43-client",
"version": "0.2.0",
"version": "0.2.1",
"description": "A client library for interacting with the Door43 Resource Catalog.",
"main": "./lib/main.js",
"scripts": {
Expand All @@ -27,7 +27,7 @@
"adm-zip": "^0.4.7",
"archiver": "^1.0.1",
"compressjs": "^1.0.3",
"door43-rc": "^0.6.8",
"resource-container": "^0.6.8",
"lodash": "^4.13.1",
"mkdirp": "^0.5.1",
"rimraf": "^2.5.3",
Expand Down

0 comments on commit 2ac1420

Please sign in to comment.