Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 16, 2013
  1. Scott Steele

    Fix array indices in regex match

    scooter-dangle authored
    Previously, the `amount` variables were being set to `cash.set_on_hand msg.match[3]`, but the `msg.match` array only contains 3 items, so `amount` was being set to `undefined` since JS/CS arrays are zero-indexed.
Commits on Aug 10, 2013
  1. Jeremy Baker
  2. Jeremy Baker
  3. Jeremy Baker

    Use :? instead of ( is)? in the listeners

    jhubert authored
    While I prefer the sentence structure using the word is, the script heavily listens for and responds to commands with
    is in them. This causes a very confusing message when updating cash:
        > hubot cash burn rate is $10,000
        Ok, our burn rate is $10,000 per month
        I don't know anything about cash burn rate
    Since is shipped with hubot and used in a number of
    other situations, I've concluded that the best course of action is to
    change the listeners for this script.
    I've explored other options for this, such as using "set burn rate at"
    or "update burn rate to", but this seems like the simplest change
    with the least amount of impact.
Commits on Sep 8, 2012
  1. Jeremy Baker

    Switch to using an output formatter for the currency and date formatting

    jhubert authored
    I was having some trouble with no method errors on the data formating.
    Instead of troubleshoot that, I just wrote the output formatter. I
    should review this later and test the formats instead. Extending Number
    and Date would be nicer.
Commits on Sep 5, 2012
  1. Jeremy Baker

    Add the cash script for keeping track of cash on hand

    jhubert authored
    I can't seem to run tests, but these should pass based on other test
    suites I've seen.
Something went wrong with that request. Please try again.