disqussion 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,25 @@
1
+ {
2
+ "code": 0,
3
+ "response": {
4
+ "category": "1",
5
+ "reactions": 0,
6
+ "identifiers": [
7
+ "my-identifier"
8
+ ],
9
+ "forum": "bobross",
10
+ "title": "Hello World",
11
+ "dislikes": 0,
12
+ "isDeleted": false,
13
+ "author": "1",
14
+ "userScore": 0,
15
+ "id": "1",
16
+ "isClosed": false,
17
+ "posts": 127,
18
+ "link": null,
19
+ "likes": 0,
20
+ "message": "\"If you've painted before you know that we don't make mistakes -- we have happy accidents.\"",
21
+ "ipAddress": "127.0.0.1",
22
+ "slug": "happy_accidents",
23
+ "createdAt": "2008-06-10T01:31:43"
24
+ }
25
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "code": 0,
3
+ "response": "saxonbeat"
4
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "cursor": {
3
+ "prev": null,
4
+ "hasNext": false,
5
+ "next": "219244:1:0",
6
+ "hasPrev": false,
7
+ "total": null,
8
+ "id": "219244:1:0",
9
+ "more": false
10
+ },
11
+ "code": 0,
12
+ "response": [
13
+ {
14
+ "username": "terrybain",
15
+ "about": "Author of You Are a Dog and We Are the Cat.",
16
+ "name": "Terry Bain",
17
+ "url": "http://flavors.me/terrybain",
18
+ "isAnonymous": false,
19
+ "rep": 1.286317,
20
+ "profileUrl": "http://disqus.com/terrybain/",
21
+ "emailHash": "2c8f6b13613a93350ce3e2c01260eeff",
22
+ "reputation": 1.286317,
23
+ "location": "Spokane",
24
+ "isPrimary": true,
25
+ "joinedAt": "2007-10-31T17:37:00",
26
+ "id": "962",
27
+ "avatar": {
28
+ "small": {
29
+ "permalink": "http://disqus.com/api/users/avatars/terrybain.jpg",
30
+ "cache": "http://mediacdn.disqus.com/uploads/users/962/avatar32.jpg?1281549414"
31
+ },
32
+ "isCustom": false,
33
+ "permalink": "http://disqus.com/api/users/avatars/terrybain.jpg",
34
+ "cache": "http://mediacdn.disqus.com/uploads/users/962/avatar92.jpg?1281549414",
35
+ "large": {
36
+ "permalink": "http://disqus.com/api/users/avatars/terrybain.jpg",
37
+ "cache": "http://mediacdn.disqus.com/uploads/users/962/avatar92.jpg?1281549414"
38
+ }
39
+ }
40
+ }
41
+ ]
42
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "cursor": {
3
+ "prev": null,
4
+ "hasNext": false,
5
+ "next": "0:0:0",
6
+ "hasPrev": false,
7
+ "total": null,
8
+ "id": "0:0:0",
9
+ "more": false
10
+ },
11
+ "code": 0,
12
+ "response": [
13
+ {
14
+ "username": "paulgraham",
15
+ "about": "",
16
+ "name": "paulgraham",
17
+ "url": "",
18
+ "isAnonymous": false,
19
+ "rep": 1.329051,
20
+ "profileUrl": "http://disqus.com/paulgraham/",
21
+ "emailHash": "d41d8cd98f00b204e9800998ecf8427e",
22
+ "reputation": 1.329051,
23
+ "location": "",
24
+ "isPrimary": true,
25
+ "joinedAt": "2007-07-31T18:09:39",
26
+ "id": "2",
27
+ "avatar": {
28
+ "small": {
29
+ "permalink": "http://disqus.com/api/users/avatars/paulgraham.jpg",
30
+ "cache": "http://mediacdn.disqus.com/1359151009/images/noavatar32.png"
31
+ },
32
+ "isCustom": false,
33
+ "permalink": "http://disqus.com/api/users/avatars/paulgraham.jpg",
34
+ "cache": "http://mediacdn.disqus.com/1359151009/images/noavatar92.png",
35
+ "large": {
36
+ "permalink": "http://disqus.com/api/users/avatars/paulgraham.jpg",
37
+ "cache": "http://mediacdn.disqus.com/1359151009/images/noavatar92.png"
38
+ }
39
+ }
40
+ }
41
+ ]
42
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "code": 0,
3
+ "response": [
4
+ {
5
+ "name": "The Disqus Blog",
6
+ "language": "en",
7
+ "settings": {
8
+ "allowAnonPost": true,
9
+ "audienceSyncEnabled": false,
10
+ "allowMedia": true,
11
+ "hasReactions": true,
12
+ "ssoRequired": false,
13
+ "backplaneEnabled": false
14
+ },
15
+ "url": "http://blog.disqus.com/",
16
+ "favicon": {
17
+ "permalink": "http://disqus.com/api/forums/favicons/disqus.jpg",
18
+ "cache": "http://mediacdn.disqus.com/uploads/forums/11/favicon.png"
19
+ },
20
+ "founder": "3",
21
+ "id": "disqus"
22
+ }
23
+ ]
24
+ }
metadata CHANGED
@@ -1,36 +1,32 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: disqussion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
5
- prerelease:
4
+ version: 0.0.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jérémy Van de Wyngaert
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-28 00:00:00.000000000 Z
11
+ date: 2013-12-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: hashie
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
- version: '1.2'
19
+ version: '2.0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ~>
28
25
  - !ruby/object:Gem::Version
29
- version: '1.2'
26
+ version: '2.0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: faraday
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,23 +41,20 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: faraday_middleware
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - '>='
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0.9'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - '>='
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0.9'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: multi_json
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
59
  - - ~>
68
60
  - !ruby/object:Gem::Version
@@ -70,7 +62,6 @@ dependencies:
70
62
  type: :runtime
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
66
  - - ~>
76
67
  - !ruby/object:Gem::Version
@@ -78,7 +69,6 @@ dependencies:
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rash
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
73
  - - ~>
84
74
  - !ruby/object:Gem::Version
@@ -86,7 +76,6 @@ dependencies:
86
76
  type: :runtime
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
80
  - - ~>
92
81
  - !ruby/object:Gem::Version
@@ -162,6 +151,8 @@ files:
162
151
  - spec/fixtures/forums/create.json
163
152
  - spec/fixtures/forums/details.json
164
153
  - spec/fixtures/forums/listCategories.json
154
+ - spec/fixtures/forums/listModerators.json
155
+ - spec/fixtures/forums/listMostActiveUsers.json
165
156
  - spec/fixtures/forums/listMostLikedUsers.json
166
157
  - spec/fixtures/forums/listPosts.json
167
158
  - spec/fixtures/forums/listThreads.json
@@ -171,16 +162,20 @@ files:
171
162
  - spec/fixtures/posts/approve.json
172
163
  - spec/fixtures/posts/create.json
173
164
  - spec/fixtures/posts/details.json
165
+ - spec/fixtures/posts/getContext.json
174
166
  - spec/fixtures/posts/highlight.json
175
167
  - spec/fixtures/posts/list.json
168
+ - spec/fixtures/posts/listPopular.json
176
169
  - spec/fixtures/posts/remove.json
177
170
  - spec/fixtures/posts/report.json
178
171
  - spec/fixtures/posts/restore.json
179
172
  - spec/fixtures/posts/spam.json
180
173
  - spec/fixtures/posts/unhighlight.json
174
+ - spec/fixtures/posts/update.json
181
175
  - spec/fixtures/posts/vote.json
182
176
  - spec/fixtures/reactions/domains.json
183
177
  - spec/fixtures/reactions/ips.json
178
+ - spec/fixtures/reactions/list.json
184
179
  - spec/fixtures/reactions/threads.json
185
180
  - spec/fixtures/reactions/users.json
186
181
  - spec/fixtures/reports/domains.json
@@ -191,49 +186,53 @@ files:
191
186
  - spec/fixtures/threads/create.json
192
187
  - spec/fixtures/threads/details.json
193
188
  - spec/fixtures/threads/list.json
189
+ - spec/fixtures/threads/listHot.json
194
190
  - spec/fixtures/threads/listMostLiked.json
191
+ - spec/fixtures/threads/listPopular.json
195
192
  - spec/fixtures/threads/listPosts.json
196
193
  - spec/fixtures/threads/open.json
197
194
  - spec/fixtures/threads/remove.json
198
195
  - spec/fixtures/threads/restore.json
196
+ - spec/fixtures/threads/set.json
197
+ - spec/fixtures/threads/update.json
199
198
  - spec/fixtures/threads/vote.json
200
199
  - spec/fixtures/trends/listTreads.json
200
+ - spec/fixtures/users/checkUsername.json
201
201
  - spec/fixtures/users/details.json
202
202
  - spec/fixtures/users/follow.json
203
203
  - spec/fixtures/users/listActiveForums.json
204
204
  - spec/fixtures/users/listActiveThreads.json
205
205
  - spec/fixtures/users/listActivity.json
206
+ - spec/fixtures/users/listFollowers.json
207
+ - spec/fixtures/users/listFollowing.json
206
208
  - spec/fixtures/users/listForums.json
