mogli 0.0.33 → 0.0.34

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  module Mogli
2
2
  class Application < Model
3
3
 
4
- define_properties :id, :name, :description, :category, :subcategory, :link
4
+ define_properties :id, :name, :description, :category, :subcategory, :link, :canvas_name
5
5
 
6
6
  has_association :feed, "Post"
7
7
  has_association :posts, "Post"
data/lib/mogli/comment.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Mogli
2
2
  class Comment < Model
3
3
 
4
- define_properties :id, :message, :created_time
4
+ define_properties :id, :message, :created_time, :count, :likes
5
5
  creation_properties :message
6
6
  hash_populating_accessor :from, "User","Page"
7
7
 
data/lib/mogli/page.rb CHANGED
@@ -5,7 +5,7 @@ module Mogli
5
5
  define_properties :id, :name, :category, :username, :access_token
6
6
 
7
7
  # General
8
- define_properties :likes, :link, :picture, :has_added_app, :website, :description, :can_post, :checkins
8
+ define_properties :likes, :link, :picture, :has_added_app, :website, :description, :can_post, :checkins, :general_info
9
9
 
10
10
  # Retail
11
11
  define_properties :founded, :products, :mission, :company_overview
@@ -13,6 +13,9 @@ module Mogli
13
13
  # Musicians
14
14
  define_properties :record_label, :hometown, :band_members, :genre
15
15
 
16
+ # Restaurants
17
+ define_properties :parking, :public_transit, :hours, :payment_options, :restaurant_services, :restaurant_specialties
18
+
16
19
  # As a like
17
20
  define_properties :created_time
18
21
 
data/lib/mogli/post.rb CHANGED
@@ -6,7 +6,7 @@ module Mogli
6
6
 
7
7
  define_properties :id, :to, :message, :picture, :link, :name, :caption,
8
8
  :description, :source, :icon, :attribution, :actions, :likes,
9
- :created_time, :updated_time, :privacy, :type
9
+ :created_time, :updated_time, :privacy, :type, :object_id, :properties
10
10
 
11
11
  creation_properties :message, :picture, :link, :name, :description, :caption, :source, :actions, :privacy
12
12
 
data/lib/mogli/user.rb CHANGED
@@ -5,7 +5,7 @@ module Mogli
5
5
  define_properties :username, :first_name, :last_name, :link, :about, :birthday, :gender,
6
6
  :email, :website, :timezone, :updated_time, :verified, :political, :bio,
7
7
  :relationship_status, :locale, :religion, :quotes, :third_party_id,
8
- :inspirational_people, :sports, :with, :middle_name
8
+ :inspirational_people, :sports, :with, :middle_name, :category
9
9
 
10
10
  def self.recognize?(hash)
11
11
  !hash.has_key?("category")
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mogli
3
3
  version: !ruby/object:Gem::Version
4
- hash: 93
4
+ hash: 91
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 33
10
- version: 0.0.33
9
+ - 34
10
+ version: 0.0.34
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mike Mangino
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-09-22 00:00:00 -04:00
18
+ date: 2011-09-30 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency