query_report 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/app/helpers/query_report_filter_helper.rb +0 -8
  2. data/app/helpers/query_report_link_helper.rb +9 -0
  3. data/app/views/query_report/_chart.html.erb +10 -0
  4. data/app/views/query_report/_charts.html.erb +6 -10
  5. data/app/views/query_report/_links.html.erb +2 -0
  6. data/app/views/query_report/_records.html.erb +21 -0
  7. data/app/views/query_report/_search.html.erb +7 -5
  8. data/app/views/query_report/list.html.erb +3 -32
  9. data/lib/query_report/filter.rb +44 -26
  10. data/lib/query_report/helper.rb +6 -6
  11. data/lib/query_report/version.rb +1 -1
  12. data/test/dummy/app/controllers/invoices_controller.rb +23 -18
  13. data/test/dummy/app/models/invoice.rb +2 -1
  14. data/test/dummy/app/models/user.rb +6 -1
  15. data/test/dummy/db/development.sqlite3 +0 -0
  16. data/test/dummy/db/migrate/20130622120853_create_users.rb +2 -3
  17. data/test/dummy/db/migrate/20130630132513_create_invoices.rb +3 -0
  18. data/test/dummy/db/schema.rb +7 -5
  19. data/test/dummy/db/seed.rb +14 -3
  20. data/test/dummy/log/development.log +3848 -0
  21. data/test/dummy/tmp/miniprofiler/mp_timers_1phunlrkl040xbl9ni38 +0 -0
  22. data/test/dummy/tmp/miniprofiler/mp_timers_2jj5q0umhfjgdsr3be6r +0 -0
  23. data/test/dummy/tmp/miniprofiler/mp_timers_4nme0opawv0cuju7ycln +0 -0
  24. data/test/dummy/tmp/miniprofiler/mp_timers_4x4zy2jyybfnrfctzoll +0 -0
  25. data/test/dummy/tmp/miniprofiler/mp_timers_501n5dolb96ahn8fsdeb +0 -0
  26. data/test/dummy/tmp/miniprofiler/mp_timers_50279rze1q2oyskpd2bx +0 -0
  27. data/test/dummy/tmp/miniprofiler/mp_timers_5cx1jmk7clhq7gdqu8fj +0 -0
  28. data/test/dummy/tmp/miniprofiler/mp_timers_625nhhhlou6kji64k1v8 +0 -0
  29. data/test/dummy/tmp/miniprofiler/mp_timers_8papkqyltk3r9vdbiwlx +0 -0
  30. data/test/dummy/tmp/miniprofiler/mp_timers_as4xud3puw1vxjzm8ma3 +0 -0
  31. data/test/dummy/tmp/miniprofiler/mp_timers_cuw96wvyfzku6np7dv6u +0 -0
  32. data/test/dummy/tmp/miniprofiler/mp_timers_eml2za25qr6vmokw5tda +0 -0
  33. data/test/dummy/tmp/miniprofiler/mp_timers_f1cpnb605srbgp7u5n6l +0 -0
  34. data/test/dummy/tmp/miniprofiler/mp_timers_kcb88g8t6jcdbzy4sf40 +0 -0
  35. data/test/dummy/tmp/miniprofiler/mp_timers_oziigmt85gb8ro89h2uo +0 -0
  36. data/test/dummy/tmp/miniprofiler/mp_timers_rkitlcrj5rur9vtb25yr +0 -0
  37. data/test/dummy/tmp/miniprofiler/mp_timers_s24xgsm7sihnsifjqne0 +0 -0
  38. data/test/dummy/tmp/miniprofiler/mp_timers_v4vq4inppiedkn1mxsut +0 -0
  39. data/test/dummy/tmp/miniprofiler/mp_timers_wb62iw0f860zfkjkt42d +0 -0
  40. data/test/dummy/tmp/miniprofiler/mp_timers_yb4i2uuaxhoz5hst26bj +0 -0
  41. metadata +46 -76
  42. data/test/dummy/db/test.sqlite3 +0 -0
  43. data/test/dummy/tmp/miniprofiler/mp_timers_435onnqlkhcky6yip9mj +0 -0
  44. data/test/dummy/tmp/miniprofiler/mp_timers_5a5gcp8rj2g7cjlrh11r +0 -0
  45. data/test/dummy/tmp/miniprofiler/mp_timers_5awpjfhldzcfjkeiia3p +0 -0
  46. data/test/dummy/tmp/miniprofiler/mp_timers_5n9tm06nu8wtqem8jd9s +0 -0
  47. data/test/dummy/tmp/miniprofiler/mp_timers_83yh2jf8w7ouqnuqevws +0 -0
  48. data/test/dummy/tmp/miniprofiler/mp_timers_9scoumsixeymou0wyqwf +0 -0
  49. data/test/dummy/tmp/miniprofiler/mp_timers_9xq47956uczidwr4xqs2 +0 -0
  50. data/test/dummy/tmp/miniprofiler/mp_timers_a4mj9799k6k4r6jruzj7 +0 -0
  51. data/test/dummy/tmp/miniprofiler/mp_timers_a7ev5lal7xp2xzjj2n9p +0 -0
  52. data/test/dummy/tmp/miniprofiler/mp_timers_azffwngwstpj3o7g7zaj +0 -0
  53. data/test/dummy/tmp/miniprofiler/mp_timers_bsifeckwtz6lhx8rqwgz +0 -0
  54. data/test/dummy/tmp/miniprofiler/mp_timers_c27pz5f69skbkwfrnlr5 +0 -0
  55. data/test/dummy/tmp/miniprofiler/mp_timers_c5lzifpf785aic4t3cm8 +0 -0
  56. data/test/dummy/tmp/miniprofiler/mp_timers_dbth1ye234719bbg3xjq +0 -0
  57. data/test/dummy/tmp/miniprofiler/mp_timers_ech68w7azvs6whb6s88w +0 -0
  58. data/test/dummy/tmp/miniprofiler/mp_timers_etmdhvrbbmdadc7oyw8q +0 -0
  59. data/test/dummy/tmp/miniprofiler/mp_timers_gdb6sz9j5g8pyrobpse2 +0 -0
  60. data/test/dummy/tmp/miniprofiler/mp_timers_gnj8jwxqjl0ocjfopzmt +0 -0
  61. data/test/dummy/tmp/miniprofiler/mp_timers_hzjksutah5t2nkoe5gye +0 -0
  62. data/test/dummy/tmp/miniprofiler/mp_timers_ijm30kq0c4jrpb5coyiz +0 -0
  63. data/test/dummy/tmp/miniprofiler/mp_timers_ixj6jdcp3o0pc4vzdjoo +0 -0
  64. data/test/dummy/tmp/miniprofiler/mp_timers_l2w9vljbeofwmhmxn9lv +0 -0
  65. data/test/dummy/tmp/miniprofiler/mp_timers_m0kxxiow6jlfcjulu02t +0 -0
  66. data/test/dummy/tmp/miniprofiler/mp_timers_m2ow1xy7c6tw0f4fj2co +0 -0
  67. data/test/dummy/tmp/miniprofiler/mp_timers_meafgmjq07s2xlkm4ney +0 -0
  68. data/test/dummy/tmp/miniprofiler/mp_timers_mitzsa7y0lvka04il6an +0 -0
  69. data/test/dummy/tmp/miniprofiler/mp_timers_mxejnh24sg011tpzlq7l +0 -0
  70. data/test/dummy/tmp/miniprofiler/mp_timers_nlvpu6hg03b8cue75kkc +0 -0
  71. data/test/dummy/tmp/miniprofiler/mp_timers_ns57exo8aheow6jngknj +0 -0
  72. data/test/dummy/tmp/miniprofiler/mp_timers_pq8a5s9f7o747x14bip8 +0 -0
  73. data/test/dummy/tmp/miniprofiler/mp_timers_pvxfsf8tdy3tk7twydyc +0 -0
  74. data/test/dummy/tmp/miniprofiler/mp_timers_t5zt24mkmoq4kpcvvlrp +0 -0
  75. data/test/dummy/tmp/miniprofiler/mp_timers_tesee62zyykaxw8dbmq1 +0 -0
  76. data/test/dummy/tmp/miniprofiler/mp_timers_ujpdek4jfp8flbqp7fi3 +0 -0
  77. data/test/dummy/tmp/miniprofiler/mp_timers_wbiyljqrnox89js4m0at +0 -0
  78. data/test/dummy/tmp/miniprofiler/mp_timers_ywg973w6dqfz9nuj5qio +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: query_report
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
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-08-29 00:00:00.000000000 Z
12
+ date: 2013-09-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -261,9 +261,13 @@ extra_rdoc_files: []
261
261
  files:
262
262
  - app/helpers/query_report_helper.rb
263
263
  - app/helpers/query_report_filter_helper.rb
264
+ - app/helpers/query_report_link_helper.rb
264
265
  - app/views/query_report/_charts.html.erb
265
266
  - app/views/query_report/_search.html.erb
267
+ - app/views/query_report/_links.html.erb
266
268
  - app/views/query_report/list.html.erb
269
+ - app/views/query_report/_records.html.erb
270
+ - app/views/query_report/_chart.html.erb
267
271
  - config/routes.rb
268
272
  - config/locales/query_report.yml
269
273
  - db/schema.rb
@@ -358,44 +362,27 @@ files:
358
362
  - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
359
363
  - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
360
364
  - test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124
361
- - test/dummy/tmp/miniprofiler/mp_timers_m2ow1xy7c6tw0f4fj2co
362
- - test/dummy/tmp/miniprofiler/mp_timers_t5zt24mkmoq4kpcvvlrp
363
- - test/dummy/tmp/miniprofiler/mp_timers_meafgmjq07s2xlkm4ney
364
- - test/dummy/tmp/miniprofiler/mp_timers_etmdhvrbbmdadc7oyw8q
365
- - test/dummy/tmp/miniprofiler/mp_timers_a7ev5lal7xp2xzjj2n9p
366
- - test/dummy/tmp/miniprofiler/mp_timers_c5lzifpf785aic4t3cm8
367
- - test/dummy/tmp/miniprofiler/mp_timers_m0kxxiow6jlfcjulu02t
368
- - test/dummy/tmp/miniprofiler/mp_timers_pq8a5s9f7o747x14bip8
369
- - test/dummy/tmp/miniprofiler/mp_timers_a4mj9799k6k4r6jruzj7
370
- - test/dummy/tmp/miniprofiler/mp_timers_mxejnh24sg011tpzlq7l
371
- - test/dummy/tmp/miniprofiler/mp_timers_tesee62zyykaxw8dbmq1
372
- - test/dummy/tmp/miniprofiler/mp_timers_azffwngwstpj3o7g7zaj
373
- - test/dummy/tmp/miniprofiler/mp_timers_dbth1ye234719bbg3xjq
374
- - test/dummy/tmp/miniprofiler/mp_timers_pvxfsf8tdy3tk7twydyc
375
- - test/dummy/tmp/miniprofiler/mp_timers_bsifeckwtz6lhx8rqwgz
376
- - test/dummy/tmp/miniprofiler/mp_timers_5awpjfhldzcfjkeiia3p
377
- - test/dummy/tmp/miniprofiler/mp_timers_wbiyljqrnox89js4m0at
378
- - test/dummy/tmp/miniprofiler/mp_timers_5a5gcp8rj2g7cjlrh11r
379
- - test/dummy/tmp/miniprofiler/mp_timers_ns57exo8aheow6jngknj
380
- - test/dummy/tmp/miniprofiler/mp_timers_ixj6jdcp3o0pc4vzdjoo
381
- - test/dummy/tmp/miniprofiler/mp_timers_ijm30kq0c4jrpb5coyiz
365
+ - test/dummy/tmp/miniprofiler/mp_timers_yb4i2uuaxhoz5hst26bj
366
+ - test/dummy/tmp/miniprofiler/mp_timers_oziigmt85gb8ro89h2uo
367
+ - test/dummy/tmp/miniprofiler/mp_timers_4x4zy2jyybfnrfctzoll
368
+ - test/dummy/tmp/miniprofiler/mp_timers_kcb88g8t6jcdbzy4sf40
369
+ - test/dummy/tmp/miniprofiler/mp_timers_50279rze1q2oyskpd2bx
370
+ - test/dummy/tmp/miniprofiler/mp_timers_2jj5q0umhfjgdsr3be6r
371
+ - test/dummy/tmp/miniprofiler/mp_timers_625nhhhlou6kji64k1v8
372
+ - test/dummy/tmp/miniprofiler/mp_timers_5cx1jmk7clhq7gdqu8fj
373
+ - test/dummy/tmp/miniprofiler/mp_timers_rkitlcrj5rur9vtb25yr
374
+ - test/dummy/tmp/miniprofiler/mp_timers_501n5dolb96ahn8fsdeb
375
+ - test/dummy/tmp/miniprofiler/mp_timers_eml2za25qr6vmokw5tda
376
+ - test/dummy/tmp/miniprofiler/mp_timers_4nme0opawv0cuju7ycln
377
+ - test/dummy/tmp/miniprofiler/mp_timers_cuw96wvyfzku6np7dv6u
382
378
  - test/dummy/tmp/miniprofiler/mp_views_127.0.0.1
383
- - test/dummy/tmp/miniprofiler/mp_timers_nlvpu6hg03b8cue75kkc
384
- - test/dummy/tmp/miniprofiler/mp_timers_c27pz5f69skbkwfrnlr5
385
- - test/dummy/tmp/miniprofiler/mp_timers_l2w9vljbeofwmhmxn9lv
386
- - test/dummy/tmp/miniprofiler/mp_timers_hzjksutah5t2nkoe5gye
387
- - test/dummy/tmp/miniprofiler/mp_timers_ech68w7azvs6whb6s88w
388
- - test/dummy/tmp/miniprofiler/mp_timers_ujpdek4jfp8flbqp7fi3
389
- - test/dummy/tmp/miniprofiler/mp_timers_gdb6sz9j5g8pyrobpse2
390
- - test/dummy/tmp/miniprofiler/mp_timers_83yh2jf8w7ouqnuqevws
391
- - test/dummy/tmp/miniprofiler/mp_timers_9scoumsixeymou0wyqwf
392
- - test/dummy/tmp/miniprofiler/mp_timers_9xq47956uczidwr4xqs2
393
- - test/dummy/tmp/miniprofiler/mp_timers_5n9tm06nu8wtqem8jd9s
394
- - test/dummy/tmp/miniprofiler/mp_timers_mitzsa7y0lvka04il6an
395
- - test/dummy/tmp/miniprofiler/mp_timers_435onnqlkhcky6yip9mj
396
- - test/dummy/tmp/miniprofiler/mp_timers_ywg973w6dqfz9nuj5qio
397
- - test/dummy/tmp/miniprofiler/mp_timers_gnj8jwxqjl0ocjfopzmt
398
- - test/dummy/db/test.sqlite3
379
+ - test/dummy/tmp/miniprofiler/mp_timers_8papkqyltk3r9vdbiwlx
380
+ - test/dummy/tmp/miniprofiler/mp_timers_1phunlrkl040xbl9ni38
381
+ - test/dummy/tmp/miniprofiler/mp_timers_wb62iw0f860zfkjkt42d
382
+ - test/dummy/tmp/miniprofiler/mp_timers_s24xgsm7sihnsifjqne0
383
+ - test/dummy/tmp/miniprofiler/mp_timers_f1cpnb605srbgp7u5n6l
384
+ - test/dummy/tmp/miniprofiler/mp_timers_v4vq4inppiedkn1mxsut
385
+ - test/dummy/tmp/miniprofiler/mp_timers_as4xud3puw1vxjzm8ma3
399
386
  - test/dummy/db/migrate/20130630132513_create_invoices.rb
400
387
  - test/dummy/db/migrate/20130622120853_create_users.rb
401
388
  - test/dummy/db/schema.rb
@@ -505,44 +492,27 @@ test_files:
505
492
  - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
506
493
  - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
507
494
  - test/dummy/tmp/cache/assets/D46/650/sprockets%2Ff56253b5f374fff1a33fbbc9881c9124
508
- - test/dummy/tmp/miniprofiler/mp_timers_m2ow1xy7c6tw0f4fj2co
509
- - test/dummy/tmp/miniprofiler/mp_timers_t5zt24mkmoq4kpcvvlrp
510
- - test/dummy/tmp/miniprofiler/mp_timers_meafgmjq07s2xlkm4ney
511
- - test/dummy/tmp/miniprofiler/mp_timers_etmdhvrbbmdadc7oyw8q
512
- - test/dummy/tmp/miniprofiler/mp_timers_a7ev5lal7xp2xzjj2n9p
513
- - test/dummy/tmp/miniprofiler/mp_timers_c5lzifpf785aic4t3cm8
514
- - test/dummy/tmp/miniprofiler/mp_timers_m0kxxiow6jlfcjulu02t
515
- - test/dummy/tmp/miniprofiler/mp_timers_pq8a5s9f7o747x14bip8
516
- - test/dummy/tmp/miniprofiler/mp_timers_a4mj9799k6k4r6jruzj7
517
- - test/dummy/tmp/miniprofiler/mp_timers_mxejnh24sg011tpzlq7l
518
- - test/dummy/tmp/miniprofiler/mp_timers_tesee62zyykaxw8dbmq1
519
- - test/dummy/tmp/miniprofiler/mp_timers_azffwngwstpj3o7g7zaj
520
- - test/dummy/tmp/miniprofiler/mp_timers_dbth1ye234719bbg3xjq
521
- - test/dummy/tmp/miniprofiler/mp_timers_pvxfsf8tdy3tk7twydyc
522
- - test/dummy/tmp/miniprofiler/mp_timers_bsifeckwtz6lhx8rqwgz
523
- - test/dummy/tmp/miniprofiler/mp_timers_5awpjfhldzcfjkeiia3p
524
- - test/dummy/tmp/miniprofiler/mp_timers_wbiyljqrnox89js4m0at
525
- - test/dummy/tmp/miniprofiler/mp_timers_5a5gcp8rj2g7cjlrh11r
526
- - test/dummy/tmp/miniprofiler/mp_timers_ns57exo8aheow6jngknj
527
- - test/dummy/tmp/miniprofiler/mp_timers_ixj6jdcp3o0pc4vzdjoo
528
- - test/dummy/tmp/miniprofiler/mp_timers_ijm30kq0c4jrpb5coyiz
495
+ - test/dummy/tmp/miniprofiler/mp_timers_yb4i2uuaxhoz5hst26bj
496
+ - test/dummy/tmp/miniprofiler/mp_timers_oziigmt85gb8ro89h2uo
497
+ - test/dummy/tmp/miniprofiler/mp_timers_4x4zy2jyybfnrfctzoll
498
+ - test/dummy/tmp/miniprofiler/mp_timers_kcb88g8t6jcdbzy4sf40
499
+ - test/dummy/tmp/miniprofiler/mp_timers_50279rze1q2oyskpd2bx
500
+ - test/dummy/tmp/miniprofiler/mp_timers_2jj5q0umhfjgdsr3be6r
501
+ - test/dummy/tmp/miniprofiler/mp_timers_625nhhhlou6kji64k1v8
502
+ - test/dummy/tmp/miniprofiler/mp_timers_5cx1jmk7clhq7gdqu8fj
503
+ - test/dummy/tmp/miniprofiler/mp_timers_rkitlcrj5rur9vtb25yr
504
+ - test/dummy/tmp/miniprofiler/mp_timers_501n5dolb96ahn8fsdeb
505
+ - test/dummy/tmp/miniprofiler/mp_timers_eml2za25qr6vmokw5tda
506
+ - test/dummy/tmp/miniprofiler/mp_timers_4nme0opawv0cuju7ycln
507
+ - test/dummy/tmp/miniprofiler/mp_timers_cuw96wvyfzku6np7dv6u
529
508
  - test/dummy/tmp/miniprofiler/mp_views_127.0.0.1
530
- - test/dummy/tmp/miniprofiler/mp_timers_nlvpu6hg03b8cue75kkc
531
- - test/dummy/tmp/miniprofiler/mp_timers_c27pz5f69skbkwfrnlr5
532
- - test/dummy/tmp/miniprofiler/mp_timers_l2w9vljbeofwmhmxn9lv
533
- - test/dummy/tmp/miniprofiler/mp_timers_hzjksutah5t2nkoe5gye
534
- - test/dummy/tmp/miniprofiler/mp_timers_ech68w7azvs6whb6s88w
535
- - test/dummy/tmp/miniprofiler/mp_timers_ujpdek4jfp8flbqp7fi3
536
- - test/dummy/tmp/miniprofiler/mp_timers_gdb6sz9j5g8pyrobpse2
537
- - test/dummy/tmp/miniprofiler/mp_timers_83yh2jf8w7ouqnuqevws
538
- - test/dummy/tmp/miniprofiler/mp_timers_9scoumsixeymou0wyqwf
539
- - test/dummy/tmp/miniprofiler/mp_timers_9xq47956uczidwr4xqs2
540
- - test/dummy/tmp/miniprofiler/mp_timers_5n9tm06nu8wtqem8jd9s
541
- - test/dummy/tmp/miniprofiler/mp_timers_mitzsa7y0lvka04il6an
542
- - test/dummy/tmp/miniprofiler/mp_timers_435onnqlkhcky6yip9mj
543
- - test/dummy/tmp/miniprofiler/mp_timers_ywg973w6dqfz9nuj5qio
544
- - test/dummy/tmp/miniprofiler/mp_timers_gnj8jwxqjl0ocjfopzmt
545
- - test/dummy/db/test.sqlite3
509
+ - test/dummy/tmp/miniprofiler/mp_timers_8papkqyltk3r9vdbiwlx
510
+ - test/dummy/tmp/miniprofiler/mp_timers_1phunlrkl040xbl9ni38
511
+ - test/dummy/tmp/miniprofiler/mp_timers_wb62iw0f860zfkjkt42d
512
+ - test/dummy/tmp/miniprofiler/mp_timers_s24xgsm7sihnsifjqne0
513
+ - test/dummy/tmp/miniprofiler/mp_timers_f1cpnb605srbgp7u5n6l
514
+ - test/dummy/tmp/miniprofiler/mp_timers_v4vq4inppiedkn1mxsut
515
+ - test/dummy/tmp/miniprofiler/mp_timers_as4xud3puw1vxjzm8ma3
546
516
  - test/dummy/db/migrate/20130630132513_create_invoices.rb
547
517
  - test/dummy/db/migrate/20130622120853_create_users.rb
548
518
  - test/dummy/db/schema.rb
File without changes