209
+ - spec/fixtures/users/listMostActiveForums.json
207
210
  - spec/fixtures/users/listPosts.json
208
211
  - spec/fixtures/users/unfollow.json
209
212
  - spec/spec_helper.rb
210
213
  homepage: https://github.com/jeremyvdw/disqussion
211
214
  licenses:
212
215
  - MIT
216
+ metadata: {}
213
217
  post_install_message:
214
218
  rdoc_options: []
215
219
  require_paths:
216
220
  - lib
217
221
  required_ruby_version: !ruby/object:Gem::Requirement
218
- none: false
219
222
  requirements:
220
- - - ! '>='
223
+ - - '>='
221
224
  - !ruby/object:Gem::Version
222
225
  version: '0'
223
- segments:
224
- - 0
225
- hash: 106998946894809363
226
226
  required_rubygems_version: !ruby/object:Gem::Requirement
227
- none: false
228
227
  requirements:
229
- - - ! '>='
228
+ - - '>='
230
229
  - !ruby/object:Gem::Version
231
230
  version: 1.3.6
232
231
  requirements: []
233
232
  rubyforge_project:
234
- rubygems_version: 1.8.23
233
+ rubygems_version: 2.0.14
235
234
  signing_key:
236
- specification_version: 3
235
+ specification_version: 4
237
236
  summary: Disqus API v3 wrapper
238
237
  test_files:
239
238
  - spec/disqussion/api_spec.rb
@@ -262,6 +261,8 @@ test_files:
262
261
  - spec/fixtures/forums/create.json
263
262
  - spec/fixtures/forums/details.json
264
263
  - spec/fixtures/forums/listCategories.json
264
+ - spec/fixtures/forums/listModerators.json
265
+ - spec/fixtures/forums/listMostActiveUsers.json
265
266
  - spec/fixtures/forums/listMostLikedUsers.json
266
267
  - spec/fixtures/forums/listPosts.json
267
268
  - spec/fixtures/forums/listThreads.json
@@ -271,16 +272,20 @@ test_files:
271
272
  - spec/fixtures/posts/approve.json
272
273
  - spec/fixtures/posts/create.json
273
274
  - spec/fixtures/posts/details.json
275
+ - spec/fixtures/posts/getContext.json
274
276
  - spec/fixtures/posts/highlight.json
275
277
  - spec/fixtures/posts/list.json
278
+ - spec/fixtures/posts/listPopular.json
276
279
  - spec/fixtures/posts/remove.json
277
280
  - spec/fixtures/posts/report.json
278
281
  - spec/fixtures/posts/restore.json
279
282
  - spec/fixtures/posts/spam.json
280
283
  - spec/fixtures/posts/unhighlight.json
284
+ - spec/fixtures/posts/update.json
281
285
  - spec/fixtures/posts/vote.json
282
286
  - spec/fixtures/reactions/domains.json
283
287
  - spec/fixtures/reactions/ips.json
288
+ - spec/fixtures/reactions/list.json
284
289
  - spec/fixtures/reactions/threads.json
285
290
  - spec/fixtures/reactions/users.json
286
291
  - spec/fixtures/reports/domains.json
@@ -291,19 +296,27 @@ test_files:
291
296
  - spec/fixtures/threads/create.json
292
297
  - spec/fixtures/threads/details.json
293
298
  - spec/fixtures/threads/list.json
299
+ - spec/fixtures/threads/listHot.json
294
300
  - spec/fixtures/threads/listMostLiked.json
301
+ - spec/fixtures/threads/listPopular.json
295
302
  - spec/fixtures/threads/listPosts.json
296
303
  - spec/fixtures/threads/open.json
297
304
  - spec/fixtures/threads/remove.json
298
305
  - spec/fixtures/threads/restore.json
306
+ - spec/fixtures/threads/set.json
307
+ - spec/fixtures/threads/update.json
299
308
  - spec/fixtures/threads/vote.json
300
309
  - spec/fixtures/trends/listTreads.json
310
+ - spec/fixtures/users/checkUsername.json
301
311
  - spec/fixtures/users/details.json
302
312
  - spec/fixtures/users/follow.json
303
313
  - spec/fixtures/users/listActiveForums.json
304
314
  - spec/fixtures/users/listActiveThreads.json
305
315
  - spec/fixtures/users/listActivity.json
316
+ - spec/fixtures/users/listFollowers.json
317
+ - spec/fixtures/users/listFollowing.json
306
318
  - spec/fixtures/users/listForums.json
319
+ - spec/fixtures/users/listMostActiveForums.json
307
320
  - spec/fixtures/users/listPosts.json
308
321
  - spec/fixtures/users/unfollow.json
309
322
  - spec/spec_helper.rb