• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hubotio / hubot
68%
master: 76%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Repo Added 12 Jun 2017 05:56PM UTC
Files 12
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH programaticly-configured-hubot-js
branch: programaticly-configured-hubot-js
CHANGE BRANCH
x
Reset
  • programaticly-configured-hubot-js
  • 1355/load-supported-script-files-only
  • 1363/engines-fix
  • adapter_es2015_note
  • add_datastore_clean
  • document-custom-listener-text
  • evolution/4/e2e-test
  • evolution/4/test-es2015-export
  • evolution/6/semantic-release
  • fix-parse-help
  • make-sure-npx-is-installed
  • master
  • no-more-next
  • package-engines-update
  • travis-deploy-semantic-release
  • update-tested-nodes
  • upgrade-npm-before-install
  • v3

pending completion
805

push

travis-ci

technicalpickles
feat: Robot constructor to take an object of properties

Previously, Robot took positional arguments. This is fine for internal
use, but when programatically building, it looks weird because you have
a bunch of null and boolean values which don't make sense on their own.
It is bad for the reasons having multiple positional arguments is bad,
lack of readability.

Instead of positional arguments, this updates Robot to take an options
object, so the parameters are named and it is clear to a reader what
each does.

This continues to support the old positional arguments, but emits a
deprecation message with depd. Internal use of has been updated to use
the options object, and there probably aren't a ton of uses of Robot
directly in the wild (although there is definitely at least
hubot-test-helper). This support can be considered for removal during
the next breaking release.

This is part of https://github.com/hubotio/evolution/pull/3

104 of 162 branches covered (64.2%)

Branch coverage included in aggregate %.

319 of 460 relevant lines covered (69.35%)

91.88 hits per line

Relevant lines Covered
Build:
Build:
460 RELEVANT LINES 319 COVERED LINES
91.88 HITS PER LINE
Source Files on programaticly-configured-hubot-js
  • List 0
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
805 programaticly-configured-hubot-js feat: Robot constructor to take an object of properties Previously, Robot took positional arguments. This is fine for internal use, but when programatically building, it looks weird because you have a bunch of null and boolean values which don't ... push 07 Jul 2017 04:00AM UTC technicalpickles travis-ci pending completion  
804 programaticly-configured-hubot-js name the object options instead of params. create an options object if multiple args was passed in, and always use the options hash push 07 Jul 2017 03:40AM UTC technicalpickles travis-ci pending completion  
801 programaticly-configured-hubot-js fix style push 07 Jul 2017 03:29AM UTC technicalpickles travis-ci pending completion  
799 programaticly-configured-hubot-js Add tests for legacy constructor push 07 Jul 2017 03:26AM UTC technicalpickles travis-ci pending completion  
797 programaticly-configured-hubot-js use single quotes rather than template strings push 07 Jul 2017 03:16AM UTC technicalpickles travis-ci pending completion  
794 programaticly-configured-hubot-js don't use destructruing, since that's still in progress on node 4 push 06 Jul 2017 03:05AM UTC technicalpickles travis-ci pending completion  
793 programaticly-configured-hubot-js Document the constructor arguments push 06 Jul 2017 02:59AM UTC technicalpickles travis-ci pending completion  
See All Builds (222)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc