polyblock 0.5.9 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de006227981bd9ffd4d9d550a179e56de0846beb
4
- data.tar.gz: 59328ae2800a9de5e25dffd6697840ed49ea52d7
3
+ metadata.gz: a1cf49aeb0def2dcae5443ec3bc630aa55ce9284
4
+ data.tar.gz: 28c7f391771bafffdf7c862f572e4518e0f9c23c
5
5
  SHA512:
6
- metadata.gz: cc72eb6634d173de190a7330382c39a89cac1265f7d37fab2024052b192292d01d598030316159a7c8855e0328f22de60efd42726a014a2737b32769c32346b0
7
- data.tar.gz: d960472ea8278498a2b244a00522b105356ee0f1ad1a35b6b75c5b61bf0d0456ca34e27940306c223b92ac55822dfcbf2cf8236191d89de7b02f325fa79b9339
6
+ metadata.gz: 52032f72eebdaac1c5b5c89a1986ac19b76aa17ad7814368cd3823048a671613cd94ecd17a638e86da10d843022b6d9862591a46ea63c9faaec509c4f12d6496
7
+ data.tar.gz: 8b38559e23d84ad39daad1e4dfaaa6265a26098e25b61e4b09239ffce8dd162f0f0024771473566d8fea7db8034a519a9615848359283a48c5d9147ad87fd5de
@@ -27,5 +27,17 @@ module Polyblock
27
27
  puts ""
28
28
  end
29
29
 
30
+ def to_s
31
+ content
32
+ end
33
+
34
+ def present?
35
+ content.present?
36
+ end
37
+
38
+ def blank?
39
+ content.blank?
40
+ end
41
+
30
42
  end
31
43
  end
@@ -1,3 +1,3 @@
1
1
  module Polyblock
2
- VERSION = "0.5.9"
2
+ VERSION = "0.6.0"
3
3
  end
Binary file
@@ -60203,3 +60203,247 @@ Processing by Polyblock::PolyblocksController#update as */*
60203
60203
   (0.1ms) commit transaction
60204
60204
  Rendered text template (0.0ms)
60205
60205
  Completed 200 OK in 10ms (Views: 0.7ms | ActiveRecord: 1.1ms)
