zencodable 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -1,22 +1,28 @@
1
1
   (0.1ms) select sqlite_version(*)
2
-  (118.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
2
+  (133.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
3
   (0.1ms) PRAGMA index_list("schema_migrations")
4
-  (59.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+  (63.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
5
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
6
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')
7
+  (0.5ms) CREATE TABLE "videos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
8
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130180309')
9
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))
10
+  (0.8ms) 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
11
   (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130192331')
12
12
  Migrating to CreateVideoThumbnails (20111130193231)
13
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')
14
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111130193231')
15
15
  Migrating to RenameVideoThumbnails (20111201135457)
16
16
   (1.1ms) ALTER TABLE "video_thumbnails" RENAME TO "video_file_thumbnails"
17
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")
18
+ Migrating to AddZencoderJobTrackingColumns (20111202212901)
19
+  (1.1ms) ALTER TABLE "videos" ADD "origin_url" varchar(255)
20
+  (0.5ms) ALTER TABLE "videos" ADD "zencoder_job_status" varchar(255)
21
+  (0.5ms) ALTER TABLE "videos" ADD "zencoder_job_created" datetime
22
+  (0.6ms) ALTER TABLE "videos" ADD "zencoder_job_finished" datetime
23
+  (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111202212901')
24
+  (0.8ms) select sqlite_version(*)
25
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
26
+  (0.1ms) PRAGMA index_list("video_file_thumbnails")
27
+  (0.1ms) PRAGMA index_list("video_files")
28
+  (0.1ms) PRAGMA index_list("videos")
@@ -1,42 +0,0 @@
1
-  (0.1ms) select sqlite_version(*)
2
-  (133.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
-  (0.1ms) PRAGMA index_list("schema_migrations")
4
-  (60.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
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')
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')
12
- Migrating to CreateVideoThumbnails (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')
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" 
21
- Migrating to CreateDummyVideos (20111130180309)
22
- Migrating to CreateVideoFiles (20111130192331)
23
- Migrating to CreateVideoThumbnails (20111130193231)
24
- Migrating to RenameVideoThumbnails (20111201135457)
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"
30
-  (0.0ms) PRAGMA index_list("video_file_thumbnails")
31
-  (0.0ms) PRAGMA index_list("video_files")
32
-  (0.0ms) PRAGMA index_list("videos")
33
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
34
- Migrating to CreateDummyVideos (20111130180309)
35
- Migrating to CreateVideoFiles (20111130192331)
36
- Migrating to CreateVideoThumbnails (20111130193231)
37
- Migrating to RenameVideoThumbnails (20111201135457)
38
-  (0.4ms) select sqlite_version(*)
39
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
40
-  (0.0ms) PRAGMA index_list("video_file_thumbnails")
41
-  (0.0ms) PRAGMA index_list("video_files")
42
-  (0.0ms) PRAGMA index_list("videos")
@@ -0,0 +1,26 @@
1
+ class ZencodableAddTrackingColumnsAndTables < ActiveRecord::Migration
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
+ create_table "encoded_kitteh_vids" do |t|
10
+ t.string "url"
11
+ t.string "format"
12
+ t.integer "zencoder_file_id"
13
+ t.integer "kitteh_movie_id"
14
+ t.datetime "created_at"
15
+ t.integer "width"
16
+ t.integer "height"
17
+ t.integer "file_size"
18
+ t.string "error_message"
19
+ t.string "state"
20
+ t.integer "duration_sec"
21
+ t.timestamps
22
+ end
23
+
24
+
25
+ end
26
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zencodable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,22 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-08 00:00:00.000000000Z
12
+ date: 2012-02-08 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &10687100 !ruby/object:Gem::Requirement
16
+ requirement: &18793500 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ~>
19
+ - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 3.1.0
21
+ version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *10687100
24
+ version_requirements: *18793500
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: aws-s3
27
- requirement: &10686280 !ruby/object:Gem::Requirement
27
+ requirement: &18792800 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *10686280
35
+ version_requirements: *18792800
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: zencoder
38
- requirement: &10685480 !ruby/object:Gem::Requirement
38
+ requirement: &18792060 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *10685480
46
+ version_requirements: *18792060
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: typhoeus
49
- requirement: &10683060 !ruby/object:Gem::Requirement
49
+ requirement: &18791200 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *10683060
57
+ version_requirements: *18791200
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: sqlite3
60
- requirement: &10682560 !ruby/object:Gem::Requirement
60
+ requirement: &18790400 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *10682560
68
+ version_requirements: *18790400
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: mocha
71
- requirement: &10682080 !ruby/object:Gem::Requirement
71
+ requirement: &18789980 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *10682080
79
+ version_requirements: *18789980
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: factory_girl
82
- requirement: &10681620 !ruby/object:Gem::Requirement
82
+ requirement: &18789560 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,7 +87,7 @@ dependencies:
87
87
  version: '0'
88
88
  type: :development
89
89
  prerelease: false
90
- version_requirements: *10681620
90
+ version_requirements: *18789560
91
91
  description: provides a `has_video_encodings` class method to your models that allows
92
92
  you to configure and set up any Zencoder settings you will need to create multiple
93
93
  output video container formats (mp4, ogg, wmv, etc) from a single uploaded source
@@ -150,7 +150,7 @@ files:
150
150
  - test/dummy/log/development.log
151
151
  - test/dummy/script/rails
152
152
  - test/dummy/config.ru
153
- - test/dummy/tmp/db/migrate/20111202054112_create_encoded_kitteh_vids.rb
153
+ - test/dummy/tmp/db/migrate/20120208012439_zencodable_add_tracking_columns_and_tables.rb
154
154
  - test/test_helper.rb
155
155
  - test/zencodable_test.rb
156
156
  homepage: https://github.com/sbeam/zencodable
@@ -222,6 +222,6 @@ test_files:
222
222
  - test/dummy/log/development.log
223
223
  - test/dummy/script/rails
224
224
  - test/dummy/config.ru
225
- - test/dummy/tmp/db/migrate/20111202054112_create_encoded_kitteh_vids.rb
225
+ - test/dummy/tmp/db/migrate/20120208012439_zencodable_add_tracking_columns_and_tables.rb
226
226
  - test/test_helper.rb
227
227
  - test/zencodable_test.rb
@@ -1,17 +0,0 @@
1
- class CreateZencodableOutputFilesAssociationTable < ActiveRecord::Migration
2
- def change
3
- create_table "encoded_kitteh_vids" do |t|
4
- t.string "url"
5
- t.string "format"
6
- t.integer "zencoder_file_id"
7
- t.integer "kitteh_movie_id"
8
- t.datetime "created_at"
9
- t.integer "width"
10
- t.integer "height"
11
- t.integer "file_size"
12
- t.string "error_message"
13
- t.string "state"
14
- t.timestamps
15
- end
16
- end
17
- end