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

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

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

    Dynamic methods in call scope
    committed Jan 14, 2014
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…

    …s `#within_gather`, `#get_redirect_node`, and `#get_gather_node`.
    pgib committed Jan 13, 2014
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…

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

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

    …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>
    pgib committed Jan 11, 2014
  5. Take advantage of Ruby's dynamic nature to make future additions for …

    …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.
    pgib committed Jan 11, 2014
Commits on Nov 21, 2013
  1. Bump version to 3.3.0

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

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

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

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

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

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

    Add method to Call Scope to match the action attribute on the dial element
    committed Jun 18, 2013
  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

    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.
    committed Mar 13, 2013
  2. Merge pull request #4 from globaldev/finish-on-key

    Add support for finishOnKey in Gather blocks
    committed Mar 13, 2013
  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.

    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.
    Jon Gilbraith committed Mar 13, 2013
  6. Use #formatted_digits in #request_for_twiml!.

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

    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.
    Jon Gilbraith committed Mar 12, 2013
  8. Add CallScope#gather_finish_on_key.

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

    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.
    committed Feb 26, 2013
  2. Merge pull request #3 from globaldev/play

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

    Jon Gilbraith committed Feb 26, 2013