mogli 0.0.40 → 0.0.41

Sign up to get free protection for your applications and to get access to all the features.
data/lib/mogli/checkin.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Mogli
2
2
  class Checkin < Model
3
- define_properties :id,:message, :created_time
3
+ define_properties :id,:message, :created_time, :likes, :comments
4
4
  hash_populating_accessor :from, "User"
5
5
  hash_populating_accessor :tags, "User"
6
6
  hash_populating_accessor :place, "Page"
@@ -1,6 +1,7 @@
1
1
  module Mogli
2
2
  class Location < Model
3
- define_properties :latitude, :longitude
4
-
3
+ define_properties :latitude, :longitude, :street, :city, :state,
4
+ :country, :zip
5
+
5
6
  end
6
- end
7
+ end
data/lib/mogli/page.rb CHANGED
@@ -2,7 +2,7 @@ module Mogli
2
2
  class Page < Profile
3
3
  set_search_type
4
4
 
5
- define_properties :id, :name, :category, :username, :access_token
5
+ define_properties :id, :name, :category, :username, :access_token, :namespace
6
6
 
7
7
  # General
8
8
  define_properties :likes, :link, :picture, :has_added_app, :website, :description, :can_post, :checkins, :general_info
data/lib/mogli/photo.rb CHANGED
@@ -1,9 +1,10 @@
1
1
  module Mogli
2
2
  class Photo < Model
3
3
  define_properties :id, :name, :tags, :picture, :source, :height, :width, :images, :link, :icon,
4
- :created_time, :updated_time, :position, :comments, :likes
4
+ :created_time, :updated_time, :position, :comments, :likes, :place
5
5
  creation_properties :message
6
6
 
7
7
  hash_populating_accessor :from, "User","Page"
8
+ hash_populating_accessor :place, "Place"
8
9
  end
9
10
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mogli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.40
4
+ version: 0.0.41
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-02 00:00:00.000000000 Z
12
+ date: 2012-08-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: hashie