Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 14, 2014
  1. Updating gemfile and version

    authored
  2. Merge pull request #11 from pgib/more-tests

    authored
    More tests
  3. Merge pull request #10 from pgib/dynamic-has-methods-in-call-scope

    authored
    Dynamic methods in call scope
Commits on Jan 13, 2014
  1. Patrick Gibson
  2. Patrick Gibson
  3. Patrick Gibson

    Support for the Record verb.

    pgib authored
  4. Patrick Gibson

    Added dynamic methods for `#within_foo` and `#get_foo_node`. (Replace…

    pgib authored
    …s `#within_gather`, `#get_redirect_node`, and `#get_gather_node`.
Commits on Jan 11, 2014
  1. Patrick Gibson

    Fix indentation of examples.

    pgib authored
  2. Patrick Gibson
  3. Patrick Gibson

    Ignore Vim .swp files.

    pgib authored
  4. Patrick Gibson

    Add a more Ruby-like way for checking for the case-sensitive attribut…

    pgib authored
    …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. Patrick Gibson

    Take advantage of Ruby's dynamic nature to make future additions for …

    pgib authored
    …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

    authored
  2. Merge pull request #9 from tadast/master

    authored
    Add CallStatus to request parameters
Commits on Nov 19, 2013
  1. Tadas Tamošauskas
Commits on Jul 11, 2013
  1. Bump version to 3.2.1

    authored
  2. Merge pull request #8 from pgib/no-ends-with

    authored
    Ensure compatibility with frameworks that don't provide String#ends_with?
Commits on Jul 10, 2013
  1. Patrick Gibson

    Fix CallScope#normalize_redirect_path to use the String's native #mat…

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

    authored
  2. Merge pull request #6 from alphasights/master

    authored
    Add method to Call Scope to match the action attribute on the dial element
  3. Oliver Martell Núñez

    Add action on dial matcher

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

    authored
    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

    authored
    Add support for finishOnKey in Gather blocks
  3. Implement a default finish key of hash.

    Jon Gilbraith authored
  4. Add a spec to cover a gather with finishOnKey specified.

    Jon Gilbraith authored
  5. Tighten up button press specs.

    Jon Gilbraith authored
    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 authored
    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 authored
    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 authored
    For accessing the finishOnKey option on a gather scope.
Commits on Feb 26, 2013
  1. Rename CallInProgress.method to CallInProgress.http_method, tag v3

    authored
    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

    authored
    Add support for the 'Play' TwiML verb.
  3. Add support for the 'Play' TwiML verb.

    Jon Gilbraith authored
Something went wrong with that request. Please try again.