im-kayac 0.0.1 → 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.
Files changed (3) hide show
  1. data/History.txt +4 -0
  2. data/lib/im-kayac.rb +2 -1
  3. metadata +3 -3
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 0.0.3 2010-09-19
2
+
3
+ * fix for nil opts
4
+
1
5
  === 0.0.1 2010-09-19
2
6
 
3
7
  * start project
data/lib/im-kayac.rb CHANGED
@@ -8,11 +8,12 @@ require 'json'
8
8
 
9
9
  module ImKayac
10
10
 
11
- VERSION = '0.0.1'
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: 29
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sho Hashimoto