60206
+
60207
+
60208
+ Started GET "/" for 127.0.0.1 at 2014-05-18 14:19:30 -0400
60209
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
60210
+ Processing by HomeController#index as HTML
60211
+  (22.7ms) SELECT COUNT(*) FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Test'
60212
+ Polyblock::Block Load (0.4ms) SELECT "polyblock_blocks".* FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Test' ORDER BY "polyblock_blocks"."id" ASC LIMIT 1
60213
+  (0.3ms) SELECT COUNT(*) FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Neww'
60214
+ Polyblock::Block Load (0.3ms) SELECT "polyblock_blocks".* FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Neww' ORDER BY "polyblock_blocks"."id" ASC LIMIT 1
60215
+ Rendered /Applications/XAMPP/xamppfiles/htdocs/polyblock/app/views/polyblock/_simple_fields_for.html.haml (32.5ms)
60216
+ Rendered home/index.html.haml within layouts/application (391.2ms)
60217
+ Rendered /Applications/XAMPP/xamppfiles/htdocs/polyblock/app/views/polyblock/_editor_bar.html.erb (1.0ms)
60218
+ Completed 200 OK in 3051ms (Views: 2922.1ms | ActiveRecord: 24.9ms)
60219
+
60220
+
60221
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-05-18 14:19:33 -0400
60222
+
60223
+
60224
+ Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-05-18 14:19:33 -0400
60225
+
60226
+
60227
+ Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-05-18 14:19:33 -0400
60228
+
60229
+
60230
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:33 -0400
60231
+
60232
+
60233
+ Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60234
+
60235
+
60236
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60237
+
60238
+
60239
+ Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60240
+
60241
+
60242
+ Started GET "/assets/jquery.ui.accordion.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60243
+
60244
+
60245
+ Started GET "/assets/jquery.ui.position.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60246
+
60247
+
60248
+ Started GET "/assets/jquery.ui.menu.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60249
+
60250
+
60251
+ Started GET "/assets/jquery.ui.autocomplete.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60252
+
60253
+
60254
+ Started GET "/assets/jquery.ui.button.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60255
+
60256
+
60257
+ Started GET "/assets/jquery.ui.datepicker.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60258
+
60259
+
60260
+ Started GET "/assets/jquery.ui.mouse.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60261
+
60262
+
60263
+ Started GET "/assets/jquery.ui.draggable.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60264
+
60265
+
60266
+ Started GET "/assets/jquery.ui.resizable.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60267
+
60268
+
60269
+ Started GET "/assets/jquery.ui.dialog.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60270
+
60271
+
60272
+ Started GET "/assets/jquery.ui.droppable.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60273
+
60274
+
60275
+ Started GET "/assets/jquery.ui.effect.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60276
+
60277
+
60278
+ Started GET "/assets/jquery.ui.effect-blind.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60279
+
60280
+
60281
+ Started GET "/assets/jquery.ui.effect-bounce.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60282
+
60283
+
60284
+ Started GET "/assets/jquery.ui.effect-clip.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:34 -0400
60285
+
60286
+
60287
+ Started GET "/assets/jquery.ui.effect-drop.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60288
+
60289
+
60290
+ Started GET "/assets/jquery.ui.effect-explode.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60291
+
60292
+
60293
+ Started GET "/assets/jquery.ui.effect-fade.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60294
+
60295
+
60296
+ Started GET "/assets/jquery.ui.effect-fold.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60297
+
60298
+
60299
+ Started GET "/assets/jquery.ui.effect-highlight.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60300
+
60301
+
60302
+ Started GET "/assets/jquery.ui.effect-pulsate.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60303
+
60304
+
60305
+ Started GET "/assets/jquery.ui.effect-scale.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60306
+
60307
+
60308
+ Started GET "/assets/jquery.ui.effect-shake.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60309
+
60310
+
60311
+ Started GET "/assets/jquery.ui.effect-slide.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60312
+
60313
+
60314
+ Started GET "/assets/jquery.ui.effect-transfer.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60315
+
60316
+
60317
+ Started GET "/assets/jquery.ui.progressbar.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60318
+
60319
+
60320
+ Started GET "/assets/jquery.ui.selectable.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60321
+
60322
+
60323
+ Started GET "/assets/jquery.ui.slider.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60324
+
60325
+
60326
+ Started GET "/assets/jquery.ui.sortable.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60327
+
60328
+
60329
+ Started GET "/assets/jquery.ui.spinner.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60330
+
60331
+
60332
+ Started GET "/assets/jquery.ui.tabs.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60333
+
60334
+
60335
+ Started GET "/assets/jquery.ui.tooltip.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60336
+
60337
+
60338
+ Started GET "/assets/jquery.ui.all.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:35 -0400
60339
+
60340
+
60341
+ Started GET "/assets/underscore.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:36 -0400
60342
+
60343
+
60344
+ Started GET "/assets/underscore.string.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:36 -0400
60345
+
60346
+
60347
+ Started GET "/assets/beautify.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:36 -0400
60348
+
60349
+
60350
+ Started GET "/assets/beautify-css.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:36 -0400
60351
+
60352
+
60353
+ Started GET "/assets/beautify-html.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:36 -0400
60354
+
60355
+
60356
+ Started GET "/assets/clientside-haml.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:36 -0400
60357
+
60358
+
60359
+ Started GET "/assets/ckeditor/override.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:36 -0400
60360
+
60361
+
60362
+ Started GET "/assets/ckeditor/init.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:36 -0400
60363
+
60364
+
60365
+ Started GET "/assets/ckeditor/ckeditor.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:36 -0400
60366
+
60367
+
60368
+ Started GET "/assets/transit.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:36 -0400
60369
+
60370
+
60371
+ Started GET "/assets/polyblock/polyblock.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:36 -0400
60372
+
60373
+
60374
+ Started GET "/assets/polyblock/init.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:36 -0400
60375
+
60376
+
60377
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:36 -0400
60378
+
60379
+
60380
+ Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:37 -0400
60381
+
60382
+
60383
+ Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-05-18 14:19:37 -0400
60384
+
60385
+
60386
+ Started GET "/assets/ckeditor/config.js" for 127.0.0.1 at 2014-05-18 14:19:37 -0400
60387
+
60388
+
60389
+ Started GET "/assets/ckeditor/skins/moono/editor.css" for 127.0.0.1 at 2014-05-18 14:19:37 -0400
60390
+
60391
+
60392
+ Started GET "/assets/ckeditor/lang/en.js" for 127.0.0.1 at 2014-05-18 14:19:37 -0400
60393
+
60394
+
60395
+ Started GET "/assets/ckeditor/styles.js" for 127.0.0.1 at 2014-05-18 14:19:38 -0400
60396
+
60397
+
60398
+ Started GET "/assets/ckeditor/plugins/sourcedialog/plugin.js" for 127.0.0.1 at 2014-05-18 14:19:38 -0400
60399
+
60400
+
60401
+ Started GET "/assets/ckeditor/skins/moono/icons.png" for 127.0.0.1 at 2014-05-18 14:19:38 -0400
60402
+
60403
+
60404
+ Started GET "/assets/ckeditor/plugins/sourcedialog/icons/sourcedialog.png" for 127.0.0.1 at 2014-05-18 14:19:38 -0400
60405
+
60406
+
60407
+ Started GET "/assets/ckeditor/contents.css" for 127.0.0.1 at 2014-05-18 14:19:38 -0400
60408
+
60409
+
60410
+ Started GET "/assets/ckeditor/plugins/sourcedialog/dialogs/sourcedialog.js" for 127.0.0.1 at 2014-05-18 14:19:45 -0400
60411
+
60412
+
60413
+ Started GET "/assets/ckeditor/skins/moono/dialog.css" for 127.0.0.1 at 2014-05-18 14:19:45 -0400
60414
+
60415
+
60416
+ Started GET "/assets/ckeditor/skins/moono/images/close.png" for 127.0.0.1 at 2014-05-18 14:19:45 -0400
60417
+
60418
+
60419
+ Started GET "/assets/ckeditor/plugins/image/dialogs/image.js" for 127.0.0.1 at 2014-05-18 14:19:51 -0400
60420
+
60421
+
60422
+ Started GET "/assets/ckeditor/skins/moono/images/lock.png" for 127.0.0.1 at 2014-05-18 14:19:51 -0400
60423
+
60424
+
60425
+ Started GET "/assets/ckeditor/skins/moono/images/refresh.png" for 127.0.0.1 at 2014-05-18 14:19:51 -0400
60426
+
60427
+
60428
+ Started POST "/ckeditor/pictures?CKEditor=pb-1-YjRcbfvXIddwaunAbQeaYZAOMTJgOFbvORqgkgujpOmRDDOSRE&CKEditorFuncNum=130&langCode=en&authenticity_token=XyWPputpO0uypC8CjfFKZrbowQAhTvEzA7yPBXGNGOs%3D" for 127.0.0.1 at 2014-05-18 14:19:58 -0400
60429
+ Processing by Ckeditor::PicturesController#create as HTML
60430
+ Parameters: {"upload"=>#<ActionDispatch::Http::UploadedFile:0x007f84a62c2f68 @tempfile=#<Tempfile:/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/RackMultipart20140518-92030-ejg8pn>, @original_filename="Wallpaperpackz (2).jpg", @content_type="image/jpeg", @headers="Content-Disposition: form-data; name=\"upload\"; filename=\"Wallpaperpackz (2).jpg\"\r\nContent-Type: image/jpeg\r\n">, "CKEditor"=>"pb-1-YjRcbfvXIddwaunAbQeaYZAOMTJgOFbvORqgkgujpOmRDDOSRE", "CKEditorFuncNum"=>"130", "langCode"=>"en", "authenticity_token"=>"XyWPputpO0uypC8CjfFKZrbowQAhTvEzA7yPBXGNGOs="}
60431
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud955.jpg[0]' 2>/dev/null
60432
+ Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud955.jpg[0]'
60433
+ Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud955.jpg[0]'
60434
+ Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud955.jpg[0]'
60435
+ Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud955.jpg[0]' -auto-orient -resize "800>" '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud95520140518-92030-lo6obo'
60436
+ Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud95520140518-92030-lo6obo'
60437
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud955.jpg[0]' 2>/dev/null
60438
+ Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud955.jpg[0]'
60439
+ Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud955.jpg[0]'
60440
+ Command :: identify -format %m '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud955.jpg[0]'
60441
+ Command :: convert '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud955.jpg[0]' -auto-orient -resize "x100" -crop "118x100+21+0" +repage '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud95520140518-92030-170ak0j'
60442
+ Command :: file -b --mime '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud95520140518-92030-170ak0j'
60443
+  (0.3ms) begin transaction
60444
+ Command :: identify -format '%wx%h,%[exif:orientation]' '/var/folders/gz/nx2ykb7n23dc3s2vkm3p07r80000gn/T/04f10b3bbc83b4e50f109496200dbf0420140518-92030-hud955.jpg[0]' 2>/dev/null
60445
+ Binary data inserted for `string` type on column `data_content_type`
60446
+ SQL (50.4ms) INSERT INTO "ckeditor_assets" ("created_at", "data_content_type", "data_file_name", "data_file_size", "height", "type", "updated_at", "width") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 18 May 2014 18:19:59 UTC +00:00], ["data_content_type", "image/jpeg"], ["data_file_name", "wallpaperpackz_2.jpg"], ["data_file_size", 527247], ["height", 1200], ["type", "Ckeditor::Picture"], ["updated_at", Sun, 18 May 2014 18:19:59 UTC +00:00], ["width", 1920]]
60447
+  (533.5ms) commit transaction
60448
+ Rendered text template (0.1ms)
60449
+ Completed 200 OK in 2588ms (Views: 56.9ms | ActiveRecord: 585.0ms)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyblock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.9
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MacKinley Smith
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-17 00:00:00.000000000 Z
11
+ date: 2014-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -260,6 +260,9 @@ files:
260
260
  - test/dummy/public/ckeditor_assets/pictures/1/content_wallpaperpackz_1.jpg
