Commit Graph

1317 Commits

Author SHA1 Message Date
Andrew Stewart eb5090e9e9 Remove accidentally committed swap file 2015-03-31 18:01:26 -07:00
Ron Evans 56211b2f10 Merge pull request #282 from hybridgroup/update/add-err-respond
Update/add err respond
2015-03-28 08:11:52 -07:00
Edgar Silva 287b4205dd Offering to the lint godsgit add .! 2015-03-27 15:36:24 -06:00
Edgar Silva ec4dde7448 Adds error handling to basetar#respond. 2015-03-27 15:18:45 -06:00
Andrew Stewart 527b0febed We don't care about lodash 2015-03-24 18:56:53 -07:00
Andrew Stewart 93369100df Expand Travis build matrix 2015-03-23 13:58:13 -07:00
Ron Evans 5a67934791 Merge pull request #281 from hybridgroup/add/debug-flag
Add CLI flag for enabling debug logging
2015-03-22 23:54:53 -07:00
Andrew Stewart 2ed5fcf64e Add CLI flag for enabling debug logging 2015-03-22 17:07:25 -07:00
Ron Evans 93dcf18cb5 Merge pull request #280 from hybridgroup/readme-update
Add user contributed platforms to readme
2015-03-20 14:06:36 -05:00
nathan fc68b1aaa4 add user contributed platforms 2015-03-20 12:03:55 -07:00
Ron Evans 99113353d7 Merge pull request #279 from hybridgroup/add/interface-functions
Add exploding interface functions for Driver/Adaptor
2015-03-19 19:53:00 -05:00
Andrew Stewart 82ef3d31a2 Add exploding interface functions for Driver/Adaptor
Explicit is better than implicit, and this causes errors to be more
specific
2015-03-19 17:47:15 -07:00
Ron Evans af5300f6cd Merge pull request #278 from hybridgroup/add/respond
Add Basestar#respond method to work with events/callbacks
2015-03-19 12:59:48 -05:00
Andrew Stewart c0a3a9439e Add #respond method to work with events/callbacks 2015-03-19 10:48:45 -07:00
Andrew Stewart a17c70a18b Bind passed function to Robot by default 2015-03-17 14:22:14 -07:00
Andrew Stewart 28415f0b74 Add basic #includes helper for arrays 2015-03-11 12:31:45 -07:00
Andrew Stewart 6c5208577a Correct bug in Registry#findBy, add spec 2015-03-09 21:26:45 -07:00
Edgar O Silva e90969eef0 Merge pull request #275 from hybridgroup/remove/deprecation-warnings
Remove deprecated Connection / Device syntaxes
2015-03-06 12:20:37 -06:00
Andrew Stewart cb492c0747 Remove deprecated Connection / Device syntaxes
Removes deprecation warnings + support for single-object + array
syntaxes.

The array syntax will likely continue to work due to the `_.each`
abstraction, but since we don't use it anywhere, the requisite specs
have been removed.
2015-03-04 09:27:33 -08:00
Andrew Stewart a9dd5b80cd Bump version to v0.22.1 2015-02-24 11:22:50 -08:00
Adrian Zankich 3e65e2027e Merge pull request #271 from hybridgroup/feature/replace-lodash
Replace Lodash
2015-02-24 10:08:06 -08:00
Andrew Stewart 4e363e7930 Add a basic reduce implementation 2015-02-23 15:22:45 -08:00
Andrew Stewart 2eaea42a72 Add helpers for partial application 2015-02-23 14:31:52 -08:00
Andrew Stewart 372c384b11 Fully iterate over objects, rather than just props 2015-02-23 12:57:57 -08:00
Andrew Stewart 6e3d7c6667 Add helpers to replace some lodash functionality
Not a 1:1, and probably much slower than Lodash's ultra-optimised
implementations, but we do enough I/O that it's not really relevant,
is it?
2015-02-23 08:38:12 -08:00
Andrew Stewart 31bdfe31f8 Merge pull request #269 from daniellmb/master
The register method should return existing modules
2015-02-20 11:55:31 -08:00
Daniel Lamb d3b4f926ca Delete .editorconfig 2015-02-20 11:51:58 -08:00
Daniel Lamb d462e28473 Update .gitignore 2015-02-20 11:51:23 -08:00
Daniel Lamb ccebab4cc2 The register method should return existing modules 2015-02-20 11:25:31 -08:00
Andrew Stewart 618aa8212d Remove lodash 2015-02-20 11:15:34 -08:00
Andrew Stewart b17542061b Extract monkey-patches 2015-02-20 11:12:26 -08:00
Andrew Stewart aa3332445e Add coverage to .npmignore 2015-02-19 15:06:02 -08:00
Andrew Stewart 5ac95161e2 Correct edge case with 'module' key 2015-02-19 12:44:35 -08:00
Andrew Stewart b0cb253987 Correct Travis-CI directory creation error 2015-02-12 11:42:00 -08:00
edgarsilva cd23d989cf Fix broken test. 2015-01-30 15:04:14 -06:00
edgarsilva 3d2842567b User API#start instead of API#listen in cylon#api 2015-01-30 14:45:50 -06:00
edgarsilva cfd37e9621 Updated README with cylon-api-socketio plugin reference. 2015-01-30 13:56:14 -06:00
edgarsilva e2f617c995 Fixes validation issue in initializer constructor, `!module` should be `mod` 2015-01-29 13:51:05 -06:00
Ron Evans 990184c0fa Merge pull request #262 from hybridgroup/feature/npmignore
Add .npmignore
2015-01-27 07:54:25 -08:00
Andrew Stewart d35cc0b0d7 Add .npmignore
This file acts like a .gitignore, but for NPM. Will avoid bundling along
things we don't necessarily want to install alongside the lib directory.

On my system, this decreases install size of Cylon by over 100kb, from
301kb to 189kb.
2015-01-26 23:13:40 -08:00
deadprogram 64a0d76af1 Extract deprecation warning into separate function 2015-01-22 19:25:45 -08:00
Ron Evans 980f63667a Merge pull request #261 from hybridgroup/refactor/device-and-connection
Replace initDevice(), initConnection() with initializer()
2015-01-22 18:29:42 -08:00
Andrew Stewart 147816b366 First crack at removing seperate Device/Connection initialization 2015-01-22 14:41:58 -08:00
Andrew Stewart d56f9bc53f Add better error checking for Robot#halt 2015-01-21 08:56:13 -08:00
Andrew Stewart 754af3b4db Add test for Robot#log 2015-01-20 19:38:48 -08:00
Andrew Stewart 8272efe060 Robot log messages should contain the bot name 2015-01-20 19:29:40 -08:00
Andrew Stewart 5354102c2e If bad start detected, shut down the Robot 2015-01-20 19:18:52 -08:00
deadprogram 42ca88f8d0 Update list of contributors 2015-01-18 08:40:37 -08:00
Andrew Stewart ad94b81e87 Merge pull request #258 from hybridgroup/climate-improvements
Code Climate improvements
2015-01-17 23:33:07 -08:00
deadprogram 6ac3cad7c1 Extract even more of function to DRY up code 2015-01-17 21:35:40 -08:00