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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/clark_kent/application.js +18291 -0
- data/app/assets/stylesheets/clark_kent/application.css +21 -0
- data/app/controllers/clark_kent/report_columns_controller.rb +6 -3
- data/app/controllers/clark_kent/report_emails_controller.rb +7 -3
- data/app/controllers/clark_kent/report_filters_controller.rb +12 -4
- data/app/controllers/clark_kent/reports_controller.rb +21 -8
- data/app/controllers/clark_kent/user_report_emails_controller.rb +7 -3
- data/app/models/clark_kent/cloneable.rb +18 -0
- data/app/models/clark_kent/date_filter_option.rb +7 -0
- data/app/models/clark_kent/number_filter_option.rb +7 -0
- data/app/models/clark_kent/object_filter_option.rb +7 -0
- data/app/models/clark_kent/report.rb +49 -6
- data/app/models/clark_kent/report_column.rb +31 -4
- data/app/models/clark_kent/report_config.rb +24 -0
- data/app/models/clark_kent/report_date_filter.rb +0 -2
- data/app/models/clark_kent/report_email.rb +1 -2
- data/app/models/clark_kent/report_filter.rb +1 -2
- data/app/models/clark_kent/report_filter_error.rb +4 -0
- data/app/models/clark_kent/report_filter_option.rb +5 -9
- data/app/models/clark_kent/report_number_filter.rb +0 -3
- data/app/models/clark_kent/reportable.rb +28 -3
- data/app/models/clark_kent/resource_option.rb +10 -0
- data/app/models/clark_kent/sharing_scope_kind.rb +38 -4
- data/app/models/clark_kent/string_filter_option.rb +7 -0
- data/app/models/clark_kent/user_report_email.rb +2 -4
- data/app/views/clark_kent/report_columns/_form.html.erb +1 -1
- data/app/views/clark_kent/reports/_edit.html.erb +8 -4
- data/app/views/clark_kent/reports/show.html.erb +5 -0
- data/db/migrate/20131226170042_create_clark_kent_report_filter.rb +17 -0
- data/db/migrate/20131226170112_create_clark_kent_report_column.rb +12 -0
- data/db/migrate/20140114010048_create_clark_kent_report_emails.rb +9 -0
- data/db/migrate/20140129051754_create_clark_kent_user_report_email.rb +7 -0
- data/db/migrate/20150304233739_create_clark_kent_reports.rb +2 -0
- data/lib/clark_kent/version.rb +1 -1
- data/lib/clark_kent.rb +4 -2
- data/test/_print_report.html.erb_spec.rb +32 -0
- data/test/controllers/clark_kent/reports_controller_test.rb +35 -12
- data/test/dummy/app/controllers/application_controller.rb +12 -0
- data/test/dummy/app/models/department.rb +4 -0
- data/test/dummy/app/models/order.rb +6 -0
- data/test/dummy/app/models/reporting/order.rb +54 -0
- data/test/dummy/app/models/user.rb +9 -0
- data/test/dummy/app/views/layouts/application.html.erb +5 -2
- data/test/dummy/config/initializers/zz_clark_kent.rb +11 -0
- data/test/dummy/config/routes.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20150309232850_create_orders.rb +10 -0
- data/test/dummy/db/migrate/20150309232855_create_users.rb +9 -0
- data/test/dummy/db/migrate/20150310143940_create_departments.rb +8 -0
- data/test/dummy/db/migrate/20150313144011_create_clark_kent_report_filter.clark_kent.rb +18 -0
- data/test/dummy/db/migrate/20150313144012_create_clark_kent_report_column.clark_kent.rb +13 -0
- data/test/dummy/db/migrate/20150313144013_create_clark_kent_report_emails.clark_kent.rb +10 -0
- data/test/dummy/db/migrate/20150313144014_create_clark_kent_user_report_email.clark_kent.rb +8 -0
- data/test/dummy/db/migrate/20150313144015_create_clark_kent_reports.clark_kent.rb +15 -0
- data/test/dummy/db/schema.rb +61 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +18038 -0
- data/test/dummy/log/test.log +14137 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0a5b3da98f8307d16bc302a1f7206591 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0a9995208f1340e4b34008cbd5b73c64 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0ec37c0a58c1be93659732a3efc73581 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0fd54fd98cd2fa0085b77e6743046927 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8aa37926d964a9eb59cf9b940e4fe2f4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ebe8eac74b8e6016fd44b19e6e708e61 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0a5b3da98f8307d16bc302a1f7206591 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0a9995208f1340e4b34008cbd5b73c64 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0ec37c0a58c1be93659732a3efc73581 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0fd54fd98cd2fa0085b77e6743046927 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/60fb63be4cad769d9adc90c4c5501c67 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8aa37926d964a9eb59cf9b940e4fe2f4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/92058832b745b88c29a75bf2aad7245d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ebe8eac74b8e6016fd44b19e6e708e61 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/pids/server.pid +1 -0
- data/test/helpers/clark_kent/reports_helper_spec.rb +26 -0
- data/test/integration/navigation_test.rb +0 -2
- data/test/models/clark_kent/report_test.rb +6 -6
- data/test/support/db_utils.rb +29 -0
- data/test/test_helper.rb +7 -6
- metadata +148 -3
- data/app/assets/javascripts/clark_kent/reports.js +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8303deadcad1a6667b944d69247e9cd192edb40
|
4
|
+
data.tar.gz: 8b4bb42d2056d4afcebb56e2febef4aefaec2da6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f698513b62a065f37010bc351261d6f5d31013464e2d8265a964c844733f0e7ba2a4ad10bcff0e664a004a9ca3a33fa7082a48bb9bda82445e258e9a3189181
|
7
|
+
data.tar.gz: 5aa104bf6efd27169b091de6fefe038fd55750a52d646eadaf65e5a58ed2ea919d6bae3d15e9cb947be3929d1f206aaa358cfab01cb6eb6ba7f480a6514b2c6e
|