githubris 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/.gitignore +1 -0
  2. data/.travis.yml +7 -0
  3. data/Gemfile +5 -2
  4. data/README.md +16 -1
  5. data/Rakefile +8 -3
  6. data/features/list_of_public_gists.feature +12 -0
  7. data/features/list_of_users_public_gists.feature +14 -0
  8. data/features/step_definitions/general_steps.rb +20 -0
  9. data/features/step_definitions/public_gist_steps.rb +0 -0
  10. data/features/support/env.rb +6 -0
  11. data/features/support/fakeweb_responses.rb +6 -0
  12. data/features/support/fixtures.rb +11 -0
  13. data/features/support/public_gists_page_1.json +884 -0
  14. data/features/support/public_gists_page_2.json +898 -0
  15. data/githubris.gemspec +0 -1
  16. data/lib/githubris/api.rb +38 -20
  17. data/lib/githubris/builder.rb +31 -22
  18. data/lib/githubris/comment.rb +1 -1
  19. data/lib/githubris/gist/file.rb +1 -1
  20. data/lib/githubris/gist.rb +1 -10
  21. data/lib/githubris/issue.rb +1 -1
  22. data/lib/githubris/organization.rb +1 -1
  23. data/lib/githubris/repository.rb +1 -1
  24. data/lib/githubris/user.rb +6 -7
  25. data/lib/githubris/version.rb +2 -2
  26. data/lib/githubris.rb +17 -16
  27. data/spec/githubris/api_spec.rb +18 -20
  28. data/spec/githubris/builder_spec.rb +30 -14
  29. data/spec/githubris/gist_spec.rb +0 -30
  30. data/spec/githubris_spec.rb +48 -0
  31. data/spec/spec_helper.rb +8 -1
  32. data/spec/support/fakeweb_responses.rb +2 -57
  33. data/spec/support/fixtures.rb +1 -1
  34. data/spec/support/public_gists_page_1.json +884 -0
  35. data/spec/support/public_gists_page_2.json +898 -0
  36. metadata +17 -8
  37. data/config/base.yml +0 -1
  38. data/config/gists.yml +0 -13
  39. data/config.yml +0 -1
  40. data/lib/githubris/config.rb +0 -13
