rb_facebook 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rb_facebook.rb +2 -1
  2. metadata +4 -4
data/lib/rb_facebook.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module RbFacebook
2
2
 
3
- VERSION = '0.0.6'
3
+ VERSION = '0.0.7'
4
4
  class Api
5
5
 
6
6
  attr_accessor :access_token, :app_id, :app_secret, :rest_api_host, :graph_api_host
@@ -115,6 +115,7 @@ module RbFacebook
115
115
  result.first['stats'].each do |id, stats|
116
116
  stats.each do |metric, value|
117
117
  next if metric == 'id'
118
+ next if value.is_a?Hash
118
119
  metrics_data[call[:date]][metric] = metrics_data[call[:date]][metric].to_f + value.to_f
119
120
  end
120
121
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rb_facebook
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joshua Levinson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-28 00:00:00 Z
18
+ date: 2011-12-01 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails