resizor 0.0.10 → 0.0.11

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.
data/README.rdoc CHANGED
@@ -17,7 +17,8 @@ Install resizor gem
17
17
  Add a initializer to RAILS_ROOT/config/initializers/resizor.rb
18
18
 
19
19
  Resizor.configure do |config|
20
- config.api_key = 'my-api-key'
20
+ config.api_key = 'my-api-key' # find this on the Account screen when logged in on Resizor.com
21
+ config.cdn_host = 'abc.cloudfront.net' # if you are using CloudFront to cache images generated by Resizor
21
22
  end
22
23
 
23
24
  Add Resizor fields to your model
data/lib/resizor/asset.rb CHANGED
@@ -17,9 +17,9 @@ module Resizor
17
17
  Digest::SHA1.hexdigest("#{Resizor.api_key}-#{id}-#{options[:size]}-#{options[:format]}")
18
18
  end
19
19
 
20
- def save_to_resizor
20
+ def save_to_resizor(params = {})
21
21
  if path && File.exists?(path)
22
- ret = Resizor.post('/assets.json', :file => File.open(path, 'rb'))
22
+ ret = Resizor.post('/assets.json', params.merge(:file => File.open(path, 'rb')))
23
23
  if ret.code == 201
24
24
  @id = ret.body['asset']['id']
25
25
  @name = "#{ret.body['asset']['name']}.#{ret.body['asset']['extension']}"
@@ -1,3 +1,3 @@
1
1
  module Resizor
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
data/test/asset_test.rb CHANGED
@@ -75,10 +75,11 @@ class ResizorAssetTest < Test::Unit::TestCase
75
75
  }.
76
76
  to_return(:status => 201,
77
77
  :body => '{"asset": { "id":1, "name":"i", "extension":"jpg", "mime_type":"image/jpeg", "height":7, "width":8, "file_size":9, "created_at":"2010-10-23T13:07:25Z"}}')
78
- @asset.save_to_resizor
79
78
  end
80
79
 
81
80
  should 'make create call to Resizor on save with file' do
81
+ @asset.save_to_resizor
82
+
82
83
  assert_requested(:post, "https://resizor.test:443/assets.json",
83
84
  :times => 1) { |request|
84
85
  request.body.include?("Content-Disposition: form-data; name=\"file\"; filename=\"image.jpg")
@@ -86,6 +87,8 @@ class ResizorAssetTest < Test::Unit::TestCase
86
87
  end
87
88
 
88
89
  should 'assign data for new assets as attributes' do
90
+ @asset.save_to_resizor
91
+
89
92
  assert_equal 1, @asset.id
90
93
  assert_equal 'i.jpg', @asset.name
91
94
  assert_equal 'image/jpeg', @asset.mime_type
@@ -93,6 +96,14 @@ class ResizorAssetTest < Test::Unit::TestCase
93
96
  assert_equal 8, @asset.width
94
97
  assert_equal 9, @asset.size
95
98
  end
99
+
100
+ should 'append extra params if supplied' do
101
+ @asset.save_to_resizor(:right_now => 'rocking-out')
102
+ assert_requested(:post, "https://resizor.test:443/assets.json",
103
+ :times => 1) { |request|
104
+ request.body.match /Content-Disposition: form-data; name=\"right_now\".+rocking-out/m
105
+ }
106
+ end
96
107
  end
97
108
 
98
109
  context 'on failure' do
data/test/debug.log CHANGED
@@ -8287,3 +8287,303 @@
8287
8287
  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)
8288
8288
  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)
8289
8289
  Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