@@ -0,0 +1,898 @@
1
+ [
2
+ {
3
+ "files": {
4
+ "gistfile1.css": {
5
+ "type": "text/css",
6
+ "raw_url": "https://gist.github.com/raw/1936785/f2e239a5ff8b3abca8c1c995bff7dbf91ce342a2/gistfile1.css",
7
+ "language": "CSS",
8
+ "size": 1186,
9
+ "filename": "gistfile1.css"
10
+ }
11
+ },
12
+ "public": true,
13
+ "comments": 0,
14
+ "updated_at": "2012-02-29T01:22:44Z",
15
+ "git_pull_url": "git://gist.github.com/1936785.git",
16
+ "user": {
17
+ "avatar_url": "https://secure.gravatar.com/avatar/ba78a76897cf876951c3d200191a6671?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
18
+ "login": "mech",
19
+ "url": "https://api.github.com/users/mech",
20
+ "gravatar_id": "ba78a76897cf876951c3d200191a6671",
21
+ "id": 5850
22
+ },
23
+ "html_url": "https://gist.github.com/1936785",
24
+ "git_push_url": "git@gist.github.com:1936785.git",
25
+ "url": "https://api.github.com/gists/1936785",
26
+ "created_at": "2012-02-29T01:22:44Z",
27
+ "id": "1936785",
28
+ "description": "Custom Sass Mixin To Supplement Compass' Transition Tools"
29
+ },
30
+ {
31
+ "files": {
32
+ ".vimrc": {
33
+ "type": "text/plain",
34
+ "raw_url": "https://gist.github.com/raw/1936777/ee1c068f8d7fd011aad042cc9dfa75cde03e339c/.vimrc",
35
+ "language": "VimL",
36
+ "size": 11852,
37
+ "filename": ".vimrc"
38
+ }
39
+ },
40
+ "public": true,
41
+ "comments": 0,
42
+ "updated_at": "2012-02-29T01:20:57Z",
43
+ "git_pull_url": "git://gist.github.com/1936777.git",
44
+ "user": {
45
+ "avatar_url": "https://secure.gravatar.com/avatar/d1747ec1e8e0325b54071a4f1dab5744?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
46
+ "login": "baopham",
47
+ "url": "https://api.github.com/users/baopham",
48
+ "gravatar_id": "d1747ec1e8e0325b54071a4f1dab5744",
49
+ "id": 783410
50
+ },
51
+ "html_url": "https://gist.github.com/1936777",
52
+ "git_push_url": "git@gist.github.com:1936777.git",
53
+ "url": "https://api.github.com/gists/1936777",
54
+ "created_at": "2012-02-29T01:20:57Z",
55
+ "id": "1936777",
56
+ "description": ".vimrc"
57
+ },
58
+ {
59
+ "files": {
60
+ "Solarized.yaml": {
61
+ "type": "text/yaml",
62
+ "raw_url": "https://gist.github.com/raw/1936774/49b5637fa81f48769403bd87bb04647e97c87832/Solarized.yaml",
63
+ "language": "YAML",
64
+ "size": 1113,
65
+ "filename": "Solarized.yaml"
66
+ },
67
+ "Solarized.css": {
68
+ "type": "text/css",
69
+ "raw_url": "https://gist.github.com/raw/1936774/bba98126d07697b535563018395736f67a4d1ace/Solarized.css",
70
+ "language": "CSS",
71
+ "size": 6094,
72
+ "filename": "Solarized.css"
73
+ }
74
+ },
75
+ "public": true,
76
+ "comments": 0,
77
+ "updated_at": "2012-02-29T01:20:15Z",
78
+ "git_pull_url": "git://gist.github.com/1936774.git",
79
+ "user": {
80
+ "avatar_url": "https://secure.gravatar.com/avatar/2173e226c9b803f248737c80eebffd8d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
81
+ "login": "davidbgk",
82
+ "url": "https://api.github.com/users/davidbgk",
83
+ "gravatar_id": "2173e226c9b803f248737c80eebffd8d",
84
+ "id": 3556
85
+ },
86
+ "html_url": "https://gist.github.com/1936774",
87
+ "git_push_url": "git@gist.github.com:1936774.git",
88
+ "url": "https://api.github.com/gists/1936774",
89
+ "created_at": "2012-02-29T01:20:15Z",
90
+ "id": "1936774",
91
+ "description": "A theme for LimeChat IRC client, inspired by Whisper and adapted with Solarized colors. Drop it in ~/Library/Application Support/LimeChat/Themes"
92
+ },
93
+ {
94
+ "files": {
95
+ "gistfile1.lisp": {
96
+ "type": "text/plain",
97
+ "raw_url": "https://gist.github.com/raw/1936760/dec3eeca79117cf5e5ae74c067ff7f9dc552b092/gistfile1.lisp",
98
+ "language": "Common Lisp",
99
+ "size": 638,
100
+ "filename": "gistfile1.lisp"
101
+ }
102
+ },
103
+ "public": true,
104
+ "comments": 0,
105
+ "updated_at": "2012-02-29T01:17:17Z",
106
+ "git_pull_url": "git://gist.github.com/1936760.git",
107
+ "user": {
108
+ "avatar_url": "https://secure.gravatar.com/avatar/90024c44d6db84a8c2558fbb859f5059?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
109
+ "login": "cgutshal",
110
+ "url": "https://api.github.com/users/cgutshal",
111
+ "gravatar_id": "90024c44d6db84a8c2558fbb859f5059",
112
+ "id": 300145
113
+ },
114
+ "html_url": "https://gist.github.com/1936760",
115
+ "git_push_url": "git@gist.github.com:1936760.git",
116
+ "url": "https://api.github.com/gists/1936760",
117
+ "created_at": "2012-02-29T01:17:17Z",
118
+ "id": "1936760",
119
+ "description": ""
120
+ },
121
+ {
122
+ "files": {
123
+ "gistfile1.txt": {
124
+ "type": "text/plain",
125
+ "raw_url": "https://gist.github.com/raw/1936750/59c1ff23576c209ec49f0f6abb9a1d4eb951ea40/gistfile1.txt",
126
+ "language": "Text",
127
+ "size": 3280,
128
+ "filename": "gistfile1.txt"
129
+ }
130
+ },
131
+ "public": true,
132
+ "comments": 0,
133
+ "updated_at": "2012-02-29T01:16:12Z",
134
+ "git_pull_url": "git://gist.github.com/1936750.git",
135
+ "user": {
136
+ "avatar_url": "https://secure.gravatar.com/avatar/b40a53e56b1a1ed8ad87c31c70c8a5c6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
137
+ "login": "djowel",
138
+ "url": "https://api.github.com/users/djowel",
139
+ "gravatar_id": "b40a53e56b1a1ed8ad87c31c70c8a5c6",
140
+ "id": 568094
141
+ },
142
+ "html_url": "https://gist.github.com/1936750",
143
+ "git_push_url": "git@gist.github.com:1936750.git",
144
+ "url": "https://api.github.com/gists/1936750",
145
+ "created_at": "2012-02-29T01:16:12Z",
146
+ "id": "1936750",
147
+ "description": ""
148
+ },
149
+ {
150
+ "files": {
151
+ "emmy_cassy.rb": {
152
+ "type": "application/ruby",
153
+ "raw_url": "https://gist.github.com/raw/1936723/cabea3577fdd6dca8304b9025c7eb05964a6757d/emmy_cassy.rb",
154
+ "language": "Ruby",
155
+ "size": 720,
156
+ "filename": "emmy_cassy.rb"
157
+ }
158
+ },
159
+ "public": true,
160
+ "comments": 0,
161
+ "updated_at": "2012-02-29T01:10:56Z",
162
+ "git_pull_url": "git://gist.github.com/1936723.git",
163
+ "user": {
164
+ "avatar_url": "https://secure.gravatar.com/avatar/8f29d830f4a37e18c95c31e93c1c544a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
165
+ "login": "brendan",
166
+ "url": "https://api.github.com/users/brendan",
167
+ "gravatar_id": "8f29d830f4a37e18c95c31e93c1c544a",
168
+ "id": 578
169
+ },
170
+ "html_url": "https://gist.github.com/1936723",
171
+ "git_push_url": "git@gist.github.com:1936723.git",
172
+ "url": "https://api.github.com/gists/1936723",
173
+ "created_at": "2012-02-29T01:10:56Z",
174
+ "id": "1936723",
175
+ "description": "Simulated old-school blocking connection pool utilization with EM"
176
+ },
177
+ {
178
+ "files": {
179
+ "gistfile1.txt": {
180
+ "type": "text/plain",
181
+ "raw_url": "https://gist.github.com/raw/1936719/78b7fef9a34281d711ff917ad407df7e40a561fa/gistfile1.txt",
182
+ "language": "Text",
183
+ "size": 595,
184
+ "filename": "gistfile1.txt"
185
+ }
186
+ },
187
+ "public": true,
188
+ "comments": 0,
189
+ "updated_at": "2012-02-29T01:10:28Z",
190
+ "git_pull_url": "git://gist.github.com/1936719.git",
191
+ "user": {
192
+ "avatar_url": "https://secure.gravatar.com/avatar/5e63e46cdce321c3caf9df2be068ddf1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
193
+ "login": "axavio",
194
+ "url": "https://api.github.com/users/axavio",
195
+ "gravatar_id": "5e63e46cdce321c3caf9df2be068ddf1",
196
+ "id": 1247473
197
+ },
198
+ "html_url": "https://gist.github.com/1936719",
199
+ "git_push_url": "git@gist.github.com:1936719.git",
200
+ "url": "https://api.github.com/gists/1936719",
201
+ "created_at": "2012-02-29T01:10:28Z",
202
+ "id": "1936719",
203
+ "description": "Error trying to delete contact"
204
+ },
205
+ {
206
+ "files": {
207
+ "output of the installation of aview": {
208
+ "type": "text/plain",
209
+ "raw_url": "https://gist.github.com/raw/1936718/08b65db0829f5616c1a2a8a4e8db9f4c18f56914/output of the installation of aview",
210
+ "language": null,
211
+ "size": 2805,
212
+ "filename": "output of the installation of aview"
213
+ }
214
+ },
215
+ "public": true,
216
+ "comments": 0,
217
+ "updated_at": "2012-02-29T01:10:26Z",
218
+ "git_pull_url": "git://gist.github.com/1936718.git",
219
+ "user": {
220
+ "avatar_url": "https://secure.gravatar.com/avatar/a58ecaa2c1bf5980bec49e688b8da2d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
221
+ "login": "Frizlab",
222
+ "url": "https://api.github.com/users/Frizlab",
223
+ "gravatar_id": "a58ecaa2c1bf5980bec49e688b8da2d2",
224
+ "id": 523041
225
+ },
226
+ "html_url": "https://gist.github.com/1936718",
227
+ "git_push_url": "git@gist.github.com:1936718.git",
228
+ "url": "https://api.github.com/gists/1936718",
229
+ "created_at": "2012-02-29T01:10:26Z",
230
+ "id": "1936718",
231
+ "description": "brew install -v aview"
232
+ },
233
+ {
234
+ "files": {
235
+ "gistfile1.txt": {
236
+ "type": "text/plain",
237
+ "raw_url": "https://gist.github.com/raw/1936714/16aac900227047cd355e1334cb24c3ec8beac558/gistfile1.txt",
238
+ "language": "Text",
239
+ "size": 371,
240
+ "filename": "gistfile1.txt"
241
+ }
242
+ },
243
+ "public": true,
244
+ "comments": 0,
245
+ "updated_at": "2012-02-29T01:09:49Z",
246
+ "git_pull_url": "git://gist.github.com/1936714.git",
247
+ "user": {
248
+ "avatar_url": "https://secure.gravatar.com/avatar/96ee269a18aae62266477d1390f5e9db?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
249
+ "login": "ajcates",
250
+ "url": "https://api.github.com/users/ajcates",
251
+ "gravatar_id": "96ee269a18aae62266477d1390f5e9db",
252
+ "id": 233872
253
+ },
254
+ "html_url": "https://gist.github.com/1936714",
255
+ "git_push_url": "git@gist.github.com:1936714.git",
256
+ "url": "https://api.github.com/gists/1936714",
257
+ "created_at": "2012-02-29T01:09:49Z",
258
+ "id": "1936714",
259
+ "description": ""
260
+ },
261
+ {
262
+ "files": {
263
+ "bcp": {
264
+ "type": "text/plain",
265
+ "raw_url": "https://gist.github.com/raw/1936712/d1cbc7fbdec4898275e2d3ff58f48cdb70325464/bcp",
266
+ "language": null,
267
+ "size": 2082,
268
+ "filename": "bcp"
269
+ }
270
+ },
271
+ "public": true,
272
+ "comments": 0,
273
+ "updated_at": "2012-02-29T01:10:09Z",
274
+ "git_pull_url": "git://gist.github.com/1936712.git",
275
+ "user": {
276
+ "avatar_url": "https://secure.gravatar.com/avatar/96bca3fde1da5a9b1a47acd7e391a0f0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
277
+ "login": "RickieL",
278
+ "url": "https://api.github.com/users/RickieL",
279
+ "gravatar_id": "96bca3fde1da5a9b1a47acd7e391a0f0",
280
+ "id": 1237624
281
+ },
282
+ "html_url": "https://gist.github.com/1936712",
283
+ "git_push_url": "git@gist.github.com:1936712.git",
284
+ "url": "https://api.github.com/gists/1936712",
285
+ "created_at": "2012-02-29T01:09:33Z",
286
+ "id": "1936712",
287
+ "description": "rapid cp the file and directory in the same directory with an uniq name. useful for backup a file and directory."
288
+ },
289
+ {
290
+ "files": {
291
+ "env.rb": {
292
+ "type": "application/ruby",
293
+ "raw_url": "https://gist.github.com/raw/1936685/78fb99e6aab06175daa560b31953193b2c375880/env.rb",
294
+ "language": "Ruby",
295
+ "size": 799,
296
+ "filename": "env.rb"
297
+ }
298
+ },
299
+ "public": true,
300
+ "comments": 0,
301
+ "updated_at": "2012-02-29T01:02:42Z",
302
+ "git_pull_url": "git://gist.github.com/1936685.git",
303
+ "user": {
304
+ "avatar_url": "https://secure.gravatar.com/avatar/4d517426449c4788bd4940cfba7f6bda?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
305
+ "login": "timlinquist",
306
+ "url": "https://api.github.com/users/timlinquist",
307
+ "gravatar_id": "4d517426449c4788bd4940cfba7f6bda",
308
+ "id": 29416
309
+ },
310
+ "html_url": "https://gist.github.com/1936685",
311
+ "git_push_url": "git@gist.github.com:1936685.git",
312
+ "url": "https://api.github.com/gists/1936685",
313
+ "created_at": "2012-02-29T01:02:42Z",
314
+ "id": "1936685",
315
+ "description": "Use default profile w/selenium webdriver"
316
+ },
317
+ {
318
+ "files": {
319
+ "web-dsl.ps": {
320
+ "type": "application/postscript",
321
+ "raw_url": "https://gist.github.com/raw/1936681/2bbc8ddcb5e80940b0691ab4c53f98a0530c64b3/web-dsl.ps",
322
+ "language": null,
323
+ "size": 225,
324
+ "filename": "web-dsl.ps"
325
+ },
326
+ "web-dsl-spec.txt": {
327
+ "type": "text/plain",
328
+ "raw_url": "https://gist.github.com/raw/1936681/2cd8658bfd7de8ee86f0477fcad883b4a0f6f8b2/web-dsl-spec.txt",
329
+ "language": "Text",
330
+ "size": 46,
331
+ "filename": "web-dsl-spec.txt"
332
+ }
333
+ },
334
+ "public": true,
335
+ "comments": 0,
336
+ "updated_at": "2012-02-29T01:02:04Z",
337
+ "git_pull_url": "git://gist.github.com/1936681.git",
338
+ "user": {
339
+ "avatar_url": "https://secure.gravatar.com/avatar/9ebcd633e0b3e795c4c2454708a7992e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
340
+ "login": "darkf",
341
+ "url": "https://api.github.com/users/darkf",
342
+ "gravatar_id": "9ebcd633e0b3e795c4c2454708a7992e",
343
+ "id": 179760
344
+ },
345
+ "html_url": "https://gist.github.com/1936681",
346
+ "git_push_url": "git@gist.github.com:1936681.git",
347
+ "url": "https://api.github.com/gists/1936681",
348
+ "created_at": "2012-02-29T01:02:04Z",
349
+ "id": "1936681",
350
+ "description": "Web DSL for Possum, WIP"
351
+ },
352
+ {
353
+ "files": {
354
+ "gistfile1.js": {
355
+ "type": "application/javascript",
356
+ "raw_url": "https://gist.github.com/raw/1936676/aaa63de2091d93a5940aa5a713597bf7a75b1ee6/gistfile1.js",
357
+ "language": "JavaScript",
358
+ "size": 443,
359
+ "filename": "gistfile1.js"
360
+ }
361
+ },
362
+ "public": true,
363
+ "comments": 0,
364
+ "updated_at": "2012-02-29T01:00:07Z",
365
+ "git_pull_url": "git://gist.github.com/1936676.git",
366
+ "user": {
367
+ "avatar_url": "https://secure.gravatar.com/avatar/5a1b4e2a4c393ba331baaa97a04d1c09?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
368
+ "login": "feross",
369
+ "url": "https://api.github.com/users/feross",
370
+ "gravatar_id": "5a1b4e2a4c393ba331baaa97a04d1c09",
371
+ "id": 121766
372
+ },
373
+ "html_url": "https://gist.github.com/1936676",
374
+ "git_push_url": "git@gist.github.com:1936676.git",
375
+ "url": "https://api.github.com/gists/1936676",
376
+ "created_at": "2012-02-29T01:00:07Z",
377
+ "id": "1936676",
378
+ "description": "memoizer.js"
379
+ },
380
+ {
381
+ "files": {
382
+ "gistfile1.sh": {
383
+ "type": "application/sh",
384
+ "raw_url": "https://gist.github.com/raw/1936664/ffd4410dada87d96a3a89f8d35f43cbafd4929e3/gistfile1.sh",
385
+ "language": "Shell",
386
+ "size": 242,
387
+ "filename": "gistfile1.sh"
388
+ }
389
+ },
390
+ "public": true,
391
+ "comments": 0,
392
+ "updated_at": "2012-02-29T00:57:19Z",
393
+ "git_pull_url": "git://gist.github.com/1936664.git",
394
+ "user": {
395
+ "avatar_url": "https://secure.gravatar.com/avatar/c57c8945079831fa3c19caef02e44614?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
396
+ "login": "rmccue",
397
+ "url": "https://api.github.com/users/rmccue",
398
+ "gravatar_id": "c57c8945079831fa3c19caef02e44614",
399
+ "id": 21655
400
+ },
401
+ "html_url": "https://gist.github.com/1936664",
402
+ "git_push_url": "git@gist.github.com:1936664.git",
403
+ "url": "https://api.github.com/gists/1936664",
404
+ "created_at": "2012-02-29T00:57:19Z",
405
+ "id": "1936664",
406
+ "description": "Update Python to 2.7 on OSX 10.6"
407
+ },
408
+ {
409
+ "files": {
410
+ "gistfile1.txt": {
411
+ "type": "text/plain",
412
+ "raw_url": "https://gist.github.com/raw/1936657/8049a590d3f710e342dd0e2cc4a55050efd02a75/gistfile1.txt",
413
+ "language": "Text",
414
+ "size": 1370,
415
+ "filename": "gistfile1.txt"
416
+ }
417
+ },
418
+ "public": true,
419
+ "comments": 0,
420
+ "updated_at": "2012-02-29T01:00:33Z",
421
+ "git_pull_url": "git://gist.github.com/1936657.git",
422
+ "user": {
423
+ "avatar_url": "https://secure.gravatar.com/avatar/29ee5e9e80a63c82da71f5b2b82b79e2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
424
+ "login": "jamesrwhite",
425
+ "url": "https://api.github.com/users/jamesrwhite",
426
+ "gravatar_id": "29ee5e9e80a63c82da71f5b2b82b79e2",
427
+ "id": 640960
428
+ },
429
+ "html_url": "https://gist.github.com/1936657",
430
+ "git_push_url": "git@gist.github.com:1936657.git",
431
+ "url": "https://api.github.com/gists/1936657",
432
+ "created_at": "2012-02-29T00:56:10Z",
433
+ "id": "1936657",
434
+ "description": ""
435
+ },
436
+ {
437
+ "files": {
438
+ "gistfile1.txt": {
439
+ "type": "text/plain",
440
+ "raw_url": "https://gist.github.com/raw/1936651/adff8d0b36425bdd7f380a8cfd42d253827dae4a/gistfile1.txt",
441
+ "language": "Text",
442
+ "size": 110,
443
+ "filename": "gistfile1.txt"
444
+ }
445
+ },
446
+ "public": true,
447
+ "comments": 0,
448
+ "updated_at": "2012-02-29T00:54:00Z",
449
+ "git_pull_url": "git://gist.github.com/1936651.git",
450
+ "user": {
451
+ "avatar_url": "https://secure.gravatar.com/avatar/be79ae415697086ea0bb08608f20ecd4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
452
+ "login": "chielkunkels",
453
+ "url": "https://api.github.com/users/chielkunkels",
454
+ "gravatar_id": "be79ae415697086ea0bb08608f20ecd4",
455
+ "id": 141643
456
+ },
457
+ "html_url": "https://gist.github.com/1936651",
458
+ "git_push_url": "git@gist.github.com:1936651.git",
459
+ "url": "https://api.github.com/gists/1936651",
460
+ "created_at": "2012-02-29T00:54:00Z",
461
+ "id": "1936651",
462
+ "description": "Tinker events"
463
+ },
464
+ {
465
+ "files": {
466
+ "gistfile1.txt": {
467
+ "type": "text/plain",
468
+ "raw_url": "https://gist.github.com/raw/1936640/1bddf3e26faceccf5a724b4267f2d45fb4b82cf2/gistfile1.txt",
469
+ "language": "Text",
470
+ "size": 241,
471
+ "filename": "gistfile1.txt"
472
+ }
473
+ },
474
+ "public": true,
475
+ "comments": 0,
476
+ "updated_at": "2012-02-29T00:51:32Z",
477
+ "git_pull_url": "git://gist.github.com/1936640.git",
478
+ "user": {
479
+ "avatar_url": "https://secure.gravatar.com/avatar/88d4bdcadc4745ee0739b2f479cd60a1?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
480
+ "login": "thetristan",
481
+ "url": "https://api.github.com/users/thetristan",
482
+ "gravatar_id": "88d4bdcadc4745ee0739b2f479cd60a1",
483
+ "id": 94828
484
+ },
485
+ "html_url": "https://gist.github.com/1936640",
486
+ "git_push_url": "git@gist.github.com:1936640.git",
487
+ "url": "https://api.github.com/gists/1936640",
488
+ "created_at": "2012-02-29T00:51:32Z",
489
+ "id": "1936640",
490
+ "description": "ExpressionEngine Loop/Split Template Pseudo Code"
491
+ },
492
+ {
493
+ "files": {
494
+ "crn_parser.diff": {
495
+ "type": "text/plain",
496
+ "raw_url": "https://gist.github.com/raw/1936638/8cce39ec9b77647a57e1c1b5cbb790698921a32d/crn_parser.diff",
497
+ "language": "Diff",
498
+ "size": 1982,
499
+ "filename": "crn_parser.diff"
500
+ },
501
+ "crn_parser2.cc": {
502
+ "type": "text/plain",
503
+ "raw_url": "https://gist.github.com/raw/1936638/8aa8d6ea5e0d29b9dae0c5b319d9de10cb719be1/crn_parser2.cc",
504
+ "language": "C++",
505
+ "size": 3283,
506
+ "filename": "crn_parser2.cc"
507
+ },
508
+ "crn_parser.cc": {
509
+ "type": "text/plain",
510
+ "raw_url": "https://gist.github.com/raw/1936638/10518433cce281fbfd95e05a60b618c7fa7d3e19/crn_parser.cc",
511
+ "language": "C++",
512
+ "size": 3220,
513
+ "filename": "crn_parser.cc"
514
+ }
515
+ },
516
+ "public": true,
517
+ "comments": 0,
518
+ "updated_at": "2012-02-29T00:51:19Z",
519
+ "git_pull_url": "git://gist.github.com/1936638.git",
520
+ "user": {
521
+ "avatar_url": "https://secure.gravatar.com/avatar/83e47dfe76dc6e3766f42414428e0084?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
522
+ "login": "cthachuk",
523
+ "url": "https://api.github.com/users/cthachuk",
524
+ "gravatar_id": "83e47dfe76dc6e3766f42414428e0084",
525
+ "id": 1234
526
+ },
527
+ "html_url": "https://gist.github.com/1936638",
528
+ "git_push_url": "git@gist.github.com:1936638.git",
529
+ "url": "https://api.github.com/gists/1936638",
530
+ "created_at": "2012-02-29T00:51:19Z",
531
+ "id": "1936638",
532
+ "description": "This first file compiles and works fine. The second does not compile."
533
+ },
534
+ {
535
+ "files": {
536
+ "gistfile1.txt": {
537
+ "type": "text/plain",
538
+ "raw_url": "https://gist.github.com/raw/1936622/a41786fea788706cb4b436b0b477015f0ba2ff3a/gistfile1.txt",
539
+ "language": "Text",
540
+ "size": 260,
541
+ "filename": "gistfile1.txt"
542
+ }
543
+ },
544
+ "public": true,
545
+ "comments": 0,
546
+ "updated_at": "2012-02-29T00:48:18Z",
547
+ "git_pull_url": "git://gist.github.com/1936622.git",
548
+ "user": {
549
+ "avatar_url": "https://secure.gravatar.com/avatar/4742812a011db89b01a52af6722640b8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
550
+ "login": "smly",
551
+ "url": "https://api.github.com/users/smly",
552
+ "gravatar_id": "4742812a011db89b01a52af6722640b8",
553
+ "id": 19337
554
+ },
555
+ "html_url": "https://gist.github.com/1936622",
556
+ "git_push_url": "git@gist.github.com:1936622.git",
557
+ "url": "https://api.github.com/gists/1936622",
558
+ "created_at": "2012-02-29T00:48:18Z",
559
+ "id": "1936622",
560
+ "description": "redis-scripting-fibo-result"
561
+ },
562
+ {
563
+ "files": {
564
+ "levenshtein.js": {
565
+ "type": "application/javascript",
566
+ "raw_url": "https://gist.github.com/raw/1936620/3c6ac06509272b76c25dbadc0317e60fd8bd2d35/levenshtein.js",
567
+ "language": "JavaScript",
568
+ "size": 712,
569
+ "filename": "levenshtein.js"
570
+ }
571
+ },
572
+ "public": true,
573
+ "comments": 0,
574
+ "updated_at": "2012-02-29T00:48:08Z",
575
+ "git_pull_url": "git://gist.github.com/1936620.git",
576
+ "user": {
577
+ "avatar_url": "https://secure.gravatar.com/avatar/d8d09510c29a1e091fb20b7a99389b5b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
578
+ "login": "tomasdev",
579
+ "url": "https://api.github.com/users/tomasdev",
580
+ "gravatar_id": "d8d09510c29a1e091fb20b7a99389b5b",
581
+ "id": 364033
582
+ },
583
+ "html_url": "https://gist.github.com/1936620",
584
+ "git_push_url": "git@gist.github.com:1936620.git",
585
+ "url": "https://api.github.com/gists/1936620",
586
+ "created_at": "2012-02-29T00:48:08Z",
587
+ "id": "1936620",
588
+ "description": "Levenshtein JavaScript"
589
+ },
590
+ {
591
+ "files": {
592
+ "readme.md": {
593
+ "type": "text/plain",
594
+ "raw_url": "https://gist.github.com/raw/1936613/6b24fe335e805d36c4d67b67049e1f7ce2fc90b0/readme.md",
595
+ "language": "Markdown",
596
+ "size": 290,
597
+ "filename": "readme.md"
598
+ },
599
+ "main.py": {
600
+ "type": "application/python",
601
+ "raw_url": "https://gist.github.com/raw/1936613/998dfaf17d019430759b25153111d85dca1ecffe/main.py",
602
+ "language": "Python",
603
+ "size": 806,
604
+ "filename": "main.py"
605
+ }
606
+ },
607
+ "public": true,
608
+ "comments": 0,
609
+ "updated_at": "2012-02-29T00:46:54Z",
610
+ "git_pull_url": "git://gist.github.com/1936613.git",
611
+ "user": {
612
+ "avatar_url": "https://secure.gravatar.com/avatar/1d2f55118d33495b73c30b1bb9e4540a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
613
+ "login": "mohamedmansour",
614
+ "url": "https://api.github.com/users/mohamedmansour",
615
+ "gravatar_id": "1d2f55118d33495b73c30b1bb9e4540a",
616
+ "id": 68524
617
+ },
618
+ "html_url": "https://gist.github.com/1936613",
619
+ "git_push_url": "git@gist.github.com:1936613.git",
620
+ "url": "https://api.github.com/gists/1936613",
621
+ "created_at": "2012-02-29T00:46:54Z",
622
+ "id": "1936613",
623
+ "description": "Auto Move your mouse to keep Google+ Hangout alive."
624
+ },
625
+ {
626
+ "files": {
627
+ "reply": {
628
+ "type": "text/plain",
629
+ "raw_url": "https://gist.github.com/raw/1936611/b702eb2a6f34162e480cfe2b83224bb97fe10eb5/reply",
630
+ "language": null,
631
+ "size": 406,
632
+ "filename": "reply"
633
+ },
634
+ "businesses_controller.rb": {
635
+ "type": "application/ruby",
636
+ "raw_url": "https://gist.github.com/raw/1936611/a22ac2db998f3fe94dd8c6b8d961e518ba092adf/businesses_controller.rb",
637
+ "language": "Ruby",
638
+ "size": 313,
639
+ "filename": "businesses_controller.rb"
640
+ },
641
+ "businesses_controller_spec.rb": {
642
+ "type": "application/ruby",
643
+ "raw_url": "https://gist.github.com/raw/1936611/9aa6a2aa60170af79f7565046eddb08e7eddb767/businesses_controller_spec.rb",
644
+ "language": "Ruby",
645
+ "size": 411,
646
+ "filename": "businesses_controller_spec.rb"
647
+ }
648
+ },
649
+ "public": true,
650
+ "comments": 0,
651
+ "updated_at": "2012-02-29T00:46:56Z",
652
+ "git_pull_url": "git://gist.github.com/1936611.git",
653
+ "user": {
654
+ "avatar_url": "https://secure.gravatar.com/avatar/0feac81c7599ab48bd8588ac34983775?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
655
+ "login": "tommyvyo",
656
+ "url": "https://api.github.com/users/tommyvyo",
657
+ "gravatar_id": "0feac81c7599ab48bd8588ac34983775",
658
+ "id": 584675
659
+ },
660
+ "html_url": "https://gist.github.com/1936611",
661
+ "git_push_url": "git@gist.github.com:1936611.git",
662
+ "url": "https://api.github.com/gists/1936611",
663
+ "created_at": "2012-02-29T00:46:44Z",
664
+ "id": "1936611",
665
+ "description": ""
666
+ },
667
+ {
668
+ "files": {
669
+ "gistfile1.rb": {
670
+ "type": "application/ruby",
671
+ "raw_url": "https://gist.github.com/raw/1936603/45a891384db20ef427f3af1bbae034b162256414/gistfile1.rb",
672
+ "language": "Ruby",
673
+ "size": 356,
674
+ "filename": "gistfile1.rb"
675
+ }
676
+ },
677
+ "public": true,
678
+ "comments": 0,
679
+ "updated_at": "2012-02-29T00:45:34Z",
680
+ "git_pull_url": "git://gist.github.com/1936603.git",
681
+ "user": {
682
+ "avatar_url": "https://secure.gravatar.com/avatar/4742812a011db89b01a52af6722640b8?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
683
+ "login": "smly",
684
+ "url": "https://api.github.com/users/smly",
685
+ "gravatar_id": "4742812a011db89b01a52af6722640b8",
686
+ "id": 19337
687
+ },
688
+ "html_url": "https://gist.github.com/1936603",
689
+ "git_push_url": "git@gist.github.com:1936603.git",
690
+ "url": "https://api.github.com/gists/1936603",
691
+ "created_at": "2012-02-29T00:45:34Z",
692
+ "id": "1936603",
693
+ "description": "LOL_redis_scripting.rb"
694
+ },
695
+ {
696
+ "files": {
697
+ "gistfile1.js": {
698
+ "type": "application/javascript",
699
+ "raw_url": "https://gist.github.com/raw/1936598/e5fd55196369dfa177f77b12b37817c719acaae7/gistfile1.js",
700
+ "language": "JavaScript",
701
+ "size": 127,
702
+ "filename": "gistfile1.js"
703
+ }
704
+ },
705
+ "public": true,
706
+ "comments": 0,
707
+ "updated_at": "2012-02-29T00:43:41Z",
708
+ "git_pull_url": "git://gist.github.com/1936598.git",
709
+ "user": {
710
+ "avatar_url": "https://secure.gravatar.com/avatar/c86bab02fa3df5d04a9642e45df8513d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
711
+ "login": "tvpmb",
712
+ "url": "https://api.github.com/users/tvpmb",
713
+ "gravatar_id": "c86bab02fa3df5d04a9642e45df8513d",
714
+ "id": 1316784
715
+ },
716
+ "html_url": "https://gist.github.com/1936598",
717
+ "git_push_url": "git@gist.github.com:1936598.git",
718
+ "url": "https://api.github.com/gists/1936598",
719
+ "created_at": "2012-02-29T00:43:41Z",
720
+ "id": "1936598",
721
+ "description": "ensure specific model data"
722
+ },
723
+ {
724
+ "files": {
725
+ "info.txt": {
726
+ "type": "text/plain",
727
+ "raw_url": "https://gist.github.com/raw/1936597/c5bcbf43263c71520ae8fdbde01c85ae43793250/info.txt",
728
+ "language": "Text",
729
+ "size": 851,
730
+ "filename": "info.txt"
731
+ }
732
+ },
733
+ "public": true,
734
+ "comments": 0,
735
+ "updated_at": "2012-02-29T00:43:40Z",
736
+ "git_pull_url": "git://gist.github.com/1936597.git",
737
+ "user": {
738
+ "avatar_url": "https://secure.gravatar.com/avatar/295fad2575fda0d2f184dffd49c90070?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
739
+ "login": "codereflection",
740
+ "url": "https://api.github.com/users/codereflection",
741
+ "gravatar_id": "295fad2575fda0d2f184dffd49c90070",
742
+ "id": 149971
743
+ },
744
+ "html_url": "https://gist.github.com/1936597",
745
+ "git_push_url": "git@gist.github.com:1936597.git",
746
+ "url": "https://api.github.com/gists/1936597",
747
+ "created_at": "2012-02-29T00:43:40Z",
748
+ "id": "1936597",
749
+ "description": "Gravity Kata"
750
+ },
751
+ {
752
+ "files": {
753
+ "montecarlo.py": {
754
+ "type": "application/python",
755
+ "raw_url": "https://gist.github.com/raw/1936558/0631cf83d1728baf32a54b83271d3a3a22e9ce10/montecarlo.py",
756
+ "language": "Python",
757
+ "size": 489,
758
+ "filename": "montecarlo.py"
759
+ }
760
+ },
761
+ "public": true,
762
+ "comments": 0,
763
+ "updated_at": "2012-02-29T00:40:29Z",
764
+ "git_pull_url": "git://gist.github.com/1936558.git",
765
+ "user": {
766
+ "avatar_url": "https://secure.gravatar.com/avatar/1a4148d6e7a2b9fa3f4af12faae6b632?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
767
+ "login": "clarle",
768
+ "url": "https://api.github.com/users/clarle",
769
+ "gravatar_id": "1a4148d6e7a2b9fa3f4af12faae6b632",
770
+ "id": 686352
771
+ },
772
+ "html_url": "https://gist.github.com/1936558",
773
+ "git_push_url": "git@gist.github.com:1936558.git",
774
+ "url": "https://api.github.com/gists/1936558",
775
+ "created_at": "2012-02-29T00:40:29Z",
776
+ "id": "1936558",
777
+ "description": "Monte Carlo for COMP 424"
778
+ },
779
+ {
780
+ "files": {
781
+ "gistfile1.rb": {
782
+ "type": "application/ruby",
783
+ "raw_url": "https://gist.github.com/raw/1936541/f56e10f9ad57a156548be71ad119b76ef303174c/gistfile1.rb",
784
+ "language": "Ruby",
785
+ "size": 2191,
786
+ "filename": "gistfile1.rb"
787
+ },
788
+ "usage example": {
789
+ "type": "text/plain",
790
+ "raw_url": "https://gist.github.com/raw/1936541/932c0ed1466df667c712f896ab564c860934815d/usage example",
791
+ "language": null,
792
+ "size": 306,
793
+ "filename": "usage example"
794
+ }
795
+ },
796
+ "public": true,
797
+ "comments": 0,
798
+ "updated_at": "2012-02-29T00:38:08Z",
799
+ "git_pull_url": "git://gist.github.com/1936541.git",
800
+ "user": {
801
+ "avatar_url": "https://secure.gravatar.com/avatar/d6a4a94aa8ba2d10aa2809bed2f6f72a?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
802
+ "login": "amay",
803
+ "url": "https://api.github.com/users/amay",
804
+ "gravatar_id": "d6a4a94aa8ba2d10aa2809bed2f6f72a",
805
+ "id": 565779
806
+ },
807
+ "html_url": "https://gist.github.com/1936541",
808
+ "git_push_url": "git@gist.github.com:1936541.git",
809
+ "url": "https://api.github.com/gists/1936541",
810
+ "created_at": "2012-02-29T00:38:08Z",
811
+ "id": "1936541",
812
+ "description": "BraintreeHelper"
813
+ },
814
+ {
815
+ "files": {
816
+ "New Document with Selection.applescript": {
817
+ "type": "text/plain",
818
+ "raw_url": "https://gist.github.com/raw/1936536/14db006229fa596b1bf059734cf2692ce8240eaa/New Document with Selection.applescript",
819
+ "language": "AppleScript",
820
+ "size": 485,
821
+ "filename": "New Document with Selection.applescript"
822
+ }
823
+ },
824
+ "public": true,
825
+ "comments": 0,
826
+ "updated_at": "2012-02-29T00:37:05Z",
827
+ "git_pull_url": "git://gist.github.com/1936536.git",
828
+ "user": {
829
+ "avatar_url": "https://secure.gravatar.com/avatar/208a47abef54d80e418816b04bb36965?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
830
+ "login": "1024jp",
831
+ "url": "https://api.github.com/users/1024jp",
832
+ "gravatar_id": "208a47abef54d80e418816b04bb36965",
833
+ "id": 1165044
834
+ },
835
+ "html_url": "https://gist.github.com/1936536",
836
+ "git_push_url": "git@gist.github.com:1936536.git",
837
+ "url": "https://api.github.com/gists/1936536",
838
+ "created_at": "2012-02-29T00:37:05Z",
839
+ "id": "1936536",
840
+ "description": "New Document with Selection for CotEditor"
841
+ },
842
+ {
843
+ "files": {
844
+ "gistfile1.coffee": {
845
+ "type": "text/plain",
846
+ "raw_url": "https://gist.github.com/raw/1936535/358486c6511e90a8f6770cbac4a5e51780435677/gistfile1.coffee",
847
+ "language": "CoffeeScript",
848
+ "size": 1410,
849
+ "filename": "gistfile1.coffee"
850
+ }
851
+ },
852
+ "public": true,
853
+ "comments": 0,
854
+ "updated_at": "2012-02-29T00:36:50Z",
855
+ "git_pull_url": "git://gist.github.com/1936535.git",
856
+ "user": {
857
+ "avatar_url": "https://secure.gravatar.com/avatar/e3bfe2d437ea5c8bcc1ed28fcaa6e71f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
858
+ "login": "meltingice",
859
+ "url": "https://api.github.com/users/meltingice",
860
+ "gravatar_id": "e3bfe2d437ea5c8bcc1ed28fcaa6e71f",
861
+ "id": 126393
862
+ },
863
+ "html_url": "https://gist.github.com/1936535",
864
+ "git_push_url": "git@gist.github.com:1936535.git",
865
+ "url": "https://api.github.com/gists/1936535",
866
+ "created_at": "2012-02-29T00:36:50Z",
867
+ "id": "1936535",
868
+ "description": ""
869
+ },
870
+ {
871
+ "files": {
872
+ "gistfile1.txt": {
873
+ "type": "text/plain",
874
+ "raw_url": "https://gist.github.com/raw/1936527/876f2507cc2726da3c895aafb67ba74342f9430c/gistfile1.txt",
875
+ "language": "Text",
876
+ "size": 234,
877
+ "filename": "gistfile1.txt"
878
+ }
879
+ },
880
+ "public": true,
881
+ "comments": 0,
882
+ "updated_at": "2012-02-29T00:34:44Z",
883
+ "git_pull_url": "git://gist.github.com/1936527.git",
884
+ "user": {
885
+ "avatar_url": "https://secure.gravatar.com/avatar/8b3bd89d842c858bea279637e34b4382?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png",
886
+ "login": "ingydotnet",
887
+ "url": "https://api.github.com/users/ingydotnet",
888
+ "gravatar_id": "8b3bd89d842c858bea279637e34b4382",
889
+ "id": 21826
890
+ },
891
+ "html_url": "https://gist.github.com/1936527",
892
+ "git_push_url": "git@gist.github.com:1936527.git",
893
+ "url": "https://api.github.com/gists/1936527",
894
+ "created_at": "2012-02-29T00:34:44Z",
895
+ "id": "1936527",
896
+ "description": ""
897
+ }
898
+ ]