clark_kent 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/clark_kent/application.js +18291 -0
  3. data/app/assets/stylesheets/clark_kent/application.css +21 -0
  4. data/app/controllers/clark_kent/report_columns_controller.rb +6 -3
  5. data/app/controllers/clark_kent/report_emails_controller.rb +7 -3
  6. data/app/controllers/clark_kent/report_filters_controller.rb +12 -4
  7. data/app/controllers/clark_kent/reports_controller.rb +21 -8
  8. data/app/controllers/clark_kent/user_report_emails_controller.rb +7 -3
  9. data/app/models/clark_kent/cloneable.rb +18 -0
  10. data/app/models/clark_kent/date_filter_option.rb +7 -0
  11. data/app/models/clark_kent/number_filter_option.rb +7 -0
  12. data/app/models/clark_kent/object_filter_option.rb +7 -0
  13. data/app/models/clark_kent/report.rb +49 -6
  14. data/app/models/clark_kent/report_column.rb +31 -4
  15. data/app/models/clark_kent/report_config.rb +24 -0
  16. data/app/models/clark_kent/report_date_filter.rb +0 -2
  17. data/app/models/clark_kent/report_email.rb +1 -2
  18. data/app/models/clark_kent/report_filter.rb +1 -2
  19. data/app/models/clark_kent/report_filter_error.rb +4 -0
  20. data/app/models/clark_kent/report_filter_option.rb +5 -9
  21. data/app/models/clark_kent/report_number_filter.rb +0 -3
  22. data/app/models/clark_kent/reportable.rb +28 -3
  23. data/app/models/clark_kent/resource_option.rb +10 -0
  24. data/app/models/clark_kent/sharing_scope_kind.rb +38 -4
  25. data/app/models/clark_kent/string_filter_option.rb +7 -0
  26. data/app/models/clark_kent/user_report_email.rb +2 -4
  27. data/app/views/clark_kent/report_columns/_form.html.erb +1 -1
  28. data/app/views/clark_kent/reports/_edit.html.erb +8 -4
  29. data/app/views/clark_kent/reports/show.html.erb +5 -0
  30. data/db/migrate/20131226170042_create_clark_kent_report_filter.rb +17 -0
  31. data/db/migrate/20131226170112_create_clark_kent_report_column.rb +12 -0
  32. data/db/migrate/20140114010048_create_clark_kent_report_emails.rb +9 -0
  33. data/db/migrate/20140129051754_create_clark_kent_user_report_email.rb +7 -0
  34. data/db/migrate/20150304233739_create_clark_kent_reports.rb +2 -0
  35. data/lib/clark_kent/version.rb +1 -1
  36. data/lib/clark_kent.rb +4 -2
  37. data/test/_print_report.html.erb_spec.rb +32 -0
  38. data/test/controllers/clark_kent/reports_controller_test.rb +35 -12
  39. data/test/dummy/app/controllers/application_controller.rb +12 -0
  40. data/test/dummy/app/models/department.rb +4 -0
  41. data/test/dummy/app/models/order.rb +6 -0
  42. data/test/dummy/app/models/reporting/order.rb +54 -0
  43. data/test/dummy/app/models/user.rb +9 -0
  44. data/test/dummy/app/views/layouts/application.html.erb +5 -2
  45. data/test/dummy/config/initializers/zz_clark_kent.rb +11 -0
  46. data/test/dummy/config/routes.rb +1 -1
  47. data/test/dummy/db/development.sqlite3 +0 -0
  48. data/test/dummy/db/migrate/20150309232850_create_orders.rb +10 -0
  49. data/test/dummy/db/migrate/20150309232855_create_users.rb +9 -0
  50. data/test/dummy/db/migrate/20150310143940_create_departments.rb +8 -0
  51. data/test/dummy/db/migrate/20150313144011_create_clark_kent_report_filter.clark_kent.rb +18 -0
  52. data/test/dummy/db/migrate/20150313144012_create_clark_kent_report_column.clark_kent.rb +13 -0
  53. data/test/dummy/db/migrate/20150313144013_create_clark_kent_report_emails.clark_kent.rb +10 -0
  54. data/test/dummy/db/migrate/20150313144014_create_clark_kent_user_report_email.clark_kent.rb +8 -0
  55. data/test/dummy/db/migrate/20150313144015_create_clark_kent_reports.clark_kent.rb +15 -0
  56. data/test/dummy/db/schema.rb +61 -1
  57. data/test/dummy/db/test.sqlite3 +0 -0
  58. data/test/dummy/log/development.log +18038 -0
  59. data/test/dummy/log/test.log +14137 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/0a5b3da98f8307d16bc302a1f7206591 +0 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/0a9995208f1340e4b34008cbd5b73c64 +0 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/0ec37c0a58c1be93659732a3efc73581 +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/0fd54fd98cd2fa0085b77e6743046927 +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/8aa37926d964a9eb59cf9b940e4fe2f4 +0 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/ebe8eac74b8e6016fd44b19e6e708e61 +0 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  72. data/test/dummy/tmp/cache/assets/test/sprockets/0a5b3da98f8307d16bc302a1f7206591 +0 -0
  73. data/test/dummy/tmp/cache/assets/test/sprockets/0a9995208f1340e4b34008cbd5b73c64 +0 -0
  74. data/test/dummy/tmp/cache/assets/test/sprockets/0ec37c0a58c1be93659732a3efc73581 +0 -0
  75. data/test/dummy/tmp/cache/assets/test/sprockets/0fd54fd98cd2fa0085b77e6743046927 +0 -0
  76. data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  77. data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  78. data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  79. data/test/dummy/tmp/cache/assets/test/sprockets/60fb63be4cad769d9adc90c4c5501c67 +0 -0
  80. data/test/dummy/tmp/cache/assets/test/sprockets/8aa37926d964a9eb59cf9b940e4fe2f4 +0 -0
  81. data/test/dummy/tmp/cache/assets/test/sprockets/92058832b745b88c29a75bf2aad7245d +0 -0
  82. data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  83. data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  84. data/test/dummy/tmp/cache/assets/test/sprockets/ebe8eac74b8e6016fd44b19e6e708e61 +0 -0
  85. data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  86. data/test/dummy/tmp/pids/server.pid +1 -0
  87. data/test/helpers/clark_kent/reports_helper_spec.rb +26 -0
  88. data/test/integration/navigation_test.rb +0 -2
  89. data/test/models/clark_kent/report_test.rb +6 -6
  90. data/test/support/db_utils.rb +29 -0
  91. data/test/test_helper.rb +7 -6
  92. metadata +148 -3
  93. data/app/assets/javascripts/clark_kent/reports.js +0 -10

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.