resizor 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 46544be19434a41e957166132a2e969ca579e2ad
4
+ data.tar.gz: 096c820e09a5218617e2605382400d685593b5ad
5
+ SHA512:
6
+ metadata.gz: 2f433d2db0cdbd1ad8fc39903293ed9c0659509c5645aeddca294b5ac9d157ef2c317556eccf98f572b4afe6b82e3f513990a0447eb1c509145f9dcacc329e12
7
+ data.tar.gz: db66c77d58bc9ca511777e8c095e61bc813d0f7f874087c62dcd5e315d573557aeffab60841977f53ffff1bb15ac8ada18e7cd468b66a0ffeb90f5f3bcf6e602
data/lib/resizor/asset.rb CHANGED
@@ -46,11 +46,22 @@ module Resizor
46
46
  private
47
47
 
48
48
  def query_string_url(options={})
49
- "#{Resizor.api_url(true)}/assets/#{id}.#{options[:format]}?size=#{options[:size]}#{"&cutout="+options[:cutout] if options[:cutout]}&token=#{resize_token_for(options)}"
49
+ cutout = options[:cutout]
50
+ cutout_string = cutout ? "&cutout="+options[:cutout] : ""
51
+
52
+ force_https = options[:protocol] == "https"
53
+
54
+ "#{Resizor.api_url(!force_https)}/assets/#{id}.#{options[:format]}?size=#{options[:size]}#{cutout_string}&token=#{resize_token_for(options)}"
50
55
  end
51
56
 
52
57
  def cdn_compatible_url(options={})
53
- "//#{Resizor.cdn_host}/assets/#{options[:size]}#{"/"+options[:cutout] if options[:cutout]}/#{resize_token_for(options)}/#{id}.#{options[:format]}"
58
+ cutout = options[:cutout]
59
+ cutout_string = cutout ? "/#{cutout}" : ""
60
+
61
+ protocol = options[:protocol]
62
+ protocol_string = protocol ? "#{protocol}:" : ""
63
+
64
+ "#{protocol_string}//#{Resizor.cdn_host}/assets/#{options[:size]}#{cutout_string}/#{resize_token_for(options)}/#{id}.#{options[:format]}"
54
65
  end
55
66
 
56
67
  end
@@ -1,3 +1,3 @@
1
1
  module Resizor
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
data/test/asset_test.rb CHANGED
@@ -54,6 +54,10 @@ class ResizorAssetTest < Test::Unit::TestCase
54
54
  should 'generate url with out cdn_host if option cdn_host is set to false' do
55
55
  assert_equal 'http://resizor.test:80/assets/10.jpg?size=c200x300&token=b8bb7c4c7c4fc1006c904f011f32f50f69730e5e', @asset.url(:size => 'c200x300', :cdn_host => false)
56
56
  end
57
+
58
+ should 'generate url for https protocol when given proto: https param' do
59
+ assert_equal 'https://abc.cloudfront.com/assets/200/08852e19d025bb3faf72058f6bcfc36f2e3fb7b7/10.jpg', @asset.url(:protocol => 'https')
60
+ end
57
61
  end
58
62
 
59
63
  should 'generate resize token for size c200x300 and format jpg' do
@@ -64,6 +68,10 @@ class ResizorAssetTest < Test::Unit::TestCase
64
68
  assert_equal 'http://resizor.test:80/assets/10.jpg?size=c200x300&cutout=300x200-30x40&token=b8bb7c4c7c4fc1006c904f011f32f50f69730e5e', @asset.url(:size => 'c200x300', :cutout => '300x200-30x40')
65
69
  end
66
70
 
71
+ should 'generate https url when given https param' do
72
+ assert_equal 'https://resizor.test:443/assets/10.jpg?size=200&token=08852e19d025bb3faf72058f6bcfc36f2e3fb7b7', @asset.url(:protocol => 'https')
73
+ end
74
+
67
75
  context 'when saving to resizor' do
68
76
  setup do
69
77
  @jpg_file = Tempfile.new('image.jpg')
