im-kayac 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/im-kayac.rb +2 -1
- metadata +3 -3
data/History.txt
CHANGED
data/lib/im-kayac.rb
CHANGED
@@ -8,11 +8,12 @@ require 'json'
|
|
8
8
|
|
9
9
|
module ImKayac
|
10
10
|
|
11
|
-
VERSION = '0.0.
|
11
|
+
VERSION = '0.0.3'
|
12
12
|
|
13
13
|
def ImKayac.post(user, message, opts = {})
|
14
14
|
uri = URI.parse("http://im.kayac.com/api/post/#{user}")
|
15
15
|
params = {:message => URI.encode(message)}
|
16
|
+
opts = {} unless opts
|
16
17
|
|
17
18
|
# http://im.kayac.com/#docs
|
18
19
|
# keys of "opts" are [:handler, :password, :sig]
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: im-kayac
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sho Hashimoto
|