Skip to content

Modernize directory structure and refactor chat adapters #186

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

Merged
merged 9 commits into from
Jul 19, 2019
Merged
Show file tree
Hide file tree
Changes from 7 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
8 changes: 5 additions & 3 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@ in development
--------------

* Move babel-eslint dependency to devDependencies (bug fix)
* Small refactor and more tests (for `scripts/stackstorm.js`) (improvement)
* Small refactor and more tests (for ``scripts/stackstorm.js``) (improvement)
* Refactor chat providers into their own modules (improvement)
* Modernize directory structure to be more consistent with other hubot plugins (improvement)

0.9.6
-----
* Don't consider failed alias execution as a critical reason to exit hubot (bug fix)

0.9.5
-----
* Exit hubot on invalid, expired `ST2_API_KEY` / `ST2_AUTH_TOKEN` or any other Unauthorized response from st2 server (bug fix)
* Exit hubot on invalid, expired ``ST2_API_KEY`` / ``ST2_AUTH_TOKEN`` or any other Unauthorized response from st2 server (bug fix)
* When st2 username/password is used, re-generate st2 auth token in advance, giving enough time for request to complete, st2client.js (bug fix)

0.9.4
Expand All @@ -28,7 +30,7 @@ in development

0.9.2
-----
* Rename ENV variable `ST2_API` -> `ST2_API_URL` for consistency, keep `ST2_API` for backwards compatibility (improvement)
* Rename ENV variable ``ST2_API`` -> ``ST2_API_URL`` for consistency, keep ``ST2_API`` for backwards compatibility (improvement)

0.9.1
-----
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ gulp.task('lint', () => gulp.src(settings.lint, { cwd: settings.dev })
.pipe(plugins.eslint.format())
);

gulp.task('test', () => gulp.src('tests/**/*.js', { read: false })
gulp.task('test', () => gulp.src('test/**/*.js', { read: false })
.pipe(plugins.mocha({ reporter: 'spec' }))
);

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
var fs = require('fs');
var path = require('path');

var SCRIPTS_PATH = path.resolve(__dirname, 'scripts');
var SCRIPTS_PATH = path.resolve(__dirname, 'src');


module.exports = function(robot, scripts) {
Expand Down
301 changes: 0 additions & 301 deletions lib/format_data.js

This file was deleted.

Loading