Permalink
Switch branches/tags
Nothing to show
Commits on Jan 14, 2014
  1. Updating gemfile and version

    JMongol committed Jan 14, 2014
  2. Merge pull request #11 from pgib/more-tests

    JMongol committed Jan 14, 2014
    More tests
  3. Merge pull request #10 from pgib/dynamic-has-methods-in-call-scope

    JMongol committed Jan 14, 2014
    Dynamic methods in call scope
Commits on Jan 13, 2014
  1. Support for the Record verb.

    pgib committed Jan 11, 2014
  2. Added dynamic methods for `#within_foo` and `#get_foo_node`. (Replace…

    pgib committed Jan 13, 2014
    …s `#within_gather`, `#get_redirect_node`, and `#get_gather_node`.
Commits on Jan 11, 2014
  1. Fix indentation of examples.

    pgib committed Jan 11, 2014
  2. Update documentation to talk about the new dynamic #has_foo? and #has…

    pgib committed Jan 11, 2014
    …_bar_on_foo? methods.
  3. Ignore Vim .swp files.

    pgib committed Jan 11, 2014
  4. Add a more Ruby-like way for checking for the case-sensitive attribut…

    pgib committed Jan 11, 2014
    …es of the TwiML elements.
    
    Instead of has_finishOnKey_on_record?("#"), we can also do:
    
    has_finish_on_key_on_record("#")
    
    ... which will check for:
    
        <Record finishOnKey="#"></Record>
  5. Take advantage of Ruby's dynamic nature to make future additions for …

    pgib committed Jan 11, 2014
    …TwiML nouns and verbs tests a little easier. Calling #has_foo? or #has_foo?("bar") will work for any foo will now just work. When passed "bar", the default behaviour is to do a substring match on the element's .inner_text property. If an exact match is needed as the case was/is with #has_play?, a class call to #has_element will be necessary. e.g.:
    
        has_element "Foo", :exact_inner_match => true
    
    This will create has_foo?(inner) using an exact match.
Commits on Nov 21, 2013
  1. Bump version to 3.3.0

    JMongol committed Nov 21, 2013
  2. Merge pull request #9 from tadast/master

    JMongol committed Nov 21, 2013
    Add CallStatus to request parameters
Commits on Nov 19, 2013
Commits on Jul 11, 2013
  1. Bump version to 3.2.1

    JMongol committed Jul 11, 2013
  2. Merge pull request #8 from pgib/no-ends-with

    JMongol committed Jul 11, 2013
    Ensure compatibility with frameworks that don't provide String#ends_with?
Commits on Jul 10, 2013
  1. Fix CallScope#normalize_redirect_path to use the String's native #mat…

    pgib committed Jul 10, 2013
    …ch instead of an #ends_with? extension for increased compatibility.
Commits on Jun 18, 2013
  1. Bump to 3.2.0

    JMongol committed Jun 18, 2013
  2. Merge pull request #6 from alphasights/master

    JMongol committed Jun 18, 2013
    Add method to Call Scope to match the action attribute on the dial element
  3. Add action on dial matcher

    omartell committed Jun 18, 2013
Commits on Mar 13, 2013
  1. Bump to 3.1, fix small issue in formatted_digits

    JMongol committed Mar 13, 2013
    In formatted_digits, if digits isn't a string, then split will fail.
    Digits is technically a string when it comes from Twilio via the
    request params, so let's allow that to be valid.
  2. Merge pull request #4 from globaldev/finish-on-key

    JMongol committed Mar 13, 2013
    Add support for finishOnKey in Gather blocks
  3. Implement a default finish key of hash.

    Jon Gilbraith committed Mar 13, 2013
  4. Add a spec to cover a gather with finishOnKey specified.

    Jon Gilbraith committed Mar 12, 2013
  5. Tighten up button press specs.

    Jon Gilbraith committed Mar 13, 2013
    Match against "You entered 98765." rather than "You entered 98765".
    
    Adding the trailing character compensates for the fact that has_say? checks only for partial matches, so we wouldn't detect when there were trailing digits returned.
    
    E.g. "You entered 98765432", for which has_say? would right now return true.
  6. Use #formatted_digits in #request_for_twiml!.

    Jon Gilbraith committed Mar 12, 2013
    Can now take finish_on_key into account.
    
    Also no longer need to handle where options[:digits] is nil as dealt is with elsewhere.
  7. Add a private method of CallScope#formatted_digits.

    Jon Gilbraith committed Mar 12, 2013
    Takes an option of :finish_on_key in order to strip that key from the digits before returning it.
    
    Also encapsulates existing logic to check for a nil value.
  8. Add CallScope#gather_finish_on_key.

    Jon Gilbraith committed Mar 12, 2013
    For accessing the finishOnKey option on a gather scope.
Commits on Feb 26, 2013
  1. Rename CallInProgress.method to CallInProgress.http_method, tag v3

    JMongol committed Feb 26, 2013
    The method named "method" was giving me some grief, so I renamed it to
    http_method, which is probably a more accurate name anyhow. As this is
    a breaking API change, this is now v3.0.0 of the gem.
    
    Also updated the test dependencies to Rails 3.2.12, since 3.2.8 is
    pretty out of date.
  2. Merge pull request #3 from globaldev/play

    JMongol committed Feb 26, 2013
    Add support for the 'Play' TwiML verb.
  3. Add support for the 'Play' TwiML verb.

    Jon Gilbraith committed Feb 26, 2013