zencodable 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
@@ -1,125 +1,22 @@
1
1
   (0.1ms) select sqlite_version(*)
2
-  (54.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2
+  (118.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
3
   (0.1ms) PRAGMA index_list("schema_migrations")
4
-  (2.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
7
-  (0.0ms) select sqlite_version(*)
8
-  (50.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
9
-  (0.1ms) PRAGMA index_list("schema_migrations")
10
-  (2.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
11
-  (0.1ms) SELECT version FROM "schema_migrations"
12
-  (2.4ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
13
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
14
-  (0.0ms) select sqlite_version(*)
15
-  (45.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
16
-  (0.1ms) PRAGMA index_list("schema_migrations")
17
-  (2.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
18
-  (0.1ms) SELECT version FROM "schema_migrations"
19
-  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
20
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
21
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
22
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
4
+  (59.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23
5
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
24
6
  Migrating to CreateDummyVideos (20111130180309)
25
-  (0.0ms) select sqlite_version(*)
26
-  (0.5ms) CREATE TABLE "videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "origin_url" varchar(255), "zencoder_job_id" varchar(255), "zencoder_job_status" varchar(255), "zencoder_job_created" datetime, "zencoder_job_finished" datetime, "created_at" datetime, "updated_at" datetime) 
27
-  (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130180309')
7
+  (0.6ms) CREATE TABLE "videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "origin_url" varchar(255), "zencoder_job_id" varchar(255), "zencoder_job_status" varchar(255), "zencoder_job_created" datetime, "zencoder_job_finished" datetime, "created_at" datetime, "updated_at" datetime)
8
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130180309')
28
9
  Migrating to CreateVideoFiles (20111130192331)
29
-  (0.4ms) CREATE TABLE "video_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "format" varchar(255), "zencoder_file_id" integer, "video_id" integer, "created_at" datetime, "updated_at" datetime, "duration_sec" integer, "width" integer, "height" integer, "file_size" integer, "error_message" varchar(255), "state" varchar(255)) 
30
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130192331')
10
+  (0.9ms) CREATE TABLE "video_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "format" varchar(255), "zencoder_file_id" integer, "video_id" integer, "created_at" datetime, "updated_at" datetime, "duration_sec" integer, "width" integer, "height" integer, "file_size" integer, "error_message" varchar(255), "state" varchar(255))
11
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130192331')
31
12
  Migrating to CreateVideoThumbnails (20111130193231)
32
-  (0.5ms) CREATE TABLE "video_thumbnails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thumbnail_file_name" varchar(255), "thumbnail_content_type" varchar(255), "thumbnail_file_size" integer, "thumbnail_updated_at" datetime, "video_id" integer, "created_at" datetime, "updated_at" datetime) 
33
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130193231')
13
+  (1.0ms) CREATE TABLE "video_thumbnails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thumbnail_file_name" varchar(255), "thumbnail_content_type" varchar(255), "thumbnail_file_size" integer, "thumbnail_updated_at" datetime, "video_id" integer, "created_at" datetime, "updated_at" datetime)
14
+  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130193231')
34
15
  Migrating to RenameVideoThumbnails (20111201135457)
35
-  (0.6ms) ALTER TABLE "video_thumbnails" RENAME TO "video_file_thumbnails"
36
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201135457')
37
-  (0.4ms) select sqlite_version(*)
38
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
39
-  (0.0ms) PRAGMA index_list("video_file_thumbnails")
40
-  (0.0ms) PRAGMA index_list("video_files")
41
-  (0.0ms) PRAGMA index_list("videos")
42
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
43
- Migrating to CreateDummyVideos (20111130180309)
44
- Migrating to CreateVideoFiles (20111130192331)
45
- Migrating to CreateVideoThumbnails (20111130193231)
46
- Migrating to RenameVideoThumbnails (20111201135457)
47
- Migrating to AddZencoderJobTrackingColumns (20111202212901)
48
-  (0.0ms) select sqlite_version(*)
49
-  (0.2ms) ALTER TABLE "videos" ADD "origin_url" varchar(255)
50
- SQLite3::SQLException: duplicate column name: origin_url: ALTER TABLE "videos" ADD "origin_url" varchar(255)
51
-  (0.3ms) select sqlite_version(*)
52
-  (52.7ms) CREATE TABLE "video_file_thumbnails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thumbnail_file_name" varchar(255), "thumbnail_content_type" varchar(255), "thumbnail_file_size" integer, "thumbnail_updated_at" datetime, "video_id" integer, "created_at" datetime, "updated_at" datetime)
53
-  (2.5ms) CREATE TABLE "video_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "format" varchar(255), "zencoder_file_id" integer, "video_id" integer, "created_at" datetime, "updated_at" datetime, "duration_sec" integer, "width" integer, "height" integer, "file_size" integer, "error_message" varchar(255), "state" varchar(255)) 
54
-  (2.9ms) CREATE TABLE "videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "origin_url" varchar(255), "zencoder_job_id" varchar(255), "zencoder_job_status" varchar(255), "zencoder_job_created" datetime, "zencoder_job_finished" datetime, "created_at" datetime, "updated_at" datetime)
55
-  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
56
-  (0.1ms) PRAGMA index_list("schema_migrations")
57
-  (3.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
58
-  (0.1ms) SELECT version FROM "schema_migrations"
59
-  (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111201135457')
60
-  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130180309')
61
-  (3.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130192331')
62
-  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130193231')
63
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
64
-  (0.3ms) select sqlite_version(*)
65
-  (46.5ms) CREATE TABLE "video_file_thumbnails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thumbnail_file_name" varchar(255), "thumbnail_content_type" varchar(255), "thumbnail_file_size" integer, "thumbnail_updated_at" datetime, "video_id" integer, "created_at" datetime, "updated_at" datetime)
66
-  (2.6ms) CREATE TABLE "video_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "format" varchar(255), "zencoder_file_id" integer, "video_id" integer, "created_at" datetime, "updated_at" datetime, "duration_sec" integer, "width" integer, "height" integer, "file_size" integer, "error_message" varchar(255), "state" varchar(255)) 
67
-  (3.2ms) CREATE TABLE "videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "origin_url" varchar(255), "zencoder_job_id" varchar(255), "zencoder_job_status" varchar(255), "zencoder_job_created" datetime, "zencoder_job_finished" datetime, "created_at" datetime, "updated_at" datetime)
68
-  (2.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
69
-  (0.1ms) PRAGMA index_list("schema_migrations")
70
-  (3.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
71
-  (0.1ms) SELECT version FROM "schema_migrations"
72
-  (2.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20111201135457')
73
-  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130180309')
74
-  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130192331')
75
-  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130193231')
76
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
77
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
78
- Migrating to CreateDummyVideos (20111130180309)
79
- Migrating to CreateVideoFiles (20111130192331)
80
- Migrating to CreateVideoThumbnails (20111130193231)
81
- Migrating to RenameVideoThumbnails (20111201135457)
82
- Migrating to AddZencoderJobTrackingColumns (20111202212901)
83
-  (0.0ms) select sqlite_version(*)
84
-  (0.2ms) ALTER TABLE "videos" ADD "origin_url" varchar(255)
85
- SQLite3::SQLException: duplicate column name: origin_url: ALTER TABLE "videos" ADD "origin_url" varchar(255)
86
-  (0.3ms) select sqlite_version(*)
87
-  (50.5ms) CREATE TABLE "video_file_thumbnails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thumbnail_file_name" varchar(255), "thumbnail_content_type" varchar(255), "thumbnail_file_size" integer, "thumbnail_updated_at" datetime, "video_id" integer, "created_at" datetime, "updated_at" datetime)
88
-  (2.4ms) CREATE TABLE "video_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "format" varchar(255), "zencoder_file_id" integer, "video_id" integer, "created_at" datetime, "updated_at" datetime, "duration_sec" integer, "width" integer, "height" integer, "file_size" integer, "error_message" varchar(255), "state" varchar(255)) 
89
-  (2.9ms) CREATE TABLE "videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "origin_url" varchar(255), "zencoder_job_id" varchar(255), "zencoder_job_status" varchar(255), "zencoder_job_created" datetime, "zencoder_job_finished" datetime, "created_at" datetime, "updated_at" datetime)
90
-  (3.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
91
-  (0.1ms) PRAGMA index_list("schema_migrations")
92
-  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
93
-  (0.1ms) SELECT version FROM "schema_migrations"
94
-  (3.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20111201135457')
95
-  (4.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130180309')
96
-  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130192331')
97
-  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130193231')
98
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
99
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
100
- Migrating to CreateDummyVideos (20111130180309)
101
- Migrating to CreateVideoFiles (20111130192331)
102
- Migrating to CreateVideoThumbnails (20111130193231)
103
- Migrating to RenameVideoThumbnails (20111201135457)
104
- Migrating to AddZencoderJobTrackingColumns (20111202212901)
105
-  (0.0ms) select sqlite_version(*)
106
-  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111202212901')
107
-  (0.3ms) select sqlite_version(*)
108
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
109
-  (0.0ms) PRAGMA index_list("video_file_thumbnails")
110
-  (0.0ms) PRAGMA index_list("video_files")
111
-  (0.0ms) PRAGMA index_list("videos")
112
-  (0.3ms) select sqlite_version(*)
113
-  (47.4ms) CREATE TABLE "video_file_thumbnails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thumbnail_file_name" varchar(255), "thumbnail_content_type" varchar(255), "thumbnail_file_size" integer, "thumbnail_updated_at" datetime, "video_id" integer, "created_at" datetime, "updated_at" datetime)
114
-  (2.4ms) CREATE TABLE "video_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "format" varchar(255), "zencoder_file_id" integer, "video_id" integer, "created_at" datetime, "updated_at" datetime, "duration_sec" integer, "width" integer, "height" integer, "file_size" integer, "error_message" varchar(255), "state" varchar(255)) 
115
-  (3.0ms) CREATE TABLE "videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "origin_url" varchar(255), "zencoder_job_id" varchar(255), "zencoder_job_status" varchar(255), "zencoder_job_created" datetime, "zencoder_job_finished" datetime, "created_at" datetime, "updated_at" datetime)
116
-  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
117
-  (0.1ms) PRAGMA index_list("schema_migrations")
118
-  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
119
-  (0.1ms) SELECT version FROM "schema_migrations"
120
-  (2.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20111202212901')
121
-  (3.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130180309')
122
-  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130192331')
123
-  (2.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130193231')
124
-  (3.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20111201135457')
125
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
16
+  (1.1ms) ALTER TABLE "video_thumbnails" RENAME TO "video_file_thumbnails"
17
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201135457')
18
+  (0.8ms) select sqlite_version(*)
19
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
20
+  (0.1ms) PRAGMA index_list("video_file_thumbnails")
21
+  (0.1ms) PRAGMA index_list("video_files")
22
+  (0.1ms) PRAGMA index_list("videos")
@@ -1,95 +1,42 @@
1
1
   (0.1ms) select sqlite_version(*)
2
-  (55.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2
+  (133.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
3
   (0.1ms) PRAGMA index_list("schema_migrations")
4
-  (2.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
-  (0.3ms) select sqlite_version(*)
6
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
7
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
8
- Migrating to CreateDummyVideos (20111130180309)
9
-  (0.0ms) select sqlite_version(*)
10
-  (0.5ms) CREATE TABLE "videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "origin_url" varchar(255), "zencoder_job_id" varchar(255), "zencoder_job_status" varchar(255), "zencoder_job_created" datetime, "zencoder_job_finished" datetime, "created_at" datetime, "updated_at" datetime) 
11
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130180309')
12
-  (0.3ms) select sqlite_version(*)
13
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
14
-  (0.0ms) PRAGMA index_list("videos")
15
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
16
-  (0.2ms) select sqlite_version(*)
17
-  (54.9ms) CREATE TABLE "videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "origin_url" varchar(255), "zencoder_job_id" varchar(255), "zencoder_job_status" varchar(255), "zencoder_job_created" datetime, "zencoder_job_finished" datetime, "created_at" datetime, "updated_at" datetime) 
18
-  (2.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
19
-  (0.1ms) PRAGMA index_list("schema_migrations")
20
-  (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
21
-  (0.2ms) SELECT version FROM "schema_migrations"
22
-  (2.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130180309')
23
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
24
- Migrating to CreateDummyVideos (20111130180309)
25
- Migrating to CreateVideoFiles (20111130192331)
26
-  (0.1ms) select sqlite_version(*)
27
-  (0.6ms) CREATE TABLE "video_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "format" varchar(255), "zencoder_file_id" integer, "video_id" integer, "created_at" datetime, "updated_at" datetime, "duration_sec" integer, "width" integer, "height" integer, "file_size" integer, "error_message" varchar(255), "state" varchar(255)) 
28
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130192331')
29
-  (0.3ms) select sqlite_version(*)
30
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
31
-  (0.0ms) PRAGMA index_list("video_files")
32
-  (0.0ms) PRAGMA index_list("videos")
4
+  (60.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
33
5
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
34
6
  Migrating to CreateDummyVideos (20111130180309)
7
+  (0.6ms) CREATE TABLE "videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "origin_url" varchar(255), "zencoder_job_id" varchar(255), "zencoder_job_status" varchar(255), "zencoder_job_created" datetime, "zencoder_job_finished" datetime, "created_at" datetime, "updated_at" datetime)
8
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130180309')
35
9
  Migrating to CreateVideoFiles (20111130192331)
10
+  (0.9ms) CREATE TABLE "video_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "format" varchar(255), "zencoder_file_id" integer, "video_id" integer, "created_at" datetime, "updated_at" datetime, "duration_sec" integer, "width" integer, "height" integer, "file_size" integer, "error_message" varchar(255), "state" varchar(255))
11
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130192331')
36
12
  Migrating to CreateVideoThumbnails (20111130193231)
37
-  (0.1ms) select sqlite_version(*)
38
-  (0.5ms) CREATE TABLE "video_thumbnails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thumbnail_file_name" varchar(255), "thumbnail_content_type" varchar(255), "thumbnail_file_size" integer, "thumbnail_updated_at" datetime, "video_id" integer, "created_at" datetime, "updated_at" datetime) 
39
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130193231')
40
-  (0.4ms) select sqlite_version(*)
41
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
42
-  (0.0ms) PRAGMA index_list("video_files")
43
-  (0.0ms) PRAGMA index_list("video_thumbnails")
44
-  (0.0ms) PRAGMA index_list("videos")
45
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
13
+  (1.0ms) CREATE TABLE "video_thumbnails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thumbnail_file_name" varchar(255), "thumbnail_content_type" varchar(255), "thumbnail_file_size" integer, "thumbnail_updated_at" datetime, "video_id" integer, "created_at" datetime, "updated_at" datetime)
14
+  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130193231')
15
+  (0.8ms) select sqlite_version(*)
16
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
17
+  (0.1ms) PRAGMA index_list("video_files")
18
+  (0.1ms) PRAGMA index_list("video_thumbnails")
19
+  (0.2ms) PRAGMA index_list("videos")
20
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
46
21
  Migrating to CreateDummyVideos (20111130180309)
47
22
  Migrating to CreateVideoFiles (20111130192331)
48
23
  Migrating to CreateVideoThumbnails (20111130193231)
49
24
  Migrating to RenameVideoThumbnails (20111201135457)
50
-  (0.0ms) select sqlite_version(*)
51
-  (0.6ms) ALTER TABLE "video_thumbnails" RENAME TO "video_file_thumbnails"
52
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201135457')
53
-  (0.3ms) select sqlite_version(*)
54
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
25
+  (0.1ms) select sqlite_version(*)
26
+  (0.7ms) ALTER TABLE "video_thumbnails" RENAME TO "video_file_thumbnails"
27
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201135457')
28
+  (0.5ms) select sqlite_version(*)
29
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
55
30
   (0.0ms) PRAGMA index_list("video_file_thumbnails")
56
31
   (0.0ms) PRAGMA index_list("video_files")
57
32
   (0.0ms) PRAGMA index_list("videos")
58
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
33
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
59
34
  Migrating to CreateDummyVideos (20111130180309)
60
35
  Migrating to CreateVideoFiles (20111130192331)
61
36
  Migrating to CreateVideoThumbnails (20111130193231)
62
37
  Migrating to RenameVideoThumbnails (20111201135457)
63
- Migrating to AddZencoderJobTrackingColumns (20111202212901)
64
-  (0.0ms) select sqlite_version(*)
65
-  (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111202212901')
66
38
   (0.4ms) select sqlite_version(*)
67
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
68
-  (0.0ms) PRAGMA index_list("video_file_thumbnails")
69
-  (0.0ms) PRAGMA index_list("video_files")
70
-  (0.0ms) PRAGMA index_list("videos")
71
-  (0.3ms) select sqlite_version(*)
72
-  (54.5ms) CREATE TABLE "video_file_thumbnails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "thumbnail_file_name" varchar(255), "thumbnail_content_type" varchar(255), "thumbnail_file_size" integer, "thumbnail_updated_at" datetime, "video_id" integer, "created_at" datetime, "updated_at" datetime)
73
-  (2.5ms) CREATE TABLE "video_files" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "url" varchar(255), "format" varchar(255), "zencoder_file_id" integer, "video_id" integer, "created_at" datetime, "updated_at" datetime, "duration_sec" integer, "width" integer, "height" integer, "file_size" integer, "error_message" varchar(255), "state" varchar(255)) 
74
-  (3.1ms) CREATE TABLE "videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "origin_url" varchar(255), "zencoder_job_id" varchar(255), "zencoder_job_status" varchar(255), "zencoder_job_created" datetime, "zencoder_job_finished" datetime, "created_at" datetime, "updated_at" datetime)
75
-  (3.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
76
-  (0.1ms) PRAGMA index_list("schema_migrations")
77
-  (3.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
78
-  (0.1ms) SELECT version FROM "schema_migrations"
79
-  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20111202212901')
80
-  (4.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130180309')
81
-  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130192331')
82
-  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20111130193231')
83
-  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20111201135457')
84
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
85
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
86
- Migrating to CreateDummyVideos (20111130180309)
87
- Migrating to CreateVideoFiles (20111130192331)
88
- Migrating to CreateVideoThumbnails (20111130193231)
89
- Migrating to RenameVideoThumbnails (20111201135457)
90
- Migrating to AddZencoderJobTrackingColumns (20111202212901)
91
-  (0.3ms) select sqlite_version(*)
92
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
39
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
93
40
   (0.0ms) PRAGMA index_list("video_file_thumbnails")
94
41
   (0.0ms) PRAGMA index_list("video_files")
95
42
   (0.0ms) PRAGMA index_list("videos")
@@ -1,11 +1,5 @@
1
- class ZencodableAddTrackingColumnsAndTables < ActiveRecord::Migration
1
+ class CreateZencodableOutputFilesAssociationTable < ActiveRecord::Migration
2
2
  def change
3
- add_column :kitteh_movies, :origin_url, :string
4
- add_column :kitteh_movies, :zencoder_job_id, :string
5
- add_column :kitteh_movies, :zencoder_job_status, :string
6
- add_column :kitteh_movies, :zencoder_job_created, :datetime
7
- add_column :kitteh_movies, :zencoder_job_finished, :datetime
8
-
9
3
  create_table "encoded_kitteh_vids" do |t|
10
4
  t.string "url"
11
5
  t.string "format"
@@ -19,7 +13,5 @@ class ZencodableAddTrackingColumnsAndTables < ActiveRecord::Migration
19
13
  t.string "state"
20
14
  t.timestamps
21
15
  end
22
-
23
-
24
16
  end
25
17
  end
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zencodable
3
3
  version: !ruby/object:Gem::Version
4
+ hash: 17
4
5
  prerelease:
5
- version: 0.1.4
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 5
10
+ version: 0.1.5
6
11
  platform: ruby
7
12
  authors:
8
13
  - Sam Beam
@@ -10,7 +15,7 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-12-05 00:00:00 Z
18
+ date: 2011-12-07 00:00:00 Z
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: rails
@@ -20,6 +25,11 @@ dependencies:
20
25
  requirements:
21
26
  - - ~>
22
27
  - !ruby/object:Gem::Version
28
+ hash: 3
29
+ segments:
30
+ - 3
31
+ - 1
32
+ - 0
23
33
  version: 3.1.0
24
34
  type: :runtime
25
35
  version_requirements: *id001
@@ -31,6 +41,9 @@ dependencies:
31
41
  requirements:
32
42
  - - ">="
33
43
  - !ruby/object:Gem::Version
44
+ hash: 3
45
+ segments:
46
+ - 0
34
47
  version: "0"
35
48
  type: :runtime
36
49
  version_requirements: *id002
@@ -42,6 +55,9 @@ dependencies:
42
55
  requirements:
43
56
  - - ">="
44
57
  - !ruby/object:Gem::Version
58
+ hash: 3
59
+ segments:
60
+ - 0
45
61
  version: "0"
46
62
  type: :runtime
47
63
  version_requirements: *id003
@@ -53,6 +69,9 @@ dependencies:
53
69
  requirements:
54
70
  - - ">="
55
71
  - !ruby/object:Gem::Version
72
+ hash: 3
73
+ segments:
74
+ - 0
56
75
  version: "0"
57
76
  type: :runtime
58
77
  version_requirements: *id004
@@ -64,6 +83,9 @@ dependencies:
64
83
  requirements:
65
84
  - - ">="
66
85
  - !ruby/object:Gem::Version
86
+ hash: 3
87
+ segments:
88
+ - 0
67
89
  version: "0"
68
90
  type: :development
69
91
  version_requirements: *id005
@@ -75,6 +97,9 @@ dependencies:
75
97
  requirements:
76
98
  - - ">="
77
99
  - !ruby/object:Gem::Version
100
+ hash: 3
101
+ segments:
102
+ - 0
78
103
  version: "0"
79
104
  type: :development
80
105
  version_requirements: *id006
@@ -86,6 +111,9 @@ dependencies:
86
111
  requirements:
87
112
  - - ">="
88
113
  - !ruby/object:Gem::Version
114
+ hash: 3
115
+ segments:
116
+ - 0
89
117
  version: "0"
90
118
  type: :development
91
119
  version_requirements: *id007
@@ -99,59 +127,59 @@ extensions: []
99
127
  extra_rdoc_files: []
100
128
 
101
129
  files:
102
- - lib/generators/zencodable/migration_generator.rb
103
- - lib/generators/zencodable/templates/zencodable_add_tracking_columns_and_tables.rb
104
130
  - lib/zencodable/version.rb
105
131
  - lib/zencodable.rb
132
+ - lib/generators/zencodable/templates/zencodable_add_tracking_columns_and_tables.rb
133
+ - lib/generators/zencodable/migration_generator.rb
106
134
  - MIT-LICENSE
107
135
  - Rakefile
108
136
  - README.md
137
+ - test/zencodable_generators_test.rb
138
+ - test/factories.rb
109
139
  - test/debug.log
110
- - test/dummy/app/assets/javascripts/application.js
111
- - test/dummy/app/assets/stylesheets/application.css
140
+ - test/dummy/Rakefile
141
+ - test/dummy/public/404.html
142
+ - test/dummy/public/500.html
143
+ - test/dummy/public/favicon.ico
144
+ - test/dummy/public/422.html
112
145
  - test/dummy/app/controllers/application_controller.rb
146
+ - test/dummy/app/views/layouts/application.html.erb
113
147
  - test/dummy/app/helpers/application_helper.rb
148
+ - test/dummy/app/assets/stylesheets/application.css
149
+ - test/dummy/app/assets/javascripts/application.js
150
+ - test/dummy/app/models/video_file_thumbnail.rb
114
151
  - test/dummy/app/models/video.rb
115
152
  - test/dummy/app/models/video_file.rb
116
- - test/dummy/app/models/video_file_thumbnail.rb
117
- - test/dummy/app/views/layouts/application.html.erb
118
- - test/dummy/config/amazon_s3.yml
119
- - test/dummy/config/application.rb
120
- - test/dummy/config/boot.rb
121
- - test/dummy/config/database.yml
122
- - test/dummy/config/environment.rb
123
- - test/dummy/config/environments/development.rb
124
- - test/dummy/config/environments/production.rb
125
- - test/dummy/config/environments/test.rb
126
- - test/dummy/config/initializers/backtrace_silencers.rb
127
- - test/dummy/config/initializers/inflections.rb
128
- - test/dummy/config/initializers/mime_types.rb
129
- - test/dummy/config/initializers/secret_token.rb
130
- - test/dummy/config/initializers/session_store.rb
131
- - test/dummy/config/initializers/wrap_parameters.rb
132
- - test/dummy/config/locales/en.yml
133
- - test/dummy/config/routes.rb
134
- - test/dummy/config.ru
153
+ - test/dummy/db/test.sqlite3
135
154
  - test/dummy/db/development.sqlite3
155
+ - test/dummy/db/schema.rb
136
156
  - test/dummy/db/migrate/20111130180309_create_dummy_videos.rb
137
- - test/dummy/db/migrate/20111130192331_create_video_files.rb
138
157
  - test/dummy/db/migrate/20111130193231_create_video_thumbnails.rb
139
- - test/dummy/db/migrate/20111201135457_rename_video_thumbnails.rb
158
+ - test/dummy/db/migrate/20111130192331_create_video_files.rb
140
159
  - test/dummy/db/migrate/20111202212901_add_zencoder_job_tracking_columns.rb
141
- - test/dummy/db/schema.rb
142
- - test/dummy/db/test.sqlite3
143
- - test/dummy/log/development.log
160
+ - test/dummy/db/migrate/20111201135457_rename_video_thumbnails.rb
161
+ - test/dummy/config/routes.rb
162
+ - test/dummy/config/initializers/secret_token.rb
163
+ - test/dummy/config/initializers/inflections.rb
164
+ - test/dummy/config/initializers/backtrace_silencers.rb
165
+ - test/dummy/config/initializers/wrap_parameters.rb
166
+ - test/dummy/config/initializers/mime_types.rb
167
+ - test/dummy/config/initializers/session_store.rb
168
+ - test/dummy/config/environment.rb
169
+ - test/dummy/config/database.yml
170
+ - test/dummy/config/locales/en.yml
171
+ - test/dummy/config/boot.rb
172
+ - test/dummy/config/application.rb
173
+ - test/dummy/config/amazon_s3.yml
174
+ - test/dummy/config/environments/development.rb
175
+ - test/dummy/config/environments/production.rb
176
+ - test/dummy/config/environments/test.rb
144
177
  - test/dummy/log/test.log
145
- - test/dummy/public/404.html
146
- - test/dummy/public/422.html
147
- - test/dummy/public/500.html
148
- - test/dummy/public/favicon.ico
149
- - test/dummy/Rakefile
178
+ - test/dummy/log/development.log
150
179
  - test/dummy/script/rails
151
- - test/dummy/tmp/db/migrate/20111205205154_zencodable_add_tracking_columns_and_tables.rb
152
- - test/factories.rb
180
+ - test/dummy/config.ru
181
+ - test/dummy/tmp/db/migrate/20111202054112_create_encoded_kitteh_vids.rb
153
182
  - test/test_helper.rb
154
- - test/zencodable_generators_test.rb
155
183
  - test/zencodable_test.rb
156
184
  homepage: https://github.com/sbeam/zencodable
157
185
  licenses: []
@@ -166,65 +194,71 @@ required_ruby_version: !ruby/object:Gem::Requirement
166
194
  requirements:
167
195
  - - ">="
168
196
  - !ruby/object:Gem::Version
197
+ hash: 3
198
+ segments:
199
+ - 0
169
200
  version: "0"
170
201
  required_rubygems_version: !ruby/object:Gem::Requirement
171
202
  none: false
172
203
  requirements:
173
204
  - - ">="
174
205
  - !ruby/object:Gem::Version
206
+ hash: 3
207
+ segments:
208
+ - 0
175
209
  version: "0"
176
210
  requirements: []
177
211
 
178
212
  rubyforge_project:
179
- rubygems_version: 1.8.8
213
+ rubygems_version: 1.7.2
180
214
  signing_key:
181
215
  specification_version: 3
182
216
  summary: mindful multiformat video encoding for AR models with Zencoder API
183
217
  test_files:
218
+ - test/zencodable_generators_test.rb
219
+ - test/factories.rb
184
220
  - test/debug.log
185
- - test/dummy/app/assets/javascripts/application.js
186
- - test/dummy/app/assets/stylesheets/application.css
221
+ - test/dummy/Rakefile
222
+ - test/dummy/public/404.html
223
+ - test/dummy/public/500.html
224
+ - test/dummy/public/favicon.ico
225
+ - test/dummy/public/422.html
187
226
  - test/dummy/app/controllers/application_controller.rb
227
+ - test/dummy/app/views/layouts/application.html.erb
188
228
  - test/dummy/app/helpers/application_helper.rb
229
+ - test/dummy/app/assets/stylesheets/application.css
230
+ - test/dummy/app/assets/javascripts/application.js
231
+ - test/dummy/app/models/video_file_thumbnail.rb
189
232
  - test/dummy/app/models/video.rb
190
233
  - test/dummy/app/models/video_file.rb
191
- - test/dummy/app/models/video_file_thumbnail.rb
192
- - test/dummy/app/views/layouts/application.html.erb
193
- - test/dummy/config/amazon_s3.yml
194
- - test/dummy/config/application.rb
195
- - test/dummy/config/boot.rb
196
- - test/dummy/config/database.yml
197
- - test/dummy/config/environment.rb
198
- - test/dummy/config/environments/development.rb
199
- - test/dummy/config/environments/production.rb
200
- - test/dummy/config/environments/test.rb
201
- - test/dummy/config/initializers/backtrace_silencers.rb
202
- - test/dummy/config/initializers/inflections.rb
203
- - test/dummy/config/initializers/mime_types.rb
204
- - test/dummy/config/initializers/secret_token.rb
205
- - test/dummy/config/initializers/session_store.rb
206
- - test/dummy/config/initializers/wrap_parameters.rb
207
- - test/dummy/config/locales/en.yml
208
- - test/dummy/config/routes.rb
209
- - test/dummy/config.ru
234
+ - test/dummy/db/test.sqlite3
210
235
  - test/dummy/db/development.sqlite3
236
+ - test/dummy/db/schema.rb
211
237
  - test/dummy/db/migrate/20111130180309_create_dummy_videos.rb
212
- - test/dummy/db/migrate/20111130192331_create_video_files.rb
213
238
  - test/dummy/db/migrate/20111130193231_create_video_thumbnails.rb
214
- - test/dummy/db/migrate/20111201135457_rename_video_thumbnails.rb
239
+ - test/dummy/db/migrate/20111130192331_create_video_files.rb
215
240
  - test/dummy/db/migrate/20111202212901_add_zencoder_job_tracking_columns.rb
216
- - test/dummy/db/schema.rb
217
- - test/dummy/db/test.sqlite3
218
- - test/dummy/log/development.log
241
+ - test/dummy/db/migrate/20111201135457_rename_video_thumbnails.rb
242
+ - test/dummy/config/routes.rb
243
+ - test/dummy/config/initializers/secret_token.rb
244
+ - test/dummy/config/initializers/inflections.rb
245
+ - test/dummy/config/initializers/backtrace_silencers.rb
246
+ - test/dummy/config/initializers/wrap_parameters.rb
247
+ - test/dummy/config/initializers/mime_types.rb
248
+ - test/dummy/config/initializers/session_store.rb
249
+ - test/dummy/config/environment.rb
250
+ - test/dummy/config/database.yml
251
+ - test/dummy/config/locales/en.yml
252
+ - test/dummy/config/boot.rb
253
+ - test/dummy/config/application.rb
254
+ - test/dummy/config/amazon_s3.yml
255
+ - test/dummy/config/environments/development.rb
256
+ - test/dummy/config/environments/production.rb
257
+ - test/dummy/config/environments/test.rb
219
258
  - test/dummy/log/test.log
220
- - test/dummy/public/404.html
221
- - test/dummy/public/422.html
222
- - test/dummy/public/500.html
223
- - test/dummy/public/favicon.ico
224
- - test/dummy/Rakefile
259
+ - test/dummy/log/development.log
225
260
  - test/dummy/script/rails
226
- - test/dummy/tmp/db/migrate/20111205205154_zencodable_add_tracking_columns_and_tables.rb
227
- - test/factories.rb
261
+ - test/dummy/config.ru
262
+ - test/dummy/tmp/db/migrate/20111202054112_create_encoded_kitteh_vids.rb
228
263
  - test/test_helper.rb
229
- - test/zencodable_generators_test.rb
230
264
  - test/zencodable_test.rb