onebox 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.rspec +1 -0
  4. data/.rubocop.yml +476 -0
  5. data/.ruby-gemset +1 -0
  6. data/.ruby-version +1 -0
  7. data/.travis.yml +3 -0
  8. data/Gemfile +4 -0
  9. data/LICENSE.txt +22 -0
  10. data/README.md +92 -0
  11. data/Rakefile +22 -0
  12. data/lib/onebox.rb +33 -0
  13. data/lib/onebox/engine.rb +93 -0
  14. data/lib/onebox/engine/amazon_onebox.rb +25 -0
  15. data/lib/onebox/engine/bliptv_onebox.rb +26 -0
  16. data/lib/onebox/engine/clikthrough_onebox.rb +23 -0
  17. data/lib/onebox/engine/college_humor_onebox.rb +26 -0
  18. data/lib/onebox/engine/dailymotion_onebox.rb +26 -0
  19. data/lib/onebox/engine/dotsub_onebox.rb +25 -0
  20. data/lib/onebox/engine/example_onebox.rb +25 -0
  21. data/lib/onebox/engine/flickr_onebox.rb +25 -0
  22. data/lib/onebox/engine/funny_or_die_onebox.rb +26 -0
  23. data/lib/onebox/engine/html.rb +11 -0
  24. data/lib/onebox/engine/hulu_onebox.rb +26 -0
  25. data/lib/onebox/engine/nfb_onebox.rb +25 -0
  26. data/lib/onebox/engine/open_graph.rb +11 -0
  27. data/lib/onebox/engine/qik_onebox.rb +23 -0
  28. data/lib/onebox/engine/revision3_onebox.rb +26 -0
  29. data/lib/onebox/engine/slideshare_onebox.rb +25 -0
  30. data/lib/onebox/engine/sound_cloud_onebox.rb +25 -0
  31. data/lib/onebox/engine/stack_exchange_onebox.rb +23 -0
  32. data/lib/onebox/engine/ted_onebox.rb +25 -0
  33. data/lib/onebox/engine/viddler_onebox.rb +26 -0
  34. data/lib/onebox/engine/vimeo_onebox.rb +26 -0
  35. data/lib/onebox/engine/wikipedia_onebox.rb +24 -0
  36. data/lib/onebox/engine/yfrog_onebox.rb +25 -0
  37. data/lib/onebox/matcher.rb +13 -0
  38. data/lib/onebox/preview.rb +31 -0
  39. data/lib/onebox/version.rb +3 -0
  40. data/onebox.gemspec +36 -0
  41. data/spec/fixtures/amazon.response +3098 -0
  42. data/spec/fixtures/android.response +138 -0
  43. data/spec/fixtures/apple.response +391 -0
  44. data/spec/fixtures/bliptv.response +724 -0
  45. data/spec/fixtures/clickthrough.response +1472 -0
  46. data/spec/fixtures/clikthrough.response +1472 -0
  47. data/spec/fixtures/collegehumor.response +1272 -0
  48. data/spec/fixtures/dailymotion.response +575 -0
  49. data/spec/fixtures/dotsub.response +1257 -0
  50. data/spec/fixtures/example.response +50 -0
  51. data/spec/fixtures/flickr.response +1292 -0
  52. data/spec/fixtures/funnyordie.response +2010 -0
  53. data/spec/fixtures/gist.response +282 -0
  54. data/spec/fixtures/github_blob.response +706 -0
  55. data/spec/fixtures/github_commit.response +881 -0
  56. data/spec/fixtures/github_pullrequest.response +1619 -0
  57. data/spec/fixtures/hulu.response +339 -0
  58. data/spec/fixtures/image.response +0 -0
  59. data/spec/fixtures/imgur.response +892 -0
  60. data/spec/fixtures/kinomap.response +299 -0
  61. data/spec/fixtures/nfb.response +810 -0
  62. data/spec/fixtures/opengraph.response +27 -0
  63. data/spec/fixtures/qik.response +371 -0
  64. data/spec/fixtures/revision3.response +985 -0
  65. data/spec/fixtures/rottentomatoes_fresh.response +3275 -0
  66. data/spec/fixtures/rottentomatoes_incomplete.response +2313 -0
  67. data/spec/fixtures/rottentomatoes_rotten.response +3549 -0
  68. data/spec/fixtures/slideshare.response +1745 -0
  69. data/spec/fixtures/soundcloud.response +1409 -0
  70. data/spec/fixtures/stackexchange.response +1889 -0
  71. data/spec/fixtures/ted.response +1341 -0
  72. data/spec/fixtures/twitter.response +1712 -0
  73. data/spec/fixtures/viddler.response +442 -0
  74. data/spec/fixtures/video.response +0 -0
  75. data/spec/fixtures/vimeo.response +571 -0
  76. data/spec/fixtures/wikipedia.response +1236 -0
  77. data/spec/fixtures/wikipedia_redirected.response +899 -0
  78. data/spec/fixtures/yfrog.response +464 -0
  79. data/spec/lib/onebox/engine/amazon_spec.rb +34 -0
  80. data/spec/lib/onebox/engine/bliptv_spec.rb +34 -0
  81. data/spec/lib/onebox/engine/clikthrough_spec.rb +26 -0
  82. data/spec/lib/onebox/engine/college_humor_spec.rb +34 -0
  83. data/spec/lib/onebox/engine/dailymotion_spec.rb +36 -0
  84. data/spec/lib/onebox/engine/dotsub_spec.rb +36 -0
  85. data/spec/lib/onebox/engine/example_spec.rb +18 -0
  86. data/spec/lib/onebox/engine/flickr_spec.rb +30 -0
  87. data/spec/lib/onebox/engine/funny_or_die_spec.rb +34 -0
  88. data/spec/lib/onebox/engine/hulu_spec.rb +34 -0
  89. data/spec/lib/onebox/engine/nfb_spec.rb +35 -0
  90. data/spec/lib/onebox/engine/qik_spec.rb +35 -0
  91. data/spec/lib/onebox/engine/revision3_spec.rb +36 -0
  92. data/spec/lib/onebox/engine/slideshare_spec.rb +30 -0
  93. data/spec/lib/onebox/engine/sound_cloud_spec.rb +36 -0
  94. data/spec/lib/onebox/engine/stack_exchange_spec.rb +27 -0
  95. data/spec/lib/onebox/engine/ted_spec.rb +30 -0
  96. data/spec/lib/onebox/engine/viddler_spec.rb +36 -0
  97. data/spec/lib/onebox/engine/vimeo_spec.rb +34 -0
  98. data/spec/lib/onebox/engine/wikipedia_spec.rb +30 -0
  99. data/spec/lib/onebox/engine/yfrog_spec.rb +30 -0
  100. data/spec/lib/onebox/engine_spec.rb +78 -0
  101. data/spec/lib/onebox/matcher_spec.rb +20 -0
  102. data/spec/lib/onebox/preview_spec.rb +21 -0
  103. data/spec/lib/onebox_spec.rb +49 -0
  104. data/spec/spec_helper.rb +26 -0
  105. data/spec/support/html_spec_helper.rb +17 -0
  106. data/templates/amazon.handlebars +9 -0
  107. data/templates/bliptv.handlebars +10 -0
  108. data/templates/clickthrough.handlebars +8 -0
  109. data/templates/clikthrough.handlebars +8 -0
  110. data/templates/collegehumor.handlebars +9 -0
  111. data/templates/dailymotion.handlebars +9 -0
  112. data/templates/dotsub.handlebars +9 -0
  113. data/templates/flickr.handlebars +8 -0
  114. data/templates/funnyordie.handlebars +9 -0
  115. data/templates/hulu.handlebars +9 -0
  116. data/templates/nfb.handlebars +8 -0
  117. data/templates/qik.handlebars +7 -0
  118. data/templates/revision3.handlebars +9 -0
  119. data/templates/slideshare.handlebars +8 -0
  120. data/templates/soundcloud.handlebars +9 -0
  121. data/templates/stackexchange.handlebars +7 -0
  122. data/templates/ted.handlebars +8 -0
  123. data/templates/viddler.handlebars +9 -0
  124. data/templates/vimeo.handlebars +9 -0
  125. data/templates/wikipedia.handlebars +8 -0
  126. data/templates/yfrog.handlebars +8 -0
  127. metadata +447 -0
