lib/smess.rb in smess-1.0.4 vs lib/smess.rb in smess-1.0.5

- old
+ new

@@ -13,10 +13,11 @@ require 'smess/sms' require 'smess/outputs/http_base' require 'smess/outputs/auto' require 'smess/outputs/ipx' require 'smess/outputs/ipxus' +require 'smess/outputs/card_board_fish' require 'smess/outputs/clickatell' require 'smess/outputs/etisalatdemo' require 'smess/outputs/smsglobal' require 'smess/outputs/global_mouth' require 'smess/outputs/mblox' @@ -27,12 +28,12 @@ require 'string' module Smess # Move to config? - OUTPUTS = %w{auto clickatell etisalatdemo global_mouth iconectiv mblox ipxus smsglobal twilio} - COUNTRY_CODES = [1, 20, 34, 46, 49, 966, 971] + OUTPUTS = %w{auto card_board_fish clickatell etisalatdemo global_mouth iconectiv mblox ipxus smsglobal twilio} + COUNTRY_CODES = [1, 20, 212, 34, 46, 49, 966, 971] def self.new(*args) Sms.new(*args) end @@ -58,6 +59,7 @@ # httpclient does not send basic auth correctly, or at all. HTTPI.adapter = :net_http # Setting config defaults # there is probably a better way and better place +# Unused and deprecated Smess.config.debug = Smess.booleanize(ENV["SMESS_DEBUG"])