mogli 0.0.42 → 0.0.43
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mogli/album.rb +4 -4
- data/lib/mogli/event.rb +1 -1
- data/lib/mogli/group.rb +2 -1
- data/lib/mogli/photo.rb +1 -1
- metadata +134 -117
data/lib/mogli/album.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
module Mogli
|
2
2
|
class Album < Model
|
3
|
-
|
4
|
-
|
3
|
+
define_properties :id, :name, :description, :location, :cover_photo, :privacy, :link, :count, :created_time, :updated_time,
|
4
|
+
:likes, :can_upload
|
5
5
|
creation_properties :name, :description
|
6
|
-
|
6
|
+
|
7
7
|
hash_populating_accessor :from, "User","Page"
|
8
8
|
has_association :photos, "Photo"
|
9
9
|
has_association :comments, "Comment"
|
10
|
-
|
10
|
+
|
11
11
|
end
|
12
12
|
end
|
data/lib/mogli/event.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Mogli
|
2
2
|
class Event < Model
|
3
3
|
set_search_type
|
4
|
-
define_properties :id, :name, :description, :start_time, :end_time, :location, :privacy, :updated_time, :rsvp_status
|
4
|
+
define_properties :id, :name, :description, :start_time, :end_time, :location, :privacy, :updated_time, :rsvp_status, :timezone
|
5
5
|
creation_properties :start_time, :end_time, :link, :name, :description, :privacy
|
6
6
|
|
7
7
|
hash_populating_accessor :venue, "Address"
|
data/lib/mogli/group.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
module Mogli
|
2
2
|
class Group < Model
|
3
3
|
set_search_type
|
4
|
-
define_properties :id, :name, :description, :link, :privacy,
|
4
|
+
define_properties :id, :name, :description, :link, :privacy,
|
5
|
+
:updated_time, :version, :administrator, :unread, :bookmark_order
|
5
6
|
|
6
7
|
hash_populating_accessor :owner, "User", "Page"
|
7
8
|
hash_populating_accessor :venue, "Address"
|
data/lib/mogli/photo.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
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, :place
|
4
|
+
:created_time, :updated_time, :position, :comments, :likes, :place, :name_tags
|
5
5
|
creation_properties :message
|
6
6
|
|
7
7
|
hash_populating_accessor :from, "User","Page"
|
metadata
CHANGED
@@ -1,129 +1,140 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: mogli
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 0
|
8
|
-
- 42
|
9
|
-
version: 0.0.42
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.43
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Mike Mangino
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-10-03 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: hashie
|
22
|
-
|
23
|
-
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 1
|
29
|
-
- 1
|
30
|
-
- 0
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
31
21
|
version: 1.1.0
|
32
22
|
type: :runtime
|
33
|
-
version_requirements: *id001
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
name: httmultiparty
|
36
23
|
prerelease: false
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.1.0
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: httmultiparty
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
45
37
|
version: 0.3.6
|
46
38
|
type: :runtime
|
47
|
-
version_requirements: *id002
|
48
|
-
- !ruby/object:Gem::Dependency
|
49
|
-
name: httparty
|
50
39
|
prerelease: false
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 0.3.6
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: httparty
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
59
53
|
version: 0.4.3
|
60
54
|
type: :runtime
|
61
|
-
version_requirements: *id003
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: multi_json
|
64
55
|
prerelease: false
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.4.3
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: multi_json
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
73
69
|
version: 1.0.3
|
74
70
|
- - <
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
|
77
|
-
- 1
|
78
|
-
- 4
|
79
|
-
version: "1.4"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '1.4'
|
80
73
|
type: :runtime
|
81
|
-
version_requirements: *id004
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
name: json
|
84
74
|
prerelease: false
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
75
|
+
version_requirements: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ! '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 1.0.3
|
81
|
+
- - <
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '1.4'
|
84
|
+
- !ruby/object:Gem::Dependency
|
85
|
+
name: json
|
86
|
+
requirement: !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
88
|
+
requirements:
|
89
|
+
- - ! '>='
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: '0'
|
92
92
|
type: :development
|
93
|
-
version_requirements: *id005
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: rake
|
96
93
|
prerelease: false
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
94
|
+
version_requirements: !ruby/object:Gem::Requirement
|
95
|
+
none: false
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
- !ruby/object:Gem::Dependency
|
101
|
+
name: rake
|
102
|
+
requirement: !ruby/object:Gem::Requirement
|
103
|
+
none: false
|
104
|
+
requirements:
|
105
|
+
- - ! '>='
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
104
108
|
type: :development
|
105
|
-
version_requirements: *id006
|
106
|
-
- !ruby/object:Gem::Dependency
|
107
|
-
name: rspec
|
108
109
|
prerelease: false
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
none: false
|
112
|
+
requirements:
|
113
|
+
- - ! '>='
|
114
|
+
- !ruby/object:Gem::Version
|
115
|
+
version: '0'
|
116
|
+
- !ruby/object:Gem::Dependency
|
117
|
+
name: rspec
|
118
|
+
requirement: !ruby/object:Gem::Requirement
|
119
|
+
none: false
|
120
|
+
requirements:
|
121
|
+
- - ! '>='
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '0'
|
116
124
|
type: :development
|
117
|
-
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
118
132
|
description: Simple library for accessing the Facebook Open Graph API
|
119
133
|
email: mmangino@elevatedrails.com
|
120
134
|
executables: []
|
121
|
-
|
122
135
|
extensions: []
|
123
|
-
|
124
136
|
extra_rdoc_files: []
|
125
|
-
|
126
|
-
files:
|
137
|
+
files:
|
127
138
|
- lib/mogli/action.rb
|
128
139
|
- lib/mogli/activity.rb
|
129
140
|
- lib/mogli/address.rb
|
@@ -169,37 +180,43 @@ files:
|
|
169
180
|
- lib/mogli/video.rb
|
170
181
|
- lib/mogli/work.rb
|
171
182
|
- lib/mogli.rb
|
172
|
-
|
183
|
+
- spec/app_client_spec.rb
|
184
|
+
- spec/authenticator_spec.rb
|
185
|
+
- spec/client/client_event_spec.rb
|
186
|
+
- spec/client/client_user_spec.rb
|
187
|
+
- spec/client_spec.rb
|
188
|
+
- spec/fetching_array_spec.rb
|
189
|
+
- spec/model_spec.rb
|
190
|
+
- spec/page_spec.rb
|
191
|
+
- spec/profile_spec.rb
|
192
|
+
- spec/spec_helper.rb
|
193
|
+
- spec/test_user_spec.rb
|
194
|
+
- spec/user_spec.rb
|
173
195
|
homepage: http://developers.facebook.com/docs/api
|
174
196
|
licenses: []
|
175
|
-
|
176
197
|
post_install_message:
|
177
198
|
rdoc_options: []
|
178
|
-
|
179
|
-
require_paths:
|
199
|
+
require_paths:
|
180
200
|
- lib
|
181
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
requirements:
|
190
|
-
- -
|
191
|
-
- !ruby/object:Gem::Version
|
192
|
-
|
193
|
-
- 0
|
194
|
-
version: "0"
|
201
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
202
|
+
none: false
|
203
|
+
requirements:
|
204
|
+
- - ! '>='
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '0'
|
207
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
208
|
+
none: false
|
209
|
+
requirements:
|
210
|
+
- - ! '>='
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: '0'
|
195
213
|
requirements: []
|
196
|
-
|
197
214
|
rubyforge_project:
|
198
|
-
rubygems_version: 1.
|
215
|
+
rubygems_version: 1.8.24
|
199
216
|
signing_key:
|
200
217
|
specification_version: 3
|
201
218
|
summary: Open Graph Library for Ruby
|
202
|
-
test_files:
|
219
|
+
test_files:
|
203
220
|
- spec/app_client_spec.rb
|
204
221
|
- spec/authenticator_spec.rb
|
205
222
|
- spec/client/client_event_spec.rb
|