simple_table_for 0.3.0 → 0.3.1

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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -1
  3. data/lib/simple_table_for/rails.rb +1 -1
  4. data/lib/simple_table_for/version.rb +1 -1
  5. data/test/dummy/db/test.sqlite3 +0 -0
  6. data/test/dummy/log/development.log +2 -0
  7. data/test/dummy/log/test.log +218 -0
  8. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1oisFHHwfZfWBJmEnTLb37nziJruI9wNupNmBH1qcYg.cache +2 -0
  9. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2QOL0-cKH63ISf27ze-vmHvi0ceTilhHNb_4IEkTveQ.cache +1 -0
  10. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3MR8eDJwQB3Wc1CSBSZj17jgm1K2e138Wotecrm59Fs.cache +0 -0
  11. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3aOKfJaCUw-MVgMWyjEoTrzah2SVHl0SI8JfWHdf0nQ.cache +2 -0
  12. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6WsDCYIAVtnLS7PmU5VxiDsHdNQC3HYcirjW8kVBHTU.cache +2 -0
  13. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7Mcvuh_fdHbktCgot1-NZ5YN9JyNq3WqcdNNSguo2UQ.cache +2 -0
  14. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/9Qbw4WsgPppcv4frQdiVbqlaZORB693B2iNX-YtgPo4.cache +0 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AJPUXXxPhsCFBwc7JfC_qkipY2oZqq7ZGr21d88_z_8.cache +0 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FQvDDtaiFwNZGr6qeJtDrS66IHFEP-xDPZXRLnRRd7U.cache +1 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Fi-dWOWd11rMVFwvet1GiJmAKZeyeIOXXxTzo8VgHVY.cache +1 -0
  18. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IVoVTT524mMnPTvmSW-1xz0MnJEyQk8Y4vK1S8aqZ2E.cache +2 -0
  19. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LT4Ssnd9TE4TUIgJ9rbSm11ASFZryFmJ4rt0Ke47fjk.cache +2 -0
  20. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LrD4KVqd22SeEFmO7e647i6QHo6m6IJdrG-ljA3VYN8.cache +2 -0
  21. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/MvxZLfy4VuwBLkra0vZDcnxnUaOr52rETk9uoPxtfV8.cache +2 -0
  22. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/N4aQD7fmB4hT2GgP4Zitxhi_LcIi-tT1tY5Foa3JoqM.cache +1 -0
  23. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PpL2EdGJpOTQ5eXMrzCxMPzgHZ0PJ7k3-TvcQyhvvTs.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/SJO9550HuFNgdx9JYkT9Cf7D92rsEb-Y0WxGXdYcNjU.cache +2 -0
  25. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WEgsuwXLLCLq8L0DpFIW00_f2XLRqjsgDsuaCtsjYmo.cache +1 -0
  26. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XCNGoebYVWURmYSOXOEByFS19R5XDHxrctavXrdA-Gc.cache +1 -0
  27. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/daD9qEqvnVb24r86bliwefrhSRYmke11ao5YNgApK-s.cache +0 -0
  28. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/n4tlVwikS542xO_hNRj7B4veaTrqgUUP1vd7o_u5N-g.cache +1 -0
  29. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vYeuYXIrqu4A2tige_eApy5rUdYrR22XZZ_hxp5AcGg.cache +1 -0
  30. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yGDqK8fcYozp44xKwJDNWtUFjdZGWzut75Z3tqdbSKw.cache +1 -0
  31. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ynYap-7bFWAoOVLpKZ-CzUpLjaikKh44CwK82dt9R3w.cache +1 -0
  32. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zE-JvqXgwIchhpQVPOh6roH6QWo9hikyXq7fuaBcclU.cache +0 -0
  33. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zLsUw7abfDWh4S2IJwCWSUoY8YDJEf3DYcf-yaFZYfQ.cache +1 -0
  34. data/test/test_helper.rb +3 -0
  35. metadata +54 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db5493bc8ee8100c8bd4118c60682816cbb2fd9b