data/test/debug.log CHANGED
@@ -1,24 +1,84 @@
1
- SQL (0.2ms) select sqlite_version(*)
2
- SQL (0.0ms) SELECT name
1
+ SQL (1.0ms) select sqlite_version(*)
2
+ SQL (0.1ms) SELECT name
3
3
  FROM sqlite_master
4
4
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
5
- SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
5
+ SQL (0.7ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
6
6
  SQL (0.1ms) SELECT name
7
7
  FROM sqlite_master
8
8
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
9
+ AREL (0.2ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
10
+ SQL (0.2ms) SELECT name
11
+ FROM sqlite_master
12
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13
+ SQL (0.5ms) DROP TABLE "items"
14
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
9
15
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
10
16
  SQL (0.1ms) SELECT name
11
17
  FROM sqlite_master
12
18
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13
- SQL (1.9ms) DROP TABLE "items"
19
+ SQL (0.2ms) DROP TABLE "items"
14
20
  SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
15
- AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
21
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
22
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
23
+ SQL (0.1ms)  SELECT name
24
+ FROM sqlite_master
25
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
26
+ 
27
+ SQL (0.1ms) DROP TABLE "items"
28
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
29
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
30
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
31
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = 1, "image_name" = 'i.jpg', "image_mime_type" = 'image/jpeg', "image_size" = 9, "image_width" = 8, "image_height" = 7 WHERE "items"."id" = 2
32
+ SQL (0.1ms)  SELECT name
33
+ FROM sqlite_master
34
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
35
+ 
36
+ SQL (0.1ms) DROP TABLE "items"
37
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
38
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
39
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
40
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
41
+ AREL (0.1ms) DELETE FROM "items" WHERE "items"."id" = 1
16
42
  SQL (0.1ms) SELECT name
17
43
  FROM sqlite_master
18
44
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
19
45
  SQL (0.1ms) DROP TABLE "items"
20
46
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
21
47
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
48
+ SQL (0.1ms) SELECT name
49
+ FROM sqlite_master
50
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
51
+ SQL (0.1ms) DROP TABLE "items"
52
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
53
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
54
+ SQL (0.2ms) SELECT name
55
+ FROM sqlite_master
56
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
57
+ SQL (0.1ms) DROP TABLE "items"
58
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
59
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
60
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
61
+ SQL (0.2ms) select sqlite_version(*)
62
+ SQL (0.1ms) SELECT name
63
+ FROM sqlite_master
64
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
65
+ SQL (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
66
+ SQL (0.2ms) SELECT name
67
+ FROM sqlite_master
68
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
69
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
70
+ SQL (0.2ms) SELECT name
71
+ FROM sqlite_master
72
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
73
+ SQL (0.2ms) DROP TABLE "items"
74
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
75
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
76
+ SQL (0.1ms) SELECT name
77
+ FROM sqlite_master
78
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
79
+ SQL (0.2ms) DROP TABLE "items"
80
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
81
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
22
82
  AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
23
83
  SQL (0.1ms)  SELECT name
24
84
  FROM sqlite_master
@@ -27,14 +87,14 @@
27
87
  SQL (0.1ms) DROP TABLE "items"
28
88
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
29
89
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
30
- AREL (0.0ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
90
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
31
91
  AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = 1, "image_name" = 'i.jpg', "image_mime_type" = 'image/jpeg', "image_size" = 9, "image_width" = 8, "image_height" = 7 WHERE "items"."id" = 2
32
92
  SQL (0.1ms)  SELECT name
33
93
  FROM sqlite_master
34
94
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
35
95
  
36
96
  SQL (0.1ms) DROP TABLE "items"
37
- SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
97
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
38
98
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
39
99
  Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
40
100
  AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
@@ -58,20 +118,80 @@
58
118
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
59
119
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
60
120
  Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
61
- SQL (0.2ms) select sqlite_version(*)
62
- SQL (0.0ms) SELECT name
121
+ SQL (0.3ms) select sqlite_version(*)
122
+ SQL (0.1ms) SELECT name
63
123
  FROM sqlite_master
64
124
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
65
- SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
125
+ SQL (0.4ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
126
+ SQL (0.2ms) SELECT name
127
+ FROM sqlite_master
128
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
129
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
66
130
  SQL (0.1ms) SELECT name
67
131
  FROM sqlite_master
68
132
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
133
+ SQL (0.1ms) DROP TABLE "items"
134
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
69
135
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
70
136
  SQL (0.1ms) SELECT name
71
137
  FROM sqlite_master
72
138
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
73
139
  SQL (0.1ms) DROP TABLE "items"
140
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
141
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
142
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
143
+ SQL (0.2ms)  SELECT name
144
+ FROM sqlite_master
145
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
146
+ 
147
+ SQL (0.2ms) DROP TABLE "items"
148
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
149
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
150
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
151
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = 1, "image_name" = 'i.jpg', "image_mime_type" = 'image/jpeg', "image_size" = 9, "image_width" = 8, "image_height" = 7 WHERE "items"."id" = 2
152
+ SQL (0.2ms)  SELECT name
153
+ FROM sqlite_master
154
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
155
+ 
156
+ SQL (0.2ms) DROP TABLE "items"
157
+ SQL (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
158
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
159
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
160
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
161
+ AREL (0.1ms) DELETE FROM "items" WHERE "items"."id" = 1
162
+ SQL (0.1ms) SELECT name
163
+ FROM sqlite_master
164
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
165
+ SQL (0.2ms) DROP TABLE "items"
74
166
  SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
167
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
168
+ SQL (0.1ms) SELECT name
169
+ FROM sqlite_master
170
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
171
+ SQL (0.1ms) DROP TABLE "items"
172
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
173
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
174
+ SQL (0.1ms) SELECT name
175
+ FROM sqlite_master
176
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
177
+ SQL (0.1ms) DROP TABLE "items"
178
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
179
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
180
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
181
+ SQL (0.2ms) select sqlite_version(*)
182
+ SQL (0.1ms) SELECT name
183
+ FROM sqlite_master
184
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
185
+ SQL (0.4ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
186
+ SQL (0.2ms) SELECT name
187
+ FROM sqlite_master
188
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
189
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
190
+ SQL (0.1ms) SELECT name
191
+ FROM sqlite_master
192
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
193
+ SQL (0.1ms) DROP TABLE "items"
194
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
75
195
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
76
196
  SQL (0.1ms) SELECT name
77
197
  FROM sqlite_master
@@ -87,8 +207,8 @@
87
207
  SQL (0.1ms) DROP TABLE "items"
88
208
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
89
209
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
90
- AREL (0.0ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
91
- AREL (0.0ms) UPDATE "items" SET "image_resizor_id" = 1, "image_name" = 'i.jpg', "image_mime_type" = 'image/jpeg', "image_size" = 9, "image_width" = 8, "image_height" = 7 WHERE "items"."id" = 2
210
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
211
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = 1, "image_name" = 'i.jpg', "image_mime_type" = 'image/jpeg', "image_size" = 9, "image_width" = 8, "image_height" = 7 WHERE "items"."id" = 2
92
212
  SQL (0.1ms)  SELECT name
93
213
  FROM sqlite_master
94
214
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
@@ -97,19 +217,19 @@
97
217
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
98
218
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
99
219
  Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
100
- AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
101
- AREL (0.0ms) DELETE FROM "items" WHERE "items"."id" = 1
102
- SQL (0.1ms) SELECT name
220
+ AREL (0.2ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
221
+ AREL (0.1ms) DELETE FROM "items" WHERE "items"."id" = 1
222
+ SQL (0.2ms) SELECT name
103
223
  FROM sqlite_master
104
224
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
105
225
  SQL (0.1ms) DROP TABLE "items"
106
226
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
107
227
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
108
- SQL (0.1ms) SELECT name
228
+ SQL (0.2ms) SELECT name
109
229
  FROM sqlite_master
110
230
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
111
- SQL (0.1ms) DROP TABLE "items"
112
- SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
231
+ SQL (0.2ms) DROP TABLE "items"
232
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
113
233
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
114
234
  SQL (0.1ms) SELECT name
115
235
  FROM sqlite_master
@@ -118,11 +238,11 @@
118
238
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
119
239
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
120
240
  Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
121
- SQL (0.2ms) select sqlite_version(*)
122
- SQL (0.0ms) SELECT name
241
+ SQL (0.3ms) select sqlite_version(*)
242
+ SQL (0.1ms) SELECT name
123
243
  FROM sqlite_master
124
244
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
125
- SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
245
+ SQL (0.9ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
126
246
  SQL (0.1ms) SELECT name
127
247
  FROM sqlite_master
128
248
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
@@ -133,19 +253,79 @@
133
253
  SQL (0.1ms) DROP TABLE "items"
134
254
  SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
135
255
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
256
+ SQL (0.2ms) SELECT name
257
+ FROM sqlite_master
258
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
259
+ SQL (0.2ms) DROP TABLE "items"
260
+ SQL (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
261
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
262
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
263
+ SQL (0.1ms)  SELECT name
264
+ FROM sqlite_master
265
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
266
+ 
267
+ SQL (0.1ms) DROP TABLE "items"
268
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
269
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
270
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
271
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = 1, "image_name" = 'i.jpg', "image_mime_type" = 'image/jpeg', "image_size" = 9, "image_width" = 8, "image_height" = 7 WHERE "items"."id" = 2
272
+ SQL (0.1ms)  SELECT name
273
+ FROM sqlite_master
274
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
275
+ 
276
+ SQL (0.1ms) DROP TABLE "items"
277
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
278
+ AREL (0.3ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
279
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
280
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
281
+ AREL (0.0ms) DELETE FROM "items" WHERE "items"."id" = 1
136
282
  SQL (0.1ms) SELECT name
137
283
  FROM sqlite_master
138
284
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
139
285
  SQL (0.1ms) DROP TABLE "items"
140
286
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
141
287
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
288
+ SQL (0.2ms) SELECT name
289
+ FROM sqlite_master
290
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
291
+ SQL (0.2ms) DROP TABLE "items"
292
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
293
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
294
+ SQL (0.1ms) SELECT name
295
+ FROM sqlite_master
296
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
297
+ SQL (0.1ms) DROP TABLE "items"
298
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
299
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
300
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
301
+ SQL (0.2ms) select sqlite_version(*)
302
+ SQL (0.1ms) SELECT name
303
+ FROM sqlite_master
304
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
305
+ SQL (0.4ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
306
+ SQL (0.1ms) SELECT name
307
+ FROM sqlite_master
308
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
309
+ AREL (0.2ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
310
+ SQL (0.2ms) SELECT name
311
+ FROM sqlite_master
312
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
313
+ SQL (0.1ms) DROP TABLE "items"
314
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
315
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
316
+ SQL (0.2ms) SELECT name
317
+ FROM sqlite_master
318
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
319
+ SQL (0.1ms) DROP TABLE "items"
320
+ SQL (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
321
+ AREL (0.2ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
142
322
  AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
143
323
  SQL (0.1ms)  SELECT name
144
324
  FROM sqlite_master
145
325
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
146
326
  
147
327
  SQL (0.1ms) DROP TABLE "items"
148
- SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
328
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
149
329
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
150
330
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
151
331
  AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = 1, "image_name" = 'i.jpg', "image_mime_type" = 'image/jpeg', "image_size" = 9, "image_width" = 8, "image_height" = 7 WHERE "items"."id" = 2
@@ -158,7 +338,7 @@
158
338
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
159
339
  Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
160
340
  AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
161
- AREL (0.0ms) DELETE FROM "items" WHERE "items"."id" = 1
341
+ AREL (0.1ms) DELETE FROM "items" WHERE "items"."id" = 1
162
342
  SQL (0.1ms) SELECT name
163
343
  FROM sqlite_master
164
344
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
@@ -175,14 +355,14 @@
175
355
  FROM sqlite_master
176
356
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
177
357
  SQL (0.1ms) DROP TABLE "items"
178
- SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
358
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
179
359
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
180
360
  Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
181
361
  SQL (0.2ms) select sqlite_version(*)
182
- SQL (0.0ms) SELECT name
362
+ SQL (0.1ms) SELECT name
183
363
  FROM sqlite_master
184
364
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
185
- SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
365
+ SQL (0.5ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
186
366
  SQL (0.1ms) SELECT name
187
367
  FROM sqlite_master
188
368
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
@@ -191,7 +371,7 @@
191
371
  FROM sqlite_master
192
372
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
193
373
  SQL (0.1ms) DROP TABLE "items"
194
- SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
374
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
195
375
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
196
376
  SQL (0.1ms) SELECT name
197
377
  FROM sqlite_master
@@ -199,7 +379,7 @@
199
379
  SQL (0.1ms) DROP TABLE "items"
200
380
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
201
381
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
202
- AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
382
+ AREL (0.3ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
203
383
  SQL (0.1ms)  SELECT name
204
384
  FROM sqlite_master
205
385
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
@@ -207,7 +387,7 @@
207
387
  SQL (0.1ms) DROP TABLE "items"
208
388
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
209
389
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
210
- AREL (0.0ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
390
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
211
391
  AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = 1, "image_name" = 'i.jpg', "image_mime_type" = 'image/jpeg', "image_size" = 9, "image_width" = 8, "image_height" = 7 WHERE "items"."id" = 2
212
392
  SQL (0.1ms)  SELECT name
213
393
  FROM sqlite_master
@@ -218,12 +398,12 @@
218
398
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
219
399
  Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
220
400
  AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
221
- AREL (0.0ms) DELETE FROM "items" WHERE "items"."id" = 1
222
- SQL (0.1ms) SELECT name
401
+ AREL (0.1ms) DELETE FROM "items" WHERE "items"."id" = 1
402
+ SQL (0.3ms) SELECT name
223
403
  FROM sqlite_master
224
404
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
225
- SQL (0.1ms) DROP TABLE "items"
226
- SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
405
+ SQL (0.2ms) DROP TABLE "items"
406
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
227
407
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
228
408
  SQL (0.1ms) SELECT name
229
409
  FROM sqlite_master
@@ -237,13 +417,13 @@
237
417
  SQL (0.1ms) DROP TABLE "items"
238
418
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
239
419
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
240
- Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
420
+ Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
241
421
  SQL (0.2ms) select sqlite_version(*)
242
422
  SQL (0.1ms) SELECT name
243
423
  FROM sqlite_master
244
424
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
245
- SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
246
- SQL (0.1ms) SELECT name
425
+ SQL (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
426
+ SQL (0.2ms) SELECT name
247
427
  FROM sqlite_master
248
428
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
249
429
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
@@ -267,7 +447,7 @@
267
447
  SQL (0.1ms) DROP TABLE "items"
268
448
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
269
449
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
270
- AREL (0.0ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
450
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
271
451
  AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = 1, "image_name" = 'i.jpg', "image_mime_type" = 'image/jpeg', "image_size" = 9, "image_width" = 8, "image_height" = 7 WHERE "items"."id" = 2
272
452
  SQL (0.1ms)  SELECT name
273
453
  FROM sqlite_master
@@ -293,25 +473,145 @@
293
473
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
294
474
  SQL (0.1ms) SELECT name
295
475
  FROM sqlite_master
476
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
477
+ SQL (0.1ms) DROP TABLE "items"
478
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
479
+ AREL (0.4ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
480
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
481
+ SQL (0.3ms) select sqlite_version(*)
482
+ SQL (0.1ms) SELECT name
483
+ FROM sqlite_master
484
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
485
+ SQL (0.4ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
486
+ SQL (0.1ms) SELECT name
487
+ FROM sqlite_master
488
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
489
+ AREL (0.2ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
490
+ SQL (0.2ms) SELECT name
491
+ FROM sqlite_master
492
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
493
+ SQL (0.3ms) DROP TABLE "items"
494
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
495
+ AREL (0.2ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
496
+ SQL (0.1ms) SELECT name
497
+ FROM sqlite_master
498
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
499
+ SQL (0.1ms) DROP TABLE "items"
500
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
501
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
502
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
503
+ SQL (0.1ms)  SELECT name
504
+ FROM sqlite_master
505
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
506
+ 
507
+ SQL (0.1ms) DROP TABLE "items"
508
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
509
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
510
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
511
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = 1, "image_name" = 'i.jpg', "image_mime_type" = 'image/jpeg', "image_size" = 9, "image_width" = 8, "image_height" = 7 WHERE "items"."id" = 2
512
+ SQL (0.1ms)  SELECT name
513
+ FROM sqlite_master
514
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
515
+ 
516
+ SQL (0.1ms) DROP TABLE "items"
517
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
518
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
519
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
520
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
521
+ AREL (0.1ms) DELETE FROM "items" WHERE "items"."id" = 1
522
+ SQL (0.1ms) SELECT name
523
+ FROM sqlite_master
524
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
525
+ SQL (0.1ms) DROP TABLE "items"
526
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
527
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
528
+ SQL (0.2ms) SELECT name
529
+ FROM sqlite_master
530
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
531
+ SQL (0.1ms) DROP TABLE "items"
532
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
533
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
534
+ SQL (0.2ms) SELECT name
535
+ FROM sqlite_master
296
536
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
297
537
  SQL (0.1ms) DROP TABLE "items"
298
538
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
299
539
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
300
540
  Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
301
541
  SQL (0.2ms) select sqlite_version(*)
302
- SQL (0.0ms) SELECT name
542
+ SQL (0.1ms) SELECT name
303
543
  FROM sqlite_master
304
544
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
305
- SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
545
+ SQL (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
306
546
  SQL (0.1ms) SELECT name
307
547
  FROM sqlite_master
308
548
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
309
549
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
310
550
  SQL (0.1ms) SELECT name
311
551
  FROM sqlite_master
552
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
553
+ SQL (0.1ms) DROP TABLE "items"
554
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
555
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
556
+ SQL (0.1ms) SELECT name
557
+ FROM sqlite_master
558
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
559
+ SQL (0.1ms) DROP TABLE "items"
560
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
561
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
562
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
563
+ SQL (0.2ms)  SELECT name
564
+ FROM sqlite_master
565
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
566
+ 
567
+ SQL (0.2ms) DROP TABLE "items"
568
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
569
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
570
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
571
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = 1, "image_name" = 'i.jpg', "image_mime_type" = 'image/jpeg', "image_size" = 9, "image_width" = 8, "image_height" = 7 WHERE "items"."id" = 2
572
+ SQL (0.1ms)  SELECT name
573
+ FROM sqlite_master
574
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
575
+ 
576
+ SQL (0.2ms) DROP TABLE "items"
577
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
578
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
579
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
580
+ AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
581
+ AREL (0.1ms) DELETE FROM "items" WHERE "items"."id" = 1
582
+ SQL (0.2ms) SELECT name
583
+ FROM sqlite_master
584
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
585
+ SQL (0.2ms) DROP TABLE "items"
586
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
587
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
588
+ SQL (0.1ms) SELECT name
589
+ FROM sqlite_master
312
590
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
313
591
  SQL (0.1ms) DROP TABLE "items"
314
592
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
593
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
594
+ SQL (0.2ms) SELECT name
595
+ FROM sqlite_master
596
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
597
+ SQL (0.2ms) DROP TABLE "items"
598
+ SQL (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
599
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
600
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
601
+ SQL (0.2ms) select sqlite_version(*)
602
+ SQL (0.1ms) SELECT name
603
+ FROM sqlite_master
604
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
605
+ SQL (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
606
+ SQL (0.3ms) SELECT name
607
+ FROM sqlite_master
608
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
609
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
610
+ SQL (0.1ms) SELECT name
611
+ FROM sqlite_master
612
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
613
+ SQL (0.1ms) DROP TABLE "items"
614
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
315
615
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', NULL, NULL, NULL, NULL, NULL, NULL)
316
616
  SQL (0.1ms) SELECT name
317
617
  FROM sqlite_master
@@ -327,7 +627,7 @@
327
627
  SQL (0.1ms) DROP TABLE "items"
328
628
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
329
629
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
330
- AREL (0.0ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
630
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
331
631
  AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = 1, "image_name" = 'i.jpg', "image_mime_type" = 'image/jpeg', "image_size" = 9, "image_width" = 8, "image_height" = 7 WHERE "items"."id" = 2
332
632
  SQL (0.1ms)  SELECT name
333
633
  FROM sqlite_master
@@ -342,8 +642,8 @@
342
642
  SQL (0.1ms) SELECT name
343
643
  FROM sqlite_master
344
644
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
345
- SQL (0.2ms) DROP TABLE "items"
346
- SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
645
+ SQL (0.1ms) DROP TABLE "items"
646
+ SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
347
647
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
348
648
  SQL (0.1ms) SELECT name
349
649
  FROM sqlite_master
@@ -359,10 +659,10 @@
359
659
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
360
660
  Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
361
661
  SQL (0.2ms) select sqlite_version(*)
362
- SQL (0.0ms) SELECT name
662
+ SQL (0.1ms) SELECT name
363
663
  FROM sqlite_master
364
664
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
365
- SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
665
+ SQL (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
366
666
  SQL (0.1ms) SELECT name
367
667
  FROM sqlite_master
368
668
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
@@ -387,14 +687,14 @@
387
687
  SQL (0.1ms) DROP TABLE "items"
388
688
  SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
389
689
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
390
- AREL (0.0ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
690
+ AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('The second item', NULL, NULL, NULL, NULL, NULL, NULL)
391
691
  AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = 1, "image_name" = 'i.jpg', "image_mime_type" = 'image/jpeg', "image_size" = 9, "image_width" = 8, "image_height" = 7 WHERE "items"."id" = 2
392
692
  SQL (0.1ms)  SELECT name
393
693
  FROM sqlite_master
394
694
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
395
695
  
396
696
  SQL (0.1ms) DROP TABLE "items"
397
- SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
697
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer) 
398
698
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
399
699
  Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
400
700
  AREL (0.1ms) UPDATE "items" SET "image_resizor_id" = NULL, "image_name" = NULL, "image_mime_type" = NULL, "image_size" = NULL, "image_width" = NULL, "image_height" = NULL WHERE "items"."id" = 1
@@ -403,7 +703,7 @@
403
703
  FROM sqlite_master
404
704
  WHERE type = 'table' AND NOT name = 'sqlite_sequence'
405
705
  SQL (0.1ms) DROP TABLE "items"
406
- SQL (0.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
706
+ SQL (0.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "image_resizor_id" varchar(255), "image_name" varchar(255), "image_mime_type" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer)
407
707
  AREL (0.1ms) INSERT INTO "items" ("name", "image_resizor_id", "image_name", "image_mime_type", "image_size", "image_width", "image_height") VALUES ('my test item', 1, 'i.jpg', 'image/jpeg', 9, 8, 7)
408
708
  SQL (0.1ms) SELECT name
409
709
  FROM sqlite_master
metadata CHANGED
@@ -1,142 +1,125 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resizor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Oktavilla
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-09-29 00:00:00.000000000 Z
11
+ date: 2014-12-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: 0.9.2
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: 0.9.2
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: sqlite3
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ~>
31
+ - - "~>"
36
32
  - !ruby/object:Gem::Version
37
33
  version: 1.3.4
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ~>
38
+ - - "~>"
44
39
  - !ruby/object:Gem::Version
45
40
  version: 1.3.4
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: bundler
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ~>
45
+ - - "~>"
52
46
  - !ruby/object:Gem::Version
53
47
  version: '1.0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ~>
52
+ - - "~>"
60
53
  - !ruby/object:Gem::Version
61
54
  version: '1.0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: shoulda
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ~>
59
+ - - "~>"
68
60
  - !ruby/object:Gem::Version
69
61
  version: 2.11.3
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ~>
66
+ - - "~>"
76
67
  - !ruby/object:Gem::Version
77
68
  version: 2.11.3
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: webmock
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ~>
73
+ - - "~>"
84
74
  - !ruby/object:Gem::Version
85
75
  version: 1.6.2
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ~>
80
+ - - "~>"
92
81
  - !ruby/object:Gem::Version
93
82
  version: 1.6.2
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: activerecord
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ~>
87
+ - - "~>"
100
88
  - !ruby/object:Gem::Version
101
89
  version: 3.0.0
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ~>
94
+ - - "~>"
108
95
  - !ruby/object:Gem::Version
109
96
  version: 3.0.0
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: rest-client
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - ">="
116
102
  - !ruby/object:Gem::Version
117
103
  version: 1.4.2
118
104
  type: :runtime
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - ">="
124
109
  - !ruby/object:Gem::Version
125
110
  version: 1.4.2
126
111
  - !ruby/object:Gem::Dependency
127
112
  name: json
128
113
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
114
  requirements:
131
- - - ! '>='
115
+ - - ">="
132
116
  - !ruby/object:Gem::Version
133
117
  version: '1.2'
134
118
  type: :runtime
135
119
  prerelease: false
136
120
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
121
  requirements:
139
- - - ! '>='
122
+ - - ">="
140
123
  - !ruby/object:Gem::Version
141
124
  version: '1.2'
142
125
  description: Lets you easily interface with the Resizor.com REST API. Includes Rails
@@ -147,50 +130,46 @@ executables: []
147
130
  extensions: []
148
131
  extra_rdoc_files: []
149
132
  files:
150
- - test/asset_test.rb
151
- - test/database.yml
152
- - test/debug.log
153
- - test/integration_test.rb
154
- - test/resizor_test.rb
155
- - test/test_helper.rb
133
+ - Gemfile
134
+ - README.rdoc
135
+ - Rakefile
136
+ - lib/generators/resizor/USAGE
156
137
  - lib/generators/resizor/resizor_generator.rb
157
138
  - lib/generators/resizor/templates/resizor_migration.rb.erb
158
- - lib/generators/resizor/USAGE
139
+ - lib/resizor.rb
159
140
  - lib/resizor/asset.rb
160
141
  - lib/resizor/connection.rb
161
142
  - lib/resizor/railtie.rb
162
143
  - lib/resizor/resizor.rb
163
144
  - lib/resizor/version.rb
164
- - lib/resizor.rb
165
- - README.rdoc
166
145
  - resizor.gemspec
167
- - Rakefile
168
- - Gemfile
146
+ - test/asset_test.rb
147
+ - test/database.yml
148
+ - test/debug.log
149
+ - test/integration_test.rb
150
+ - test/resizor_test.rb
151
+ - test/test_helper.rb
169
152
  homepage: http://github.org/oktavilla/resizor-gem
170
153
  licenses: []
154
+ metadata: {}
171
155
  post_install_message:
172
156
  rdoc_options: []
173
157
  require_paths:
174
158
  - lib
175
159
  required_ruby_version: !ruby/object:Gem::Requirement
176
- none: false
177
160
  requirements:
178
- - - ! '>='
161
+ - - ">="
179
162
  - !ruby/object:Gem::Version
180
163
  version: '0'
181
- segments:
182
- - 0
183
- hash: -2682442597914532000
184
164
  required_rubygems_version: !ruby/object:Gem::Requirement
185
- none: false
186
165
  requirements:
187
- - - ! '>='
166
+ - - ">="
188
167
  - !ruby/object:Gem::Version
189
168
  version: 1.3.6
190
169
  requirements: []
191
170
  rubyforge_project:
192
- rubygems_version: 1.8.23
171
+ rubygems_version: 2.2.2
193
172
  signing_key:
194
- specification_version: 3
173
+ specification_version: 4
195
174
  summary: Client for Resizor.com API
196
175
  test_files: []