261
261
  - test/dummy/public/ckeditor_assets/pictures/1/original_wallpaperpackz_1.jpg
262
262
  - test/dummy/public/ckeditor_assets/pictures/1/thumb_wallpaperpackz_1.jpg
263
+ - test/dummy/public/ckeditor_assets/pictures/2/content_wallpaperpackz_2.jpg
264
+ - test/dummy/public/ckeditor_assets/pictures/2/original_wallpaperpackz_2.jpg
265
+ - test/dummy/public/ckeditor_assets/pictures/2/thumb_wallpaperpackz_2.jpg
263
266
  - test/dummy/public/favicon.ico
264
267
  - test/dummy/test/controllers/events_controller_test.rb
265
268
  - test/dummy/test/controllers/home_controller_test.rb
@@ -2628,6 +2631,9 @@ test_files:
2628
2631
  - test/dummy/public/ckeditor_assets/pictures/1/content_wallpaperpackz_1.jpg
2629
2632
  - test/dummy/public/ckeditor_assets/pictures/1/original_wallpaperpackz_1.jpg
2630
2633
  - test/dummy/public/ckeditor_assets/pictures/1/thumb_wallpaperpackz_1.jpg
2634
+ - test/dummy/public/ckeditor_assets/pictures/2/content_wallpaperpackz_2.jpg
2635
+ - test/dummy/public/ckeditor_assets/pictures/2/original_wallpaperpackz_2.jpg
2636
+ - test/dummy/public/ckeditor_assets/pictures/2/thumb_wallpaperpackz_2.jpg
2631
2637
  - test/dummy/public/favicon.ico
2632
2638
  - test/dummy/Rakefile
2633
2639
  - test/dummy/README.rdoc