4
- data.tar.gz: 0078013530968c090263bf5c30d6a6a9b2a8d55a
3
+ metadata.gz: 6fcdb0e3ac24958dd25d79d37b7b5a22aca006b8
4
+ data.tar.gz: cf190159727bdb4971562df336d4591462cdaa74
5
5
  SHA512:
6
- metadata.gz: ad299a14b40c1363a9b456c1fa24b84e2872af1d9e4706d2ff3bbb6724a2662ad17e476f44593f5aaf871b4f18decfdaee63ea6d1a7a4b1da15dd1cd84b6385d
7
- data.tar.gz: a0a5b4348d773e0ed0363b70e3850c48e745dd3dd2e2fa1432f9fd6860765e4c9f04b6521dbed874a888d7c330da9c38ef1ecf1b631315d2f5ae0067e674f26b
6
+ metadata.gz: 9b55a20eed6cf731897615e24ba25074655f9836d773c437a993c1c5f6e39f47ad56688a66734b594b2958e1bb264c2b45a503ff8b448cd49bb031480b497fda
7
+ data.tar.gz: 9df967e870a6f2ec38ca76836c0c812032081f53c1bcc12214cc3c1e17f1b28d7cb79a2752435229568f775facfb182085f4429840f6338be44d3263d008638b
data/README.md CHANGED
@@ -1,3 +1,8 @@
1
+ [![Gem Version](https://badge.fury.io/rb/simple_table_for.svg)](http://badge.fury.io/rb/simple_table_for)
2
+ [![Build Status](https://travis-ci.org/andreynering/simple_table_for.svg)](https://travis-ci.org/andreynering/simple_table_for)
3
+ [![Code Climate](https://codeclimate.com/github/andreynering/simple_table_for/badges/gpa.svg)](https://codeclimate.com/github/andreynering/simple_table_for)
4
+ [![Test Coverage](https://codeclimate.com/github/andreynering/simple_table_for/badges/coverage.svg)](https://codeclimate.com/github/andreynering/simple_table_for/coverage)
5
+
1
6
  Simple Table For helper
2
7
  =======================
3
8
 
@@ -6,7 +11,7 @@ Generate HTML tables in a simple and clean way.
6
11
  ## Installation
7
12
 
8
13
  ```ruby
9
- gem 'simple_table_for', '~> 0.3.0'
14
+ gem 'simple_table_for'
10
15
  ```
11
16
 
12
17
  ## Usage
@@ -1,5 +1,5 @@
1
1
  module SimpleTableFor
2
- class ::Application < Rails::Application
2
+ class Railtie < Rails::Railtie
3
3
  config.simple_table_for = ActiveSupport::OrderedOptions.new
4
4
  config.simple_table_for.defaults = ActiveSupport::OrderedOptions.new
5
5
 
@@ -1,3 +1,3 @@
1
1
  module SimpleTableFor
2
- VERSION = '0.3.0'
2
+ VERSION = '0.3.1'
3
3
  end
Binary file
@@ -1078,3 +1078,5 @@ Processing by PostsController#index as HTML
1078
1078
  Post Load (1.9ms) SELECT "posts".* FROM "posts"
1079
1079
  Rendered posts/render.html.erb within layouts/application (9.0ms)
1080
1080
  Completed 200 OK in 177ms (Views: 174.9ms | ActiveRecord: 1.9ms)
1081
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1082
+ ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -1277,3 +1277,221 @@ Processing by PostsController#index as HTML
1277
1277
  Rendered posts/defaults.html.erb within layouts/application (3.4ms)
1278
1278
  Completed 200 OK in 21ms (Views: 19.5ms | ActiveRecord: 1.6ms)
1279
1279
   (0.1ms) rollback transaction
1280
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1281
+  (0.1ms) begin transaction
1282
+ Fixture Delete (2.4ms) DELETE FROM "posts"
1283
+ Fixture Insert (0.5ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-08 19:27:46', '2015-06-08 19:27:46', 980190962)
1284
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-08 19:27:46', '2015-06-08 19:27:46', 298486374)
1285
+  (3.3ms) commit transaction
1286
+  (0.1ms) begin transaction
1287
+ ---------------------------------------------
1288
+ PostsControllerTest: test_should_render_table
1289
+ ---------------------------------------------
1290
+ Processing by PostsController#index as HTML
1291
+ Parameters: {"template"=>"render"}
1292
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
1293
+ Rendered posts/render.html.erb within layouts/application (18.6ms)
1294
+ Completed 200 OK in 591ms (Views: 588.7ms | ActiveRecord: 1.5ms)
1295
+  (0.1ms) rollback transaction
1296
+  (0.1ms) begin transaction
1297
+ -----------------------------------------------------------------------------------
1298
+ PostsControllerTest: test_should_render_table_with_defaults_(set_in_application.rb)
1299
+ -----------------------------------------------------------------------------------
1300
+ Processing by PostsController#index as HTML
1301
+ Parameters: {"template"=>"defaults"}
1302
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
1303
+ Rendered posts/defaults.html.erb within layouts/application (4.2ms)
1304
+ Completed 200 OK in 25ms (Views: 22.8ms | ActiveRecord: 1.6ms)
1305
+  (0.1ms) rollback transaction
1306
+  (0.1ms) begin transaction
1307
+ ---------------------------------------------------
1308
+ PostsControllerTest: test_should_render_empty_table
1309
+ ---------------------------------------------------
1310
+ Processing by PostsController#index as HTML
1311
+ Parameters: {"template"=>"empty"}
1312
+ Post Load (1.7ms) SELECT "posts".* FROM "posts" WHERE (0 = 1)
1313
+ Rendered posts/empty.html.erb within layouts/application (3.3ms)
1314
+ Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 1.7ms)
1315
+  (0.1ms) rollback transaction
1316
+ ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1317
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1318
+ ActiveRecord::SchemaMigration Load (1.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
1319
+  (0.1ms) begin transaction
1320
+ Fixture Delete (2.6ms) DELETE FROM "posts"
1321
+ Fixture Insert (0.6ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-10 16:07:39', '2015-06-10 16:07:39', 980190962)
1322
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-10 16:07:39', '2015-06-10 16:07:39', 298486374)
1323
+  (3.0ms) commit transaction
1324
+  (0.1ms) begin transaction
1325
+ ---------------------------------------------------
1326
+ PostsControllerTest: test_should_render_empty_table
1327
+ ---------------------------------------------------
1328
+ Processing by PostsController#index as HTML
1329
+ Parameters: {"template"=>"empty"}
1330
+ Post Load (1.6ms) SELECT "posts".* FROM "posts" WHERE (0 = 1)
1331
+ Rendered posts/empty.html.erb within layouts/application (15.2ms)
1332
+ Completed 200 OK in 494ms (Views: 491.6ms | ActiveRecord: 1.6ms)
1333
+  (0.1ms) rollback transaction
1334
+  (0.1ms) begin transaction
1335
+ ---------------------------------------------
1336
+ PostsControllerTest: test_should_render_table
1337
+ ---------------------------------------------
1338
+ Processing by PostsController#index as HTML
1339
+ Parameters: {"template"=>"render"}
1340
+ Post Load (1.8ms) SELECT "posts".* FROM "posts"
1341
+ Rendered posts/render.html.erb within layouts/application (10.1ms)
1342
+ Completed 200 OK in 33ms (Views: 30.8ms | ActiveRecord: 1.8ms)
1343
+  (0.1ms) rollback transaction
1344
+  (0.1ms) begin transaction
1345
+ -----------------------------------------------------------------------------------
1346
+ PostsControllerTest: test_should_render_table_with_defaults_(set_in_application.rb)
1347
+ -----------------------------------------------------------------------------------
1348
+ Processing by PostsController#index as HTML
1349
+ Parameters: {"template"=>"defaults"}
1350
+ Post Load (1.6ms) SELECT "posts".* FROM "posts"
1351
+ Rendered posts/defaults.html.erb within layouts/application (3.8ms)
1352
+ Completed 200 OK in 26ms (Views: 23.6ms | ActiveRecord: 1.6ms)
1353
+  (0.1ms) rollback transaction
1354
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1355
+  (0.1ms) begin transaction
1356
+ Fixture Delete (2.3ms) DELETE FROM "posts"
1357
+ Fixture Insert (0.6ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-10 16:42:07', '2015-06-10 16:42:07', 980190962)
1358
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-10 16:42:07', '2015-06-10 16:42:07', 298486374)
1359
+  (3.1ms) commit transaction
1360
+  (0.1ms) begin transaction
1361
+ ---------------------------------------------------
1362
+ PostsControllerTest: test_should_render_empty_table
1363
+ ---------------------------------------------------
1364
+ Processing by PostsController#index as HTML
1365
+ Parameters: {"template"=>"empty"}
1366
+ Post Load (1.6ms) SELECT "posts".* FROM "posts" WHERE (0 = 1)
1367
+ Rendered posts/empty.html.erb within layouts/application (15.2ms)
1368
+ Completed 200 OK in 340ms (Views: 338.4ms | ActiveRecord: 1.6ms)
1369
+  (0.1ms) rollback transaction
1370
+  (0.1ms) begin transaction
1371
+ ---------------------------------------------
1372
+ PostsControllerTest: test_should_render_table
1373
+ ---------------------------------------------
1374
+ Processing by PostsController#index as HTML
1375
+ Parameters: {"template"=>"render"}
1376
+ Post Load (2.3ms) SELECT "posts".* FROM "posts"
1377
+ Rendered posts/render.html.erb within layouts/application (14.0ms)
1378
+ Completed 200 OK in 35ms (Views: 31.5ms | ActiveRecord: 2.3ms)
1379
+  (0.3ms) rollback transaction
1380
+  (0.1ms) begin transaction
1381
+ -----------------------------------------------------------------------------------
1382
+ PostsControllerTest: test_should_render_table_with_defaults_(set_in_application.rb)
1383
+ -----------------------------------------------------------------------------------
1384
+ Processing by PostsController#index as HTML
1385
+ Parameters: {"template"=>"defaults"}
1386
+ Post Load (1.9ms) SELECT "posts".* FROM "posts"
1387
+ Rendered posts/defaults.html.erb within layouts/application (5.3ms)
1388
+ Completed 200 OK in 31ms (Views: 28.8ms | ActiveRecord: 1.9ms)
1389
+  (0.1ms) rollback transaction
1390
+ ActiveRecord::SchemaMigration Load (1.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1391
+  (0.2ms) begin transaction
1392
+ Fixture Delete (2.5ms) DELETE FROM "posts"
1393
+ Fixture Insert (0.5ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-10 16:43:21', '2015-06-10 16:43:21', 980190962)
1394
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-06-10 16:43:21', '2015-06-10 16:43:21', 298486374)
1395
+  (3.1ms) commit transaction
1396
+  (0.1ms) begin transaction
1397
+ ---------------------------------------------
1398
+ PostsControllerTest: test_should_render_table
1399
+ ---------------------------------------------
1400
+ Processing by PostsController#index as HTML
1401
+ Parameters: {"template"=>"render"}
1402
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
1403
+ Rendered posts/render.html.erb within layouts/application (19.2ms)
1404
+ Completed 200 OK in 329ms (Views: 327.4ms | ActiveRecord: 1.5ms)
1405
+  (0.0ms) rollback transaction
1406
+  (0.1ms) begin transaction
1407
+ ---------------------------------------------------
1408
+ PostsControllerTest: test_should_render_empty_table
1409
+ ---------------------------------------------------
1410
+ Processing by PostsController#index as HTML
1411
+ Parameters: {"template"=>"empty"}
1412
+ Post Load (1.7ms) SELECT "posts".* FROM "posts" WHERE (0 = 1)
1413
+ Rendered posts/empty.html.erb within layouts/application (3.4ms)
1414
+ Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 1.7ms)
1415
+  (0.1ms) rollback transaction
1416
+  (0.1ms) begin transaction
1417
+ -----------------------------------------------------------------------------------
1418
+ PostsControllerTest: test_should_render_table_with_defaults_(set_in_application.rb)
1419
+ -----------------------------------------------------------------------------------
1420
+ Processing by PostsController#index as HTML
1421
+ Parameters: {"template"=>"defaults"}
1422
+ Post Load (1.5ms) SELECT "posts".* FROM "posts"
1423
+ Rendered posts/defaults.html.erb within layouts/application (3.6ms)
1424
+ Completed 200 OK in 29ms (Views: 26.9ms | ActiveRecord: 1.5ms)
1425
+  (0.1ms) rollback transaction
1426
+ ActiveRecord::SchemaMigration Load (3.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
1427
+  (0.2ms) begin transaction
1428
+ Fixture Delete (4.3ms) DELETE FROM "posts"
1429
+ Fixture Insert (1.2ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-07-14 17:24:37', '2015-07-14 17:24:37', 980190962)
1430
+ Fixture Insert (0.1ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-07-14 17:24:37', '2015-07-14 17:24:37', 298486374)
1431
+  (35.6ms) commit transaction
1432
+  (0.1ms) begin transaction
1433
+ ---------------------------------------------
1434
+ PostsControllerTest: test_should_render_table
1435
+ ---------------------------------------------
1436
+ Processing by PostsController#index as HTML
1437
+ Parameters: {"template"=>"render"}
1438
+ Post Load (2.3ms) SELECT "posts".* FROM "posts"
1439
+ Rendered posts/render.html.erb within layouts/application (74.0ms)
1440
+ Completed 200 OK in 803ms (Views: 800.0ms | ActiveRecord: 2.3ms)
1441
+  (0.1ms) rollback transaction
1442
+  (0.2ms) begin transaction
1443
+ ---------------------------------------------------
1444
+ PostsControllerTest: test_should_render_empty_table
1445
+ ---------------------------------------------------
1446
+ Processing by PostsController#index as HTML
1447
+ Parameters: {"template"=>"empty"}
1448
+ Post Load (2.6ms) SELECT "posts".* FROM "posts" WHERE (0 = 1)
1449
+ Rendered posts/empty.html.erb within layouts/application (4.9ms)
1450
+ Completed 200 OK in 41ms (Views: 38.5ms | ActiveRecord: 2.6ms)
1451
+  (0.1ms) rollback transaction
1452
+  (0.1ms) begin transaction
1453
+ -----------------------------------------------------------------------------------
1454
+ PostsControllerTest: test_should_render_table_with_defaults_(set_in_application.rb)
1455
+ -----------------------------------------------------------------------------------
1456
+ Processing by PostsController#index as HTML
1457
+ Parameters: {"template"=>"defaults"}
1458
+ Post Load (2.0ms) SELECT "posts".* FROM "posts"
1459
+ Rendered posts/defaults.html.erb within layouts/application (5.1ms)
1460
+ Completed 200 OK in 27ms (Views: 24.2ms | ActiveRecord: 2.0ms)
1461
+  (0.2ms) rollback transaction
1462
+ ActiveRecord::SchemaMigration Load (3.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1463
+  (0.2ms) begin transaction
1464
+ Fixture Delete (15.2ms) DELETE FROM "posts"
1465
+ Fixture Insert (1.3ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-07-14 17:31:13', '2015-07-14 17:31:13', 980190962)
1466
+ Fixture Insert (0.2ms) INSERT INTO "posts" ("title", "text", "created_at", "updated_at", "id") VALUES ('MyString', 'MyText', '2015-07-14 17:31:13', '2015-07-14 17:31:13', 298486374)
1467
+  (34.0ms) commit transaction
1468
+  (0.1ms) begin transaction
1469
+ ---------------------------------------------
1470
+ PostsControllerTest: test_should_render_table
1471
+ ---------------------------------------------
1472
+ Processing by PostsController#index as HTML
1473
+ Parameters: {"template"=>"render"}
1474
+ Post Load (2.9ms) SELECT "posts".* FROM "posts"
1475
+ Rendered posts/render.html.erb within layouts/application (29.8ms)
1476
+ Completed 200 OK in 530ms (Views: 526.3ms | ActiveRecord: 2.9ms)
1477
+  (0.1ms) rollback transaction
1478
+  (0.2ms) begin transaction
1479
+ -----------------------------------------------------------------------------------
1480
+ PostsControllerTest: test_should_render_table_with_defaults_(set_in_application.rb)
1481
+ -----------------------------------------------------------------------------------
1482
+ Processing by PostsController#index as HTML
1483
+ Parameters: {"template"=>"defaults"}
1484
+ Post Load (2.4ms) SELECT "posts".* FROM "posts"
1485
+ Rendered posts/defaults.html.erb within layouts/application (4.8ms)
1486
+ Completed 200 OK in 28ms (Views: 25.0ms | ActiveRecord: 2.4ms)
1487
+  (0.2ms) rollback transaction
1488
+  (0.4ms) begin transaction
1489
+ ---------------------------------------------------
1490
+ PostsControllerTest: test_should_render_empty_table
1491
+ ---------------------------------------------------
1492
+ Processing by PostsController#index as HTML
1493
+ Parameters: {"template"=>"empty"}
1494
+ Post Load (2.6ms) SELECT "posts".* FROM "posts" WHERE (0 = 1)
1495
+ Rendered posts/empty.html.erb within layouts/application (6.5ms)
1496
+ Completed 200 OK in 29ms (Views: 25.8ms | ActiveRecord: 2.6ms)
1497
+  (0.3ms) rollback transaction
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"_file-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/javascripts/posts.js;TT
@@ -0,0 +1 @@
1
+ "%֧�NTZq�בH�L��#p3��Jg!��)
@@ -0,0 +1,2 @@
1
+ "%��'��TnC�_�]
2
+ �Ah9K>��=����
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"0processors:type=text/css&file_type=text/css;TTI"ffile-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/stylesheets/application.css;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"`file-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/stylesheets/posts.css;TTI"Vfile-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/stylesheets;TT
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"efile-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/javascripts/application.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"_file-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/javascripts/posts.js;TTI"Vfile-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/javascripts;TT
@@ -0,0 +1 @@
1
+ I"�file:///media/sf_shared/simple_table_for/test/dummy/app/assets/javascripts/posts.js?type=application/javascript&pipeline=self&id=cc9f1ffb173638e69c3b386fa8ba99df9115de4300cad1cce10f3aa1eed95f91:ET
@@ -0,0 +1 @@
1
+ I"�file:///media/sf_shared/simple_table_for/test/dummy/app/assets/stylesheets/application.css?type=text/css&id=f3d638cfe6073539ed5dfb99107a1d736025b1162d15ea7f415a42a3039cea5b:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"ffile-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/stylesheets/application.css;TTI"Vfile-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/stylesheets;TTI"`file-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/stylesheets/posts.css;TT
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"efile-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/javascripts/application.js;TTI"Vfile-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/javascripts;TTI"_file-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/javascripts/posts.js;TT
@@ -0,0 +1,2 @@
1
+ "%��'��TnC�_�]
2
+ �Ah9K>��=����
@@ -0,0 +1,2 @@
1
+ "%����͹mm�
2
+ a�l�|a56���v�6}��(&5
@@ -0,0 +1 @@
1
+ I"�file:///media/sf_shared/simple_table_for/test/dummy/app/assets/javascripts/application.js?type=application/javascript&id=71d2c5d14534664a817e6ddac70f6611c7629599cee268cfbd243da48201a4f1:ET
@@ -0,0 +1,2 @@
1
+ [o:Set:
2
+ @hash{ I"environment-version:ETTI"environment-paths;TTI">processors:type=text/css&file_type=text/css&pipeline=self;TTI"`file-digest:///media/sf_shared/simple_table_for/test/dummy/app/assets/stylesheets/posts.css;TT
@@ -0,0 +1 @@
1
+ I"�file:///media/sf_shared/simple_table_for/test/dummy/app/assets/stylesheets/posts.css?type=text/css&pipeline=self&id=c52e4b2a88f1c0f3a6b160575e4d96b5ebd566cc630c85b066c606df45a8f5dd:ET
@@ -0,0 +1 @@
1
+ "%�W\�yho9S���ƫ˥��)|�~���(���
@@ -0,0 +1 @@
1
+ "%��a��lz�l��q�.{�S�a����@/�7�ź
@@ -0,0 +1 @@
1
+ "%��a��lz�l��q�.{�S�a����@/�7�ź
@@ -0,0 +1 @@
1
+ I"�file:///media/sf_shared/simple_table_for/test/dummy/app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=a0fba45a14cfc2e5809e9a7c3527142d8016c1cf02bfa060b378431cb0d3107b:ET
@@ -0,0 +1 @@
1
+ I"�file:///media/sf_shared/simple_table_for/test/dummy/app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=edf1290a8abd4d6f3f28d2234ed19d22f72a1ac043ad1e7067c316b6ba7523db:ET
@@ -0,0 +1 @@
1
+ "%Ѱč@�����6H�uZoX�Z�gbh0W��V
data/test/test_helper.rb CHANGED
@@ -1,3 +1,6 @@
1
+ require 'codeclimate-test-reporter'
2
+ CodeClimate::TestReporter.start
3
+
1
4
  # Configure Rails Environment
2
5
  ENV["RAILS_ENV"] = "test"
3
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_table_for
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrey Nering
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-08 00:00:00.000000000 Z
11
+ date: 2015-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sqlite3
@@ -129,6 +129,32 @@ files:
129
129
  - test/dummy/tmp/cache/assets/test/sprockets/d066c004d1fd26ae76a61303a7a18145
130
130
  - test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
131
131
  - test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
132
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/1oisFHHwfZfWBJmEnTLb37nziJruI9wNupNmBH1qcYg.cache
133
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/2QOL0-cKH63ISf27ze-vmHvi0ceTilhHNb_4IEkTveQ.cache
134
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/3MR8eDJwQB3Wc1CSBSZj17jgm1K2e138Wotecrm59Fs.cache
135
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/3aOKfJaCUw-MVgMWyjEoTrzah2SVHl0SI8JfWHdf0nQ.cache
136
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/6WsDCYIAVtnLS7PmU5VxiDsHdNQC3HYcirjW8kVBHTU.cache
137
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/7Mcvuh_fdHbktCgot1-NZ5YN9JyNq3WqcdNNSguo2UQ.cache
138
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/9Qbw4WsgPppcv4frQdiVbqlaZORB693B2iNX-YtgPo4.cache
139
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/AJPUXXxPhsCFBwc7JfC_qkipY2oZqq7ZGr21d88_z_8.cache
140
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/FQvDDtaiFwNZGr6qeJtDrS66IHFEP-xDPZXRLnRRd7U.cache
141
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Fi-dWOWd11rMVFwvet1GiJmAKZeyeIOXXxTzo8VgHVY.cache
142
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/IVoVTT524mMnPTvmSW-1xz0MnJEyQk8Y4vK1S8aqZ2E.cache
143
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/LT4Ssnd9TE4TUIgJ9rbSm11ASFZryFmJ4rt0Ke47fjk.cache
144
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/LrD4KVqd22SeEFmO7e647i6QHo6m6IJdrG-ljA3VYN8.cache
145
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/MvxZLfy4VuwBLkra0vZDcnxnUaOr52rETk9uoPxtfV8.cache
146
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/N4aQD7fmB4hT2GgP4Zitxhi_LcIi-tT1tY5Foa3JoqM.cache
147
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/PpL2EdGJpOTQ5eXMrzCxMPzgHZ0PJ7k3-TvcQyhvvTs.cache
148
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/SJO9550HuFNgdx9JYkT9Cf7D92rsEb-Y0WxGXdYcNjU.cache
149
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/WEgsuwXLLCLq8L0DpFIW00_f2XLRqjsgDsuaCtsjYmo.cache
150
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/XCNGoebYVWURmYSOXOEByFS19R5XDHxrctavXrdA-Gc.cache
151
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/daD9qEqvnVb24r86bliwefrhSRYmke11ao5YNgApK-s.cache
152
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/n4tlVwikS542xO_hNRj7B4veaTrqgUUP1vd7o_u5N-g.cache
153
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/vYeuYXIrqu4A2tige_eApy5rUdYrR22XZZ_hxp5AcGg.cache
154
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/yGDqK8fcYozp44xKwJDNWtUFjdZGWzut75Z3tqdbSKw.cache
155
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/ynYap-7bFWAoOVLpKZ-CzUpLjaikKh44CwK82dt9R3w.cache
156
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/zE-JvqXgwIchhpQVPOh6roH6QWo9hikyXq7fuaBcclU.cache
157
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/zLsUw7abfDWh4S2IJwCWSUoY8YDJEf3DYcf-yaFZYfQ.cache
132
158
  - test/fixtures/posts.yml
133
159
  - test/simple_table_for_test.rb
134
160
  - test/test_helper.rb
@@ -231,6 +257,32 @@ test_files:
231
257
  - test/dummy/tmp/cache/assets/test/sprockets/d066c004d1fd26ae76a61303a7a18145
232
258
  - test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6
233
259
  - test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655
260
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/1oisFHHwfZfWBJmEnTLb37nziJruI9wNupNmBH1qcYg.cache
261
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/2QOL0-cKH63ISf27ze-vmHvi0ceTilhHNb_4IEkTveQ.cache
262
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/3aOKfJaCUw-MVgMWyjEoTrzah2SVHl0SI8JfWHdf0nQ.cache
263
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/3MR8eDJwQB3Wc1CSBSZj17jgm1K2e138Wotecrm59Fs.cache
264
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/6WsDCYIAVtnLS7PmU5VxiDsHdNQC3HYcirjW8kVBHTU.cache
265
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/7Mcvuh_fdHbktCgot1-NZ5YN9JyNq3WqcdNNSguo2UQ.cache
266
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/9Qbw4WsgPppcv4frQdiVbqlaZORB693B2iNX-YtgPo4.cache
267
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/AJPUXXxPhsCFBwc7JfC_qkipY2oZqq7ZGr21d88_z_8.cache
268
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/daD9qEqvnVb24r86bliwefrhSRYmke11ao5YNgApK-s.cache
269
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/Fi-dWOWd11rMVFwvet1GiJmAKZeyeIOXXxTzo8VgHVY.cache
270
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/FQvDDtaiFwNZGr6qeJtDrS66IHFEP-xDPZXRLnRRd7U.cache
271
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/IVoVTT524mMnPTvmSW-1xz0MnJEyQk8Y4vK1S8aqZ2E.cache
272
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/LrD4KVqd22SeEFmO7e647i6QHo6m6IJdrG-ljA3VYN8.cache
273
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/LT4Ssnd9TE4TUIgJ9rbSm11ASFZryFmJ4rt0Ke47fjk.cache
274
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/MvxZLfy4VuwBLkra0vZDcnxnUaOr52rETk9uoPxtfV8.cache
275
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/N4aQD7fmB4hT2GgP4Zitxhi_LcIi-tT1tY5Foa3JoqM.cache
276
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/n4tlVwikS542xO_hNRj7B4veaTrqgUUP1vd7o_u5N-g.cache
277
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/PpL2EdGJpOTQ5eXMrzCxMPzgHZ0PJ7k3-TvcQyhvvTs.cache
278
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/SJO9550HuFNgdx9JYkT9Cf7D92rsEb-Y0WxGXdYcNjU.cache
279
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/vYeuYXIrqu4A2tige_eApy5rUdYrR22XZZ_hxp5AcGg.cache
280
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/WEgsuwXLLCLq8L0DpFIW00_f2XLRqjsgDsuaCtsjYmo.cache
281
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/XCNGoebYVWURmYSOXOEByFS19R5XDHxrctavXrdA-Gc.cache
282
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/yGDqK8fcYozp44xKwJDNWtUFjdZGWzut75Z3tqdbSKw.cache
283
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/ynYap-7bFWAoOVLpKZ-CzUpLjaikKh44CwK82dt9R3w.cache
284
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/zE-JvqXgwIchhpQVPOh6roH6QWo9hikyXq7fuaBcclU.cache
285
+ - test/dummy/tmp/cache/assets/test/sprockets/v3.0/zLsUw7abfDWh4S2IJwCWSUoY8YDJEf3DYcf-yaFZYfQ.cache
234
286
  - test/fixtures/posts.yml
235
287
  - test/simple_table_for_test.rb
236
288
  - test/test_helper.rb