oembed_provider_engine 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.rdoc CHANGED
@@ -9,7 +9,7 @@ Turns your rails app into an {oembed}[http://oembed.com/] provider
9
9
  === Installation
10
10
  Add the following to your Gemfile:
11
11
 
12
- gem "oembed-provider-engine"
12
+ gem "oembed_provider_engine"
13
13
 
14
14
  === Provider Settings
15
15
  Add a config/initializers/oembed_provider.rb file to configure your provider settings:
@@ -54,7 +54,7 @@ The current implementation directly accesses your application's model to fetch t
54
54
  * proper handling of unauthorized
55
55
  * migrate from shoulda to rspec
56
56
  * caching
57
- * allow the providable model to omit methods corresponding to optional oembed fields
57
+ * allow for custom, additional fields in the response
58
58
 
59
59
  == Contribute
60
60
  Feel free to fork the project and send us pull requests.
@@ -50,7 +50,7 @@ module OembedProviderEngine
50
50
  json
51
51
  end
52
52
  end
53
- render({:content_type => :js, :text => response}.merge(options))
53
+ render({:content_type => "application/json", :text => response}.merge(options))
54
54
  end
55
55
  end
56
56
  end
@@ -134,7 +134,7 @@ module OembedProviderEngine
134
134
  end
135
135
 
136
136
  self.class.optional_attributes_specs.each do |k,v|
137
- send(k.to_s + '=', providable.send(v))
137
+ send(k.to_s + '=', providable.send(v)) if providable.respond_to?(v)
138
138
  end
139
139
 
140
140
  self.provider_name = self.class.providable_provider_name
@@ -1,3 +1,3 @@
1
1
  module OembedProviderEngine
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
Binary file
File without changes
Binary file
@@ -0,0 +1,47 @@
1
+ Connecting to database specified by database.yml
2
+  (0.1ms) select sqlite_version(*)
3
+  (2.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
+  (0.0ms) PRAGMA index_list("schema_migrations")
5
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6
+  (1.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
7
+ Migrating to CreateItems (20110212010602)
8
+  (0.0ms) begin transaction
9
+  (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar(255) NOT NULL, "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
10
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110212010602')
11
+  (0.7ms) commit transaction
12
+ Migrating to CreatePhotos (20110212022722)
13
+  (0.0ms) begin transaction
14
+  (0.2ms) CREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "url" varchar(255) NOT NULL, "author_name" varchar(255), "author_url" varchar(255), "thumbnail_url" varchar(255), "width" integer NOT NULL, "height" integer NOT NULL, "thumbnail_width" integer, "thumbnail_height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
15
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110212022722')
16
+  (0.5ms) commit transaction
17
+  (0.2ms) select sqlite_version(*)
18
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
19
+  (0.0ms) PRAGMA index_list("items")
20
+  (0.0ms) PRAGMA index_list("photos")
21
+ Connecting to database specified by database.yml
22
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
23
+ Migrating to CreateItems (20110212010602)
24
+ Migrating to CreatePhotos (20110212022722)
25
+  (0.2ms) select sqlite_version(*)
26
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
27
+  (0.0ms) PRAGMA index_list("items")
28
+  (0.0ms) PRAGMA index_list("photos")
29
+ Connecting to database specified by database.yml
30
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
31
+ Migrating to CreateItems (20110212010602)
32
+ Migrating to CreatePhotos (20110212022722)
33
+  (0.2ms) select sqlite_version(*)
34
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
35
+  (0.0ms) PRAGMA index_list("items")
36
+  (0.0ms) PRAGMA index_list("photos")
37
+ Connecting to database specified by database.yml
38
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
39
+  (0.2ms) select sqlite_version(*)
40
+  (0.9ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "label" varchar(255) NOT NULL, "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
41
+  (0.7ms) CREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "url" varchar(255) NOT NULL, "author_name" varchar(255), "author_url" varchar(255), "thumbnail_url" varchar(255), "width" integer NOT NULL, "height" integer NOT NULL, "thumbnail_width" integer, "thumbnail_height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
42
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
43
+  (0.0ms) PRAGMA index_list("schema_migrations")
44
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
45
+  (0.1ms) SELECT version FROM "schema_migrations"
46
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20110212022722')
47
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20110212010602')
@@ -0,0 +1,672 @@
1
+ Connecting to database specified by database.yml
2
+  (0.3ms) begin transaction
3
+  (0.0ms) rollback transaction
4
+  (0.0ms) begin transaction
5
+  (0.0ms) rollback transaction
6
+  (0.0ms) begin transaction
7
+  (0.0ms) rollback transaction
8
+  (0.0ms) begin transaction
9
+  (0.0ms) rollback transaction
10
+  (0.0ms) begin transaction
11
+  (0.0ms) rollback transaction
12
+  (0.0ms) begin transaction
13
+  (0.0ms) rollback transaction
14
+  (0.0ms) begin transaction
15
+  (0.0ms) rollback transaction
16
+  (0.0ms) begin transaction
17
+  (0.0ms) rollback transaction
18
+  (0.0ms) begin transaction
19
+  (0.0ms) rollback transaction
20
+  (0.0ms) begin transaction
21
+  (0.0ms) rollback transaction
22
+  (0.0ms) begin transaction
23
+  (0.0ms) rollback transaction
24
+  (0.0ms) begin transaction
25
+  (0.0ms) rollback transaction
26
+  (0.0ms) begin transaction
27
+  (0.0ms) rollback transaction
28
+  (0.0ms) begin transaction
29
+  (0.0ms) rollback transaction
30
+  (0.0ms) begin transaction
31
+  (0.0ms) rollback transaction
32
+  (0.0ms) begin transaction
33
+  (0.0ms) rollback transaction
34
+  (0.0ms) begin transaction
35
+  (0.0ms) rollback transaction
36
+  (0.0ms) begin transaction
37
+  (0.0ms) rollback transaction
38
+  (0.0ms) begin transaction
39
+  (0.0ms) rollback transaction
40
+  (0.0ms) begin transaction
41
+  (0.0ms) rollback transaction
42
+  (0.0ms) begin transaction
43
+  (0.0ms) rollback transaction
44
+  (0.0ms) begin transaction
45
+  (0.0ms) rollback transaction
46
+  (0.0ms) begin transaction
47
+  (0.0ms) rollback transaction
48
+  (0.0ms) begin transaction
49
+  (0.1ms) rollback transaction
50
+  (0.0ms) begin transaction
51
+  (0.0ms) rollback transaction
52
+  (0.0ms) begin transaction
53
+  (0.0ms) rollback transaction
54
+  (0.0ms) begin transaction
55
+  (0.0ms) rollback transaction
56
+  (0.0ms) begin transaction
57
+  (0.0ms) rollback transaction
58
+  (0.0ms) begin transaction
59
+  (0.0ms) rollback transaction
60
+  (0.0ms) begin transaction
61
+  (0.0ms) rollback transaction
62
+  (0.0ms) begin transaction
63
+  (0.0ms) rollback transaction
64
+  (0.0ms) begin transaction
65
+  (0.0ms) rollback transaction
66
+  (0.0ms) begin transaction
67
+  (0.0ms) rollback transaction
68
+  (0.0ms) begin transaction
69
+  (0.0ms) rollback transaction
70
+  (0.0ms) begin transaction
71
+  (0.0ms) rollback transaction
72
+  (0.0ms) begin transaction
73
+  (0.0ms) rollback transaction
74
+  (0.0ms) begin transaction
75
+  (0.0ms) rollback transaction
76
+  (0.0ms) begin transaction
77
+  (0.0ms) rollback transaction
78
+  (0.0ms) begin transaction
79
+  (0.0ms) rollback transaction
80
+  (0.0ms) begin transaction
81
+  (0.0ms) rollback transaction
82
+  (0.0ms) begin transaction
83
+  (0.1ms) rollback transaction
84
+  (0.0ms) begin transaction
85
+  (0.0ms) rollback transaction
86
+  (0.0ms) begin transaction
87
+  (0.0ms) rollback transaction
88
+  (0.0ms) begin transaction
89
+  (0.0ms) rollback transaction
90
+  (0.0ms) begin transaction
91
+  (0.0ms) rollback transaction
92
+  (0.0ms) begin transaction
93
+  (0.0ms) rollback transaction
94
+  (0.0ms) begin transaction
95
+  (0.0ms) rollback transaction
96
+  (0.0ms) begin transaction
97
+  (0.0ms) rollback transaction
98
+  (0.0ms) begin transaction
99
+  (0.0ms) rollback transaction
100
+  (0.0ms) begin transaction
101
+  (0.0ms) rollback transaction
102
+  (0.0ms) begin transaction
103
+  (0.0ms) rollback transaction
104
+  (0.0ms) begin transaction
105
+  (0.0ms) rollback transaction
106
+  (0.0ms) begin transaction
107
+  (0.0ms) rollback transaction
108
+  (0.0ms) begin transaction
109
+  (0.0ms) rollback transaction
110
+  (0.0ms) begin transaction
111
+  (0.1ms) rollback transaction
112
+  (0.0ms) begin transaction
113
+  (0.0ms) rollback transaction
114
+  (0.0ms) begin transaction
115
+  (0.0ms) rollback transaction
116
+  (0.0ms) begin transaction
117
+  (0.0ms) rollback transaction
118
+ Connecting to database specified by database.yml
119
+  (0.3ms) begin transaction
120
+  (0.0ms) rollback transaction
121
+  (0.0ms) begin transaction
122
+  (0.0ms) rollback transaction
123
+  (0.0ms) begin transaction
124
+  (0.0ms) rollback transaction
125
+  (0.0ms) begin transaction
126
+  (0.0ms) rollback transaction
127
+  (0.0ms) begin transaction
128
+  (0.0ms) rollback transaction
129
+  (0.0ms) begin transaction
130
+  (0.0ms) rollback transaction
131
+  (0.0ms) begin transaction
132
+  (0.0ms) rollback transaction
133
+  (0.0ms) begin transaction
134
+  (0.0ms) rollback transaction
135
+  (0.0ms) begin transaction
136
+  (0.0ms) rollback transaction
137
+  (0.0ms) begin transaction
138
+  (0.0ms) rollback transaction
139
+  (0.0ms) begin transaction
140
+  (0.0ms) rollback transaction
141
+  (0.0ms) begin transaction
142
+  (0.0ms) rollback transaction
143
+  (0.0ms) begin transaction
144
+  (0.0ms) rollback transaction
145
+  (0.0ms) begin transaction
146
+  (0.0ms) rollback transaction
147
+  (0.0ms) begin transaction
148
+  (0.0ms) rollback transaction
149
+  (0.0ms) begin transaction
150
+  (0.0ms) rollback transaction
151
+  (0.0ms) begin transaction
152
+  (0.0ms) rollback transaction
153
+  (0.0ms) begin transaction
154
+  (0.0ms) rollback transaction
155
+  (0.0ms) begin transaction
156
+  (0.0ms) rollback transaction
157
+  (0.0ms) begin transaction
158
+  (0.0ms) rollback transaction
159
+  (0.0ms) begin transaction
160
+  (0.0ms) rollback transaction
161
+  (0.0ms) begin transaction
162
+  (0.0ms) rollback transaction
163
+  (0.0ms) begin transaction
164
+  (0.1ms) rollback transaction
165
+  (0.0ms) begin transaction
166
+  (0.0ms) rollback transaction
167
+  (0.0ms) begin transaction
168
+  (0.0ms) rollback transaction
169
+  (0.0ms) begin transaction
170
+  (0.0ms) rollback transaction
171
+  (0.0ms) begin transaction
172
+  (0.0ms) rollback transaction
173
+  (0.0ms) begin transaction
174
+  (0.0ms) rollback transaction
175
+  (0.0ms) begin transaction
176
+  (0.0ms) rollback transaction
177
+  (0.0ms) begin transaction
178
+  (0.0ms) rollback transaction
179
+  (0.0ms) begin transaction
180
+  (0.0ms) rollback transaction
181
+  (0.0ms) begin transaction
182
+  (0.0ms) rollback transaction
183
+  (0.0ms) begin transaction
184
+  (0.0ms) rollback transaction
185
+  (0.0ms) begin transaction
186
+  (0.0ms) rollback transaction
187
+  (0.0ms) begin transaction
188
+  (0.0ms) rollback transaction
189
+  (0.0ms) begin transaction
190
+  (0.0ms) rollback transaction
191
+  (0.0ms) begin transaction
192
+  (0.0ms) rollback transaction
193
+  (0.0ms) begin transaction
194
+  (0.0ms) rollback transaction
195
+  (0.0ms) begin transaction
196
+  (0.0ms) rollback transaction
197
+  (0.0ms) begin transaction
198
+  (0.0ms) rollback transaction
199
+  (0.0ms) begin transaction
200
+  (0.0ms) rollback transaction
201
+  (0.0ms) begin transaction
202
+  (0.0ms) rollback transaction
203
+  (0.0ms) begin transaction
204
+  (0.0ms) rollback transaction
205
+  (0.0ms) begin transaction
206
+  (0.1ms) rollback transaction
207
+  (0.0ms) begin transaction
208
+  (0.0ms) rollback transaction
209
+  (0.0ms) begin transaction
210
+  (0.0ms) rollback transaction
211
+  (0.0ms) begin transaction
212
+  (0.0ms) rollback transaction
213
+  (0.0ms) begin transaction
214
+  (0.0ms) rollback transaction
215
+  (0.0ms) begin transaction
216
+  (0.0ms) rollback transaction
217
+  (0.0ms) begin transaction
218
+  (0.0ms) rollback transaction
219
+  (0.0ms) begin transaction
220
+  (0.0ms) rollback transaction
221
+  (0.0ms) begin transaction
222
+  (0.0ms) rollback transaction
223
+  (0.0ms) begin transaction
224
+  (0.0ms) rollback transaction
225
+  (0.0ms) begin transaction
226
+  (0.0ms) rollback transaction
227
+  (0.0ms) begin transaction
228
+  (0.0ms) rollback transaction
229
+  (0.0ms) begin transaction
230
+  (0.1ms) rollback transaction
231
+  (0.0ms) begin transaction
232
+  (0.0ms) rollback transaction
233
+  (0.0ms) begin transaction
234
+  (0.0ms) rollback transaction
235
+ Connecting to database specified by database.yml
236
+  (0.3ms) begin transaction
237
+  (0.0ms) rollback transaction
238
+  (0.0ms) begin transaction
239
+  (0.0ms) rollback transaction
240
+  (0.0ms) begin transaction
241
+  (0.0ms) rollback transaction
242
+  (0.0ms) begin transaction
243
+  (0.0ms) rollback transaction
244
+  (0.0ms) begin transaction
245
+  (0.0ms) rollback transaction
246
+  (0.0ms) begin transaction
247
+  (0.0ms) rollback transaction
248
+  (0.0ms) begin transaction
249
+  (0.0ms) rollback transaction
250
+  (0.0ms) begin transaction
251
+  (0.0ms) rollback transaction
252
+  (0.0ms) begin transaction
253
+  (0.0ms) rollback transaction
254
+  (0.0ms) begin transaction
255
+  (0.0ms) rollback transaction
256
+  (0.0ms) begin transaction
257
+  (0.0ms) rollback transaction
258
+  (0.0ms) begin transaction
259
+  (0.1ms) rollback transaction
260
+  (0.0ms) begin transaction
261
+  (0.0ms) rollback transaction
262
+  (0.0ms) begin transaction
263
+  (0.0ms) rollback transaction
264
+  (0.0ms) begin transaction
265
+  (0.0ms) rollback transaction
266
+  (0.0ms) begin transaction
267
+  (0.0ms) rollback transaction
268
+  (0.0ms) begin transaction
269
+  (0.0ms) rollback transaction
270
+  (0.0ms) begin transaction
271
+  (0.0ms) rollback transaction
272
+  (0.0ms) begin transaction
273
+  (0.0ms) rollback transaction
274
+  (0.0ms) begin transaction
275
+  (0.0ms) rollback transaction
276
+  (0.0ms) begin transaction
277
+  (0.0ms) rollback transaction
278
+  (0.0ms) begin transaction
279
+  (0.0ms) rollback transaction
280
+  (0.0ms) begin transaction
281
+  (0.0ms) rollback transaction
282
+  (0.0ms) begin transaction
283
+  (0.1ms) rollback transaction
284
+  (0.0ms) begin transaction
285
+  (0.0ms) rollback transaction
286
+  (0.0ms) begin transaction
287
+  (0.0ms) rollback transaction
288
+  (0.0ms) begin transaction
289
+  (0.0ms) rollback transaction
290
+  (0.0ms) begin transaction
291
+  (0.0ms) rollback transaction
292
+  (0.0ms) begin transaction
293
+  (0.0ms) rollback transaction
294
+  (0.0ms) begin transaction
295
+  (0.0ms) rollback transaction
296
+  (0.0ms) begin transaction
297
+  (0.0ms) rollback transaction
298
+  (0.0ms) begin transaction
299
+  (0.0ms) rollback transaction
300
+  (0.0ms) begin transaction
301
+  (0.0ms) rollback transaction
302
+  (0.0ms) begin transaction
303
+  (0.0ms) rollback transaction
304
+  (0.0ms) begin transaction
305
+  (0.0ms) rollback transaction
306
+  (0.0ms) begin transaction
307
+  (0.0ms) rollback transaction
308
+  (0.0ms) begin transaction
309
+  (0.0ms) rollback transaction
310
+  (0.0ms) begin transaction
311
+  (0.0ms) rollback transaction
312
+  (0.0ms) begin transaction
313
+  (0.0ms) rollback transaction
314
+  (0.0ms) begin transaction
315
+  (0.0ms) rollback transaction
316
+  (0.0ms) begin transaction
317
+  (0.1ms) rollback transaction
318
+  (0.0ms) begin transaction
319
+  (0.0ms) rollback transaction
320
+  (0.0ms) begin transaction
321
+  (0.0ms) rollback transaction
322
+  (0.1ms) begin transaction
323
+  (0.1ms) rollback transaction
324
+  (0.0ms) begin transaction
325
+  (0.0ms) rollback transaction
326
+  (0.0ms) begin transaction
327
+  (0.0ms) rollback transaction
328
+  (0.0ms) begin transaction
329
+  (0.0ms) rollback transaction
330
+  (0.0ms) begin transaction
331
+  (0.0ms) rollback transaction
332
+  (0.0ms) begin transaction
333
+  (0.0ms) rollback transaction
334
+  (0.0ms) begin transaction
335
+  (0.0ms) rollback transaction
336
+  (0.0ms) begin transaction
337
+  (0.0ms) rollback transaction
338
+  (0.0ms) begin transaction
339
+  (0.0ms) rollback transaction
340
+  (0.0ms) begin transaction
341
+  (0.0ms) rollback transaction
342
+  (0.0ms) begin transaction
343
+  (0.0ms) rollback transaction
344
+  (0.0ms) begin transaction
345
+  (0.1ms) rollback transaction
346
+  (0.0ms) begin transaction
347
+  (0.0ms) rollback transaction
348
+  (0.0ms) begin transaction
349
+  (0.0ms) rollback transaction
350
+  (0.0ms) begin transaction
351
+  (0.0ms) rollback transaction
352
+ Connecting to database specified by database.yml
353
+  (0.4ms) begin transaction
354
+  (0.0ms) rollback transaction
355
+  (0.0ms) begin transaction
356
+  (0.0ms) rollback transaction
357
+  (0.0ms) begin transaction
358
+  (0.0ms) rollback transaction
359
+  (0.0ms) begin transaction
360
+  (0.0ms) rollback transaction
361
+  (0.0ms) begin transaction
362
+  (0.0ms) rollback transaction
363
+  (0.0ms) begin transaction
364
+  (0.0ms) rollback transaction
365
+  (0.0ms) begin transaction
366
+  (0.0ms) rollback transaction
367
+  (0.0ms) begin transaction
368
+  (0.0ms) rollback transaction
369
+  (0.0ms) begin transaction
370
+  (0.0ms) rollback transaction
371
+  (0.0ms) begin transaction
372
+  (0.0ms) rollback transaction
373
+  (0.0ms) begin transaction
374
+  (0.0ms) rollback transaction
375
+  (0.0ms) begin transaction
376
+  (0.0ms) SAVEPOINT active_record_1
377
+ SQL (11.5ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title1"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=1"], ["width", 600]]
378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
379
+  (0.0ms) SAVEPOINT active_record_1
380
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", "Snappy"], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title2"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=2"], ["width", 600]]
381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
382
+  (0.5ms) rollback transaction
383
+  (0.0ms) begin transaction
384
+  (0.0ms) SAVEPOINT active_record_1
385
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title3"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=3"], ["width", 600]]
386
+  (0.0ms) RELEASE SAVEPOINT active_record_1
387
+  (0.0ms) SAVEPOINT active_record_1
388
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", "http://snapsnap.com"], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title4"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=4"], ["width", 600]]
389
+  (0.0ms) RELEASE SAVEPOINT active_record_1
390
+  (0.4ms) rollback transaction
391
+  (0.0ms) begin transaction
392
+  (0.0ms) SAVEPOINT active_record_1
393
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title5"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=5"], ["width", 600]]
394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
395
+  (0.0ms) SAVEPOINT active_record_1
396
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", 50], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title6"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=6"], ["width", 600]]
397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
398
+  (0.3ms) rollback transaction
399
+  (0.3ms) begin transaction
400
+  (0.0ms) SAVEPOINT active_record_1
401
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title7"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=7"], ["width", 600]]
402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
403
+  (0.0ms) SAVEPOINT active_record_1
404
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", "http://snapsnap.com/thumb.jpg"], ["thumbnail_width", nil], ["title", "a title8"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=8"], ["width", 600]]
405
+  (0.0ms) RELEASE SAVEPOINT active_record_1
406
+  (0.4ms) rollback transaction
407
+  (0.0ms) begin transaction
408
+  (0.0ms) SAVEPOINT active_record_1
409
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title9"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=9"], ["width", 600]]
410
+  (0.0ms) RELEASE SAVEPOINT active_record_1
411
+  (0.0ms) SAVEPOINT active_record_1
412
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", 50], ["title", "a title10"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=10"], ["width", 600]]
413
+  (0.0ms) RELEASE SAVEPOINT active_record_1
414
+  (0.4ms) rollback transaction
415
+  (0.0ms) begin transaction
416
+  (0.0ms) SAVEPOINT active_record_1
417
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title11"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=11"], ["width", 600]]
418
+  (0.0ms) RELEASE SAVEPOINT active_record_1
419
+  (0.4ms) rollback transaction
420
+  (0.0ms) begin transaction
421
+  (0.0ms) SAVEPOINT active_record_1
422
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title12"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=12"], ["width", 600]]
423
+  (0.0ms) RELEASE SAVEPOINT active_record_1
424
+  (0.2ms) rollback transaction
425
+  (0.0ms) begin transaction
426
+  (0.0ms) SAVEPOINT active_record_1
427
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title13"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=13"], ["width", 600]]
428
+  (0.0ms) RELEASE SAVEPOINT active_record_1
429
+  (0.4ms) rollback transaction
430
+  (0.0ms) begin transaction
431
+  (0.0ms) SAVEPOINT active_record_1
432
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title14"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=14"], ["width", 600]]
433
+  (0.0ms) RELEASE SAVEPOINT active_record_1
434
+  (0.3ms) rollback transaction
435
+  (0.0ms) begin transaction
436
+  (0.0ms) SAVEPOINT active_record_1
437
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title15"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=15"], ["width", 600]]
438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
439
+  (0.4ms) rollback transaction
440
+  (0.0ms) begin transaction
441
+  (0.0ms) SAVEPOINT active_record_1
442
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title16"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=16"], ["width", 600]]
443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
444
+  (0.5ms) rollback transaction
445
+  (0.0ms) begin transaction
446
+  (0.0ms) SAVEPOINT active_record_1
447
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title17"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=17"], ["width", 600]]
448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
449
+  (0.4ms) rollback transaction
450
+  (0.0ms) begin transaction
451
+  (0.0ms) SAVEPOINT active_record_1
452
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title18"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=18"], ["width", 600]]
453
+  (0.0ms) RELEASE SAVEPOINT active_record_1
454
+  (0.4ms) rollback transaction
455
+  (0.0ms) begin transaction
456
+  (0.0ms) SAVEPOINT active_record_1
457
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title19"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=19"], ["width", 600]]
458
+  (0.0ms) RELEASE SAVEPOINT active_record_1
459
+  (0.3ms) rollback transaction
460
+  (0.0ms) begin transaction
461
+  (0.0ms) SAVEPOINT active_record_1
462
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title20"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=20"], ["width", 600]]
463
+  (0.0ms) RELEASE SAVEPOINT active_record_1
464
+  (0.4ms) rollback transaction
465
+  (0.0ms) begin transaction
466
+  (0.0ms) SAVEPOINT active_record_1
467
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title21"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=21"], ["width", 600]]
468
+  (0.0ms) RELEASE SAVEPOINT active_record_1
469
+  (0.4ms) rollback transaction
470
+  (0.0ms) begin transaction
471
+  (0.0ms) SAVEPOINT active_record_1
472
+ SQL (0.2ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title22"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=22"], ["width", 600]]
473
+  (0.0ms) RELEASE SAVEPOINT active_record_1
474
+  (0.2ms) rollback transaction
475
+  (0.0ms) begin transaction
476
+  (0.0ms) rollback transaction
477
+  (0.0ms) begin transaction
478
+  (0.0ms) SAVEPOINT active_record_1
479
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title23"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=23"], ["width", 600]]
480
+  (0.0ms) RELEASE SAVEPOINT active_record_1
481
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
482
+  (0.4ms) rollback transaction
483
+  (0.0ms) begin transaction
484
+  (0.0ms) rollback transaction
485
+  (0.0ms) begin transaction
486
+  (0.0ms) rollback transaction
487
+  (0.0ms) begin transaction
488
+  (0.0ms) rollback transaction
489
+  (0.0ms) begin transaction
490
+  (0.0ms) rollback transaction
491
+  (0.0ms) begin transaction
492
+  (0.0ms) rollback transaction
493
+  (0.0ms) begin transaction
494
+  (0.0ms) rollback transaction
495
+  (0.0ms) begin transaction
496
+  (0.0ms) rollback transaction
497
+  (0.0ms) begin transaction
498
+  (0.0ms) rollback transaction
499
+  (0.0ms) begin transaction
500
+  (0.0ms) rollback transaction
501
+  (0.0ms) begin transaction
502
+  (0.0ms) rollback transaction
503
+  (0.0ms) begin transaction
504
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "123"]]
505
+  (0.0ms) rollback transaction
506
+  (0.0ms) begin transaction
507
+  (0.0ms) rollback transaction
508
+  (0.0ms) begin transaction
509
+  (0.0ms) rollback transaction
510
+  (0.0ms) begin transaction
511
+  (0.0ms) SAVEPOINT active_record_1
512
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title24"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=24"], ["width", 600]]
513
+  (0.0ms) RELEASE SAVEPOINT active_record_1
514
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as JSON
515
+ Parameters: {"url"=>"http://example.com/photos/1"}
516
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
517
+ Rendered text template (0.0ms)
518
+ Completed 200 OK in 37ms (Views: 34.6ms | ActiveRecord: 0.1ms)
519
+  (0.6ms) rollback transaction
520
+  (0.0ms) begin transaction
521
+  (0.0ms) SAVEPOINT active_record_1
522
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title25"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=25"], ["width", 600]]
523
+  (0.0ms) RELEASE SAVEPOINT active_record_1
524
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as JSON
525
+ Parameters: {"url"=>"http://example.com/photos/1"}
526
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
527
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
528
+  (0.5ms) rollback transaction
529
+  (0.0ms) begin transaction
530
+  (0.0ms) SAVEPOINT active_record_1
531
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title26"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=26"], ["width", 600]]
532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
533
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as JSON
534
+ Parameters: {"url"=>"http://example.com/photos/1", "callback"=>"myCallback"}
535
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
536
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
537
+  (0.4ms) rollback transaction
538
+  (0.0ms) begin transaction
539
+  (0.0ms) SAVEPOINT active_record_1
540
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title27"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=27"], ["width", 600]]
541
+  (0.0ms) RELEASE SAVEPOINT active_record_1
542
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as JSON
543
+ Parameters: {"url"=>"http://example.com/photos/1"}
544
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
545
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
546
+  (0.4ms) rollback transaction
547
+  (0.0ms) begin transaction
548
+  (0.0ms) SAVEPOINT active_record_1
549
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title28"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=28"], ["width", 600]]
550
+  (0.0ms) RELEASE SAVEPOINT active_record_1
551
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as XML
552
+ Parameters: {"url"=>"http://example.com/photos/1"}
553
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
554
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
555
+  (0.5ms) rollback transaction
556
+  (0.1ms) begin transaction
557
+  (0.0ms) SAVEPOINT active_record_1
558
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title29"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=29"], ["width", 600]]
559
+  (0.0ms) RELEASE SAVEPOINT active_record_1
560
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as HTML
561
+ Parameters: {"url"=>"http://example.com/photos/1"}
562
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
563
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
564
+  (0.4ms) rollback transaction
565
+  (0.0ms) begin transaction
566
+  (0.0ms) SAVEPOINT active_record_1
567
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title30"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=30"], ["width", 600]]
568
+  (0.0ms) RELEASE SAVEPOINT active_record_1
569
+
570
+
571
+ Started GET "/oembed.json?url=http%3A//example.com/photos/1" for 127.0.0.1 at 2013-02-05 14:26:02 +0100
572
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as JSON
573
+ Parameters: {"url"=>"http://example.com/photos/1"}
574
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
575
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
576
+  (0.4ms) rollback transaction
577
+  (0.0ms) begin transaction
578
+  (0.0ms) SAVEPOINT active_record_1
579
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title31"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=31"], ["width", 600]]
580
+  (0.0ms) RELEASE SAVEPOINT active_record_1
581
+
582
+
583
+ Started GET "/oembed?url=http%3A//example.com/photos/1&format=json" for 127.0.0.1 at 2013-02-05 14:26:02 +0100
584
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as JSON
585
+ Parameters: {"url"=>"http://example.com/photos/1"}
586
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
587
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
588
+  (0.5ms) rollback transaction
589
+  (0.0ms) begin transaction
590
+  (0.0ms) SAVEPOINT active_record_1
591
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title32"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=32"], ["width", 600]]
592
+  (0.0ms) RELEASE SAVEPOINT active_record_1
593
+
594
+
595
+ Started GET "/oembed?url=http%3A//example.com/photos/1" for 127.0.0.1 at 2013-02-05 14:26:02 +0100
596
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as HTML
597
+ Parameters: {"url"=>"http://example.com/photos/1"}
598
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
599
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
600
+  (0.4ms) rollback transaction
601
+  (0.0ms) begin transaction
602
+  (0.0ms) SAVEPOINT active_record_1
603
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title33"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=33"], ["width", 600]]
604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
605
+
606
+
607
+ Started GET "/oembed.json?url=http%3A//example.com/photos/1&callback=myCallback" for 127.0.0.1 at 2013-02-05 14:26:02 +0100
608
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as JSON
609
+ Parameters: {"url"=>"http://example.com/photos/1", "callback"=>"myCallback"}
610
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
611
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
612
+  (0.4ms) rollback transaction
613
+  (0.1ms) begin transaction
614
+  (0.0ms) SAVEPOINT active_record_1
615
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title34"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=34"], ["width", 600]]
616
+  (0.0ms) RELEASE SAVEPOINT active_record_1
617
+
618
+
619
+ Started GET "/oembed.json?url=http%3A//example.com/photos/1&variable=myVar&callback=myCallback" for 127.0.0.1 at 2013-02-05 14:26:02 +0100
620
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as JSON
621
+ Parameters: {"url"=>"http://example.com/photos/1", "variable"=>"myVar", "callback"=>"myCallback"}
622
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
623
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
624
+  (0.4ms) rollback transaction
625
+  (0.0ms) begin transaction
626
+  (0.0ms) SAVEPOINT active_record_1
627
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title35"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=35"], ["width", 600]]
628
+  (0.0ms) RELEASE SAVEPOINT active_record_1
629
+
630
+
631
+ Started GET "/oembed.json?url=http%3A//example.com/photos/1&variable=myVar" for 127.0.0.1 at 2013-02-05 14:26:02 +0100
632
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as JSON
633
+ Parameters: {"url"=>"http://example.com/photos/1", "variable"=>"myVar"}
634
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
635
+ Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.0ms)
636
+  (0.5ms) rollback transaction
637
+  (0.1ms) begin transaction
638
+  (0.0ms) SAVEPOINT active_record_1
639
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title36"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=36"], ["width", 600]]
640
+  (0.0ms) RELEASE SAVEPOINT active_record_1
641
+
642
+
643
+ Started GET "/oembed.xml?url=http%3A//example.com/photos/1" for 127.0.0.1 at 2013-02-05 14:26:02 +0100
644
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as XML
645
+ Parameters: {"url"=>"http://example.com/photos/1"}
646
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
647
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
648
+  (0.5ms) rollback transaction
649
+  (0.0ms) begin transaction
650
+  (0.0ms) SAVEPOINT active_record_1
651
+ SQL (0.4ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title37"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=37"], ["width", 600]]
652
+  (0.0ms) RELEASE SAVEPOINT active_record_1
653
+
654
+
655
+ Started GET "/oembed?url=http%3A//example.com/photos/1&format=xml" for 127.0.0.1 at 2013-02-05 14:26:02 +0100
656
+ Processing by OembedProviderEngine::OembedProviderController#endpoint as XML
657
+ Parameters: {"url"=>"http://example.com/photos/1"}
658
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
659
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.1ms)
660
+  (0.5ms) rollback transaction
661
+  (0.0ms) begin transaction
662
+  (0.0ms) SAVEPOINT active_record_1
663
+ SQL (0.3ms) INSERT INTO "photos" ("author_name", "author_url", "created_at", "height", "thumbnail_height", "thumbnail_url", "thumbnail_width", "title", "updated_at", "url", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["author_name", nil], ["author_url", nil], ["created_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["height", 400], ["thumbnail_height", nil], ["thumbnail_url", nil], ["thumbnail_width", nil], ["title", "a title38"], ["updated_at", Tue, 05 Feb 2013 13:26:02 UTC +00:00], ["url", "http://example.com/photo?id=38"], ["width", 600]]
664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
665
+
666
+
667
+ Started GET "/photos/1" for 127.0.0.1 at 2013-02-05 14:26:02 +0100
668
+ Processing by PhotosController#show as HTML
669
+ Parameters: {"id"=>"1"}
670
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", "1"]]
671
+ Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.0ms)
672
+  (0.5ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oembed_provider_engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2012-11-08 00:00:00.000000000 Z
15
+ date: 2013-02-05 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rails
@@ -282,9 +282,14 @@ files:
282
282
  - test/dummy/config/locales/en.yml
283
283
  - test/dummy/config/routes.rb
284
284
  - test/dummy/config.ru
285
+ - test/dummy/db/development.sqlite3
285
286
  - test/dummy/db/migrate/20110212010602_create_items.rb
286
287
  - test/dummy/db/migrate/20110212022722_create_photos.rb
288
+ - test/dummy/db/production.sqlite3
287
289
  - test/dummy/db/schema.rb
290
+ - test/dummy/db/test.sqlite3
291
+ - test/dummy/log/development.log
292
+ - test/dummy/log/test.log
288
293
  - test/dummy/public/404.html
289
294
  - test/dummy/public/422.html
290
295
  - test/dummy/public/500.html
@@ -319,7 +324,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
319
324
  version: '0'
320
325
  requirements: []
321
326
  rubyforge_project:
322
- rubygems_version: 1.8.24
327
+ rubygems_version: 1.8.25
323
328
  signing_key:
324
329
  specification_version: 3
325
330
  summary: Oembed Provider Rails 3 Engine
@@ -359,9 +364,14 @@ test_files:
359
364
  - test/dummy/config/locales/en.yml
360
365
  - test/dummy/config/routes.rb
361
366
  - test/dummy/config.ru
367
+ - test/dummy/db/development.sqlite3
362
368
  - test/dummy/db/migrate/20110212010602_create_items.rb
363
369
  - test/dummy/db/migrate/20110212022722_create_photos.rb
370
+ - test/dummy/db/production.sqlite3
364
371
  - test/dummy/db/schema.rb
372
+ - test/dummy/db/test.sqlite3
373
+ - test/dummy/log/development.log
374
+ - test/dummy/log/test.log
365
375
  - test/dummy/public/404.html
366
376
  - test/dummy/public/422.html
367
377
  - test/dummy/public/500.html