From dfb590d443858b21f484d12d2d899e9aae549dcf Mon Sep 17 00:00:00 2001 From: Igor Drobiazko Date: Tue, 21 Oct 2014 17:38:46 +0200 Subject: [PATCH] Bugfix --- elasticio.js | 2 +- package.json | 2 +- spec/httpComponent.spec.js | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/elasticio.js b/elasticio.js index f94072f..7795a9e 100644 --- a/elasticio.js +++ b/elasticio.js @@ -1,2 +1,2 @@ -exports.HttpComponent = require("./lib/httpComponent.js"); +exports.HttpComponent = require("./lib/httpComponent.js").HttpComponent; exports.messages = require("./lib/messages.js"); \ No newline at end of file diff --git a/package.json b/package.json index 964270b..feca72b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "elasticio-node", "description": "Node.js API for the elastic.io integration platform", - "version": "0.0.2", + "version": "0.0.3", "author": { "name": "elastic.io GmbH", "email": "info@elastic.io" diff --git a/spec/httpComponent.spec.js b/spec/httpComponent.spec.js index ab4eb1c..a3c470f 100644 --- a/spec/httpComponent.spec.js +++ b/spec/httpComponent.spec.js @@ -1,8 +1,9 @@ describe('Http Component', function () { var nock = require('nock'); - var HttpComponent = require('../lib/httpComponent.js').HttpComponent; - var messages = require('../lib/messages.js'); + var elasticio = require('../elasticio.js'); + var HttpComponent = elasticio.HttpComponent; + var messages = elasticio.messages; it('GET', function () {