@@ -0,0 +1,9 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{name}}</h1>
4
+ <h2 class="host">amazon.com</h2>
5
+ <img src="{{image}}" />
6
+ <p>{{description}}</p>
7
+ <p>{{price}}</p>
8
+ </a>
9
+ </div>
@@ -0,0 +1,10 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">blip.tv</h2>
5
+ <img src="{{image}}" />
6
+ {{video}}
7
+ <p>{{description}}</p>
8
+ </a>
9
+ </div>
10
+
@@ -0,0 +1,8 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">clickthrough.com</h2>
5
+ <img src="{{image}}" />
6
+ <p>{{description}}</p>
7
+ </a>
8
+ </div>
@@ -0,0 +1,8 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">clikthrough.com</h2>
5
+ <img src="{{image}}" />
6
+ <p>{{description}}</p>
7
+ </a>
8
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">collegehumor.com</h2>
5
+ <img src="{{image}}" />
6
+ {{video}}
7
+ <p>{{description}}</p>
8
+ </a>
9
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">dailymotion.com</h2>
5
+ <img src="{{image}}" />
6
+ {{video}}
7
+ <p>{{description}}</p>
8
+ </a>
9
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">dotsub.com</h2>
5
+ <img src="{{photo}}" />
6
+ {{video}}
7
+ <p>{{description}}</p>
8
+ </a>
9
+ </div>
@@ -0,0 +1,8 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">flickr.com</h2>
5
+ <img src="{{image}}" />
6
+ <p>{{description}}</p>
7
+ </a>
8
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">funnyordie.com</h2>
5
+ <img src="{{image}}" />
6
+ {{video}}
7
+ <p>{{description}}</p>
8
+ </a>
9
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">hulu.com</h2>
5
+ <img src="{{image}}" />
6
+ {{video}}
7
+ <p>{{description}}</p>
8
+ </a>
9
+ </div>
@@ -0,0 +1,8 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">nfb.ca</h2>
5
+ {{video}}
6
+ <p>{{description}}</p>
7
+ </a>
8
+ </div>
@@ -0,0 +1,7 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">qik.com</h2>
5
+ <img src="{{image}}" />
6
+ </a>
7
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">revison3.com</h2>
5
+ <img src="{{image}}" />
6
+ {{video}}
7
+ <p>{{description}}</p>
8
+ </a>
9
+ </div>
@@ -0,0 +1,8 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">slideshare.net</h2>
5
+ <img src="{{image}}" />
6
+ <p>{{description}}</p>
7
+ </a>
8
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">soundcloud.com</h2>
5
+ <img src="{{image}}" />
6
+ {{video}}
7
+ <p>{{description}}</p>
8
+ </a>
9
+ </div>
@@ -0,0 +1,7 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">stackexchange.com</h2>
5
+ <p>{{question}}</p>>
6
+ </a>
7
+ </div>
@@ -0,0 +1,8 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">vimeo.com</h2>
5
+ <img src="{{image}}" />
6
+ <p>{{description}}</p>
7
+ </a>
8
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">viddler.com</h2>
5
+ <img src="{{image}}" />
6
+ {{video}}
7
+ <p>{{description}}</p
8
+ </a>
9
+ </div>
@@ -0,0 +1,9 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">vimeo.com</h2>
5
+ <img src="{{image}}" />
6
+ {{video}}
7
+ <p>{{description}}</p>
8
+ </a>
9
+ </div>
@@ -0,0 +1,8 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{name}}</h1>
4
+ <h2 class="host">wikipedia.org</h2>
5
+ <img src="{{image}}" />
6
+ <p>{{description}}</p>
7
+ </a>
8
+ </div>
@@ -0,0 +1,8 @@
1
+ <div class="onebox">
2
+ <a href="{{url}}">
3
+ <h1>{{title}}</h1>
4
+ <h2 class="host">yfrog.com</h2>
5
+ <img src="{{image}}" />
6
+ <p>{{description}}</p>
7
+ </a>
8
+ </div>
metadata ADDED
@@ -0,0 +1,447 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: onebox
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Joanna Zeta
8
+ - Vyki Englert
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2013-09-13 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: multi_json
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ~>
19
+ - !ruby/object:Gem::Version
20
+ version: '1.7'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ~>
26
+ - !ruby/object:Gem::Version
27
+ version: '1.7'
28
+ - !ruby/object:Gem::Dependency
29
+ name: mustache
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ~>
33
+ - !ruby/object:Gem::Version
34
+ version: '0.99'
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ version: '0.99'
42
+ - !ruby/object:Gem::Dependency
43
+ name: nokogiri
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - ~>
47
+ - !ruby/object:Gem::Version
48
+ version: '1.4'
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ~>
54
+ - !ruby/object:Gem::Version
55
+ version: '1.4'
56
+ - !ruby/object:Gem::Dependency
57
+ name: opengraph_parser
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ~>
61
+ - !ruby/object:Gem::Version
62
+ version: '0.2'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ~>
68
+ - !ruby/object:Gem::Version
69
+ version: '0.2'
70
+ - !ruby/object:Gem::Dependency
71
+ name: verbal_expressions
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: '0.1'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ~>
82
+ - !ruby/object:Gem::Version
83
+ version: '0.1'
84
+ - !ruby/object:Gem::Dependency
85
+ name: moneta
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ~>
89
+ - !ruby/object:Gem::Version
90
+ version: '0.7'
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ~>
96
+ - !ruby/object:Gem::Version
97
+ version: '0.7'
98
+ - !ruby/object:Gem::Dependency
99
+ name: bundler
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ~>
103
+ - !ruby/object:Gem::Version
104
+ version: '1.3'
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ~>
110
+ - !ruby/object:Gem::Version
111
+ version: '1.3'
112
+ - !ruby/object:Gem::Dependency
113
+ name: rake
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ~>
117
+ - !ruby/object:Gem::Version
118
+ version: '10.0'
119
+ type: :development
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: '10.0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: rspec
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ~>
131
+ - !ruby/object:Gem::Version
132
+ version: '2.14'
133
+ type: :development
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ~>
138
+ - !ruby/object:Gem::Version
139
+ version: '2.14'
140
+ - !ruby/object:Gem::Dependency
141
+ name: coveralls
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ~>
145
+ - !ruby/object:Gem::Version
146
+ version: '0.6'
147
+ type: :development
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ~>
152
+ - !ruby/object:Gem::Version
153
+ version: '0.6'
154
+ - !ruby/object:Gem::Dependency
155
+ name: yard
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ~>
159
+ - !ruby/object:Gem::Version
160
+ version: '0.8'
161
+ type: :development
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ~>
166
+ - !ruby/object:Gem::Version
167
+ version: '0.8'
168
+ - !ruby/object:Gem::Dependency
169
+ name: fakeweb
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ~>
173
+ - !ruby/object:Gem::Version
174
+ version: '1.3'
175
+ type: :development
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ~>
180
+ - !ruby/object:Gem::Version
181
+ version: '1.3'
182
+ - !ruby/object:Gem::Dependency
183
+ name: pry
184
+ requirement: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ~>
187
+ - !ruby/object:Gem::Version
188
+ version: '0.9'
189
+ type: :development
190
+ prerelease: false
191
+ version_requirements: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ~>
194
+ - !ruby/object:Gem::Version
195
+ version: '0.9'
196
+ - !ruby/object:Gem::Dependency
197
+ name: mocha
198
+ requirement: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - ~>
201
+ - !ruby/object:Gem::Version
202
+ version: '0.14'
203
+ type: :development
204
+ prerelease: false
205
+ version_requirements: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ~>
208
+ - !ruby/object:Gem::Version
209
+ version: '0.14'
210
+ - !ruby/object:Gem::Dependency
211
+ name: rubocop
212
+ requirement: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ~>
215
+ - !ruby/object:Gem::Version
216
+ version: '0.11'
217
+ type: :development
218
+ prerelease: false
219
+ version_requirements: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - ~>
222
+ - !ruby/object:Gem::Version
223
+ version: '0.11'
224
+ description: A gem for turning URLs into previews.
225
+ email:
226
+ - holla@jzeta.com
227
+ - vyki.englert@gmail.com
228
+ executables: []
229
+ extensions: []
230
+ extra_rdoc_files: []
231
+ files:
232
+ - .gitignore
233
+ - .rspec
234
+ - .rubocop.yml
235
+ - .ruby-gemset
236
+ - .ruby-version
237
+ - .travis.yml
238
+ - Gemfile
239
+ - LICENSE.txt
240
+ - README.md
241
+ - Rakefile
242
+ - lib/onebox.rb
243
+ - lib/onebox/engine.rb
244
+ - lib/onebox/engine/amazon_onebox.rb
245
+ - lib/onebox/engine/bliptv_onebox.rb
246
+ - lib/onebox/engine/clikthrough_onebox.rb
247
+ - lib/onebox/engine/college_humor_onebox.rb
248
+ - lib/onebox/engine/dailymotion_onebox.rb
249
+ - lib/onebox/engine/dotsub_onebox.rb
250
+ - lib/onebox/engine/example_onebox.rb
251
+ - lib/onebox/engine/flickr_onebox.rb
252
+ - lib/onebox/engine/funny_or_die_onebox.rb
253
+ - lib/onebox/engine/html.rb
254
+ - lib/onebox/engine/hulu_onebox.rb
255
+ - lib/onebox/engine/nfb_onebox.rb
256
+ - lib/onebox/engine/open_graph.rb
257
+ - lib/onebox/engine/qik_onebox.rb
258
+ - lib/onebox/engine/revision3_onebox.rb
259
+ - lib/onebox/engine/slideshare_onebox.rb
260
+ - lib/onebox/engine/sound_cloud_onebox.rb
261
+ - lib/onebox/engine/stack_exchange_onebox.rb
262
+ - lib/onebox/engine/ted_onebox.rb
263
+ - lib/onebox/engine/viddler_onebox.rb
264
+ - lib/onebox/engine/vimeo_onebox.rb
265
+ - lib/onebox/engine/wikipedia_onebox.rb
266
+ - lib/onebox/engine/yfrog_onebox.rb
267
+ - lib/onebox/matcher.rb
268
+ - lib/onebox/preview.rb
269
+ - lib/onebox/version.rb
270
+ - onebox.gemspec
271
+ - spec/fixtures/amazon.response
272
+ - spec/fixtures/android.response
273
+ - spec/fixtures/apple.response
274
+ - spec/fixtures/bliptv.response
275
+ - spec/fixtures/clickthrough.response
276
+ - spec/fixtures/clikthrough.response
277
+ - spec/fixtures/collegehumor.response
278
+ - spec/fixtures/dailymotion.response
279
+ - spec/fixtures/dotsub.response
280
+ - spec/fixtures/example.response
281
+ - spec/fixtures/flickr.response
282
+ - spec/fixtures/funnyordie.response
283
+ - spec/fixtures/gist.response
284
+ - spec/fixtures/github_blob.response
285
+ - spec/fixtures/github_commit.response
286
+ - spec/fixtures/github_pullrequest.response
287
+ - spec/fixtures/hulu.response
288
+ - spec/fixtures/image.response
289
+ - spec/fixtures/imgur.response
290
+ - spec/fixtures/kinomap.response
291
+ - spec/fixtures/nfb.response
292
+ - spec/fixtures/opengraph.response
293
+ - spec/fixtures/qik.response
294
+ - spec/fixtures/revision3.response
295
+ - spec/fixtures/rottentomatoes_fresh.response
296
+ - spec/fixtures/rottentomatoes_incomplete.response
297
+ - spec/fixtures/rottentomatoes_rotten.response
298
+ - spec/fixtures/slideshare.response
299
+ - spec/fixtures/soundcloud.response
300
+ - spec/fixtures/stackexchange.response
301
+ - spec/fixtures/ted.response
302
+ - spec/fixtures/twitter.response
303
+ - spec/fixtures/viddler.response
304
+ - spec/fixtures/video.response
305
+ - spec/fixtures/vimeo.response
306
+ - spec/fixtures/wikipedia.response
307
+ - spec/fixtures/wikipedia_redirected.response
308
+ - spec/fixtures/yfrog.response
309
+ - spec/lib/onebox/engine/amazon_spec.rb
310
+ - spec/lib/onebox/engine/bliptv_spec.rb
311
+ - spec/lib/onebox/engine/clikthrough_spec.rb
312
+ - spec/lib/onebox/engine/college_humor_spec.rb
313
+ - spec/lib/onebox/engine/dailymotion_spec.rb
314
+ - spec/lib/onebox/engine/dotsub_spec.rb
315
+ - spec/lib/onebox/engine/example_spec.rb
316
+ - spec/lib/onebox/engine/flickr_spec.rb
317
+ - spec/lib/onebox/engine/funny_or_die_spec.rb
318
+ - spec/lib/onebox/engine/hulu_spec.rb
319
+ - spec/lib/onebox/engine/nfb_spec.rb
320
+ - spec/lib/onebox/engine/qik_spec.rb
321
+ - spec/lib/onebox/engine/revision3_spec.rb
322
+ - spec/lib/onebox/engine/slideshare_spec.rb
323
+ - spec/lib/onebox/engine/sound_cloud_spec.rb
324
+ - spec/lib/onebox/engine/stack_exchange_spec.rb
325
+ - spec/lib/onebox/engine/ted_spec.rb
326
+ - spec/lib/onebox/engine/viddler_spec.rb
327
+ - spec/lib/onebox/engine/vimeo_spec.rb
328
+ - spec/lib/onebox/engine/wikipedia_spec.rb
329
+ - spec/lib/onebox/engine/yfrog_spec.rb
330
+ - spec/lib/onebox/engine_spec.rb
331
+ - spec/lib/onebox/matcher_spec.rb
332
+ - spec/lib/onebox/preview_spec.rb
333
+ - spec/lib/onebox_spec.rb
334
+ - spec/spec_helper.rb
335
+ - spec/support/html_spec_helper.rb
336
+ - templates/amazon.handlebars
337
+ - templates/bliptv.handlebars
338
+ - templates/clickthrough.handlebars
339
+ - templates/clikthrough.handlebars
340
+ - templates/collegehumor.handlebars
341
+ - templates/dailymotion.handlebars
342
+ - templates/dotsub.handlebars
343
+ - templates/flickr.handlebars
344
+ - templates/funnyordie.handlebars
345
+ - templates/hulu.handlebars
346
+ - templates/nfb.handlebars
347
+ - templates/qik.handlebars
348
+ - templates/revision3.handlebars
349
+ - templates/slideshare.handlebars
350
+ - templates/soundcloud.handlebars
351
+ - templates/stackexchange.handlebars
352
+ - templates/ted.handlebars
353
+ - templates/viddler.handlebars
354
+ - templates/vimeo.handlebars
355
+ - templates/wikipedia.handlebars
356
+ - templates/yfrog.handlebars
357
+ homepage: http://github.com/dysania/onebox
358
+ licenses:
359
+ - MIT
360
+ metadata: {}
361
+ post_install_message:
362
+ rdoc_options: []
363
+ require_paths:
364
+ - lib
365
+ required_ruby_version: !ruby/object:Gem::Requirement
366
+ requirements:
367
+ - - '>='
368
+ - !ruby/object:Gem::Version
369
+ version: '0'
370
+ required_rubygems_version: !ruby/object:Gem::Requirement
371
+ requirements:
372
+ - - '>='
373
+ - !ruby/object:Gem::Version
374
+ version: '0'
375
+ requirements: []
376
+ rubyforge_project:
377
+ rubygems_version: 2.0.3
378
+ signing_key:
379
+ specification_version: 4
380
+ summary: A gem for turning URLs into previews.
381
+ test_files:
382
+ - spec/fixtures/amazon.response
383
+ - spec/fixtures/android.response
384
+ - spec/fixtures/apple.response
385
+ - spec/fixtures/bliptv.response
386
+ - spec/fixtures/clickthrough.response
387
+ - spec/fixtures/clikthrough.response
388
+ - spec/fixtures/collegehumor.response
389
+ - spec/fixtures/dailymotion.response
390
+ - spec/fixtures/dotsub.response
391
+ - spec/fixtures/example.response
392
+ - spec/fixtures/flickr.response
393
+ - spec/fixtures/funnyordie.response
394
+ - spec/fixtures/gist.response
395
+ - spec/fixtures/github_blob.response
396
+ - spec/fixtures/github_commit.response
397
+ - spec/fixtures/github_pullrequest.response
398
+ - spec/fixtures/hulu.response
399
+ - spec/fixtures/image.response
400
+ - spec/fixtures/imgur.response
401
+ - spec/fixtures/kinomap.response
402
+ - spec/fixtures/nfb.response
403
+ - spec/fixtures/opengraph.response
404
+ - spec/fixtures/qik.response
405
+ - spec/fixtures/revision3.response
406
+ - spec/fixtures/rottentomatoes_fresh.response
407
+ - spec/fixtures/rottentomatoes_incomplete.response
408
+ - spec/fixtures/rottentomatoes_rotten.response
409
+ - spec/fixtures/slideshare.response
410
+ - spec/fixtures/soundcloud.response
411
+ - spec/fixtures/stackexchange.response
412
+ - spec/fixtures/ted.response
413
+ - spec/fixtures/twitter.response
414
+ - spec/fixtures/viddler.response
415
+ - spec/fixtures/video.response
416
+ - spec/fixtures/vimeo.response
417
+ - spec/fixtures/wikipedia.response
418
+ - spec/fixtures/wikipedia_redirected.response
419
+ - spec/fixtures/yfrog.response
420
+ - spec/lib/onebox/engine/amazon_spec.rb
421
+ - spec/lib/onebox/engine/bliptv_spec.rb
422
+ - spec/lib/onebox/engine/clikthrough_spec.rb
423
+ - spec/lib/onebox/engine/college_humor_spec.rb
424
+ - spec/lib/onebox/engine/dailymotion_spec.rb
425
+ - spec/lib/onebox/engine/dotsub_spec.rb
426
+ - spec/lib/onebox/engine/example_spec.rb
427
+ - spec/lib/onebox/engine/flickr_spec.rb
428
+ - spec/lib/onebox/engine/funny_or_die_spec.rb
429
+ - spec/lib/onebox/engine/hulu_spec.rb
430
+ - spec/lib/onebox/engine/nfb_spec.rb
431
+ - spec/lib/onebox/engine/qik_spec.rb
432
+ - spec/lib/onebox/engine/revision3_spec.rb
433
+ - spec/lib/onebox/engine/slideshare_spec.rb
434
+ - spec/lib/onebox/engine/sound_cloud_spec.rb
435
+ - spec/lib/onebox/engine/stack_exchange_spec.rb
436
+ - spec/lib/onebox/engine/ted_spec.rb
437
+ - spec/lib/onebox/engine/viddler_spec.rb
438
+ - spec/lib/onebox/engine/vimeo_spec.rb
439
+ - spec/lib/onebox/engine/wikipedia_spec.rb
440
+ - spec/lib/onebox/engine/yfrog_spec.rb
441
+ - spec/lib/onebox/engine_spec.rb
442
+ - spec/lib/onebox/matcher_spec.rb
443
+ - spec/lib/onebox/preview_spec.rb
444
+ - spec/lib/onebox_spec.rb
445
+ - spec/spec_helper.rb
446
+ - spec/support/html_spec_helper.rb
447
+ has_rdoc: