clark_kent 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/mailers/clark_kent/report_mailer.rb +8 -0
- data/app/models/clark_kent/report_email.rb +2 -0
- data/app/views/clark_kent/report_mailer/report_error.html.erb +2 -0
- data/lib/clark_kent/version.rb +1 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +606 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/9sCrVoj9qhqt_V0WjXl7Qrfyk6Yj0wZ--Qe8QIQaKMA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/CN4hkBfh3U1M4HdS4Gxtv-G6Jy6IFSyY1K6m3YU54kI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gc5BYe1W1Qoof0C8wnM-bBlZbFGNhy7KyY6t3ZHO9R8.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/HdDE_vIJMvCSKUX3p69u0kJ9pyOZYYRxLWE6ypcRNfE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/JbcAACpMmVlknG104wCtLY73aNeelGB5NNPiF4uDf5s.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/NReZtOL8LvKjGqEd3PTDkWDctVxTf6ZWkTLBTsxS1bQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/UO63Y5t3PvuucNUEfqej9v1YQNQAJMA-pf_xiBye5vo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/UwMFS8rJmeOVTOPUAsy5rBsPqe-mwJgvTSCg-8xwSK8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZXgaX5xc809c6xwGetz1yYwe2rZKM1fsyl1oTYISqoE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ce6jtr1ba-rbVUTM82edB31tw2mkJcqfWIFC7VbG01Q.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/iUrrD_f10IsEULQpMhrxJYB3kA5tY5QowgfIUzmpcUU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/rjboaZwWGn7Bqq7K6UP6Jwuc2YNOuzBX9QXIN0pwGIU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/rjoHNgBPuY_S9pxfkayG1m1T78ORU3-QsGGKMzzF08c.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/tPF6H9NRpGO3whu2y5_e_R_1EACKdCwu5437D83qJT0.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/xFczLyKOWKQkPCm5mMnUI_uZ9FKhm9SuzebYHQ8G4_M.cache +1 -0
- data/test/models/clark_kent/report_email_test.rb +4 -3
- metadata +27 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c0f34bd0fdc6b128ebe715bf3a776196c9b17ff
|
4
|
+
data.tar.gz: a783a483820362d4c85d82dcea59d8713b26e5d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9721997e8d8410f2842d96918497bb63e287c38f142bde9eb0a11eb8af00cba3e1137c305a69be433453e49d9e78aa3df2ba5557eea275f589b6bc8023aaa295
|
7
|
+
data.tar.gz: 182fc56855b6f3f107062840a937d65151665d98d4d8df765cbae0488f3611c22baac0ad024a7c76f51fb8c646144849fbf619fc756c3a23aa5cccd6c039eae6
|
@@ -11,5 +11,13 @@ module ClarkKent
|
|
11
11
|
mail(to: @recipient_email, subject: @subject)
|
12
12
|
end
|
13
13
|
|
14
|
+
def report_error(report_id, user_id, error_message)
|
15
|
+
@report = Report.find(report_id)
|
16
|
+
@user = User.find(user_id)
|
17
|
+
@recipient_email = @user.email
|
18
|
+
@error_message = error_message
|
19
|
+
@subject = "Your report #{@report.name} has a problem"
|
20
|
+
mail(to: @recipient_email, subject: @subject)
|
21
|
+
end
|
14
22
|
end
|
15
23
|
end
|
@@ -52,6 +52,8 @@ module ClarkKent
|
|
52
52
|
end
|
53
53
|
report_download_url = ClarkKent::Report.send_report_to_s3(self.id, params)
|
54
54
|
ClarkKent::ReportMailer.report_run(self.report_id, user_id, report_download_url).deliver
|
55
|
+
rescue ClarkKent::ReportFilterError => e
|
56
|
+
ClarkKent::ReportMailer.report_error(self.report_id, user_id, e.message).deliver
|
55
57
|
end
|
56
58
|
|
57
59
|
def report_filter_params
|
data/lib/clark_kent/version.rb
CHANGED
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -42035,3 +42035,609 @@ ClarkKent::ReportTest: test_can't_save_without_a_sharing_scope_id_if_the_sharing
|
|
42035
42035
|
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42036
42036
|
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
42037
42037
|
[1m[35m (0.1ms)[0m rollback transaction
|
42038
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
42039
|
+
[1m[35m (1.2ms)[0m CREATE TABLE "clark_kent_report_columns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "column_name" varchar, "column_order" integer, "report_sort" varchar, "summary_method" varchar)
|
42040
|
+
[1m[36m (0.4ms)[0m [1mselect sqlite_version(*)[0m
|
42041
|
+
[1m[35m (1.1ms)[0m CREATE INDEX "index_clark_kent_report_columns_on_report_id" ON "clark_kent_report_columns" ("report_id")
|
42042
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "clark_kent_report_emails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "report_id" integer, "when_to_send" varchar, "name" varchar) [0m
|
42043
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "clark_kent_report_filters" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "filterable_id" integer, "filterable_type" varchar DEFAULT 'ClarkKent::Report', "string" varchar DEFAULT 'ClarkKent::Report', "filter_name" varchar, "filter_value" varchar, "type" varchar, "duration" varchar, "kind_of_day" varchar, "offset" varchar, "created_at" datetime, "updated_at" datetime)
|
42044
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_clark_kent_report_filters_on_filterable_id" ON "clark_kent_report_filters" ("filterable_id")[0m
|
42045
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
42046
|
+
FROM sqlite_master
|
42047
|
+
WHERE name='index_clark_kent_report_filters_on_filterable_id' AND type='index'
|
42048
|
+
UNION ALL
|
42049
|
+
SELECT sql
|
42050
|
+
FROM sqlite_temp_master
|
42051
|
+
WHERE name='index_clark_kent_report_filters_on_filterable_id' AND type='index'
|
42052
|
+
|
42053
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_clark_kent_report_filters_on_filterable_type" ON "clark_kent_report_filters" ("filterable_type")[0m
|
42054
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "clark_kent_reports" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "resource_type" varchar, "sharing_scope_type" varchar, "sharing_scope_id" integer, "created_at" datetime, "updated_at" datetime)
|
42055
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_clark_kent_reports_on_sharing_scope_id" ON "clark_kent_reports" ("sharing_scope_id")[0m
|
42056
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
42057
|
+
FROM sqlite_master
|
42058
|
+
WHERE name='index_clark_kent_reports_on_sharing_scope_id' AND type='index'
|
42059
|
+
UNION ALL
|
42060
|
+
SELECT sql
|
42061
|
+
FROM sqlite_temp_master
|
42062
|
+
WHERE name='index_clark_kent_reports_on_sharing_scope_id' AND type='index'
|
42063
|
+
|
42064
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_clark_kent_reports_on_sharing_scope_type" ON "clark_kent_reports" ("sharing_scope_type")[0m
|
42065
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "clark_kent_user_report_emails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "report_email_id" integer)
|
42066
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "departments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar) [0m
|
42067
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "amount" integer, "description" varchar, "created_at" datetime, "updated_at" datetime)
|
42068
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "age" integer, "department_id" integer) [0m
|
42069
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
42070
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
42071
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
42072
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150313144015')[0m
|
42073
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131226170042')
|
42074
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131226170112')[0m
|
42075
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140114010048')
|
42076
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140129051754')[0m
|
42077
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150304233739')
|
42078
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42079
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "clark_kent_reports" ("resource_type", "created_at", "updated_at") VALUES (?, ?, ?) [["resource_type", "Order"], ["created_at", "2016-11-18 22:33:38.511213"], ["updated_at", "2016-11-18 22:33:38.511213"]]
|
42080
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
42081
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42082
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "clark_kent_report_columns" ("column_name", "column_order", "report_id") VALUES (?, ?, ?)[0m [["column_name", "user_name"], ["column_order", 1], ["report_id", 1]]
|
42083
|
+
[1m[35m (0.8ms)[0m commit transaction
|
42084
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42085
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "clark_kent_report_columns" ("column_name", "column_order", "report_id") VALUES (?, ?, ?) [["column_name", "id"], ["column_order", 2], ["report_id", 1]]
|
42086
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
42087
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42088
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "clark_kent_report_columns" ("column_name", "column_order", "report_id") VALUES (?, ?, ?)[0m [["column_name", "amount"], ["column_order", 3], ["report_id", 1]]
|
42089
|
+
[1m[35m (0.7ms)[0m commit transaction
|
42090
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42091
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "clark_kent_report_columns" ("column_name", "column_order", "report_id") VALUES (?, ?, ?) [["column_name", "description"], ["column_order", 4], ["report_id", 1]]
|
42092
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
42093
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42094
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "departments" ("name") VALUES (?)[0m [["name", "silly walks"]]
|
42095
|
+
[1m[35m (0.7ms)[0m commit transaction
|
42096
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42097
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("name", "email", "department_id") VALUES (?, ?, ?) [["name", "Michael Hedges"], ["email", "taproot@gmail.com"], ["department_id", 1]]
|
42098
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
42099
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42100
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "orders" ("user_id", "description", "amount", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["user_id", 1], ["description", "Guitar strings"], ["amount", 1], ["created_at", "2016-11-18 22:33:38.559414"], ["updated_at", "2016-11-18 22:33:38.559414"]]
|
42101
|
+
[1m[35m (0.7ms)[0m commit transaction
|
42102
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
42103
|
+
-------------------------------------------------------------------
|
42104
|
+
ClarkKent::ReportableTest: test_it_adds_required_filters_if_present
|
42105
|
+
-------------------------------------------------------------------
|
42106
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42107
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "clark_kent_reports" ("name", "resource_type", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "test one"], ["resource_type", "Order"], ["created_at", "2016-11-18 22:33:38.621678"], ["updated_at", "2016-11-18 22:33:38.621678"]]
|
42108
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42109
|
+
[1m[36mClarkKent::ReportColumn Load (0.1ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order[0m [["report_id", 2]]
|
42110
|
+
[1m[35mClarkKent::ReportFilter Load (0.2ms)[0m SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 2], ["filterable_type", "ClarkKent::Report"]]
|
42111
|
+
[1m[36mClarkKent::ReportColumn Load (0.2ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1[0m [["report_id", 2]]
|
42112
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
42113
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
42114
|
+
---------------------------------------------------------------------
|
42115
|
+
ClarkKent::ReportableTest: test_it_works_without_any_required_filters
|
42116
|
+
---------------------------------------------------------------------
|
42117
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42118
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "clark_kent_reports" ("name", "resource_type", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["name", "test one"], ["resource_type", "TestReportable"], ["created_at", "2016-11-18 22:33:38.633272"], ["updated_at", "2016-11-18 22:33:38.633272"]]
|
42119
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42120
|
+
[1m[36mClarkKent::ReportColumn Load (0.0ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order[0m [["report_id", 2]]
|
42121
|
+
[1m[35mClarkKent::ReportFilter Load (0.0ms)[0m SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 2], ["filterable_type", "ClarkKent::Report"]]
|
42122
|
+
[1m[36mClarkKent::ReportColumn Load (0.1ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1[0m [["report_id", 2]]
|
42123
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
42124
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42125
|
+
-----------------------------------------------------
|
42126
|
+
ClarkKent::ReportsHelperTest: test_it_displays_a_date
|
42127
|
+
-----------------------------------------------------
|
42128
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42129
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42130
|
+
-------------------------
|
42131
|
+
ClarkKentTest: test_truth
|
42132
|
+
-------------------------
|
42133
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42134
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42135
|
+
---------------------------------------------------
|
42136
|
+
ClarkKent::ReportEmailTest: test_sends_report_to_s3
|
42137
|
+
---------------------------------------------------
|
42138
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT 1 [["email", "taproot@gmail.com"]]
|
42139
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1[0m
|
42140
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "clark_kent_reports" SET "sharing_scope_type" = 'Department', "sharing_scope_id" = 1 WHERE "clark_kent_reports"."id" = ? [["id", 1]]
|
42141
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42142
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "clark_kent_report_emails" ("name", "report_id") VALUES (?, ?) [["name", "test_emailer"], ["report_id", 1]]
|
42143
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42144
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42145
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "clark_kent_report_filters" ("type", "filter_name", "duration", "kind_of_day", "offset", "filterable_id", "filterable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["type", "ClarkKent::ReportDateFilter"], ["filter_name", "created_at"], ["duration", "week"], ["kind_of_day", "Monday"], ["offset", "this_week"], ["filterable_id", 1], ["filterable_type", "ClarkKent::ReportEmail"], ["created_at", "2016-11-18 22:33:38.677820"], ["updated_at", "2016-11-18 22:33:38.677820"]]
|
42146
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42147
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
42148
|
+
[1m[35mClarkKent::Report Load (0.1ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42149
|
+
[1m[36mClarkKent::ReportFilter Load (0.0ms)[0m [1mSELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ?[0m [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42150
|
+
[1m[35mDepartment Load (0.1ms)[0m SELECT "departments".* FROM "departments" WHERE "departments"."id" = ? LIMIT 1 [["id", 1]]
|
42151
|
+
[1m[36mClarkKent::ReportEmail Load (0.1ms)[0m [1mSELECT "clark_kent_report_emails".* FROM "clark_kent_report_emails" WHERE "clark_kent_report_emails"."id" = ? LIMIT 1[0m [["id", 1]]
|
42152
|
+
[1m[35mClarkKent::Report Load (0.0ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42153
|
+
[1m[36mClarkKent::ReportColumn Load (0.1ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order[0m [["report_id", 1]]
|
42154
|
+
[1m[35mClarkKent::ReportFilter Load (0.0ms)[0m SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42155
|
+
[1m[36mClarkKent::ReportFilter Load (0.0ms)[0m [1mSELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ?[0m [["filterable_id", 1], ["filterable_type", "ClarkKent::ReportEmail"]]
|
42156
|
+
[1m[35mClarkKent::ReportColumn Load (0.1ms)[0m SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
|
42157
|
+
[1m[36mClarkKent::ReportColumn Load (0.1ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1[0m [["report_id", 1]]
|
42158
|
+
[1m[35mClarkKent::ReportColumn Load (0.1ms)[0m SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
|
42159
|
+
[1m[36mClarkKent::ReportColumn Load (0.1ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1[0m [["report_id", 1]]
|
42160
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "orders" WHERE (orders.user_id > 0)
|
42161
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
42162
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42163
|
+
-----------------------------------------------------------------------------------------
|
42164
|
+
ClarkKent::ReportEmailTest: test_throws_an_error_if_required_date_filters_are_not_present
|
42165
|
+
-----------------------------------------------------------------------------------------
|
42166
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT 1[0m [["email", "taproot@gmail.com"]]
|
42167
|
+
[1m[35mClarkKent::Report Load (0.1ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
|
42168
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "clark_kent_reports" SET "sharing_scope_type" = 'Department', "sharing_scope_id" = 1 WHERE "clark_kent_reports"."id" = ?[0m [["id", 1]]
|
42169
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42170
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "clark_kent_report_emails" ("name", "report_id") VALUES (?, ?)[0m [["name", "test_emailer"], ["report_id", 1]]
|
42171
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42172
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
42173
|
+
[1m[35mClarkKent::Report Load (0.0ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42174
|
+
[1m[36mClarkKent::ReportFilter Load (0.0ms)[0m [1mSELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ?[0m [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42175
|
+
[1m[35mDepartment Load (0.1ms)[0m SELECT "departments".* FROM "departments" WHERE "departments"."id" = ? LIMIT 1 [["id", 1]]
|
42176
|
+
[1m[36mClarkKent::ReportEmail Load (0.0ms)[0m [1mSELECT "clark_kent_report_emails".* FROM "clark_kent_report_emails" WHERE "clark_kent_report_emails"."id" = ? LIMIT 1[0m [["id", 1]]
|
42177
|
+
[1m[35mClarkKent::Report Load (0.1ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42178
|
+
[1m[36mClarkKent::ReportColumn Load (0.1ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order[0m [["report_id", 1]]
|
42179
|
+
[1m[35mClarkKent::ReportFilter Load (0.0ms)[0m SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42180
|
+
[1m[36mClarkKent::ReportFilter Load (0.0ms)[0m [1mSELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ?[0m [["filterable_id", 1], ["filterable_type", "ClarkKent::ReportEmail"]]
|
42181
|
+
[1m[35mClarkKent::ReportColumn Load (0.1ms)[0m SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
|
42182
|
+
[1m[36mClarkKent::ReportColumn Load (0.1ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1[0m [["report_id", 1]]
|
42183
|
+
[1m[35mClarkKent::Report Load (0.1ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42184
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
42185
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_mailer/report_error.html.erb (1.9ms)
|
42186
|
+
|
42187
|
+
ClarkKent::ReportMailer#report_error: processed outbound mail in 174.0ms
|
42188
|
+
|
42189
|
+
Sent mail to taproot@gmail.com (5.9ms)
|
42190
|
+
Date: Fri, 18 Nov 2016 15:33:38 -0700
|
42191
|
+
From: reservations@invitedhome.com
|
42192
|
+
To: taproot@gmail.com
|
42193
|
+
Message-ID: <582f81c2eae6b_d6343feafbc3fa0c31824@Erics-MacBook-Pro.local.mail>
|
42194
|
+
Subject: Your report has a problem
|
42195
|
+
Mime-Version: 1.0
|
42196
|
+
Content-Type: text/html;
|
42197
|
+
charset=UTF-8
|
42198
|
+
Content-Transfer-Encoding: 7bit
|
42199
|
+
|
42200
|
+
Your report could not be created due to the following problem:
|
42201
|
+
<strong>At least one date range is required.</strong>
|
42202
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
42203
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42204
|
+
------------------------------------------------------------------------------------------------
|
42205
|
+
ClarkKent::ReportTest: test_can't_save_without_a_sharing_scope_id_if_the_sharing_scope_is_custom
|
42206
|
+
------------------------------------------------------------------------------------------------
|
42207
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42208
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
42209
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
42210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42211
|
+
-------------------------------------------------------
|
42212
|
+
ClarkKent::ReportsController: test_should_create_report
|
42213
|
+
-------------------------------------------------------
|
42214
|
+
[1m[35mClarkKent::Report Load (0.2ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
|
42215
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42216
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?) [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42217
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42218
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42219
|
+
Processing by ClarkKent::ReportsController#create as HTML
|
42220
|
+
Parameters: {"report"=>{"name"=>"delete me", "resource_type"=>"Order", "sharing_scope_id"=>nil, "sharing_scope_type"=>nil}, "current_user_id"=>"1"}
|
42221
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42222
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "clark_kent_reports" ("name", "resource_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "delete me"], ["resource_type", "Order"], ["created_at", "2016-11-18 22:33:38.984258"], ["updated_at", "2016-11-18 22:33:38.984258"]]
|
42223
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42224
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_show.html.erb (6.9ms)
|
42225
|
+
[1m[35mClarkKent::ReportFilter Load (0.1ms)[0m SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 2], ["filterable_type", "ClarkKent::Report"]]
|
42226
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_index.html.erb (4.5ms)
|
42227
|
+
[1m[36mClarkKent::ReportColumn Load (0.1ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order[0m [["report_id", 2]]
|
42228
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_index.html.erb (3.9ms)
|
42229
|
+
[1m[35mClarkKent::ReportEmail Load (0.1ms)[0m SELECT "clark_kent_report_emails".* FROM "clark_kent_report_emails" WHERE "clark_kent_report_emails"."report_id" = ? [["report_id", 2]]
|
42230
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_emails/_index.html.erb (4.2ms)
|
42231
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/edit.html.erb within layouts/application (36.1ms)
|
42232
|
+
Completed 200 OK in 435ms (Views: 432.2ms | ActiveRecord: 0.5ms)
|
42233
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."name" = ? LIMIT 1[0m [["name", "delete me"]]
|
42234
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42235
|
+
[1m[36mClarkKent::ReportFilter Load (0.0ms)[0m [1mSELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ?[0m [["filterable_id", 2], ["filterable_type", "ClarkKent::Report"]]
|
42236
|
+
[1m[35mClarkKent::ReportColumn Load (0.0ms)[0m SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 2]]
|
42237
|
+
[1m[36mClarkKent::ReportEmail Load (0.0ms)[0m [1mSELECT "clark_kent_report_emails".* FROM "clark_kent_report_emails" WHERE "clark_kent_report_emails"."report_id" = ?[0m [["report_id", 2]]
|
42238
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? [["id", 2]]
|
42239
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42240
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
42241
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42242
|
+
--------------------------------------------------------
|
42243
|
+
ClarkKent::ReportsController: test_should_destroy_report
|
42244
|
+
--------------------------------------------------------
|
42245
|
+
[1m[35mClarkKent::Report Load (0.1ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
|
42246
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42247
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?) [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42248
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42249
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42250
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42251
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "clark_kent_reports" ("name", "resource_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "delete me"], ["resource_type", "Order"], ["created_at", "2016-11-18 22:33:39.428351"], ["updated_at", "2016-11-18 22:33:39.428351"]]
|
42252
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42253
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "clark_kent_reports"
|
42254
|
+
Processing by ClarkKent::ReportsController#destroy as HTML
|
42255
|
+
Parameters: {"current_user_id"=>"1", "id"=>"2"}
|
42256
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1[0m [["id", 2]]
|
42257
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42258
|
+
[1m[36mClarkKent::ReportFilter Load (0.0ms)[0m [1mSELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ?[0m [["filterable_id", 2], ["filterable_type", "ClarkKent::Report"]]
|
42259
|
+
[1m[35mClarkKent::ReportColumn Load (0.0ms)[0m SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 2]]
|
42260
|
+
[1m[36mClarkKent::ReportEmail Load (0.1ms)[0m [1mSELECT "clark_kent_report_emails".* FROM "clark_kent_report_emails" WHERE "clark_kent_report_emails"."report_id" = ?[0m [["report_id", 2]]
|
42261
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? [["id", 2]]
|
42262
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42263
|
+
Redirected to http://test.host/reports/reports
|
42264
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
42265
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "clark_kent_reports"
|
42266
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
42267
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42268
|
+
--------------------------------------------------
|
42269
|
+
ClarkKent::ReportsController: test_should_get_edit
|
42270
|
+
--------------------------------------------------
|
42271
|
+
[1m[36mClarkKent::Report Load (0.2ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1[0m
|
42272
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42273
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?)[0m [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42274
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42275
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1[0m
|
42276
|
+
Processing by ClarkKent::ReportsController#edit as HTML
|
42277
|
+
Parameters: {"current_user_id"=>"1", "id"=>"1"}
|
42278
|
+
[1m[35mClarkKent::Report Load (0.1ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42279
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_show.html.erb (6.2ms)
|
42280
|
+
[1m[36mClarkKent::ReportFilter Load (0.1ms)[0m [1mSELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ?[0m [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42281
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_index.html.erb (4.1ms)
|
42282
|
+
[1m[35mClarkKent::ReportColumn Load (0.1ms)[0m SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order [["report_id", 1]]
|
42283
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show.html.erb (4.8ms)
|
42284
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show_wrapper.html.erb (8.0ms)
|
42285
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show.html.erb (2.4ms)
|
42286
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show_wrapper.html.erb (2.6ms)
|
42287
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show.html.erb (2.6ms)
|
42288
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show_wrapper.html.erb (3.1ms)
|
42289
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show.html.erb (2.6ms)
|
42290
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_show_wrapper.html.erb (2.8ms)
|
42291
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_columns/_index.html.erb (23.2ms)
|
42292
|
+
[1m[36mClarkKent::ReportEmail Load (0.3ms)[0m [1mSELECT "clark_kent_report_emails".* FROM "clark_kent_report_emails" WHERE "clark_kent_report_emails"."report_id" = ?[0m [["report_id", 1]]
|
42293
|
+
[1m[35mClarkKent::ReportDateFilter Load (0.2ms)[0m SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."type" IN ('ClarkKent::ReportDateFilter') AND "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::ReportEmail"]]
|
42294
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" INNER JOIN "clark_kent_user_report_emails" ON "users"."id" = "clark_kent_user_report_emails"."user_id" WHERE "clark_kent_user_report_emails"."report_email_id" = ?[0m [["report_email_id", 1]]
|
42295
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_emails/_show.html.erb (25.7ms)
|
42296
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_emails/_show_wrapper.html.erb (35.0ms)
|
42297
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_emails/_index.html.erb (40.5ms)
|
42298
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/edit.html.erb within layouts/application (77.0ms)
|
42299
|
+
Completed 200 OK in 80ms (Views: 78.4ms | ActiveRecord: 1.0ms)
|
42300
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
42301
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42302
|
+
---------------------------------------------------
|
42303
|
+
ClarkKent::ReportsController: test_should_get_index
|
42304
|
+
---------------------------------------------------
|
42305
|
+
[1m[35mClarkKent::Report Load (0.2ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
|
42306
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42307
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?) [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42308
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42309
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42310
|
+
Processing by ClarkKent::ReportsController#index as HTML
|
42311
|
+
Parameters: {"current_user_id"=>"1"}
|
42312
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 1]]
|
42313
|
+
[1m[35mClarkKent::Report Exists (0.1ms)[0m SELECT 1 AS one FROM "clark_kent_reports" WHERE "clark_kent_reports"."sharing_scope_id" = ? AND "clark_kent_reports"."sharing_scope_type" = ? LIMIT 1 [["sharing_scope_id", 1], ["sharing_scope_type", "User"]]
|
42314
|
+
[1m[36mDepartment Load (0.0ms)[0m [1mSELECT "departments".* FROM "departments" WHERE "departments"."id" = ? LIMIT 1[0m [["id", 1]]
|
42315
|
+
[1m[35mClarkKent::Report Exists (0.0ms)[0m SELECT 1 AS one FROM "clark_kent_reports" WHERE "clark_kent_reports"."sharing_scope_id" = ? AND "clark_kent_reports"."sharing_scope_type" = ? LIMIT 1 [["sharing_scope_id", 1], ["sharing_scope_type", "Department"]]
|
42316
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "clark_kent_reports" WHERE "clark_kent_reports"."sharing_scope_id" IS NULL[0m
|
42317
|
+
[1m[35mClarkKent::Report Load (0.1ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."sharing_scope_id" IS NULL
|
42318
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/index.html.erb within layouts/application (16.7ms)
|
42319
|
+
Completed 200 OK in 23ms (Views: 22.0ms | ActiveRecord: 0.5ms)
|
42320
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
42321
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42322
|
+
-------------------------------------------------
|
42323
|
+
ClarkKent::ReportsController: test_should_get_new
|
42324
|
+
-------------------------------------------------
|
42325
|
+
[1m[36mClarkKent::Report Load (0.6ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1[0m
|
42326
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42327
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?)[0m [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42328
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42329
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1[0m
|
42330
|
+
Processing by ClarkKent::ReportsController#new as HTML
|
42331
|
+
Parameters: {"current_user_id"=>"1"}
|
42332
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
|
42333
|
+
[1m[36mDepartment Load (0.1ms)[0m [1mSELECT "departments".* FROM "departments" WHERE "departments"."id" = ? LIMIT 1[0m [["id", 1]]
|
42334
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_edit.html.erb (67.3ms)
|
42335
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/new.html.erb within layouts/application (73.0ms)
|
42336
|
+
Completed 200 OK in 78ms (Views: 77.5ms | ActiveRecord: 0.1ms)
|
42337
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
42338
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42339
|
+
-----------------------------------------------------
|
42340
|
+
ClarkKent::ReportsController: test_should_show_report
|
42341
|
+
-----------------------------------------------------
|
42342
|
+
[1m[35mClarkKent::Report Load (0.2ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
|
42343
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42344
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?) [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42345
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42346
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42347
|
+
Processing by ClarkKent::ReportsController#show as HTML
|
42348
|
+
Parameters: {"current_user_id"=>"1", "id"=>"1"}
|
42349
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? ORDER BY "clark_kent_reports"."id" ASC LIMIT 1[0m [["id", 1]]
|
42350
|
+
[1m[35mClarkKent::ReportColumn Load (0.1ms)[0m SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
|
42351
|
+
[1m[36m (0.1ms)[0m [1mSELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ?[0m [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42352
|
+
[1m[35m (0.0ms)[0m SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42353
|
+
[1m[36m (0.0ms)[0m [1mSELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ?[0m [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42354
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (1.4ms)
|
42355
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42356
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
42357
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_object_filter.html.erb (2.1ms)
|
42358
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.7ms)
|
42359
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (1.2ms)
|
42360
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (26.2ms)
|
42361
|
+
Completed 200 OK in 37ms (Views: 30.9ms | ActiveRecord: 0.7ms)
|
42362
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
42363
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42364
|
+
-------------------------------------------------------------
|
42365
|
+
ClarkKent::ReportsController: test_should_show_report_results
|
42366
|
+
-------------------------------------------------------------
|
42367
|
+
[1m[35mClarkKent::Report Load (0.2ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
|
42368
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42369
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?) [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42370
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42371
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42372
|
+
Processing by ClarkKent::ReportsController#show as HTML
|
42373
|
+
Parameters: {"current_user_id"=>"1", "run_report"=>true, "created_at_until"=>"2016-11-18", "created_at_from"=>"2016-11-17", "id"=>"1"}
|
42374
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? ORDER BY "clark_kent_reports"."id" ASC LIMIT 1[0m [["id", 1]]
|
42375
|
+
[1m[35mClarkKent::ReportColumn Load (0.2ms)[0m SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order
|
42376
|
+
[1m[36mClarkKent::ReportFilter Load (0.1ms)[0m [1mSELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ?[0m [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42377
|
+
[1m[35mClarkKent::ReportColumn Load (0.3ms)[0m SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
|
42378
|
+
[1m[36mClarkKent::ReportColumn Load (0.1ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1[0m [["report_id", 1]]
|
42379
|
+
[1m[35m (0.1ms)[0m SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42380
|
+
[1m[36m (0.0ms)[0m [1mSELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ?[0m [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42381
|
+
[1m[35m (0.0ms)[0m SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42382
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.2ms)
|
42383
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1[0m
|
42384
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users"
|
42385
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_object_filter.html.erb (1.0ms)
|
42386
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.2ms)
|
42387
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "orders" WHERE (orders.user_id > 0)[0m
|
42388
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(count_column) FROM (SELECT "orders"."id" AS count_column FROM "orders" WHERE (orders.user_id > 0) LIMIT 10 OFFSET 0) subquery_for_count
|
42389
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (4.0ms)
|
42390
|
+
[1m[36mClarkKent::ReportColumn Load (0.1ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? ORDER BY clark_kent_report_columns.column_order[0m [["report_id", 1]]
|
42391
|
+
[1m[35mOrder Load (0.1ms)[0m SELECT DISTINCT orders.id, orders.user_id, orders.amount, orders.description, orders.created_at, orders.updated_at,
|
42392
|
+
(SELECT u.name
|
42393
|
+
FROM users u
|
42394
|
+
WHERE u.id = orders.user_id)
|
42395
|
+
as user_name FROM "orders" WHERE (orders.user_id > 0) LIMIT 10 OFFSET 0
|
42396
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
42397
|
+
[1m[35mClarkKent::Report Load (0.0ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42398
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
42399
|
+
[1m[35mClarkKent::Report Load (0.0ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42400
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_download_link.html.erb (3.4ms)
|
42401
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (36.4ms)
|
42402
|
+
Completed 200 OK in 47ms (Views: 40.1ms | ActiveRecord: 1.5ms)
|
42403
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
42404
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42405
|
+
----------------------------------------------------------------
|
42406
|
+
ClarkKent::ReportsController: test_should_show_report_run_errors
|
42407
|
+
----------------------------------------------------------------
|
42408
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1[0m
|
42409
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42410
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?)[0m [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42411
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42412
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1[0m
|
42413
|
+
Processing by ClarkKent::ReportsController#show as HTML
|
42414
|
+
Parameters: {"current_user_id"=>"1", "run_report"=>true, "id"=>"1"}
|
42415
|
+
[1m[35mClarkKent::Report Load (15.8ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? ORDER BY "clark_kent_reports"."id" ASC LIMIT 1 [["id", 1]]
|
42416
|
+
[1m[36mClarkKent::ReportColumn Load (0.1ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" IN (1) ORDER BY clark_kent_report_columns.column_order[0m
|
42417
|
+
[1m[35mClarkKent::ReportFilter Load (0.0ms)[0m SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42418
|
+
[1m[36mClarkKent::ReportColumn Load (0.1ms)[0m [1mSELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1[0m [["report_id", 1]]
|
42419
|
+
[1m[35mClarkKent::ReportColumn Load (0.1ms)[0m SELECT "clark_kent_report_columns".* FROM "clark_kent_report_columns" WHERE "clark_kent_report_columns"."report_id" = ? AND (clark_kent_report_columns.report_sort is not NULL and clark_kent_report_columns.report_sort != '') ORDER BY clark_kent_report_columns.column_order LIMIT 1 [["report_id", 1]]
|
42420
|
+
[1m[36m (0.1ms)[0m [1mSELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ?[0m [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42421
|
+
[1m[35m (0.0ms)[0m SELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ? [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42422
|
+
[1m[36m (0.0ms)[0m [1mSELECT "clark_kent_report_filters"."filter_name" FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."filterable_id" = ? AND "clark_kent_report_filters"."filterable_type" = ?[0m [["filterable_id", 1], ["filterable_type", "ClarkKent::Report"]]
|
42423
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_date_filter.html.erb (0.4ms)
|
42424
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42425
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
42426
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_object_filter.html.erb (1.5ms)
|
42427
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_string_filter.html.erb (0.2ms)
|
42428
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_print_report.html.erb (0.1ms)
|
42429
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/show.html.erb within layouts/application (8.1ms)
|
42430
|
+
Completed 200 OK in 32ms (Views: 10.6ms | ActiveRecord: 16.5ms)
|
42431
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
42432
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42433
|
+
-------------------------------------------------------
|
42434
|
+
ClarkKent::ReportsController: test_should_update_report
|
42435
|
+
-------------------------------------------------------
|
42436
|
+
[1m[35mClarkKent::Report Load (0.2ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
|
42437
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42438
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?) [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42439
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42440
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42441
|
+
Processing by ClarkKent::ReportsController#update as HTML
|
42442
|
+
Parameters: {"report"=>{"name"=>nil, "resource_type"=>"Order", "sharing_scope_id"=>nil, "sharing_scope_type"=>nil}, "current_user_id"=>"1", "id"=>"1"}
|
42443
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
42444
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42445
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42446
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/reports/_show.html.erb (4.7ms)
|
42447
|
+
Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.2ms)
|
42448
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
42449
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42450
|
+
------------------------------------------------------------------------------
|
42451
|
+
ClarkKent::ReportFiltersController: test_it_should_create_a_date_report_filter
|
42452
|
+
------------------------------------------------------------------------------
|
42453
|
+
[1m[35mClarkKent::Report Load (0.1ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
|
42454
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42455
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?) [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42456
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42457
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42458
|
+
Processing by ClarkKent::ReportFiltersController#create as HTML
|
42459
|
+
Parameters: {"report_filter"=>{"filterable_id"=>"1", "filterable_type"=>"ClarkKent::Report", "filter_name"=>"created_at", "duration"=>"week", "kind_of_day"=>"Monday", "offset"=>"last_week"}}
|
42460
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
42461
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42462
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "clark_kent_report_filters" ("type", "filterable_id", "filter_name", "duration", "kind_of_day", "offset", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["type", "ClarkKent::ReportDateFilter"], ["filterable_id", 1], ["filter_name", "created_at"], ["duration", "week"], ["kind_of_day", "Monday"], ["offset", "last_week"], ["created_at", "2016-11-18 22:33:39.831063"], ["updated_at", "2016-11-18 22:33:39.831063"]]
|
42463
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42464
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
42465
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_date_filter_show.html.erb (0.5ms)
|
42466
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_show.html.erb (7.7ms)
|
42467
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_show_wrapper.html.erb (11.2ms)
|
42468
|
+
Completed 200 OK in 21ms (Views: 16.6ms | ActiveRecord: 0.5ms)
|
42469
|
+
[1m[35mClarkKent::ReportFilter Load (0.1ms)[0m SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" ORDER BY "clark_kent_report_filters"."id" DESC LIMIT 1
|
42470
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
42471
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42472
|
+
-------------------------------------------------------------------------
|
42473
|
+
ClarkKent::ReportFiltersController: test_it_should_create_a_report_filter
|
42474
|
+
-------------------------------------------------------------------------
|
42475
|
+
[1m[36mClarkKent::Report Load (0.2ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1[0m
|
42476
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42477
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?)[0m [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42478
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42479
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1[0m
|
42480
|
+
Processing by ClarkKent::ReportFiltersController#create as HTML
|
42481
|
+
Parameters: {"report_filter"=>{"filterable_id"=>"1", "filterable_type"=>"ClarkKent::Report", "filter_name"=>"user_email", "filter_value"=>"taproot@gmail.com"}}
|
42482
|
+
[1m[35mClarkKent::Report Load (0.1ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42483
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42484
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "clark_kent_report_filters" ("type", "filterable_id", "filter_name", "filter_value", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["type", "ClarkKent::ReportStringFilter"], ["filterable_id", 1], ["filter_name", "user_email"], ["filter_value", "taproot@gmail.com"], ["created_at", "2016-11-18 22:33:39.870014"], ["updated_at", "2016-11-18 22:33:39.870014"]]
|
42485
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42486
|
+
[1m[35mClarkKent::Report Load (0.1ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42487
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_string_filter_show.html.erb (0.5ms)
|
42488
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_show.html.erb (7.5ms)
|
42489
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_show_wrapper.html.erb (7.9ms)
|
42490
|
+
Completed 200 OK in 20ms (Views: 8.4ms | ActiveRecord: 0.5ms)
|
42491
|
+
[1m[36mClarkKent::ReportFilter Load (0.2ms)[0m [1mSELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" ORDER BY "clark_kent_report_filters"."id" DESC LIMIT 1[0m
|
42492
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
42493
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42494
|
+
---------------------------------------------------------------------------------
|
42495
|
+
ClarkKent::ReportFiltersController: test_it_should_create_an_object_report_filter
|
42496
|
+
---------------------------------------------------------------------------------
|
42497
|
+
[1m[35mClarkKent::Report Load (0.2ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
|
42498
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42499
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?) [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42500
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42501
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42502
|
+
Processing by ClarkKent::ReportFiltersController#create as HTML
|
42503
|
+
Parameters: {"report_filter"=>{"filterable_id"=>"1", "filterable_type"=>"ClarkKent::Report", "filter_name"=>"user_id", "filter_value"=>"1"}}
|
42504
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
42505
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42506
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "clark_kent_report_filters" ("type", "filterable_id", "filter_name", "filter_value", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["type", "ClarkKent::ReportObjectFilter"], ["filterable_id", 1], ["filter_name", "user_id"], ["filter_value", "1"], ["created_at", "2016-11-18 22:33:39.900329"], ["updated_at", "2016-11-18 22:33:39.900329"]]
|
42507
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42508
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
42509
|
+
[1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
|
42510
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_object_filter_show.html.erb (2.1ms)
|
42511
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_show.html.erb (7.9ms)
|
42512
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_show_wrapper.html.erb (8.2ms)
|
42513
|
+
Completed 200 OK in 19ms (Views: 8.1ms | ActiveRecord: 0.7ms)
|
42514
|
+
[1m[36mClarkKent::ReportFilter Load (0.1ms)[0m [1mSELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" ORDER BY "clark_kent_report_filters"."id" DESC LIMIT 1[0m
|
42515
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
42516
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42517
|
+
-----------------------------------------------------------------------------------
|
42518
|
+
ClarkKent::ReportFiltersController: test_should_get_the_edit_form_for_a_date_filter
|
42519
|
+
-----------------------------------------------------------------------------------
|
42520
|
+
[1m[35mClarkKent::Report Load (0.1ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
|
42521
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42522
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?) [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42523
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42524
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42525
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42526
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "clark_kent_report_filters" ("type", "filter_name", "duration", "kind_of_day", "offset", "filterable_id", "filterable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["type", "ClarkKent::ReportDateFilter"], ["filter_name", "created_at"], ["duration", "week"], ["kind_of_day", "Monday"], ["offset", "last_week"], ["filterable_id", 1], ["filterable_type", "ClarkKent::ReportEmail"], ["created_at", "2016-11-18 22:33:39.918146"], ["updated_at", "2016-11-18 22:33:39.918146"]]
|
42527
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42528
|
+
Processing by ClarkKent::ReportFiltersController#edit as HTML
|
42529
|
+
Parameters: {"id"=>"1"}
|
42530
|
+
[1m[35mClarkKent::ReportFilter Load (0.2ms)[0m SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."id" = ? LIMIT 1 [["id", 1]]
|
42531
|
+
[1m[36mClarkKent::ReportEmail Load (0.1ms)[0m [1mSELECT "clark_kent_report_emails".* FROM "clark_kent_report_emails" WHERE "clark_kent_report_emails"."id" = ? LIMIT 1[0m [["id", 1]]
|
42532
|
+
[1m[35mClarkKent::Report Load (0.1ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42533
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_date_filter_edit.html.erb (8.1ms)
|
42534
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_form.html.erb (25.9ms)
|
42535
|
+
Completed 200 OK in 32ms (Views: 28.8ms | ActiveRecord: 0.3ms)
|
42536
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
42537
|
+
[1m[35m (0.2ms)[0m begin transaction
|
42538
|
+
-------------------------------------------------------------------------------------
|
42539
|
+
ClarkKent::ReportFiltersController: test_should_get_the_edit_form_for_a_string_filter
|
42540
|
+
-------------------------------------------------------------------------------------
|
42541
|
+
[1m[36mClarkKent::Report Load (0.2ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1[0m
|
42542
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42543
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?)[0m [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42544
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42545
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1[0m
|
42546
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42547
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "clark_kent_report_filters" ("type", "filter_name", "filter_value", "filterable_id", "filterable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["type", "ClarkKent::ReportStringFilter"], ["filter_name", "user_email"], ["filter_value", "taproot@gmail.com"], ["filterable_id", 1], ["filterable_type", "ClarkKent::ReportEmail"], ["created_at", "2016-11-18 22:33:39.969527"], ["updated_at", "2016-11-18 22:33:39.969527"]]
|
42548
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42549
|
+
Processing by ClarkKent::ReportFiltersController#edit as HTML
|
42550
|
+
Parameters: {"id"=>"1"}
|
42551
|
+
[1m[36mClarkKent::ReportFilter Load (0.2ms)[0m [1mSELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."id" = ? LIMIT 1[0m [["id", 1]]
|
42552
|
+
[1m[35mClarkKent::ReportEmail Load (0.0ms)[0m SELECT "clark_kent_report_emails".* FROM "clark_kent_report_emails" WHERE "clark_kent_report_emails"."id" = ? LIMIT 1 [["id", 1]]
|
42553
|
+
[1m[36mClarkKent::Report Load (0.1ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
42554
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_string_filter_edit.html.erb (0.6ms)
|
42555
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_form.html.erb (13.4ms)
|
42556
|
+
Completed 200 OK in 17ms (Views: 13.8ms | ActiveRecord: 0.3ms)
|
42557
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
42558
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42559
|
+
--------------------------------------------------------------------------------------
|
42560
|
+
ClarkKent::ReportFiltersController: test_should_get_the_edit_form_for_an_object_filter
|
42561
|
+
--------------------------------------------------------------------------------------
|
42562
|
+
[1m[35mClarkKent::Report Load (0.3ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
|
42563
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42564
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?) [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42565
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42566
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42567
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42568
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "clark_kent_report_filters" ("type", "filter_name", "filter_value", "filterable_id", "filterable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "ClarkKent::ReportObjectFilter"], ["filter_name", "user_id"], ["filter_value", "1"], ["filterable_id", 1], ["filterable_type", "ClarkKent::ReportEmail"], ["created_at", "2016-11-18 22:33:39.999203"], ["updated_at", "2016-11-18 22:33:39.999203"]]
|
42569
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42570
|
+
Processing by ClarkKent::ReportFiltersController#edit as HTML
|
42571
|
+
Parameters: {"id"=>"1"}
|
42572
|
+
[1m[35mClarkKent::ReportFilter Load (0.1ms)[0m SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."id" = ? LIMIT 1 [["id", 1]]
|
42573
|
+
[1m[36mClarkKent::ReportEmail Load (0.1ms)[0m [1mSELECT "clark_kent_report_emails".* FROM "clark_kent_report_emails" WHERE "clark_kent_report_emails"."id" = ? LIMIT 1[0m [["id", 1]]
|
42574
|
+
[1m[35mClarkKent::Report Load (0.1ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42575
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users"[0m
|
42576
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_object_filter_edit.html.erb (3.1ms)
|
42577
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_form.html.erb (16.4ms)
|
42578
|
+
Completed 200 OK in 20ms (Views: 16.7ms | ActiveRecord: 0.4ms)
|
42579
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
42580
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42581
|
+
-----------------------------------------------------------------------------------
|
42582
|
+
ClarkKent::ReportFiltersController: test_should_get_the_show_view_for_a_date_filter
|
42583
|
+
-----------------------------------------------------------------------------------
|
42584
|
+
[1m[35mClarkKent::Report Load (0.2ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
|
42585
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42586
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?) [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42587
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42588
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42589
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42590
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "clark_kent_report_filters" ("type", "filter_name", "duration", "kind_of_day", "offset", "filterable_id", "filterable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["type", "ClarkKent::ReportDateFilter"], ["filter_name", "created_at"], ["duration", "week"], ["kind_of_day", "Monday"], ["offset", "last_week"], ["filterable_id", 1], ["filterable_type", "ClarkKent::ReportEmail"], ["created_at", "2016-11-18 22:33:40.033076"], ["updated_at", "2016-11-18 22:33:40.033076"]]
|
42591
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42592
|
+
Processing by ClarkKent::ReportFiltersController#show as HTML
|
42593
|
+
Parameters: {"id"=>"1"}
|
42594
|
+
[1m[35mClarkKent::ReportFilter Load (0.1ms)[0m SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."id" = ? LIMIT 1 [["id", 1]]
|
42595
|
+
[1m[36mClarkKent::ReportEmail Load (0.1ms)[0m [1mSELECT "clark_kent_report_emails".* FROM "clark_kent_report_emails" WHERE "clark_kent_report_emails"."id" = ? LIMIT 1[0m [["id", 1]]
|
42596
|
+
[1m[35mClarkKent::Report Load (0.0ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42597
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_date_filter_show.html.erb (0.1ms)
|
42598
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_show.html.erb (3.6ms)
|
42599
|
+
Completed 200 OK in 8ms (Views: 4.0ms | ActiveRecord: 0.2ms)
|
42600
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
42601
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42602
|
+
-------------------------------------------------------------------------------------
|
42603
|
+
ClarkKent::ReportFiltersController: test_should_get_the_show_view_for_a_string_filter
|
42604
|
+
-------------------------------------------------------------------------------------
|
42605
|
+
[1m[36mClarkKent::Report Load (0.2ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1[0m
|
42606
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42607
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?)[0m [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42608
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42609
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1[0m
|
42610
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42611
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "clark_kent_report_filters" ("type", "filter_name", "filter_value", "filterable_id", "filterable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["type", "ClarkKent::ReportStringFilter"], ["filter_name", "user_email"], ["filter_value", "taproot@gmail.com"], ["filterable_id", 1], ["filterable_type", "ClarkKent::ReportEmail"], ["created_at", "2016-11-18 22:33:40.053521"], ["updated_at", "2016-11-18 22:33:40.053521"]]
|
42612
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42613
|
+
Processing by ClarkKent::ReportFiltersController#show as HTML
|
42614
|
+
Parameters: {"id"=>"1"}
|
42615
|
+
[1m[36mClarkKent::ReportFilter Load (0.1ms)[0m [1mSELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."id" = ? LIMIT 1[0m [["id", 1]]
|
42616
|
+
[1m[35mClarkKent::ReportEmail Load (0.0ms)[0m SELECT "clark_kent_report_emails".* FROM "clark_kent_report_emails" WHERE "clark_kent_report_emails"."id" = ? LIMIT 1 [["id", 1]]
|
42617
|
+
[1m[36mClarkKent::Report Load (0.0ms)[0m [1mSELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1[0m [["id", 1]]
|
42618
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_string_filter_show.html.erb (0.1ms)
|
42619
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_show.html.erb (2.8ms)
|
42620
|
+
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
42621
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
42622
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
42623
|
+
--------------------------------------------------------------------------------------
|
42624
|
+
ClarkKent::ReportFiltersController: test_should_get_the_show_view_for_an_object_filter
|
42625
|
+
--------------------------------------------------------------------------------------
|
42626
|
+
[1m[35mClarkKent::Report Load (0.4ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" ORDER BY "clark_kent_reports"."id" ASC LIMIT 1
|
42627
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42628
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "clark_kent_report_emails" ("when_to_send", "name", "report_id") VALUES (?, ?, ?) [["when_to_send", "Monday"], ["name", "Owner Arrival"], ["report_id", 1]]
|
42629
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42630
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
|
42631
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42632
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "clark_kent_report_filters" ("type", "filter_name", "filter_value", "filterable_id", "filterable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["type", "ClarkKent::ReportObjectFilter"], ["filter_name", "user_id"], ["filter_value", "1"], ["filterable_id", 1], ["filterable_type", "ClarkKent::ReportEmail"], ["created_at", "2016-11-18 22:33:40.069546"], ["updated_at", "2016-11-18 22:33:40.069546"]]
|
42633
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42634
|
+
Processing by ClarkKent::ReportFiltersController#show as HTML
|
42635
|
+
Parameters: {"id"=>"1"}
|
42636
|
+
[1m[35mClarkKent::ReportFilter Load (0.1ms)[0m SELECT "clark_kent_report_filters".* FROM "clark_kent_report_filters" WHERE "clark_kent_report_filters"."id" = ? LIMIT 1 [["id", 1]]
|
42637
|
+
[1m[36mClarkKent::ReportEmail Load (0.0ms)[0m [1mSELECT "clark_kent_report_emails".* FROM "clark_kent_report_emails" WHERE "clark_kent_report_emails"."id" = ? LIMIT 1[0m [["id", 1]]
|
42638
|
+
[1m[35mClarkKent::Report Load (0.0ms)[0m SELECT "clark_kent_reports".* FROM "clark_kent_reports" WHERE "clark_kent_reports"."id" = ? LIMIT 1 [["id", 1]]
|
42639
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
42640
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_object_filter_show.html.erb (0.3ms)
|
42641
|
+
Rendered /Users/eric/projects/clark_kent/app/views/clark_kent/report_filters/_show.html.erb (4.4ms)
|
42642
|
+
Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.2ms)
|
42643
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/9sCrVoj9qhqt_V0WjXl7Qrfyk6Yj0wZ--Qe8QIQaKMA.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/CN4hkBfh3U1M4HdS4Gxtv-G6Jy6IFSyY1K6m3YU54kI.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&pipeline=self&id=fdae199b0ccedf501f9d5b6190363e204bb812f8d8efcea1cb36a45bef7fc40d:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/Gc5BYe1W1Qoof0C8wnM-bBlZbFGNhy7KyY6t3ZHO9R8.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/javascripts/application.js?type=application/javascript&id=2db8194326533f67f0009ad2a30c9ebdaf18402dbd4f0fbb29260b3d27f3c0b6:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/HdDE_vIJMvCSKUX3p69u0kJ9pyOZYYRxLWE6ypcRNfE.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/JbcAACpMmVlknG104wCtLY73aNeelGB5NNPiF4uDf5s.cache
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/NReZtOL8LvKjGqEd3PTDkWDctVxTf6ZWkTLBTsxS1bQ.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�app/assets/stylesheets/application.css?type=text/css&pipeline=self&id=43407cf6fd7596bf8dab2536e742267ede22bd1add078ff592c4607eefa3280f:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/UO63Y5t3PvuucNUEfqej9v1YQNQAJMA-pf_xiBye5vo.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/UwMFS8rJmeOVTOPUAsy5rBsPqe-mwJgvTSCg-8xwSK8.cache
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZXgaX5xc809c6xwGetz1yYwe2rZKM1fsyl1oTYISqoE.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/eric/projects/clark_kent/app/assets/javascripts/clark_kent/application.js?type=application/javascript&id=bcc3cdf660a4d149e672751dcb78eaf45fd68035133e63bb7bb03150f4dce686:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/ce6jtr1ba-rbVUTM82edB31tw2mkJcqfWIFC7VbG01Q.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"}app/assets/stylesheets/application.css?type=text/css&id=59be816927837951dbdc5446191a39423cb7d85cd4f22b304a5ed7fe9ac4e8ab:ET
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/iUrrD_f10IsEULQpMhrxJYB3kA5tY5QowgfIUzmpcUU.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/oCsZTGZyV4kH8Y4OeSDUdrwfkJFPzTODZjuBKZB8oGQ.cache
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/rjboaZwWGn7Bqq7K6UP6Jwuc2YNOuzBX9QXIN0pwGIU.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/rjoHNgBPuY_S9pxfkayG1m1T78ORU3-QsGGKMzzF08c.cache
ADDED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/tPF6H9NRpGO3whu2y5_e_R_1EACKdCwu5437D83qJT0.cache
CHANGED
Binary file
|
data/test/dummy/tmp/cache/assets/sprockets/v3.0/xFczLyKOWKQkPCm5mMnUI_uZ9FKhm9SuzebYHQ8G4_M.cache
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
I"�/Users/eric/projects/clark_kent/app/assets/javascripts/clark_kent/application.js?type=application/javascript&pipeline=self&id=87ff79980b3722fac7f21f52bb0e39976d9e4b279a1163cb317b0f45afac9c08:ET
|
@@ -28,8 +28,9 @@ require 'test_helper'
|
|
28
28
|
report = ClarkKent::Report.first
|
29
29
|
report.update_columns(sharing_scope_type: 'Department', sharing_scope_id: user.department_id)
|
30
30
|
report_email = report.report_emails.create(name: 'test_emailer')
|
31
|
-
|
32
|
-
|
33
|
-
|
31
|
+
report_email.send_email(user.id)
|
32
|
+
mailed = ActionMailer::Base.deliveries.last
|
33
|
+
assert_match /Your report could not be created due to the following problem/, mailed.body.to_s
|
34
|
+
assert_match /At least one date range is required/, mailed.body.to_s
|
34
35
|
end
|
35
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clark_kent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric Draut
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -296,6 +296,7 @@ files:
|
|
296
296
|
- app/views/clark_kent/report_filters/_show_wrapper.html.erb
|
297
297
|
- app/views/clark_kent/report_filters/_string_filter_edit.html.erb
|
298
298
|
- app/views/clark_kent/report_filters/_string_filter_show.html.erb
|
299
|
+
- app/views/clark_kent/report_mailer/report_error.html.erb
|
299
300
|
- app/views/clark_kent/report_mailer/report_run.html.erb
|
300
301
|
- app/views/clark_kent/reports/_date_filter.html.erb
|
301
302
|
- app/views/clark_kent/reports/_download_link.html.erb
|
@@ -410,13 +411,17 @@ files:
|
|
410
411
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/6e3-8lJQHaB2tpaemkQBoG8j1IXYd2T7R0hxB6RUry0.cache
|
411
412
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/7wkkNeyL-5f8CXSn7mMl8AVNJDqKAiYwQs3n_B6mQyU.cache
|
412
413
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/8S9BWbkqyqZJQUbtQschJbKqEQhGcIJGHi3MQwciyag.cache
|
414
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/9sCrVoj9qhqt_V0WjXl7Qrfyk6Yj0wZ--Qe8QIQaKMA.cache
|
413
415
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/9wAn82iO6baAuljoEQVoaVPuY9XDGcbcBtl8qv6StxQ.cache
|
414
416
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/BOXckJswXOmYIFOmyN_i44U-bY_U4-c-kE1Gk-rPlA8.cache
|
415
417
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/Br0JlF7EfKjFrhWBfcqOj-sdtnNCHJLRFqPNY1mM5l0.cache
|
418
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/CN4hkBfh3U1M4HdS4Gxtv-G6Jy6IFSyY1K6m3YU54kI.cache
|
416
419
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/Dq7vIXUs-4Fo3qF_pKChBZAaJzn6_Yf1hHEFu5vxKxg.cache
|
417
420
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/GSlw-mT--yR76-3Q9MUh6AOvIB8p5JRCbOYnb5bDyzI.cache
|
421
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Gc5BYe1W1Qoof0C8wnM-bBlZbFGNhy7KyY6t3ZHO9R8.cache
|
418
422
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/H0ZpixREXT2i1zQ82nkmYZzok2oXmJ5Z0tYH21Ag6hg.cache
|
419
423
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/HOfAHEuP6I8KPPyp98JcoOXTGi11_FBhOJwFtsevX-A.cache
|
424
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/HdDE_vIJMvCSKUX3p69u0kJ9pyOZYYRxLWE6ypcRNfE.cache
|
420
425
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/HoeR2i4C0fFw3InDLqJk6bUaQeky8AuUobvnvjv6pHM.cache
|
421
426
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/HuyKNAYEnPs4OFAHZ6YQZ3VSrTaxZe0Ra_fNZLbeXDw.cache
|
422
427
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/I20Hfwlj9bANRe97xPjNWAbtnTWBWhiAlPdMO_j0ktM.cache
|
@@ -425,6 +430,7 @@ files:
|
|
425
430
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/Kn1tegghiey48SiIH6w4tiWY3Prk58yzxzlhdEWvjrk.cache
|
426
431
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/KnHgN_EorBZa2em6NxyXbszWIU3e3nis_H33u5KZDq0.cache
|
427
432
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/MBGxecGwxTYQEY7eD6RjPwyEK-nzQYdEg6L1CKxeNrg.cache
|
433
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/NReZtOL8LvKjGqEd3PTDkWDctVxTf6ZWkTLBTsxS1bQ.cache
|
428
434
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/NSNaeVG8YOVpuk6ZXd-Wgb3KIbu7rwVKMVH_L17X7bA.cache
|
429
435
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache
|
430
436
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/O_lf7JlEpHIA6lJttTUysIjiZne0WHcrriF_gfYEPuk.cache
|
@@ -435,6 +441,7 @@ files:
|
|
435
441
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/SnU3WeG9WD2u9ObM6eJPhNVI-AR0kTW9EjvVtdsmBYU.cache
|
436
442
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/TKNXein9fms2hyVGgBUTpbFU4IzJrA4H2uVv1TvRy8s.cache
|
437
443
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/UGBHtggSaDhQVXh82S85XGM4XLPrNcA9oGk5imyLQso.cache
|
444
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/UO63Y5t3PvuucNUEfqej9v1YQNQAJMA-pf_xiBye5vo.cache
|
438
445
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/UQwQfp4f1cu3wf-ooVNBslMVYMSkes6dLLERta2Vv24.cache
|
439
446
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/UVeH93rELRBawlPCnRGGJP4tRFjy_dH7wicU_ZbrCDM.cache
|
440
447
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/UwMFS8rJmeOVTOPUAsy5rBsPqe-mwJgvTSCg-8xwSK8.cache
|
@@ -445,6 +452,7 @@ files:
|
|
445
452
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/XGAUd4zdycHNjgugiwtNoIzH7Rye3BmjHFqOL3pkrhg.cache
|
446
453
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/XtN1zYSzj7nMrKARGZJk3aBoAkOvTRo2e2mfBW4jB6o.cache
|
447
454
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/Yg4blpsarsGK85xxkPyxeXWfUmlqediuIlTkheX7BH4.cache
|
455
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/ZXgaX5xc809c6xwGetz1yYwe2rZKM1fsyl1oTYISqoE.cache
|
448
456
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/ZZG2BX3ZNKeB05plv8lIMy-z0yF_KnHRwVS-uMtpcrE.cache
|
449
457
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/Zo-Gv5yCgWm4ckuzHH4U1SjFs_tYPZVWEGXpoBgZeYU.cache
|
450
458
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/a0bracA01CExs_QbG3P1egYky6ZRd4m-3ln1ekPgXxw.cache
|
@@ -452,6 +460,7 @@ files:
|
|
452
460
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/bR-gDb8oK48ZYrZSIeamJnm4H0noAKvPys1zAPml46I.cache
|
453
461
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/bWgvdzjbljqHmFQIeM8iFFhVXEkwEAfjGTjjjMBimdE.cache
|
454
462
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/c0fZzpmetAbdlEG8jam5O6N3N3wiVzKXR_lCIY6kCTA.cache
|
463
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/ce6jtr1ba-rbVUTM82edB31tw2mkJcqfWIFC7VbG01Q.cache
|
455
464
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/cwN5IE5m4V3MoUFZd0am5HQjaHydW8ySLOSbOwc4ChY.cache
|
456
465
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/dKk5D4vEs4pKkbGWK8CqDojCmwIkp_WDwK4-4Ejmtoo.cache
|
457
466
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/dwXsOetUlrT7c2kTk4ADNmZoNvC5otpVOxTNLw_EVVM.cache
|
@@ -459,6 +468,7 @@ files:
|
|
459
468
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
|
460
469
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/huJCF7JI-B_E1g1hkQyWPl-dEfdGNaHoau1pEsE3yak.cache
|
461
470
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/i2JEwS23sj58zy4o0tjAF4yI2VN9AexaUB0DIWcaiTw.cache
|
471
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/iUrrD_f10IsEULQpMhrxJYB3kA5tY5QowgfIUzmpcUU.cache
|
462
472
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/kBovyixgNRk3E-gAuk5uGtcVaFQK9QrI0eDTLbFiB9c.cache
|
463
473
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/kXxL0BxZJ_YjZc12TBmBBynUmAr_07HvO_ZvDNfPBFE.cache
|
464
474
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/mXL70cyqA-IuZlTlRDqoP_QDPgxcUNIvHjrE9-nkF0k.cache
|
@@ -472,6 +482,8 @@ files:
|
|
472
482
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/qU-5tKDbPbSh4KkgHIbMh20NwNu3kKmk1rwa3VTy_lI.cache
|
473
483
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/qvvaWhtH_esBrBPzGCT_d3Q6dSq4TR_gwWhfj7yNd0Q.cache
|
474
484
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/r4mWLr0pwlIV-0wnQKDTCWoFrvx5mQd3jFlatnAzdXw.cache
|
485
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/rjboaZwWGn7Bqq7K6UP6Jwuc2YNOuzBX9QXIN0pwGIU.cache
|
486
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/rjoHNgBPuY_S9pxfkayG1m1T78ORU3-QsGGKMzzF08c.cache
|
475
487
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/ssr9LkP729OAoOeLnDtPU4I43SWHJerB9drOLjVui3E.cache
|
476
488
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/tFi4IIk7HxeTEe8QM0tfFxtvthId0aM6b83iqEjJAoc.cache
|
477
489
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/tGPHA-n9RZDcSL1JEOMvmeFmp33hn_S5VaobYIoW5aU.cache
|
@@ -481,6 +493,7 @@ files:
|
|
481
493
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/wgbO1Px36atEYDFKYZ8Yx2Kubk7L-qe_pqgAkxybT4g.cache
|
482
494
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/wvjgvVlo2DBG2pIfefRNE4jBpifCui-P8u1LWgXYi3o.cache
|
483
495
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/x1pNHYQUCVLQm2-2eBri2T7gxgLTBDez3d7ao8etFX4.cache
|
496
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/xFczLyKOWKQkPCm5mMnUI_uZ9FKhm9SuzebYHQ8G4_M.cache
|
484
497
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/yEHhEsjQv9j3w1E8HZSLNeJ3FwxVJY02gIUVtdy9sQ4.cache
|
485
498
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/zcxP2plJcAimoALnq7ISr97huo22fswDnf7g_3MAVSQ.cache
|
486
499
|
- test/dummy/tmp/cache/assets/test/sprockets/0a5b3da98f8307d16bc302a1f7206591
|
@@ -675,6 +688,7 @@ test_files:
|
|
675
688
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/6e3-8lJQHaB2tpaemkQBoG8j1IXYd2T7R0hxB6RUry0.cache
|
676
689
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/7wkkNeyL-5f8CXSn7mMl8AVNJDqKAiYwQs3n_B6mQyU.cache
|
677
690
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/8S9BWbkqyqZJQUbtQschJbKqEQhGcIJGHi3MQwciyag.cache
|
691
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/9sCrVoj9qhqt_V0WjXl7Qrfyk6Yj0wZ--Qe8QIQaKMA.cache
|
678
692
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/9wAn82iO6baAuljoEQVoaVPuY9XDGcbcBtl8qv6StxQ.cache
|
679
693
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/a0bracA01CExs_QbG3P1egYky6ZRd4m-3ln1ekPgXxw.cache
|
680
694
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/ajIuxsDjPa9Ckbc6l1z-E5J7kmNCl2z1zMziWYUABOs.cache
|
@@ -683,13 +697,17 @@ test_files:
|
|
683
697
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/Br0JlF7EfKjFrhWBfcqOj-sdtnNCHJLRFqPNY1mM5l0.cache
|
684
698
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/bWgvdzjbljqHmFQIeM8iFFhVXEkwEAfjGTjjjMBimdE.cache
|
685
699
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/c0fZzpmetAbdlEG8jam5O6N3N3wiVzKXR_lCIY6kCTA.cache
|
700
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/ce6jtr1ba-rbVUTM82edB31tw2mkJcqfWIFC7VbG01Q.cache
|
701
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/CN4hkBfh3U1M4HdS4Gxtv-G6Jy6IFSyY1K6m3YU54kI.cache
|
686
702
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/cwN5IE5m4V3MoUFZd0am5HQjaHydW8ySLOSbOwc4ChY.cache
|
687
703
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/dKk5D4vEs4pKkbGWK8CqDojCmwIkp_WDwK4-4Ejmtoo.cache
|
688
704
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/Dq7vIXUs-4Fo3qF_pKChBZAaJzn6_Yf1hHEFu5vxKxg.cache
|
689
705
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/dwXsOetUlrT7c2kTk4ADNmZoNvC5otpVOxTNLw_EVVM.cache
|
690
706
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/gbttyTUP6NxgF-6-jkZ_0XPvxtfWB0EmFMl12QtYth4.cache
|
707
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/Gc5BYe1W1Qoof0C8wnM-bBlZbFGNhy7KyY6t3ZHO9R8.cache
|
691
708
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/GSlw-mT--yR76-3Q9MUh6AOvIB8p5JRCbOYnb5bDyzI.cache
|
692
709
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/H0ZpixREXT2i1zQ82nkmYZzok2oXmJ5Z0tYH21Ag6hg.cache
|
710
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/HdDE_vIJMvCSKUX3p69u0kJ9pyOZYYRxLWE6ypcRNfE.cache
|
693
711
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/hj8Ir9wcVSy1KYrnWu9bpD24vDhCG3tvt-nKbNxb1Wg.cache
|
694
712
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/HoeR2i4C0fFw3InDLqJk6bUaQeky8AuUobvnvjv6pHM.cache
|
695
713
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/HOfAHEuP6I8KPPyp98JcoOXTGi11_FBhOJwFtsevX-A.cache
|
@@ -698,6 +716,7 @@ test_files:
|
|
698
716
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/I20Hfwlj9bANRe97xPjNWAbtnTWBWhiAlPdMO_j0ktM.cache
|
699
717
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/i2JEwS23sj58zy4o0tjAF4yI2VN9AexaUB0DIWcaiTw.cache
|
700
718
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/ICbkYKfaoZRUPEOztDCgFmCKItizJSF6nxzG5MhlT5k.cache
|
719
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/iUrrD_f10IsEULQpMhrxJYB3kA5tY5QowgfIUzmpcUU.cache
|
701
720
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/JbcAACpMmVlknG104wCtLY73aNeelGB5NNPiF4uDf5s.cache
|
702
721
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/kBovyixgNRk3E-gAuk5uGtcVaFQK9QrI0eDTLbFiB9c.cache
|
703
722
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/Kn1tegghiey48SiIH6w4tiWY3Prk58yzxzlhdEWvjrk.cache
|
@@ -708,6 +727,7 @@ test_files:
|
|
708
727
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/mXq0AHNg7Hq2Y6IQIwEs6IxzwDDm2FOZAYPyujqlSrA.cache
|
709
728
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/nE7RbUAbmdUMqsAwAWPIREDjlzBy34m_TP3mV8_UCFM.cache
|
710
729
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/nQh7J8iLgW3j3-evMg5iclK6Ph4j4agDPZbAb2D1cpY.cache
|
730
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/NReZtOL8LvKjGqEd3PTDkWDctVxTf6ZWkTLBTsxS1bQ.cache
|
711
731
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/NSNaeVG8YOVpuk6ZXd-Wgb3KIbu7rwVKMVH_L17X7bA.cache
|
712
732
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/O8akbUwAbmIKY-AhITimq-JDQ6IgsO3Hvq2v5etufFw.cache
|
713
733
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/O_lf7JlEpHIA6lJttTUysIjiZne0WHcrriF_gfYEPuk.cache
|
@@ -721,6 +741,8 @@ test_files:
|
|
721
741
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/qvvaWhtH_esBrBPzGCT_d3Q6dSq4TR_gwWhfj7yNd0Q.cache
|
722
742
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/QxnJLv8k1hgBq5DNtQucXUBBI5rn14myfFJFJs2RNqY.cache
|
723
743
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/r4mWLr0pwlIV-0wnQKDTCWoFrvx5mQd3jFlatnAzdXw.cache
|
744
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/rjboaZwWGn7Bqq7K6UP6Jwuc2YNOuzBX9QXIN0pwGIU.cache
|
745
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/rjoHNgBPuY_S9pxfkayG1m1T78ORU3-QsGGKMzzF08c.cache
|
724
746
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/SnU3WeG9WD2u9ObM6eJPhNVI-AR0kTW9EjvVtdsmBYU.cache
|
725
747
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/SP99tSgcYiJIx2KM12C0FnnXucDnvQ53-Z2aJFro-PU.cache
|
726
748
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/ssr9LkP729OAoOeLnDtPU4I43SWHJerB9drOLjVui3E.cache
|
@@ -729,6 +751,7 @@ test_files:
|
|
729
751
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/TKNXein9fms2hyVGgBUTpbFU4IzJrA4H2uVv1TvRy8s.cache
|
730
752
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/tPF6H9NRpGO3whu2y5_e_R_1EACKdCwu5437D83qJT0.cache
|
731
753
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/UGBHtggSaDhQVXh82S85XGM4XLPrNcA9oGk5imyLQso.cache
|
754
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/UO63Y5t3PvuucNUEfqej9v1YQNQAJMA-pf_xiBye5vo.cache
|
732
755
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/UQwQfp4f1cu3wf-ooVNBslMVYMSkes6dLLERta2Vv24.cache
|
733
756
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/UVeH93rELRBawlPCnRGGJP4tRFjy_dH7wicU_ZbrCDM.cache
|
734
757
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/UwMFS8rJmeOVTOPUAsy5rBsPqe-mwJgvTSCg-8xwSK8.cache
|
@@ -741,12 +764,14 @@ test_files:
|
|
741
764
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/X-bY_yeJIl4hwsbTN_dx12dUEzsaExaUkthjOEOBjUM.cache
|
742
765
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/X1pDD1_Im8Jyti817p7q6enVK8MjNPsLCoZ_c8hG2fs.cache
|
743
766
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/x1pNHYQUCVLQm2-2eBri2T7gxgLTBDez3d7ao8etFX4.cache
|
767
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/xFczLyKOWKQkPCm5mMnUI_uZ9FKhm9SuzebYHQ8G4_M.cache
|
744
768
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/XGAUd4zdycHNjgugiwtNoIzH7Rye3BmjHFqOL3pkrhg.cache
|
745
769
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/XtN1zYSzj7nMrKARGZJk3aBoAkOvTRo2e2mfBW4jB6o.cache
|
746
770
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/yEHhEsjQv9j3w1E8HZSLNeJ3FwxVJY02gIUVtdy9sQ4.cache
|
747
771
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/Yg4blpsarsGK85xxkPyxeXWfUmlqediuIlTkheX7BH4.cache
|
748
772
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/zcxP2plJcAimoALnq7ISr97huo22fswDnf7g_3MAVSQ.cache
|
749
773
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/Zo-Gv5yCgWm4ckuzHH4U1SjFs_tYPZVWEGXpoBgZeYU.cache
|
774
|
+
- test/dummy/tmp/cache/assets/sprockets/v3.0/ZXgaX5xc809c6xwGetz1yYwe2rZKM1fsyl1oTYISqoE.cache
|
750
775
|
- test/dummy/tmp/cache/assets/sprockets/v3.0/ZZG2BX3ZNKeB05plv8lIMy-z0yF_KnHRwVS-uMtpcrE.cache
|
751
776
|
- test/dummy/tmp/cache/assets/test/sprockets/0a5b3da98f8307d16bc302a1f7206591
|
752
777
|
- test/dummy/tmp/cache/assets/test/sprockets/0a9995208f1340e4b34008cbd5b73c64
|