hatenaapigraph 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/CHANGELOG +3 -0
  2. data/lib/hatena/api/graph.rb +5 -1
  3. metadata +1 -1
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ * 0.2.1* (June 12th, 2007)
2
+ Bug fix.
3
+
1
4
  * 0.2.0* (June 12th, 2007)
2
5
  new API support.
3
6
 
@@ -41,7 +41,11 @@ module Hatena
41
41
  :value => value,
42
42
  }
43
43
  end
44
- params[:value] = params[:value].to_f
44
+
45
+ if params[:value] != nil
46
+ params[:value] = params[:value].to_f
47
+ end
48
+
45
49
  params[:date] = params[:date].strftime(DATE_FORMAT) if params[:date]
46
50
 
47
51
  res = http_post GRAPH_API_DATA_URI, params
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.1
3
3
  specification_version: 1
4
4
  name: hatenaapigraph
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.0
6
+ version: 0.2.1
7
7
  date: 2007-06-12 00:00:00 +09:00
8
8
  summary: description of gem
9
9
  require_paths: