Commit Graph

1239 Commits

Author SHA1 Message Date
nathan 0a4d91611c update # of platforms 2014-12-30 12:53:55 -08:00
nathan 8d5aa817c1 update robeaux screenshot 2014-12-30 12:31:05 -08:00
Loren West b124e24363 API command discovery and execution tests 2014-12-29 14:26:50 -08:00
Andrew Stewart 7ccbfa2bc6 Update for Travis-CI's new container system 2014-12-19 09:19:30 -08:00
Andrew Stewart 13c388fbf7 Simplify path for method proxying in drivers 2014-12-18 13:19:58 -08:00
Andrew Stewart 280687099c Revert change to direct method binding, breaks stuff
This is Probably Bad and should be revisited in the future.
2014-12-18 13:15:30 -08:00
Andrew Stewart 7109a9d303 Fix API errors, add slight simplifications 2014-12-17 16:51:48 -08:00
Andrew Stewart b5907ccd36 Correct iteration key issue 2014-12-17 16:36:48 -08:00
Andrew Stewart 6ebbdf0eab Use forIn to ensure Object iteration is performed 2014-12-17 16:31:26 -08:00
Ron Evans 919a54540f Merge pull request #246 from hybridgroup/add/lodash
Add Lo-Dash
2014-12-17 16:07:51 -08:00
Andrew Stewart c9e16fe8c2 Use _.result to get commands from options. 2014-12-17 15:07:03 -08:00
Andrew Stewart 6cbf2db122 Lodashify 2014-12-17 14:45:57 -08:00
Andrew Stewart 34ed6cea02 Add Lo-Dash + loader 2014-12-17 13:00:59 -08:00
Andrew Stewart 6bffc20020 Block 'make release' unless JSHint/tests are happy 2014-12-15 13:39:59 -08:00
Andrew Stewart 8685b57c83 Run linter before tests 2014-12-15 13:17:12 -08:00
Andrew Stewart 36d1505c2f Add specs for new #connections/#devices behaviour 2014-12-15 13:17:04 -08:00
Ron Evans 766e35878d Merge pull request #245 from hybridgroup/add/strict-jshint
Linting
2014-12-15 12:31:05 -08:00
Andrew Stewart c8ce4a5515 Remember to install JSHint 2014-12-15 11:53:10 -08:00
Andrew Stewart 0215d8b193 Add CI task to Makefile to run lint + specs 2014-12-15 11:41:57 -08:00
Andrew Stewart ac6b09fe50 Clean up lib for JSHint 2014-12-15 11:15:29 -08:00
Andrew Stewart e2bec78de7 Clean up specs for JSHint 2014-12-15 09:37:52 -08:00
Andrew Stewart 7f761c7268 WIP on cleaning up specs 2014-12-14 15:24:49 -08:00
Andrew Stewart f56b680837 Updates for specs 2014-12-14 15:02:46 -08:00
Andrew Stewart 3e960c48a1 Fix JSHint violations in examples 2014-12-13 16:19:25 -08:00
Andrew Stewart 5315c8b9ae First crack at updating JSHint rules 2014-12-13 15:28:41 -08:00
Andrew Stewart 0e77dc2ae8 Use "globals" JSHint option over "predef" 2014-12-12 14:46:10 -08:00
Andrew Stewart bc66ac545c Update dependency versions 2014-12-12 10:01:54 -08:00
Andrew Stewart fa4ac454fd Bump version 2014-12-05 18:33:41 -05:00
Andrew Stewart 08a15fdbbb Update Robeaux version 2014-12-05 18:33:21 -05:00
Andrew Stewart 9fe92967bb Make use of `thisArg` instead of #bind 2014-11-30 15:17:57 -08:00
Andrew Stewart 3eb1da8481 Simplify halt code in Robot slightly 2014-11-30 11:47:33 -08:00
Andrew Stewart 0077fe4a8f Readme updates, new logo 2014-11-28 19:14:21 -08:00
Ron Evans 7528c9a842 Merge pull request #243 from hybridgroup/add/readme-tables
Use Tables in README
2014-11-28 19:00:44 -08:00
Andrew Stewart edc98c009d Test using tables in README 2014-11-28 18:53:22 -08:00
Andrew Stewart 45743eb5cb Update syntax in README 2014-11-28 17:47:29 -08:00
deadprogram 2ea9f9503f Add Ollie to README 2014-11-28 17:40:44 -08:00
Andrew Stewart c49e71b9c7 Bump version to "0.21.1" 2014-11-28 15:02:11 -08:00
Andrew Stewart 29583c0bd5 Add back debug logging for device/connection start 2014-11-28 14:42:26 -08:00
Andrew Stewart 5811cf2518 Bump version to "0.21.0" 2014-11-28 09:54:08 -08:00
Andrew Stewart 4f850d5e9e Support passing config to Logger#setup again 2014-11-28 09:37:44 -08:00
Andrew Stewart 83153664f5 Remove deprecated syntax from robot spec 2014-11-26 09:42:09 -08:00
Andrew Stewart ca8e22f1e2 Fluent #device/#connection update
Now pass name, then object of details

    #device({ name: 'ping', driver: 'ping' });
    // vs
    #device('ping', { driver: 'ping' });
2014-11-26 09:33:19 -08:00
Andrew Stewart 7d4aa1ffee Update examples for new syntax 2014-11-25 16:01:31 -08:00
Andrew Stewart 9047797c9f Deprecate 'connection' and 'device' Robot opts 2014-11-25 14:43:57 -08:00
Andrew Stewart c055f1e857 Example updates 2014-11-25 14:39:24 -08:00
Andrew Stewart 0541c225d8 Update examples 2014-11-25 10:02:29 -08:00
Ron Evans b0f99d3ff3 Merge pull request #242 from hybridgroup/add/imperative-connection-and-device
Extract out Connection/Device initialization
2014-11-20 09:28:58 -08:00
Andrew Stewart 15c9b96333 Extract out Connection/Device initialization
Simple extraction out of Connection/Device initialization code inside
Robot.

This yields an interesting boon, however - this is now a valid Cylon
program:

    var Cylon = require('cylon');

    Cylon
      .robot()
      .connection({ name: 'loopback', adaptor: 'loopback' })
      .device({ name: 'ping', driver: 'ping' })
      .on('ready', function(bot) {
        console.log("Bot working!");

        every(1000, function() {
          console.log(bot.ping.ping());
        })
      });

    Cylon.start();

For those that prefer imperative programs with Cylon, this is a nice
syntax addition.
2014-11-20 08:43:08 -08:00
Andrew Stewart 668acf1e18 Add support for specifying API configuration to Cylon#api 2014-11-14 13:05:16 -08:00
Andrew Stewart 25119c170f Refer to correct element for proxying 2014-11-14 11:34:37 -08:00