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 +1 -1
- data/lib/mogli/location.rb +4 -3
- data/lib/mogli/page.rb +1 -1
- data/lib/mogli/photo.rb +2 -1
- metadata +2 -2
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"
|
data/lib/mogli/location.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2012-08-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hashie
|