rails_uploads 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -38,7 +38,6 @@ module RailsUploads
38
38
  end
39
39
 
40
40
  def store_attachments
41
- debugger
42
41
  iterate_attachments { |a| a.store }
43
42
  end
44
43
 
@@ -1,5 +1,5 @@
1
1
  module RailsUploads
2
2
 
3
- VERSION = '0.2.4'
3
+ VERSION = '0.2.5'
4
4
 
5
5
  end
@@ -23258,3 +23258,78 @@ Completed 302 Found in 62ms (ActiveRecord: 0.0ms)
23258
23258
   (0.0ms) rollback transaction
23259
23259
   (0.1ms) begin transaction
23260
23260
   (0.1ms) rollback transaction
23261
+ Connecting to database specified by database.yml
23262
+  (6.6ms) select sqlite_version(*)
23263
+  (0.3ms) CREATE TABLE "file_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23264
+  (0.1ms) CREATE TABLE "image_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
23265
+  (0.2ms) CREATE TABLE "validation_uploads" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_presence" varchar(255), "file_content_type" varchar(255), "file_size" varchar(255), "file_all" varchar(255), "file_default" varchar(255), "image_presence" varchar(255), "image_content_type" varchar(255), "image_size" varchar(255), "image_all" varchar(255), "image_default" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
23266
+  (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
23267
+  (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
23268
+  (0.0ms) SELECT version FROM "schema_migrations"
23269
+  (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130124013431')
23270
+  (0.1ms) begin transaction
23271
+  (0.1ms) SAVEPOINT active_record_1
23272
+ SQL (64.6ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 03 Jun 2013 12:50:08 UTC +00:00], ["file", "13702638081036250.txt"], ["updated_at", Mon, 03 Jun 2013 12:50:08 UTC +00:00]]
23273
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23274
+  (0.0ms) SAVEPOINT active_record_1
23275
+ SQL (0.2ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23276
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23277
+  (0.1ms) rollback transaction
23278
+  (0.1ms) begin transaction
23279
+  (0.1ms) rollback transaction
23280
+  (0.1ms) begin transaction
23281
+  (0.1ms) rollback transaction
23282
+  (0.1ms) begin transaction
23283
+  (0.1ms) rollback transaction
23284
+  (0.1ms) begin transaction
23285
+ Started GET "/uploads/images/small/13702638082193260.jpg" for 127.0.0.1 at 2013-06-03 09:50:09 -0300
23286
+ Processing by RailsUploads::PresetsController#generate as JPEG
23287
+ Parameters: {"status"=>404, "preset"=>"small", "image"=>"13702638082193260"}
23288
+ Redirected to http://www.example.com/uploads/images/small/13702638082193260.jpg
23289
+ Completed 302 Found in 66ms (ActiveRecord: 0.0ms)
23290
+  (0.1ms) rollback transaction
23291
+  (0.1ms) begin transaction
23292
+  (0.1ms) SAVEPOINT active_record_1
23293
+ SQL (0.5ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 03 Jun 2013 12:50:09 UTC +00:00], ["image", "13702638092387142.jpg"], ["updated_at", Mon, 03 Jun 2013 12:50:09 UTC +00:00]]
23294
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23295
+  (0.0ms) SAVEPOINT active_record_1
23296
+ SQL (0.2ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23297
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23298
+  (0.1ms) rollback transaction
23299
+  (0.1ms) begin transaction
23300
+  (0.1ms) rollback transaction
23301
+  (0.1ms) begin transaction
23302
+  (0.1ms) rollback transaction
23303
+  (0.1ms) begin transaction
23304
+  (0.1ms) SAVEPOINT active_record_1
23305
+ SQL (0.4ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 03 Jun 2013 12:50:09 UTC +00:00], ["file", "13702638097365398.jpg"], ["updated_at", Mon, 03 Jun 2013 12:50:09 UTC +00:00]]
23306
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23307
+  (0.0ms) SAVEPOINT active_record_1
23308
+  (0.1ms) UPDATE "file_uploads" SET "file" = '13702638097430552.txt', "updated_at" = '2013-06-03 12:50:09.746286' WHERE "file_uploads"."id" = 1
23309
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23310
+  (0.0ms) SAVEPOINT active_record_1
23311
+ SQL (0.1ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23312
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23313
+  (0.1ms) rollback transaction
23314
+  (0.1ms) begin transaction
23315
+  (0.0ms) SAVEPOINT active_record_1
23316
+ SQL (0.3ms) INSERT INTO "file_uploads" ("created_at", "file", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 03 Jun 2013 12:50:09 UTC +00:00], ["file", nil], ["updated_at", Mon, 03 Jun 2013 12:50:09 UTC +00:00]]
23317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23318
+  (0.0ms) SAVEPOINT active_record_1
23319
+ SQL (0.0ms) DELETE FROM "file_uploads" WHERE "file_uploads"."id" = ? [["id", 1]]
23320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23321
+  (0.0ms) SAVEPOINT active_record_1
23322
+ SQL (0.2ms) INSERT INTO "image_uploads" ("created_at", "image", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 03 Jun 2013 12:50:09 UTC +00:00], ["image", nil], ["updated_at", Mon, 03 Jun 2013 12:50:09 UTC +00:00]]
23323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23324
+  (0.0ms) SAVEPOINT active_record_1
23325
+ SQL (0.0ms) DELETE FROM "image_uploads" WHERE "image_uploads"."id" = ? [["id", 1]]
23326
+  (0.0ms) RELEASE SAVEPOINT active_record_1
23327
+  (0.0ms) rollback transaction
23328
+  (0.1ms) begin transaction
23329
+  (0.1ms) rollback transaction
23330
+  (0.1ms) begin transaction
23331
+  (0.1ms) rollback transaction
23332
+  (0.1ms) begin transaction
23333
+  (0.1ms) rollback transaction
23334
+  (0.1ms) begin transaction
23335
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_uploads
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-01 00:00:00.000000000 Z
12
+ date: 2013-06-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails