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.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/lib/simple_table_for/rails.rb +1 -1
- data/lib/simple_table_for/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +2 -0
- data/test/dummy/log/test.log +218 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/1oisFHHwfZfWBJmEnTLb37nziJruI9wNupNmBH1qcYg.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2QOL0-cKH63ISf27ze-vmHvi0ceTilhHNb_4IEkTveQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3MR8eDJwQB3Wc1CSBSZj17jgm1K2e138Wotecrm59Fs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/3aOKfJaCUw-MVgMWyjEoTrzah2SVHl0SI8JfWHdf0nQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6WsDCYIAVtnLS7PmU5VxiDsHdNQC3HYcirjW8kVBHTU.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/7Mcvuh_fdHbktCgot1-NZ5YN9JyNq3WqcdNNSguo2UQ.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/9Qbw4WsgPppcv4frQdiVbqlaZORB693B2iNX-YtgPo4.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AJPUXXxPhsCFBwc7JfC_qkipY2oZqq7ZGr21d88_z_8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/FQvDDtaiFwNZGr6qeJtDrS66IHFEP-xDPZXRLnRRd7U.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/Fi-dWOWd11rMVFwvet1GiJmAKZeyeIOXXxTzo8VgHVY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IVoVTT524mMnPTvmSW-1xz0MnJEyQk8Y4vK1S8aqZ2E.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LT4Ssnd9TE4TUIgJ9rbSm11ASFZryFmJ4rt0Ke47fjk.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LrD4KVqd22SeEFmO7e647i6QHo6m6IJdrG-ljA3VYN8.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/MvxZLfy4VuwBLkra0vZDcnxnUaOr52rETk9uoPxtfV8.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/N4aQD7fmB4hT2GgP4Zitxhi_LcIi-tT1tY5Foa3JoqM.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/PpL2EdGJpOTQ5eXMrzCxMPzgHZ0PJ7k3-TvcQyhvvTs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/SJO9550HuFNgdx9JYkT9Cf7D92rsEb-Y0WxGXdYcNjU.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/WEgsuwXLLCLq8L0DpFIW00_f2XLRqjsgDsuaCtsjYmo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/XCNGoebYVWURmYSOXOEByFS19R5XDHxrctavXrdA-Gc.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/daD9qEqvnVb24r86bliwefrhSRYmke11ao5YNgApK-s.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/n4tlVwikS542xO_hNRj7B4veaTrqgUUP1vd7o_u5N-g.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/vYeuYXIrqu4A2tige_eApy5rUdYrR22XZZ_hxp5AcGg.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/yGDqK8fcYozp44xKwJDNWtUFjdZGWzut75Z3tqdbSKw.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ynYap-7bFWAoOVLpKZ-CzUpLjaikKh44CwK82dt9R3w.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zE-JvqXgwIchhpQVPOh6roH6QWo9hikyXq7fuaBcclU.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/zLsUw7abfDWh4S2IJwCWSUoY8YDJEf3DYcf-yaFZYfQ.cache +1 -0
- data/test/test_helper.rb +3 -0
- metadata +54 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6fcdb0e3ac24958dd25d79d37b7b5a22aca006b8
|
4
|
+
data.tar.gz: cf190159727bdb4971562df336d4591462cdaa74
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b55a20eed6cf731897615e24ba25074655f9836d773c437a993c1c5f6e39f47ad56688a66734b594b2958e1bb264c2b45a503ff8b448cd49bb031480b497fda
|
7
|
+
data.tar.gz: 9df967e870a6f2ec38ca76836c0c812032081f53c1bcc12214cc3c1e17f1b28d7cb79a2752435229568f775facfb182085f4429840f6338be44d3263d008638b
|
data/README.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
[](http://badge.fury.io/rb/simple_table_for)
|
2
|
+
[](https://travis-ci.org/andreynering/simple_table_for)
|
3
|
+
[](https://codeclimate.com/github/andreynering/simple_table_for)
|
4
|
+
[](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'
|
14
|
+
gem 'simple_table_for'
|
10
15
|
```
|
11
16
|
|
12
17
|
## Usage
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1078,3 +1078,5 @@ Processing by PostsController#index as HTML
|
|
1078
1078
|
[1m[35mPost Load (1.9ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1082
|
+
[1m[35mActiveRecord::SchemaMigration Load (1.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
data/test/dummy/log/test.log
CHANGED
@@ -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
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1280
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1281
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1282
|
+
[1m[36mFixture Delete (2.4ms)[0m [1mDELETE FROM "posts"[0m
|
1283
|
+
[1m[35mFixture Insert (0.5ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1285
|
+
[1m[35m (3.3ms)[0m commit transaction
|
1286
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1287
|
+
---------------------------------------------
|
1288
|
+
PostsControllerTest: test_should_render_table
|
1289
|
+
---------------------------------------------
|
1290
|
+
Processing by PostsController#index as HTML
|
1291
|
+
Parameters: {"template"=>"render"}
|
1292
|
+
[1m[35mPost Load (1.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1296
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mPost Load (1.6ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
1303
|
+
Rendered posts/defaults.html.erb within layouts/application (4.2ms)
|
1304
|
+
Completed 200 OK in 25ms (Views: 22.8ms | ActiveRecord: 1.6ms)
|
1305
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1306
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1307
|
+
---------------------------------------------------
|
1308
|
+
PostsControllerTest: test_should_render_empty_table
|
1309
|
+
---------------------------------------------------
|
1310
|
+
Processing by PostsController#index as HTML
|
1311
|
+
Parameters: {"template"=>"empty"}
|
1312
|
+
[1m[35mPost Load (1.7ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1316
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1317
|
+
[1m[35mActiveRecord::SchemaMigration Load (1.5ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1318
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1319
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1320
|
+
[1m[36mFixture Delete (2.6ms)[0m [1mDELETE FROM "posts"[0m
|
1321
|
+
[1m[35mFixture Insert (0.6ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1323
|
+
[1m[35m (3.0ms)[0m commit transaction
|
1324
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1325
|
+
---------------------------------------------------
|
1326
|
+
PostsControllerTest: test_should_render_empty_table
|
1327
|
+
---------------------------------------------------
|
1328
|
+
Processing by PostsController#index as HTML
|
1329
|
+
Parameters: {"template"=>"empty"}
|
1330
|
+
[1m[35mPost Load (1.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1334
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1335
|
+
---------------------------------------------
|
1336
|
+
PostsControllerTest: test_should_render_table
|
1337
|
+
---------------------------------------------
|
1338
|
+
Processing by PostsController#index as HTML
|
1339
|
+
Parameters: {"template"=>"render"}
|
1340
|
+
[1m[36mPost Load (1.8ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
1341
|
+
Rendered posts/render.html.erb within layouts/application (10.1ms)
|
1342
|
+
Completed 200 OK in 33ms (Views: 30.8ms | ActiveRecord: 1.8ms)
|
1343
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1344
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35mPost Load (1.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1354
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1355
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1356
|
+
[1m[36mFixture Delete (2.3ms)[0m [1mDELETE FROM "posts"[0m
|
1357
|
+
[1m[35mFixture Insert (0.6ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1359
|
+
[1m[35m (3.1ms)[0m commit transaction
|
1360
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1361
|
+
---------------------------------------------------
|
1362
|
+
PostsControllerTest: test_should_render_empty_table
|
1363
|
+
---------------------------------------------------
|
1364
|
+
Processing by PostsController#index as HTML
|
1365
|
+
Parameters: {"template"=>"empty"}
|
1366
|
+
[1m[35mPost Load (1.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1370
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1371
|
+
---------------------------------------------
|
1372
|
+
PostsControllerTest: test_should_render_table
|
1373
|
+
---------------------------------------------
|
1374
|
+
Processing by PostsController#index as HTML
|
1375
|
+
Parameters: {"template"=>"render"}
|
1376
|
+
[1m[36mPost Load (2.3ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
1377
|
+
Rendered posts/render.html.erb within layouts/application (14.0ms)
|
1378
|
+
Completed 200 OK in 35ms (Views: 31.5ms | ActiveRecord: 2.3ms)
|
1379
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1380
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35mPost Load (1.9ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1390
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1391
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1392
|
+
[1m[36mFixture Delete (2.5ms)[0m [1mDELETE FROM "posts"[0m
|
1393
|
+
[1m[35mFixture Insert (0.5ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1395
|
+
[1m[35m (3.1ms)[0m commit transaction
|
1396
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1397
|
+
---------------------------------------------
|
1398
|
+
PostsControllerTest: test_should_render_table
|
1399
|
+
---------------------------------------------
|
1400
|
+
Processing by PostsController#index as HTML
|
1401
|
+
Parameters: {"template"=>"render"}
|
1402
|
+
[1m[35mPost Load (1.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1406
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1407
|
+
---------------------------------------------------
|
1408
|
+
PostsControllerTest: test_should_render_empty_table
|
1409
|
+
---------------------------------------------------
|
1410
|
+
Processing by PostsController#index as HTML
|
1411
|
+
Parameters: {"template"=>"empty"}
|
1412
|
+
[1m[36mPost Load (1.7ms)[0m [1mSELECT "posts".* FROM "posts" WHERE (0 = 1)[0m
|
1413
|
+
Rendered posts/empty.html.erb within layouts/application (3.4ms)
|
1414
|
+
Completed 200 OK in 23ms (Views: 20.8ms | ActiveRecord: 1.7ms)
|
1415
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1416
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35mPost Load (1.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1426
|
+
[1m[36mActiveRecord::SchemaMigration Load (3.0ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1427
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1428
|
+
[1m[36mFixture Delete (4.3ms)[0m [1mDELETE FROM "posts"[0m
|
1429
|
+
[1m[35mFixture Insert (1.2ms)[0m 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
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT 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)[0m
|
1431
|
+
[1m[35m (35.6ms)[0m commit transaction
|
1432
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1433
|
+
---------------------------------------------
|
1434
|
+
PostsControllerTest: test_should_render_table
|
1435
|
+
---------------------------------------------
|
1436
|
+
Processing by PostsController#index as HTML
|
1437
|
+
Parameters: {"template"=>"render"}
|
1438
|
+
[1m[35mPost Load (2.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1442
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1443
|
+
---------------------------------------------------
|
1444
|
+
PostsControllerTest: test_should_render_empty_table
|
1445
|
+
---------------------------------------------------
|
1446
|
+
Processing by PostsController#index as HTML
|
1447
|
+
Parameters: {"template"=>"empty"}
|
1448
|
+
[1m[36mPost Load (2.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE (0 = 1)[0m
|
1449
|
+
Rendered posts/empty.html.erb within layouts/application (4.9ms)
|
1450
|
+
Completed 200 OK in 41ms (Views: 38.5ms | ActiveRecord: 2.6ms)
|
1451
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1452
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35mPost Load (2.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1462
|
+
[1m[36mActiveRecord::SchemaMigration Load (3.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1463
|
+
[1m[35m (0.2ms)[0m begin transaction
|
1464
|
+
[1m[36mFixture Delete (15.2ms)[0m [1mDELETE FROM "posts"[0m
|
1465
|
+
[1m[35mFixture Insert (1.3ms)[0m 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
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT 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)[0m
|
1467
|
+
[1m[35m (34.0ms)[0m commit transaction
|
1468
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1469
|
+
---------------------------------------------
|
1470
|
+
PostsControllerTest: test_should_render_table
|
1471
|
+
---------------------------------------------
|
1472
|
+
Processing by PostsController#index as HTML
|
1473
|
+
Parameters: {"template"=>"render"}
|
1474
|
+
[1m[35mPost Load (2.9ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1478
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36mPost Load (2.4ms)[0m [1mSELECT "posts".* FROM "posts"[0m
|
1485
|
+
Rendered posts/defaults.html.erb within layouts/application (4.8ms)
|
1486
|
+
Completed 200 OK in 28ms (Views: 25.0ms | ActiveRecord: 2.4ms)
|
1487
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1488
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1489
|
+
---------------------------------------------------
|
1490
|
+
PostsControllerTest: test_should_render_empty_table
|
1491
|
+
---------------------------------------------------
|
1492
|
+
Processing by PostsController#index as HTML
|
1493
|
+
Parameters: {"template"=>"empty"}
|
1494
|
+
[1m[35mPost Load (2.6ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
@@ -0,0 +1 @@
|
|
1
|
+
"%֧�NTZq�בH�L��#p3��Jg!��)
|
Binary file
|
@@ -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
|
Binary file
|
Binary file
|
@@ -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 @@
|
|
1
|
+
I"�file:///media/sf_shared/simple_table_for/test/dummy/app/assets/javascripts/application.js?type=application/javascript&id=71d2c5d14534664a817e6ddac70f6611c7629599cee268cfbd243da48201a4f1:ET
|
Binary file
|
@@ -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���ƫ˥��)|�~���(���
|
Binary file
|
@@ -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
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
"%Ѱč@�����6H�uZoX�Z�gbh0W��V
|
data/test/test_helper.rb
CHANGED
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.
|
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-
|
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
|