lib/messenger/campfire.rb in messenger-0.5.0 vs lib/messenger/campfire.rb in messenger-0.6.0
- old
+ new
@@ -32,10 +32,10 @@
private
def self.matcher(url)
- url.match(/^campfire(-ssl)?:\/\/([^:]+):([^@]+)@([^\.]+).campfirenow.com/)[1,4]
+ url.match(/\Acampfire(-ssl)?:\/\/([^:]+):([^@]+)@([^\.]+).campfirenow.com/)[1,4]
end
def self.success?(response)
case response.code
when 200, 201