8290
+ SQL (0.3ms) select sqlite_version(*)
8291
+ SQL (0.0ms) SELECT name
8292
+ FROM sqlite_master
8293
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8294
+ 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) 
8295
+ SQL (0.1ms) SELECT name
8296
+ FROM sqlite_master
8297
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8298
+ 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)
8299
+ SQL (0.1ms) SELECT name
8300
+ FROM sqlite_master
8301
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8302
+ SQL (0.1ms) DROP TABLE "items"
8303
+ 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)
8304
+ AREL (0.0ms) 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)
8305
+ SQL (0.1ms) SELECT name
8306
+ FROM sqlite_master
8307
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8308
+ SQL (0.1ms) DROP TABLE "items"
8309
+ 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)
8310
+ 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)
8311
+ 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
8312
+ SQL (0.1ms)  SELECT name
8313
+ FROM sqlite_master
8314
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8315
+ 
8316
+ SQL (0.1ms) DROP TABLE "items"
8317
+ 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) 
8318
+ 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)
8319
+ 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)
8320
+ 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
8321
+ SQL (0.1ms)  SELECT name
8322
+ FROM sqlite_master
8323
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8324
+ 
8325
+ SQL (0.1ms) DROP TABLE "items"
8326
+ 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) 
8327
+ 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)
8328
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
8329
+ 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
8330
+ AREL (0.0ms) DELETE FROM "items" WHERE "items"."id" = 1
8331
+ SQL (0.1ms) SELECT name
8332
+ FROM sqlite_master
8333
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8334
+ SQL (0.1ms) DROP TABLE "items"
8335
+ 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)
8336
+ 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)
8337
+ SQL (0.1ms) SELECT name
8338
+ FROM sqlite_master
8339
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8340
+ SQL (0.1ms) DROP TABLE "items"
8341
+ 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)
8342
+ 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)
8343
+ SQL (0.1ms) SELECT name
8344
+ FROM sqlite_master
8345
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8346
+ SQL (0.1ms) DROP TABLE "items"
8347
+ 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)
8348
+ 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)
8349
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
8350
+ SQL (0.3ms) select sqlite_version(*)
8351
+ SQL (0.0ms) SELECT name
8352
+ FROM sqlite_master
8353
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8354
+ 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) 
8355
+ SQL (0.1ms) SELECT name
8356
+ FROM sqlite_master
8357
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8358
+ 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)
8359
+ SQL (0.1ms) SELECT name
8360
+ FROM sqlite_master
8361
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8362
+ SQL (0.1ms) DROP TABLE "items"
8363
+ 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)
8364
+ 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)
8365
+ SQL (0.1ms) SELECT name
8366
+ FROM sqlite_master
8367
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8368
+ SQL (0.1ms) DROP TABLE "items"
8369
+ 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)
8370
+ 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)
8371
+ 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
8372
+ SQL (0.1ms)  SELECT name
8373
+ FROM sqlite_master
8374
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8375
+ 
8376
+ SQL (0.1ms) DROP TABLE "items"
8377
+ 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) 
8378
+ 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)
8379
+ 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)
8380
+ 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
8381
+ SQL (0.1ms)  SELECT name
8382
+ FROM sqlite_master
8383
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8384
+ 
8385
+ SQL (0.1ms) DROP TABLE "items"
8386
+ 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) 
8387
+ 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)
8388
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
8389
+ 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
8390
+ AREL (0.0ms) DELETE FROM "items" WHERE "items"."id" = 1
8391
+ SQL (0.1ms) SELECT name
8392
+ FROM sqlite_master
8393
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8394
+ SQL (0.1ms) DROP TABLE "items"
8395
+ 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)
8396
+ 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)
8397
+ SQL (0.1ms) SELECT name
8398
+ FROM sqlite_master
8399
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8400
+ SQL (0.1ms) DROP TABLE "items"
8401
+ 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)
8402
+ 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)
8403
+ SQL (0.1ms) SELECT name
8404
+ FROM sqlite_master
8405
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8406
+ SQL (0.1ms) DROP TABLE "items"
8407
+ 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)
8408
+ 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)
8409
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
8410
+ SQL (0.2ms) select sqlite_version(*)
8411
+ SQL (0.0ms) SELECT name
8412
+ FROM sqlite_master
8413
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8414
+ 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) 
8415
+ SQL (0.1ms) SELECT name
8416
+ FROM sqlite_master
8417
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8418
+ 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)
8419
+ SQL (0.1ms) SELECT name
8420
+ FROM sqlite_master
8421
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8422
+ SQL (0.1ms) DROP TABLE "items"
8423
+ 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)
8424
+ 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)
8425
+ SQL (0.1ms) SELECT name
8426
+ FROM sqlite_master
8427
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8428
+ SQL (0.1ms) DROP TABLE "items"
8429
+ 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)
8430
+ 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)
8431
+ 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
8432
+ SQL (0.1ms)  SELECT name
8433
+ FROM sqlite_master
8434
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8435
+ 
8436
+ SQL (0.1ms) DROP TABLE "items"
8437
+ 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) 
8438
+ 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)
8439
+ 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)
8440
+ 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
8441
+ SQL (0.1ms)  SELECT name
8442
+ FROM sqlite_master
8443
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8444
+ 
8445
+ SQL (0.1ms) DROP TABLE "items"
8446
+ 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) 
8447
+ 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)
8448
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
8449
+ 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
8450
+ AREL (0.0ms) DELETE FROM "items" WHERE "items"."id" = 1
8451
+ SQL (0.1ms) SELECT name
8452
+ FROM sqlite_master
8453
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8454
+ SQL (0.1ms) DROP TABLE "items"
8455
+ 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)
8456
+ 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)
8457
+ SQL (0.1ms) SELECT name
8458
+ FROM sqlite_master
8459
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8460
+ SQL (0.1ms) DROP TABLE "items"
8461
+ 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)
8462
+ 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)
8463
+ SQL (0.1ms) SELECT name
8464
+ FROM sqlite_master
8465
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8466
+ SQL (0.1ms) DROP TABLE "items"
8467
+ 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)
8468
+ 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)
8469
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
8470
+ SQL (0.3ms) select sqlite_version(*)
8471
+ SQL (0.0ms) SELECT name
8472
+ FROM sqlite_master
8473
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8474
+ 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) 
8475
+ SQL (0.1ms) SELECT name
8476
+ FROM sqlite_master
8477
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8478
+ 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)
8479
+ SQL (0.1ms) SELECT name
8480
+ FROM sqlite_master
8481
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8482
+ SQL (0.1ms) DROP TABLE "items"
8483
+ 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)
8484
+ 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)
8485
+ SQL (0.1ms) SELECT name
8486
+ FROM sqlite_master
8487
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8488
+ SQL (0.1ms) DROP TABLE "items"
8489
+ 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)
8490
+ 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)
8491
+ 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
8492
+ SQL (0.1ms)  SELECT name
8493
+ FROM sqlite_master
8494
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8495
+ 
8496
+ SQL (0.1ms) DROP TABLE "items"
8497
+ 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) 
8498
+ 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)
8499
+ 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)
8500
+ 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
8501
+ SQL (0.1ms)  SELECT name
8502
+ FROM sqlite_master
8503
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8504
+ 
8505
+ SQL (0.1ms) DROP TABLE "items"
8506
+ 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) 
8507
+ 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)
8508
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
8509
+ 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
8510
+ AREL (0.0ms) DELETE FROM "items" WHERE "items"."id" = 1
8511
+ SQL (0.1ms) SELECT name
8512
+ FROM sqlite_master
8513
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8514
+ SQL (0.1ms) DROP TABLE "items"
8515
+ 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)
8516
+ 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)
8517
+ SQL (0.1ms) SELECT name
8518
+ FROM sqlite_master
8519
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8520
+ SQL (0.1ms) DROP TABLE "items"
8521
+ 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)
8522
+ 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)
8523
+ SQL (0.1ms) SELECT name
8524
+ FROM sqlite_master
8525
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8526
+ SQL (0.1ms) DROP TABLE "items"
8527
+ 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)
8528
+ 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)
8529
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
8530
+ SQL (0.2ms) select sqlite_version(*)
8531
+ SQL (0.0ms) SELECT name
8532
+ FROM sqlite_master
8533
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8534
+ 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) 
8535
+ SQL (0.1ms) SELECT name
8536
+ FROM sqlite_master
8537
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8538
+ 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)
8539
+ SQL (0.1ms) SELECT name
8540
+ FROM sqlite_master
8541
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8542
+ SQL (0.1ms) DROP TABLE "items"
8543
+ 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)
8544
+ 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)
8545
+ SQL (0.1ms) SELECT name
8546
+ FROM sqlite_master
8547
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8548
+ SQL (0.1ms) DROP TABLE "items"
8549
+ 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)
8550
+ 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)
8551
+ 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
8552
+ SQL (0.1ms)  SELECT name
8553
+ FROM sqlite_master
8554
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8555
+ 
8556
+ SQL (0.1ms) DROP TABLE "items"
8557
+ 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) 
8558
+ 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)
8559
+ 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)
8560
+ 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
8561
+ SQL (0.1ms)  SELECT name
8562
+ FROM sqlite_master
8563
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8564
+ 
8565
+ SQL (0.1ms) DROP TABLE "items"
8566
+ 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) 
8567
+ 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)
8568
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
8569
+ 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
8570
+ AREL (0.1ms) DELETE FROM "items" WHERE "items"."id" = 1
8571
+ SQL (0.1ms) SELECT name
8572
+ FROM sqlite_master
8573
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8574
+ SQL (0.1ms) DROP TABLE "items"
8575
+ 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)
8576
+ 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)
8577
+ SQL (0.1ms) SELECT name
8578
+ FROM sqlite_master
8579
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8580
+ SQL (0.1ms) DROP TABLE "items"
8581
+ 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)
8582
+ 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)
8583
+ SQL (0.1ms) SELECT name
8584
+ FROM sqlite_master
8585
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8586
+ SQL (0.1ms) DROP TABLE "items"
8587
+ 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)
8588
+ 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)
8589
+ Item Load (0.1ms) SELECT "items".* FROM "items" WHERE "items"."id" = 1 LIMIT 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resizor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-28 00:00:00.000000000 Z
12
+ date: 2012-01-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70147524350080 !ruby/object:Gem::Requirement
16
+ requirement: &70169331283240 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.9.2
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70147524350080
24
+ version_requirements: *70169331283240
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sqlite3
27
- requirement: &70147524361860 !ruby/object:Gem::Requirement
27
+ requirement: &70169331282780 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.3.4
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70147524361860
35
+ version_requirements: *70169331282780
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bundler
38
- requirement: &70147524365080 !ruby/object:Gem::Requirement
38
+ requirement: &70169331282320 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.0.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70147524365080
46
+ version_requirements: *70169331282320
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: shoulda
49
- requirement: &70147524378680 !ruby/object:Gem::Requirement
49
+ requirement: &70169331281860 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: 2.11.3
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *70147524378680
57
+ version_requirements: *70169331281860
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: webmock
60
- requirement: &70147524377060 !ruby/object:Gem::Requirement
60
+ requirement: &70169331281400 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: 1.6.2
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *70147524377060
68
+ version_requirements: *70169331281400
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activerecord
71
- requirement: &70147524376060 !ruby/object:Gem::Requirement
71
+ requirement: &70169331280940 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ~>
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: 3.0.0
77
77
  type: :development
78
78
  prerelease: false
79
- version_requirements: *70147524376060
79
+ version_requirements: *70169331280940
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: rest-client
82
- requirement: &70147524385300 !ruby/object:Gem::Requirement
82
+ requirement: &70169331280460 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: 1.4.2
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *70147524385300
90
+ version_requirements: *70169331280460
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: json
93
- requirement: &70147524395040 !ruby/object:Gem::Requirement
93
+ requirement: &70169331279980 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,7 +98,7 @@ dependencies:
98
98
  version: '1.2'
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *70147524395040
101
+ version_requirements: *70169331279980
102
102
  description: Lets you easily interface with the Resizor.com REST API. Includes Rails
103
103
  helpers.
104
104
  email:
@@ -138,6 +138,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
138
138
  - - ! '>='
139
139
  - !ruby/object:Gem::Version
140
140
  version: '0'
141
+ segments:
142
+ - 0
143
+ hash: -3454473254103819806
141
144
  required_rubygems_version: !ruby/object:Gem::Requirement
142
145
  none: false
143
146
  requirements: