Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Support SSL protected campfire rooms

  • Loading branch information...
commit 126b307bffc592c57b1375d713f73840e6f8e171 1 parent 7bfb5ea
@tobi authored committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/cijoe/campfire.rb
View
4 lib/cijoe/campfire.rb
@@ -17,6 +17,7 @@ def self.activate
puts "\tpass = passw0rd"
puts "\tsubdomain = whatever"
puts "\troom = Awesomeness"
+ puts "\tssl = false"
end
end
@@ -26,11 +27,12 @@ def self.config
:user => Config.campfire.user.to_s,
:pass => Config.campfire.pass.to_s,
:room => Config.campfire.room.to_s,
+ :ssl => Config.campfire.ssl.to_s == 'true'
}
end
def self.valid_config?
- config.all? { |key, value| !value.empty? }
+ config.all? { |key, value| !value.nil? }
end
def notify
Please sign in to comment.
Something went wrong with that request. Please try again.