fetcher-microdata-facebook 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -104,9 +104,6 @@ Feature: Translate facebook to schema.org/Person/User + getfetcher.net/Item
104
104
  ],
105
105
  "Item#id": [
106
106
  "735576666"
107
- ],
108
- "name": [
109
- "Tomás Mehdi"
110
107
  ]
111
108
  }
112
109
  }
@@ -13,7 +13,7 @@ module Fetcher
13
13
  :author => PersonUser.new(:facebook, { "id" => "#{post["actor_id"]}" }),
14
14
  :likes_count => post["likes"]["count"],
15
15
  :comments_count => post["comments"]["count"],
16
- :viewer => PersonUser.new(:facebook, viewer),
16
+ :viewer => PersonUser.new(:facebook, { "id" => "#{post["viewer_id"]}" }),
17
17
  :provider => ["facebook"]
18
18
  }
19
19
  i = 0
@@ -1,7 +1,7 @@
1
1
  module Fetcher
2
2
  class Microdata
3
3
  module Facebook
4
- VERSION = '0.0.2'
4
+ VERSION = '0.0.3'
5
5
  end
6
6
  end
7
7
  end
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "post_id": "403075259745940_439408706112595",
3
3
  "message": "dd2",
4
+ "actor_id": 403075259745940,
5
+ "viewer_id": 735576666,
4
6
  "created_time": 1355183865,
5
7
  "comments":
6
8
  {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fetcher-microdata-facebook
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -103,6 +103,7 @@ files:
103
103
  - lib/fetcher/microdata/person_user/facebook/coercer.rb
104
104
  - lib/fetcher/microdata/user_comments/facebook/coercer.rb
105
105
  - pkg/fetcher-microdata-facebook-0.0.1.gem
106
+ - pkg/fetcher-microdata-facebook-0.0.2.gem
106
107
  - samples/agregate_rating_for_forward_steps
107
108
  - spec/comment.json
108
109
  - spec/fetcher/microdata/article_small/facebook/coercer_spec.rb