Built e65b3f3 successfully
updated api to accept a client message id that can be used in place of the generated Clickatell API message id
Build Output:
(in /home/luke/apps/integrity/builds/lukeredpath-clickatell-master) Jeweler not available. Install it with: gem install jeweler Hash - should return only the keys specified - should return only the keys specified, ignoring keys that do not exist API::CommandExecutor - should have test mode - should default to not test mode API::CommandExecutor#execute in non-test mode - should not record requests API::CommandExecutor#execute in test mode - should not make any network calls - should start with an empty request collection - should record sms requests - should record a request for each call - should return a response that approximates a true Net::HttpResponse API::CommandExecutor#execute in test mode each recorded request - should return the command information API Command - should return encoded URL for the specified command and parameters - should URL encode any special characters in parameters - should use a custom host when constructing command URLs if specified - should use the default host if specified custom host is nil - should use the default host if specified custom host is an empty string Secure API Command - should use HTTPS Command executor - should create an API command with the given params - should send the URI generated by the created command via HTTP get and return the response - should send the command over a secure HTTPS connection if :secure option is set to true API - should use the api_id, username and password to authenticate and return the new session id - should support ping, using the current session_id - should support sending messages to a specified number, returning the message id - should support sending messages to a multiple numbers, returning the message ids - should set the :from parameter and set the :req_feat to 48 when using a custom from string when sending a message - should set the :mo flag to 1 when :set_mobile_originated is true when sending a message - should set the callback flag to the number passed in the options hash - should set the client message id to the number passed in the options hash - should ignore any invalid parameters when sending a message - should support message status query for a given message id, returning the message status - should support balance query, returning number of credits as a float - should raise an API::Error if the response parser raises Clickatell::API when authenticating - should authenticate to retrieve a session_id and return a new API instance using that session id Clickatell::API with no authentication options set - should build commands with no authentication options Clickatell::API in secure mode - should execute commands securely API Error - should parse http response string to create error Clickatell::API#test_mode - should create a new CommandExecutor with test_mode parameter set to true - should record all commands - should return the recorded commands in a flattened array Response parser - should return hash for one-line success response - should return array of hashes for multi-line success response - should raise API::Error if response contains an error message - should parse a message status code of 6 when the response body contains a status code of 006 - should parse a message status code of 7 when the response body contains a status code of 007 - should parse a message status code of 8 when the response body contains a status code of 008 - should parse a message status code of 9 when the response body contains a status code of 009 - should parse a message status code of 10 when the response body contains a status code of 010 - should parse a message status code of 11 when the response body contains a status code of 011 - should parse a message status code of 12 when the response body contains a status code of 012 - should parse a message status code of 1 when the response body contains a status code of 001 - should parse a message status code of 2 when the response body contains a status code of 002 - should parse a message status code of 3 when the response body contains a status code of 003 - should parse a message status code of 4 when the response body contains a status code of 004 - should parse a message status code of 5 when the response body contains a status code of 005 Response parser in test mode - should return something approximating a session_id Finished in 0.042416 seconds 55 examples, 0 failures
Previous builds
- Build 64e505b by Luke Redpath, on Dec 01st
- Build dffd931 by Luke Redpath, on Dec 01st
- Build 83575e5 by Luke Redpath, on Dec 01st
- Build 4853a26 by Luke Redpath, on Dec 01st
- Build ad5bee0 by Luke Redpath, on Dec 01st
- Build 5d3031b by Luke Redpath, on Dec 01st
- Build 69f7b3f by Luke Redpath, on Dec 01st
- Build a78407f by Luke Redpath, on Dec 01st
- Build b2bc2a8 by Luke Redpath, on Dec 01st
- Build 268e175 by Luke Redpath, on Oct 07th
- Build 23cb927 by Luke Redpath, on Oct 07th
- Build 1248143 by Luke Redpath, on Oct 07th
- Build 6a7713e by Luke Redpath, on Oct 07th
- Build 6f956ca by Luke Redpath, on Oct 06th
- Build a5b8cae by Luke Redpath, on Oct 06th
- Build f98ff1f by Luke Redpath, on Oct 06th
- Build 2dba0e6 by Luke Redpath, on Jun 25th
- Build 7d38102 by Luke Redpath, on Jun 25th
- Build 467ca49 by Luke Redpath, on Jun 25th
- Build 7c55374 by Luke Redpath, on Jun 25th
- Build 08e7fa7 by Luke Redpath, on Jun 25th
- Build 6c1cad1 by Luke Redpath, on Jun 25th
- Build 44418d7 by Luke Redpath, on Jun 25th
- Build f3431ba by Luke Redpath, on Jun 25th
- Build a3a6b33 by Tom Brice, on Jun 25th
- Build 8e83374 by Luke Redpath, on Sep 26th
- Build 8e83374 by Luke Redpath, on Sep 26th