mogli 0.0.29 → 0.0.30
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mogli/client.rb +25 -14
- data/lib/mogli/education.rb +2 -1
- data/lib/mogli/page.rb +0 -3
- data/lib/mogli/user.rb +5 -1
- data/lib/mogli/work.rb +2 -1
- data/spec/app_client_spec.rb +41 -0
- data/spec/authenticator_spec.rb +92 -0
- data/spec/client/client_event_spec.rb +12 -0
- data/spec/client/client_user_spec.rb +12 -0
- data/spec/client_spec.rb +354 -0
- data/spec/fetching_array_spec.rb +98 -0
- data/spec/model_spec.rb +245 -0
- data/spec/page_spec.rb +19 -0
- data/spec/profile_spec.rb +16 -0
- data/spec/spec_helper.rb +2 -0
- data/spec/test_user_spec.rb +25 -0
- data/spec/user_spec.rb +107 -0
- metadata +84 -18
- data/lib/mogli/subscription.rb +0 -6
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:
|
4
|
+
hash: 35
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 30
|
10
|
+
version: 0.0.30
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Mike Mangino
|
@@ -15,13 +15,29 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-17 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
name:
|
22
|
+
name: hashie
|
23
23
|
prerelease: false
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 19
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 1
|
33
|
+
- 0
|
34
|
+
version: 1.1.0
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: httparty
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
25
41
|
none: false
|
26
42
|
requirements:
|
27
43
|
- - ">="
|
@@ -33,27 +49,55 @@ dependencies:
|
|
33
49
|
- 3
|
34
50
|
version: 0.4.3
|
35
51
|
type: :runtime
|
36
|
-
version_requirements: *
|
52
|
+
version_requirements: *id002
|
37
53
|
- !ruby/object:Gem::Dependency
|
38
|
-
name:
|
54
|
+
name: multi_json
|
39
55
|
prerelease: false
|
40
|
-
requirement: &
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
41
57
|
none: false
|
42
58
|
requirements:
|
43
59
|
- - ~>
|
44
60
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
61
|
+
hash: 17
|
46
62
|
segments:
|
47
63
|
- 1
|
48
64
|
- 0
|
49
|
-
-
|
50
|
-
version: 1.0.
|
65
|
+
- 3
|
66
|
+
version: 1.0.3
|
51
67
|
type: :runtime
|
52
|
-
version_requirements: *
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: json
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 3
|
78
|
+
segments:
|
79
|
+
- 0
|
80
|
+
version: "0"
|
81
|
+
type: :development
|
82
|
+
version_requirements: *id004
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
prerelease: false
|
86
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
87
|
+
none: false
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
hash: 3
|
92
|
+
segments:
|
93
|
+
- 0
|
94
|
+
version: "0"
|
95
|
+
type: :development
|
96
|
+
version_requirements: *id005
|
53
97
|
- !ruby/object:Gem::Dependency
|
54
98
|
name: rspec
|
55
99
|
prerelease: false
|
56
|
-
requirement: &
|
100
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
57
101
|
none: false
|
58
102
|
requirements:
|
59
103
|
- - ">="
|
@@ -63,8 +107,8 @@ dependencies:
|
|
63
107
|
- 0
|
64
108
|
version: "0"
|
65
109
|
type: :development
|
66
|
-
version_requirements: *
|
67
|
-
description: Simple library for accessing the
|
110
|
+
version_requirements: *id006
|
111
|
+
description: Simple library for accessing the Facebook Open Graph API
|
68
112
|
email: mmangino@elevatedrails.com
|
69
113
|
executables: []
|
70
114
|
|
@@ -107,13 +151,24 @@ files:
|
|
107
151
|
- lib/mogli/post.rb
|
108
152
|
- lib/mogli/profile.rb
|
109
153
|
- lib/mogli/status.rb
|
110
|
-
- lib/mogli/subscription.rb
|
111
154
|
- lib/mogli/television.rb
|
112
155
|
- lib/mogli/test_user.rb
|
113
156
|
- lib/mogli/user.rb
|
114
157
|
- lib/mogli/video.rb
|
115
158
|
- lib/mogli/work.rb
|
116
159
|
- lib/mogli.rb
|
160
|
+
- spec/app_client_spec.rb
|
161
|
+
- spec/authenticator_spec.rb
|
162
|
+
- spec/client/client_event_spec.rb
|
163
|
+
- spec/client/client_user_spec.rb
|
164
|
+
- spec/client_spec.rb
|
165
|
+
- spec/fetching_array_spec.rb
|
166
|
+
- spec/model_spec.rb
|
167
|
+
- spec/page_spec.rb
|
168
|
+
- spec/profile_spec.rb
|
169
|
+
- spec/spec_helper.rb
|
170
|
+
- spec/test_user_spec.rb
|
171
|
+
- spec/user_spec.rb
|
117
172
|
has_rdoc: true
|
118
173
|
homepage: http://developers.facebook.com/docs/api
|
119
174
|
licenses: []
|
@@ -148,5 +203,16 @@ rubygems_version: 1.3.7
|
|
148
203
|
signing_key:
|
149
204
|
specification_version: 3
|
150
205
|
summary: Open Graph Library for Ruby
|
151
|
-
test_files:
|
152
|
-
|
206
|
+
test_files:
|
207
|
+
- spec/app_client_spec.rb
|
208
|
+
- spec/authenticator_spec.rb
|
209
|
+
- spec/client/client_event_spec.rb
|
210
|
+
- spec/client/client_user_spec.rb
|
211
|
+
- spec/client_spec.rb
|
212
|
+
- spec/fetching_array_spec.rb
|
213
|
+
- spec/model_spec.rb
|
214
|
+
- spec/page_spec.rb
|
215
|
+
- spec/profile_spec.rb
|
216
|
+
- spec/spec_helper.rb
|
217
|
+
- spec/test_user_spec.rb
|
218
|
+
- spec/user_spec.rb
|