kindling 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/kindling.gemspec +1 -1
- data/lib/kindling/campfire.rb +3 -2
- data/lib/kindling/request.rb +1 -1
- data/test/kindling/request_test.rb +0 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/kindling.gemspec
CHANGED
data/lib/kindling/campfire.rb
CHANGED
@@ -2,12 +2,13 @@ module Kindling
|
|
2
2
|
|
3
3
|
class Campfire
|
4
4
|
|
5
|
-
attr_accessor :api_token, :subdomain, :room_id
|
5
|
+
attr_accessor :api_token, :subdomain, :room_id, :ssl
|
6
6
|
|
7
|
-
def initialize(api_token, subdomain, room_id)
|
7
|
+
def initialize(api_token, subdomain, room_id, ssl=false)
|
8
8
|
@api_token = api_token
|
9
9
|
@subdomain = subdomain
|
10
10
|
@room_id = room_id
|
11
|
+
@ssl = ssl
|
11
12
|
rooms
|
12
13
|
end
|
13
14
|
|
data/lib/kindling/request.rb
CHANGED
@@ -31,7 +31,6 @@ class RequestTest < Test::Unit::TestCase
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
|
35
34
|
context "send message" do
|
36
35
|
should "send message successfully if 200" do
|
37
36
|
stub_send_message_request('test message', {:code => 200})
|
@@ -56,7 +55,6 @@ class RequestTest < Test::Unit::TestCase
|
|
56
55
|
Kindling::Request.speak("test message", @campfire)
|
57
56
|
end
|
58
57
|
end
|
59
|
-
|
60
58
|
end
|
61
59
|
end
|
62
60
|
end
|