Commit Graph

1188 Commits

Author SHA1 Message Date
Daniel Lamb ccebab4cc2 The register method should return existing modules 2015-02-20 11:25:31 -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
deadprogram 5cea07602a Extract function to DRY up code 2015-01-17 21:29:07 -08:00
deadprogram a7e8caf19d Extract robot var init into separate function 2015-01-17 15:48:45 -08:00
Ron Evans b0b16d6129 Merge pull request #257 from hybridgroup/readme-update
Add intel analytics platform to readme
2015-01-15 13:46:45 -08:00
nathan 93e1a85ebd add intel analytics to readme 2015-01-15 13:35:20 -08:00
Andrew Stewart 8fd6f8a99e Generate lodash script for only methods we use 2015-01-15 09:33:18 -08:00
Andrew Stewart ed24da8a04 Correct NPM bug on Travis 2015-01-14 11:57:53 -08:00
Andrew Stewart c52971dcec Bump version to "0.22.0" 2015-01-14 10:17:11 -08:00
Andrew Stewart 4b377b2e65 Streamline Logger a bit 2015-01-13 10:43:20 -08:00
Andrew Stewart b72864ca75 More specific log message for missing HTTP API 2015-01-13 10:13:16 -08:00
Andrew Stewart 6e830bee34 Add note to examples about installing API plugin 2015-01-12 08:58:41 -08:00
Andrew Stewart 1316763bac README updates for API extraction 2015-01-12 08:56:31 -08:00
Andrew Stewart b8766c4607 Add custom Lo-Dash build, remove from dependencies 2015-01-08 12:04:52 -08:00
Ron Evans 25f12345b9 Merge pull request #255 from hybridgroup/feature/extract-out-api
Extract API from core
2015-01-08 11:22:59 -08:00
Andrew Stewart 9165ab36b4 Extract API from core 2015-01-08 10:02:14 -08:00
Andrew Stewart eccdde81a9 Update copyright years 2015-01-07 12:58:50 -08:00
Andrew Stewart 3c09867c55 Clean up .travis.yml 2015-01-07 12:49:11 -08:00
Ron Evans 34c05faefe Merge pull request #254 from hybridgroup/feature/nested-devices
Add support for nested device details inside connection
2015-01-07 11:50:17 -08:00
Andrew Stewart 8065644b4e Add support for nested device details inside conn
e.g.
    connections: {
      loopback: {
        adaptor: "loopback",
        devices: {
          ping: { driver: "ping", pin: 1 }
        }
      }
    }

In the event of a name collision between the `devices` hash and a nested
device, the nested device will 'win'.
2015-01-07 10:21:51 -08:00
Ron Evans fe4c899f7f Merge pull request #253 from hybridgroup/feature/cppp-io-updates
Add event listings to API
2015-01-06 14:17:48 -08:00
Andrew Stewart cf0d24f785 Add API event publication
This update gives Cylon support for the latest changes to the CPPP-IO
spec.
2015-01-05 12:20:53 -08:00
Andrew Stewart 926da9d3f6 Less strict for local development 2015-01-01 10:57:47 -08:00
Ron Evans 90bf775d1d Merge pull request #247 from lorenwest/async-support
Support asynchronous robot commands
2014-12-31 17:44:59 -08:00
Loren West 1030a50ca3 Added async command tests 2014-12-31 14:25:15 -08:00
Loren West 34ba1fedc5 Fixed lint issues 2014-12-31 13:29:23 -08:00
Loren West 5d2fc21fab Support asynchronous commands 2014-12-31 13:29:23 -08:00
Loren West 18dfd2fc84 Merge pull request #1 from hybridgroup/master
Refresh master from hybridgroup
2014-12-31 13:27:02 -08:00
Ron Evans 9576878186 Merge pull request #249 from lorenwest/api-command-tests
API command discovery and execution tests
2014-12-31 09:55:16 -08:00
Ron Evans 163214a214 Merge pull request #251 from hybridgroup/readme-update
Update Number of platforms in readme
2014-12-30 12:56:48 -08:00
nathan 0a4d91611c update # of platforms 2014-12-30 12:53:55 -08:00