rules_engine 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
@@ -83,6 +83,33 @@ module RulesEngineView
83
83
  hidden_field_tag("#{object_name}[_delete]", "", :id => "#{builder_id}__delete")
84
84
  end
85
85
 
86
+ #########################################################
87
+ ## ADD and REMOVE BUTTONS
88
+ def re_button_add url, options = {}
89
+ klass = "re-button-add #{options[:class]}"
90
+ link_to("", url, options.merge(:class => klass))
91
+ end
92
+
93
+ def re_button_remove url, options = {}
94
+ klass = "re-button-remove #{options[:class]}"
95
+ link_to("", url, options.merge(:class => klass))
96
+ end
97
+
98
+ def re_button_select url, options = {}
99
+ klass = "re-button-select #{options[:class]}"
100
+ link_to("", url, options.merge(:class => klass))
101
+ end
102
+
103
+ def re_button_checked url, options = {}
104
+ klass = "re-button-checked #{options[:class]}"
105
+ link_to("", url, options.merge(:class => klass))
106
+ end
107
+
108
+ def re_button_unchecked url, options = {}
109
+ klass = "re-button-unchecked #{options[:class]}"
110
+ link_to("", url, options.merge(:class => klass))
111
+ end
112
+
86
113
  end
87
114
  end
88
115
 
@@ -260,6 +260,9 @@ class RulesEngineManifest
260
260
  public/stylesheets/rules_engine/images/re_view_button/checked-on.gif
261
261
  public/stylesheets/rules_engine/images/re_view_button/icon-add.png
262
262
  public/stylesheets/rules_engine/images/re_view_button/icon-delete.png
263
+ public/stylesheets/rules_engine/images/re_view_button/list-add.png
264
+ public/stylesheets/rules_engine/images/re_view_button/list-remove.png
265
+ public/stylesheets/rules_engine/images/re_view_button/list-select.png
263
266
  public/stylesheets/rules_engine/images/re_view_button/oval-blue-left.gif
264
267
  public/stylesheets/rules_engine/images/re_view_button/oval-blue-right.gif
265
268
  public/stylesheets/rules_engine/images/re_view_button/oval-gray-left.gif
@@ -75,6 +75,13 @@
75
75
  - re_remove_link(title, object_name, id)
76
76
  - re_remove_field(object_name, id)
77
77
 
78
+ - re_button_add(url, options = {})
79
+ - re_button_remove(url, options = {})
80
+ - re_button_select(url, options = {})
81
+ - re_button_checked(url, options = {})
82
+ - re_button_unchecked(url, options = {})
83
+
84
+
78
85
  ##########################################################
79
86
  = navigate
80
87
 
@@ -1089,9 +1089,9 @@ table.data-line tr.odd td {
1089
1089
  .re-form-field {
1090
1090
  margin: 0;
1091
1091
  padding: 0;
1092
+ border-bottom: 1px solid #EEE;
1092
1093
  }
1093
1094
 
1094
-
1095
1095
  .re-form-label, .re-form-label-error{
1096
1096
  color: #305267;
1097
1097
  font-size: 14px;
@@ -1128,7 +1128,7 @@ table.data-line tr.odd td {
1128
1128
  font-size: 18px;
1129
1129
  line-height: 20px;
1130
1130
  color: #222;
1131
- padding: 0 5px;
1131
+ padding: 4px 5px 0 5px;
1132
1132
  }
1133
1133
 
1134
1134
  .re-form-data .form-error-message,
@@ -1343,31 +1343,70 @@ a.re-form-button-green span{ background: transparent url('./images/re_view_butto
1343
1343
  a.re-form-button-orange span{ background: transparent url('./images/re_view_button/oval-orange-right.gif') no-repeat top right;}
1344
1344
  a.re-form-button-red span{ background: transparent url('./images/re_view_button/oval-red-right.gif') no-repeat top right;}
1345
1345
 
1346
- a.button-checked{
1347
- background: transparent url('./images/re_view_button/checked-on.gif') no-repeat 1px 1px;
1346
+ a.re-button-add{
1347
+ background: transparent url('./images/re_view_button/list-add.png') no-repeat top left;
1348
+ /* border: 1px solid #fff;*/
1349
+ width: 16px;
1350
+ height: 16px;
1351
+ float: left;
1352
+ padding: 0;
1353
+ margin:0px 7px 0 0;
1354
+ font-size: 0px;
1355
+ color: #fff;
1356
+ }
1357
+ a.re-button-add:hover { background-color: #696969; }
1358
+
1359
+ a.re-button-remove{
1360
+ background: transparent url('./images/re_view_button/list-remove.png') no-repeat top left;
1361
+ /* border: 1px solid #fff;*/
1362
+ width: 16px;
1363
+ height: 16px;
1364
+ float: left;
1365
+ padding: 0;
1366
+ margin:0px 2px 0 0;
1367
+ font-size: 0px;
1368
+ color: #fff;
1369
+ }
1370
+ a.re-button-remove:hover { background-color: #696969; }
1371
+
1372
+ a.re-button-select{
1373
+ background: transparent url('./images/re_view_button/list-select.png') no-repeat top left;
1374
+ /* border: 1px solid #fff;*/
1375
+ width: 16px;
1376
+ height: 16px;
1377
+ float: left;
1378
+ padding: 0;
1379
+ margin:0px 7px 0 0;
1380
+ font-size: 0px;
1381
+ color: #fff;
1382
+ }
1383
+ a.re-button-select:hover { background-color: #696969; }
1384
+
1385
+ a.re-button-checked{
1386
+ background: transparent url('./images/re_view_button/checked-on.gif') no-repeat top left;
1348
1387
  /* border: 1px solid #fff;*/
1349
1388
  width: 16px;
1350
1389
  height: 16px;
1351
1390
  float: left;
1352
1391
  padding: 0;
1353
- margin: 0px 2px 0 0;
1392
+ margin: 0px 4px 0 0;
1354
1393
  font-size: 0px;
1355
1394
  color: #fff;
1356
1395
  }
1357
- a.button-checked:hover { background-color: #696969; }
1396
+ a.re-button-checked:hover { background-color: #696969; }
1358
1397
 
1359
- a.button-unchecked{
1360
- background: transparent url('./images/re_view_button/checked-off.gif') no-repeat 1px 1px;
1398
+ a.re-button-unchecked{
1399
+ background: transparent url('./images/re_view_button/checked-off.gif') no-repeat top left;
1361
1400
  /* border: 1px solid #fff;*/
1362
1401
  width: 16px;
1363
1402
  height: 16px;
1364
1403
  float: left;
1365
1404
  padding: 0;
1366
- margin: 0px 2px 0 0;
1405
+ margin: 0px 4px 0 0;
1367
1406
  font-size: 0px;
1368
1407
  color: #fff;
1369
1408
  }
1370
- a.button-unchecked:hover { background-color: #696969; }
1409
+ a.re-button-unchecked:hover { background-color: #696969; }
1371
1410
 
1372
1411
  a.re-add-link {
1373
1412
  display: block;
@@ -13057,3 +13057,663 @@
13057
13057
  RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-05 04:38:52', '2010-08-05 04:39:52', 'mock_code', 2, '2010-08-05 04:37:52')
13058
13058
  RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-05 04:38:52', '2010-08-05 04:40:52', 'mock_code', 3, '2010-08-05 04:36:52')
13059
13059
  RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-05 04:38:52', NULL, 'invalid_dates', 1, '2010-08-05 04:35:52')
13060
+ SQL (1.4ms) select sqlite_version(*)
13061
+ SQL (0.9ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13062
+ SQL (0.2ms)  SELECT name
13063
+ FROM sqlite_master
13064
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13065
+ 
13066
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13067
+ SQL (0.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13068
+ SQL (0.1ms)  SELECT name
13069
+ FROM sqlite_master
13070
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13071
+ 
13072
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13073
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13074
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13075
+ SQL (0.2ms)  SELECT name
13076
+ FROM sqlite_master
13077
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13078
+ 
13079
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13080
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13081
+ SQL (0.2ms)  SELECT name
13082
+ FROM sqlite_master
13083
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13084
+ 
13085
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13086
+ SQL (0.2ms) select sqlite_version(*)
13087
+ SQL (0.3ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13088
+ SQL (0.1ms)  SELECT name
13089
+ FROM sqlite_master
13090
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13091
+ 
13092
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13093
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13094
+ SQL (0.1ms)  SELECT name
13095
+ FROM sqlite_master
13096
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13097
+ 
13098
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13099
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13100
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13101
+ SQL (0.2ms)  SELECT name
13102
+ FROM sqlite_master
13103
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13104
+ 
13105
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13106
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13107
+ SQL (0.2ms)  SELECT name
13108
+ FROM sqlite_master
13109
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13110
+ 
13111
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13112
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 1, NULL, 'mock_tag')
13113
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 2, NULL, 'mock_tag')
13114
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["not found data"]', 'other_code', 1, NULL, 'other_code_tag')
13115
+ RulesEngine::Publish::RePublishedPlan Load (0.3ms) SELECT * FROM "re_published_plans" WHERE (plan_code = 'mock_code') ORDER BY plan_version DESC
13116
+ RulesEngine::Publish::RePublishedPlan Load (0.2ms) SELECT * FROM "re_published_plans" WHERE (plan_code = 'other_code') ORDER BY plan_version DESC
13117
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 1, NULL, 'mock_tag')
13118
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 2, NULL, 'mock_tag')
13119
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["not found data"]', 'other_code', 1, NULL, 'other_code_tag')
13120
+ RulesEngine::Publish::RePublishedPlan Load (0.1ms) SELECT * FROM "re_published_plans" WHERE (plan_code = 'dummy') ORDER BY plan_version DESC
13121
+ RulesEngine::Publish::RePublishedPlan Create (0.2ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 1, NULL, 'mock_tag')
13122
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 2, NULL, 'mock_tag')
13123
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["not found data"]', 'other_code', 1, NULL, 'other_code_tag')
13124
+ RulesEngine::Publish::RePublishedPlan Load (0.3ms) SELECT * FROM "re_published_plans" WHERE (plan_code = 'mock_code') ORDER BY plan_version DESC LIMIT 1
13125
+ RulesEngine::Publish::RePublishedPlan Load (0.2ms) SELECT * FROM "re_published_plans" WHERE (plan_code = 'mock_code') ORDER BY plan_version DESC LIMIT 1
13126
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 1, NULL, 'mock_tag')
13127
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 2, NULL, 'mock_tag')
13128
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["not found data"]', 'other_code', 1, NULL, 'other_code_tag')
13129
+ RulesEngine::Publish::RePublishedPlan Load (0.2ms) SELECT * FROM "re_published_plans" WHERE ((plan_version = 1) AND (plan_code = 'mock_code')) ORDER BY plan_version DESC LIMIT 1
13130
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 1, NULL, 'mock_tag')
13131
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 2, NULL, 'mock_tag')
13132
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["not found data"]', 'other_code', 1, NULL, 'other_code_tag')
13133
+ RulesEngine::Publish::RePublishedPlan Load (0.1ms) SELECT * FROM "re_published_plans" WHERE ((plan_version = 3) AND (plan_code = 'mock_code')) ORDER BY plan_version DESC LIMIT 1
13134
+ RulesEngine::Publish::RePublishedPlan Load (0.1ms) SELECT * FROM "re_published_plans" WHERE (plan_code = 'not_a_code') ORDER BY plan_version DESC LIMIT 1
13135
+ RulesEngine::Process::ReProcessAudit Create (0.2ms) INSERT INTO "re_process_audits" ("created_at", "process_id", "code", "message") VALUES('2010-08-25 02:50:29', 1001, 1, 'message 1')
13136
+ RulesEngine::Process::ReProcessAudit Create (0.1ms) INSERT INTO "re_process_audits" ("created_at", "process_id", "code", "message") VALUES('2010-08-25 02:51:29', 1001, 1, 'message 2')
13137
+ RulesEngine::Process::ReProcessAudit Create (0.1ms) INSERT INTO "re_process_audits" ("created_at", "process_id", "code", "message") VALUES('2010-08-25 02:52:29', 1001, 1, 'message 3')
13138
+ RulesEngine::Process::ReProcessAudit Create (0.1ms) INSERT INTO "re_process_audits" ("created_at", "process_id", "code", "message") VALUES('2010-08-25 02:50:29', 1002, 1, 'message 4')
13139
+ RulesEngine::Process::ReProcessAudit Load (0.4ms) SELECT * FROM "re_process_audits" WHERE (process_id = 1001) ORDER BY created_at ASC, id ASC
13140
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', NULL, 'mock_code', 0, NULL)
13141
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', NULL, 'mock_code', 1, '2010-08-25 02:50:29')
13142
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', '2010-08-25 02:51:29', 'mock_code', 2, '2010-08-25 02:49:29')
13143
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', '2010-08-25 02:52:29', 'mock_code', 3, '2010-08-25 02:48:29')
13144
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', NULL, 'invalid_dates', 1, '2010-08-25 02:47:29')
13145
+ RulesEngine::Process::ReProcessRun Load (0.4ms) SELECT * FROM "re_process_runs" WHERE (process_status > 0) ORDER BY started_at DESC, id DESC LIMIT 10 OFFSET 0
13146
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', NULL, 'mock_code', 0, NULL)
13147
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', NULL, 'mock_code', 1, '2010-08-25 02:50:29')
13148
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', '2010-08-25 02:51:29', 'mock_code', 2, '2010-08-25 02:49:29')
13149
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', '2010-08-25 02:52:29', 'mock_code', 3, '2010-08-25 02:48:29')
13150
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', NULL, 'invalid_dates', 1, '2010-08-25 02:47:29')
13151
+ RulesEngine::Process::ReProcessRun Create (0.3ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', NULL, 'mock_code', 0, NULL)
13152
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', NULL, 'mock_code', 1, '2010-08-25 02:50:29')
13153
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', '2010-08-25 02:51:29', 'mock_code', 2, '2010-08-25 02:49:29')
13154
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', '2010-08-25 02:52:29', 'mock_code', 3, '2010-08-25 02:48:29')
13155
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:50:29', NULL, 'invalid_dates', 1, '2010-08-25 02:47:29')
13156
+ SQL (0.4ms) select sqlite_version(*)
13157
+ SQL (0.6ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13158
+ SQL (0.1ms)  SELECT name
13159
+ FROM sqlite_master
13160
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13161
+ 
13162
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13163
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13164
+ SQL (0.1ms)  SELECT name
13165
+ FROM sqlite_master
13166
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13167
+ 
13168
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13169
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13170
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13171
+ SQL (0.2ms)  SELECT name
13172
+ FROM sqlite_master
13173
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13174
+ 
13175
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13176
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13177
+ SQL (0.2ms)  SELECT name
13178
+ FROM sqlite_master
13179
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13180
+ 
13181
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13182
+ SQL (0.3ms) select sqlite_version(*)
13183
+ SQL (0.4ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13184
+ SQL (0.1ms)  SELECT name
13185
+ FROM sqlite_master
13186
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13187
+ 
13188
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13189
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13190
+ SQL (0.1ms)  SELECT name
13191
+ FROM sqlite_master
13192
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13193
+ 
13194
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13195
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13196
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13197
+ SQL (0.2ms)  SELECT name
13198
+ FROM sqlite_master
13199
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13200
+ 
13201
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13202
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13203
+ SQL (0.2ms)  SELECT name
13204
+ FROM sqlite_master
13205
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13206
+ 
13207
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13208
+ SQL (0.3ms) select sqlite_version(*)
13209
+ SQL (0.5ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13210
+ SQL (0.1ms)  SELECT name
13211
+ FROM sqlite_master
13212
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13213
+ 
13214
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13215
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13216
+ SQL (0.1ms)  SELECT name
13217
+ FROM sqlite_master
13218
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13219
+ 
13220
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13221
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13222
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13223
+ SQL (0.2ms)  SELECT name
13224
+ FROM sqlite_master
13225
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13226
+ 
13227
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13228
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13229
+ SQL (0.2ms)  SELECT name
13230
+ FROM sqlite_master
13231
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13232
+ 
13233
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13234
+ SQL (0.3ms) select sqlite_version(*)
13235
+ SQL (0.4ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13236
+ SQL (0.1ms)  SELECT name
13237
+ FROM sqlite_master
13238
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13239
+ 
13240
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13241
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13242
+ SQL (0.1ms)  SELECT name
13243
+ FROM sqlite_master
13244
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13245
+ 
13246
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13247
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13248
+ SQL (0.1ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13249
+ SQL (0.1ms)  SELECT name
13250
+ FROM sqlite_master
13251
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13252
+ 
13253
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13254
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13255
+ SQL (0.2ms)  SELECT name
13256
+ FROM sqlite_master
13257
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13258
+ 
13259
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13260
+ SQL (0.3ms) select sqlite_version(*)
13261
+ SQL (0.4ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13262
+ SQL (0.1ms)  SELECT name
13263
+ FROM sqlite_master
13264
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13265
+ 
13266
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13267
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13268
+ SQL (0.1ms)  SELECT name
13269
+ FROM sqlite_master
13270
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13271
+ 
13272
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13273
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13274
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13275
+ SQL (0.2ms)  SELECT name
13276
+ FROM sqlite_master
13277
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13278
+ 
13279
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13280
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13281
+ SQL (0.2ms)  SELECT name
13282
+ FROM sqlite_master
13283
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13284
+ 
13285
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13286
+ SQL (0.3ms) select sqlite_version(*)
13287
+ SQL (0.4ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13288
+ SQL (0.1ms)  SELECT name
13289
+ FROM sqlite_master
13290
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13291
+ 
13292
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13293
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13294
+ SQL (0.1ms)  SELECT name
13295
+ FROM sqlite_master
13296
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13297
+ 
13298
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13299
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13300
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13301
+ SQL (0.2ms)  SELECT name
13302
+ FROM sqlite_master
13303
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13304
+ 
13305
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13306
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13307
+ SQL (0.2ms)  SELECT name
13308
+ FROM sqlite_master
13309
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13310
+ 
13311
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13312
+ SQL (0.3ms) select sqlite_version(*)
13313
+ SQL (0.5ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13314
+ SQL (0.1ms)  SELECT name
13315
+ FROM sqlite_master
13316
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13317
+ 
13318
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13319
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13320
+ SQL (0.1ms)  SELECT name
13321
+ FROM sqlite_master
13322
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13323
+ 
13324
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13325
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13326
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13327
+ SQL (0.2ms)  SELECT name
13328
+ FROM sqlite_master
13329
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13330
+ 
13331
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13332
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13333
+ SQL (0.2ms)  SELECT name
13334
+ FROM sqlite_master
13335
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13336
+ 
13337
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13338
+ SQL (0.4ms) select sqlite_version(*)
13339
+ SQL (0.5ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13340
+ SQL (0.1ms)  SELECT name
13341
+ FROM sqlite_master
13342
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13343
+ 
13344
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13345
+ SQL (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13346
+ SQL (0.2ms)  SELECT name
13347
+ FROM sqlite_master
13348
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13349
+ 
13350
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13351
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13352
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13353
+ SQL (0.2ms)  SELECT name
13354
+ FROM sqlite_master
13355
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13356
+ 
13357
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13358
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13359
+ SQL (0.2ms)  SELECT name
13360
+ FROM sqlite_master
13361
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13362
+ 
13363
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13364
+ SQL (0.2ms) select sqlite_version(*)
13365
+ SQL (0.4ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13366
+ SQL (0.1ms)  SELECT name
13367
+ FROM sqlite_master
13368
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13369
+ 
13370
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13371
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13372
+ SQL (0.1ms)  SELECT name
13373
+ FROM sqlite_master
13374
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13375
+ 
13376
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13377
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13378
+ SQL (0.3ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13379
+ SQL (0.2ms)  SELECT name
13380
+ FROM sqlite_master
13381
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13382
+ 
13383
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13384
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13385
+ SQL (0.2ms)  SELECT name
13386
+ FROM sqlite_master
13387
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13388
+ 
13389
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13390
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 1, NULL, 'mock_tag')
13391
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 2, NULL, 'mock_tag')
13392
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["not found data"]', 'other_code', 1, NULL, 'other_code_tag')
13393
+ RulesEngine::Publish::RePublishedPlan Load (0.3ms) SELECT * FROM "re_published_plans" WHERE (plan_code = 'mock_code') ORDER BY plan_version DESC
13394
+ RulesEngine::Publish::RePublishedPlan Load (0.2ms) SELECT * FROM "re_published_plans" WHERE (plan_code = 'other_code') ORDER BY plan_version DESC
13395
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 1, NULL, 'mock_tag')
13396
+ RulesEngine::Publish::RePublishedPlan Create (0.2ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 2, NULL, 'mock_tag')
13397
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["not found data"]', 'other_code', 1, NULL, 'other_code_tag')
13398
+ RulesEngine::Publish::RePublishedPlan Load (0.1ms) SELECT * FROM "re_published_plans" WHERE (plan_code = 'dummy') ORDER BY plan_version DESC
13399
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 1, NULL, 'mock_tag')
13400
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 2, NULL, 'mock_tag')
13401
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["not found data"]', 'other_code', 1, NULL, 'other_code_tag')
13402
+ RulesEngine::Publish::RePublishedPlan Load (0.2ms) SELECT * FROM "re_published_plans" WHERE (plan_code = 'mock_code') ORDER BY plan_version DESC LIMIT 1
13403
+ RulesEngine::Publish::RePublishedPlan Load (0.2ms) SELECT * FROM "re_published_plans" WHERE (plan_code = 'mock_code') ORDER BY plan_version DESC LIMIT 1
13404
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 1, NULL, 'mock_tag')
13405
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 2, NULL, 'mock_tag')
13406
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["not found data"]', 'other_code', 1, NULL, 'other_code_tag')
13407
+ RulesEngine::Publish::RePublishedPlan Load (0.2ms) SELECT * FROM "re_published_plans" WHERE ((plan_version = 1) AND (plan_code = 'mock_code')) ORDER BY plan_version DESC LIMIT 1
13408
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 1, NULL, 'mock_tag')
13409
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["mock data"]', 'mock_code', 2, NULL, 'mock_tag')
13410
+ RulesEngine::Publish::RePublishedPlan Create (0.1ms) INSERT INTO "re_published_plans" ("data", "plan_code", "plan_version", "published_at", "version_tag") VALUES('["not found data"]', 'other_code', 1, NULL, 'other_code_tag')
13411
+ RulesEngine::Publish::RePublishedPlan Load (0.1ms) SELECT * FROM "re_published_plans" WHERE ((plan_version = 3) AND (plan_code = 'mock_code')) ORDER BY plan_version DESC LIMIT 1
13412
+ RulesEngine::Publish::RePublishedPlan Load (0.1ms) SELECT * FROM "re_published_plans" WHERE (plan_code = 'not_a_code') ORDER BY plan_version DESC LIMIT 1
13413
+ RulesEngine::Process::ReProcessAudit Create (0.1ms) INSERT INTO "re_process_audits" ("created_at", "process_id", "code", "message") VALUES('2010-08-25 02:53:49', 1001, 1, 'message 1')
13414
+ RulesEngine::Process::ReProcessAudit Create (0.1ms) INSERT INTO "re_process_audits" ("created_at", "process_id", "code", "message") VALUES('2010-08-25 02:54:49', 1001, 1, 'message 2')
13415
+ RulesEngine::Process::ReProcessAudit Create (0.1ms) INSERT INTO "re_process_audits" ("created_at", "process_id", "code", "message") VALUES('2010-08-25 02:55:49', 1001, 1, 'message 3')
13416
+ RulesEngine::Process::ReProcessAudit Create (0.1ms) INSERT INTO "re_process_audits" ("created_at", "process_id", "code", "message") VALUES('2010-08-25 02:53:49', 1002, 1, 'message 4')
13417
+ RulesEngine::Process::ReProcessAudit Load (0.3ms) SELECT * FROM "re_process_audits" WHERE (process_id = 1001) ORDER BY created_at ASC, id ASC
13418
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', NULL, 'mock_code', 0, NULL)
13419
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', NULL, 'mock_code', 1, '2010-08-25 02:53:49')
13420
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', '2010-08-25 02:54:49', 'mock_code', 2, '2010-08-25 02:52:49')
13421
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', '2010-08-25 02:55:49', 'mock_code', 3, '2010-08-25 02:51:49')
13422
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', NULL, 'invalid_dates', 1, '2010-08-25 02:50:49')
13423
+ RulesEngine::Process::ReProcessRun Load (0.5ms) SELECT * FROM "re_process_runs" WHERE (process_status > 0) ORDER BY started_at DESC, id DESC LIMIT 10 OFFSET 0
13424
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', NULL, 'mock_code', 0, NULL)
13425
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', NULL, 'mock_code', 1, '2010-08-25 02:53:49')
13426
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', '2010-08-25 02:54:49', 'mock_code', 2, '2010-08-25 02:52:49')
13427
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', '2010-08-25 02:55:49', 'mock_code', 3, '2010-08-25 02:51:49')
13428
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', NULL, 'invalid_dates', 1, '2010-08-25 02:50:49')
13429
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', NULL, 'mock_code', 0, NULL)
13430
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', NULL, 'mock_code', 1, '2010-08-25 02:53:49')
13431
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', '2010-08-25 02:54:49', 'mock_code', 2, '2010-08-25 02:52:49')
13432
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', '2010-08-25 02:55:49', 'mock_code', 3, '2010-08-25 02:51:49')
13433
+ RulesEngine::Process::ReProcessRun Create (0.1ms) INSERT INTO "re_process_runs" ("created_at", "finished_at", "plan_code", "process_status", "started_at") VALUES('2010-08-25 02:53:49', NULL, 'invalid_dates', 1, '2010-08-25 02:50:49')
13434
+ SQL (0.3ms) select sqlite_version(*)
13435
+ SQL (0.5ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13436
+ SQL (0.1ms)  SELECT name
13437
+ FROM sqlite_master
13438
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13439
+ 
13440
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13441
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13442
+ SQL (0.1ms)  SELECT name
13443
+ FROM sqlite_master
13444
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13445
+ 
13446
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13447
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13448
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13449
+ SQL (0.2ms)  SELECT name
13450
+ FROM sqlite_master
13451
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13452
+ 
13453
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13454
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13455
+ SQL (0.2ms)  SELECT name
13456
+ FROM sqlite_master
13457
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13458
+ 
13459
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13460
+ SQL (0.3ms) select sqlite_version(*)
13461
+ SQL (0.5ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13462
+ SQL (0.1ms)  SELECT name
13463
+ FROM sqlite_master
13464
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13465
+ 
13466
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13467
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13468
+ SQL (0.1ms)  SELECT name
13469
+ FROM sqlite_master
13470
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13471
+ 
13472
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13473
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13474
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13475
+ SQL (0.2ms)  SELECT name
13476
+ FROM sqlite_master
13477
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13478
+ 
13479
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13480
+ SQL (0.3ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13481
+ SQL (0.2ms)  SELECT name
13482
+ FROM sqlite_master
13483
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13484
+ 
13485
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13486
+ SQL (0.3ms) select sqlite_version(*)
13487
+ SQL (0.5ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13488
+ SQL (0.1ms)  SELECT name
13489
+ FROM sqlite_master
13490
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13491
+ 
13492
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13493
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13494
+ SQL (0.1ms)  SELECT name
13495
+ FROM sqlite_master
13496
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13497
+ 
13498
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13499
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13500
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13501
+ SQL (0.2ms)  SELECT name
13502
+ FROM sqlite_master
13503
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13504
+ 
13505
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13506
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13507
+ SQL (0.2ms)  SELECT name
13508
+ FROM sqlite_master
13509
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13510
+ 
13511
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13512
+ SQL (0.3ms) select sqlite_version(*)
13513
+ SQL (0.4ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13514
+ SQL (0.1ms)  SELECT name
13515
+ FROM sqlite_master
13516
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13517
+ 
13518
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13519
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13520
+ SQL (0.1ms)  SELECT name
13521
+ FROM sqlite_master
13522
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13523
+ 
13524
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13525
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13526
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13527
+ SQL (0.2ms)  SELECT name
13528
+ FROM sqlite_master
13529
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13530
+ 
13531
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13532
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13533
+ SQL (0.2ms)  SELECT name
13534
+ FROM sqlite_master
13535
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13536
+ 
13537
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13538
+ SQL (0.3ms) select sqlite_version(*)
13539
+ SQL (0.5ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13540
+ SQL (0.1ms)  SELECT name
13541
+ FROM sqlite_master
13542
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13543
+ 
13544
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13545
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13546
+ SQL (0.1ms)  SELECT name
13547
+ FROM sqlite_master
13548
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13549
+ 
13550
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13551
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13552
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13553
+ SQL (0.2ms)  SELECT name
13554
+ FROM sqlite_master
13555
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13556
+ 
13557
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13558
+ SQL (0.3ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13559
+ SQL (0.2ms)  SELECT name
13560
+ FROM sqlite_master
13561
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13562
+ 
13563
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13564
+ SQL (0.3ms) select sqlite_version(*)
13565
+ SQL (0.4ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13566
+ SQL (0.1ms)  SELECT name
13567
+ FROM sqlite_master
13568
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13569
+ 
13570
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13571
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13572
+ SQL (0.1ms)  SELECT name
13573
+ FROM sqlite_master
13574
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13575
+ 
13576
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13577
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13578
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13579
+ SQL (0.2ms)  SELECT name
13580
+ FROM sqlite_master
13581
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13582
+ 
13583
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13584
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13585
+ SQL (0.2ms)  SELECT name
13586
+ FROM sqlite_master
13587
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13588
+ 
13589
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13590
+ SQL (0.3ms) select sqlite_version(*)
13591
+ SQL (0.5ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13592
+ SQL (0.1ms)  SELECT name
13593
+ FROM sqlite_master
13594
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13595
+ 
13596
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13597
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13598
+ SQL (0.1ms)  SELECT name
13599
+ FROM sqlite_master
13600
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13601
+ 
13602
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13603
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13604
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13605
+ SQL (0.2ms)  SELECT name
13606
+ FROM sqlite_master
13607
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13608
+ 
13609
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13610
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13611
+ SQL (0.2ms)  SELECT name
13612
+ FROM sqlite_master
13613
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13614
+ 
13615
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13616
+ SQL (0.3ms) select sqlite_version(*)
13617
+ SQL (0.5ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13618
+ SQL (0.1ms)  SELECT name
13619
+ FROM sqlite_master
13620
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13621
+ 
13622
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13623
+ SQL (0.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13624
+ SQL (0.1ms)  SELECT name
13625
+ FROM sqlite_master
13626
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13627
+ 
13628
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13629
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13630
+ SQL (1.0ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13631
+ SQL (1.2ms)  SELECT name
13632
+ FROM sqlite_master
13633
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13634
+ 
13635
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13636
+ SQL (0.3ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13637
+ SQL (0.2ms)  SELECT name
13638
+ FROM sqlite_master
13639
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13640
+ 
13641
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13642
+ SQL (0.3ms) select sqlite_version(*)
13643
+ SQL (0.4ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13644
+ SQL (0.1ms)  SELECT name
13645
+ FROM sqlite_master
13646
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13647
+ 
13648
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13649
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13650
+ SQL (0.1ms)  SELECT name
13651
+ FROM sqlite_master
13652
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13653
+ 
13654
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13655
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13656
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13657
+ SQL (0.2ms)  SELECT name
13658
+ FROM sqlite_master
13659
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13660
+ 
13661
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13662
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13663
+ SQL (0.2ms)  SELECT name
13664
+ FROM sqlite_master
13665
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13666
+ 
13667
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13668
+ SQL (0.4ms) select sqlite_version(*)
13669
+ SQL (0.8ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13670
+ SQL (0.2ms)  SELECT name
13671
+ FROM sqlite_master
13672
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13673
+ 
13674
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13675
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13676
+ SQL (0.1ms)  SELECT name
13677
+ FROM sqlite_master
13678
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13679
+ 
13680
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13681
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13682
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13683
+ SQL (0.2ms)  SELECT name
13684
+ FROM sqlite_master
13685
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13686
+ 
13687
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13688
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13689
+ SQL (0.2ms)  SELECT name
13690
+ FROM sqlite_master
13691
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13692
+ 
13693
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13694
+ SQL (0.3ms) select sqlite_version(*)
13695
+ SQL (0.5ms) CREATE TABLE "re_published_plans" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "plan_version" integer, "version_tag" varchar(255), "published_at" datetime, "data" text) 
13696
+ SQL (0.1ms)  SELECT name
13697
+ FROM sqlite_master
13698
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13699
+ 
13700
+ SQL (0.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
13701
+ SQL (0.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
13702
+ SQL (0.1ms)  SELECT name
13703
+ FROM sqlite_master
13704
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13705
+ 
13706
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13707
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('1')
13708
+ SQL (0.2ms) CREATE TABLE "re_process_runs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "plan_code" varchar(255), "process_status" integer, "created_at" datetime, "started_at" datetime, "finished_at" datetime) 
13709
+ SQL (0.2ms)  SELECT name
13710
+ FROM sqlite_master
13711
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13712
+ 
13713
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
13714
+ SQL (0.2ms) CREATE TABLE "re_process_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "process_id" integer, "created_at" datetime, "code" integer, "message" varchar(255)) 
13715
+ SQL (0.2ms)  SELECT name
13716
+ FROM sqlite_master
13717
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
13718
+ 
13719
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
@@ -1212,3 +1212,49 @@
1212
1212
  ***** 1009, 3, Plan : mock_plan : failure
1213
1213
  ***** 1009, 1, Plan : mock_plan : started
1214
1214
  ***** 1009, 3, Plan : mock_plan : failure
1215
+ ***** 1009, 1, Plan : mock_plan : started
1216
+ ***** 1009, 3, Plan : mock_plan : failure
1217
+ ***** 1009, 1, Plan : mock_plan : started
1218
+ ***** 1009, 3, Plan : mock_plan : failure
1219
+ ***** 1009, 1, Plan : mock_plan : started
1220
+ ***** 1009, 2, Plan : mock_plan : success
1221
+ ***** 1009, 1, Plan : mock_plan : started
1222
+ ***** 1009, 2, Plan : mock_plan : success
1223
+ ***** 1009, 1, Plan : mock_plan : started
1224
+ ***** 1009, 3, Workflow : db_runner_workflow : not found
1225
+ ***** 1009, 3, Plan : mock_plan : failure
1226
+ ***** 1009, 1, Plan : mock_plan : started
1227
+ ***** 1009, 3, Workflow : db_runner_workflow : not found
1228
+ ***** 1009, 3, Plan : mock_plan : failure
1229
+ ***** 1009, 1, Plan : mock_plan : started
1230
+ ***** 1009, 3, Workflow : db_runner_workflow : not found
1231
+ ***** 1009, 3, Plan : mock_plan : failure
1232
+ ***** 1009, 3, Process missing
1233
+ ***** 1009, 1, Plan : mock_plan : started
1234
+ ***** 1009, 3, Workflow : db_runner_workflow : not found
1235
+ ***** 1009, 3, Plan : mock_plan : failure
1236
+ ***** 1009, 1, Plan : mock_plan : started
1237
+ ***** 1009, 3, Plan : mock_plan : failure
1238
+ ***** 1009, 1, Plan : mock_plan : started
1239
+ ***** 1009, 3, Plan : mock_plan : failure
1240
+ ***** 1009, 1, Plan : mock_plan : started
1241
+ ***** 1009, 3, Plan : mock_plan : failure
1242
+ ***** 1009, 1, Plan : mock_plan : started
1243
+ ***** 1009, 2, Plan : mock_plan : success
1244
+ ***** 1009, 1, Plan : mock_plan : started
1245
+ ***** 1009, 2, Plan : mock_plan : success
1246
+ ***** 1009, 1, Plan : mock_plan : started
1247
+ ***** 1009, 3, Workflow : db_runner_workflow : not found
1248
+ ***** 1009, 3, Plan : mock_plan : failure
1249
+ ***** 1009, 1, Plan : mock_plan : started
1250
+ ***** 1009, 3, Workflow : db_runner_workflow : not found
1251
+ ***** 1009, 3, Plan : mock_plan : failure
1252
+ ***** 1009, 1, Plan : mock_plan : started
1253
+ ***** 1009, 3, Workflow : db_runner_workflow : not found
1254
+ ***** 1009, 3, Plan : mock_plan : failure
1255
+ ***** 1009, 3, Process missing
1256
+ ***** 1009, 1, Plan : mock_plan : started
1257
+ ***** 1009, 3, Workflow : db_runner_workflow : not found
1258
+ ***** 1009, 3, Plan : mock_plan : failure
1259
+ ***** 1009, 1, Plan : mock_plan : started
1260
+ ***** 1009, 3, Plan : mock_plan : failure
@@ -59,7 +59,7 @@ end
59
59
 
60
60
  it "should call button link" do
61
61
  @template.should_receive(:re_button_link).with("title", "url", "#{color}", {})
62
- eval_erb("<% re_button_link_#{color}('title', 'url') %>")
62
+ eval_erb("<%= re_button_link_#{color}('title', 'url') %>")
63
63
  end
64
64
  end
65
65
  end
@@ -68,56 +68,87 @@ end
68
68
  describe "re_add_link", :type => :helper do
69
69
  it "should call link_to with the title" do
70
70
  @template.should_receive(:link_to).with("mock_title", "#", anything())
71
- eval_erb("<% re_add_link('mock_title', 'mock_id') %>")
71
+ eval_erb("<%= re_add_link('mock_title', 'mock_id') %>")
72
72
  end
73
73
 
74
74
  it "should call link_to with the id" do
75
75
  @template.should_receive(:link_to).with(anything(), anything(), hash_including({:id => 'mock_id'}))
76
- eval_erb("<% re_add_link('mock_title', 'mock_id') %>")
76
+ eval_erb("<%= re_add_link('mock_title', 'mock_id') %>")
77
77
  end
78
78
 
79
79
  it "should set the link class to re-add-link" do
80
80
  @template.should_receive(:link_to).with(anything(), anything(), hash_including({:class => 're-add-link'}))
81
- eval_erb("<% re_add_link('mock_title', 'mock_id') %>")
81
+ eval_erb("<%= re_add_link('mock_title', 'mock_id') %>")
82
82
  end
83
83
 
84
84
  end
85
85
 
86
86
  describe "re_remove_link", :type => :helper do
87
87
  it "shouldbe blank if the id is 0" do
88
- eval_erb("<% re_remove_link('mock_title', 'object[name]', 0) %>").should be_blank
88
+ eval_erb("<%= re_remove_link('mock_title', 'object[name]', 0) %>").should be_blank
89
89
  end
90
90
 
91
91
  it "should call link_to with the title" do
92
92
  @template.should_receive(:link_to).with("mock_title", anything(), anything())
93
- eval_erb("<% re_remove_link('mock_title', 'object[name]', 'mock_id') %>")
93
+ eval_erb("<%= re_remove_link('mock_title', 'object[name]', 'mock_id') %>")
94
94
  end
95
95
 
96
96
  it "should call link_to with the id" do
97
97
  @template.should_receive(:link_to).with(anything(), anything(), hash_including({:id => 'object_name_remove'}))
98
- eval_erb("<% re_remove_link('mock_title', 'object[name]', 'mock_id') %>")
98
+ eval_erb("<%= re_remove_link('mock_title', 'object[name]', 'mock_id') %>")
99
99
  end
100
100
 
101
101
  it "should set the link class to re-remove-link" do
102
102
  @template.should_receive(:link_to).with(anything(), anything(), hash_including({:class => 're-remove-link'}))
103
- eval_erb("<% re_remove_link('mock_title', 'object[name]', 'mock_id') %>")
103
+ eval_erb("<%= re_remove_link('mock_title', 'object[name]', 'mock_id') %>")
104
104
  end
105
105
 
106
106
  end
107
107
 
108
108
  describe "re_remove_field", :type => :helper do
109
109
  it "should be blank if the id is 0" do
110
- eval_erb("<% re_remove_field('object[name]', 0) %>").should be_blank
110
+ eval_erb("<%= re_remove_field('object[name]', 0) %>").should be_blank
111
111
  end
112
112
 
113
113
  it "should call hidden_field_tag with the _delete field" do
114
114
  @template.should_receive(:hidden_field_tag).with("object[name][_delete]", anything(), anything())
115
- eval_erb("<% re_remove_field('object[name]', 'mock_id') %>")
115
+ eval_erb("<%= re_remove_field('object[name]', 'mock_id') %>")
116
116
  end
117
117
 
118
118
  it "should call hidden_field_tag with the id" do
119
119
  @template.should_receive(:hidden_field_tag).with(anything(), anything(), hash_including({:id => 'object_name__delete'}))
120
- eval_erb("<% re_remove_field('object[name]', 'mock_id') %>")
120
+ eval_erb("<%= re_remove_field('object[name]', 'mock_id') %>")
121
121
  end
122
+ end
123
+
124
+
125
+ describe "re_button_add", :type => :helper do
126
+ it "should a link to with the class re-button-add" do
127
+ eval_erb("<%= re_button_add('http://test') %>").should have_tag('a.re-button-add[href=http://test]')
128
+ end
129
+ end
130
+
131
+ describe "re_button_remove", :type => :helper do
132
+ it "should a link to with the class re-button-remove" do
133
+ eval_erb("<%= re_button_remove('http://test') %>").should have_tag('a.re-button-remove[href=http://test]')
134
+ end
135
+ end
122
136
 
137
+ describe "re_button_select", :type => :helper do
138
+ it "should a link to with the class re-button-select" do
139
+ eval_erb("<%= re_button_select('http://test') %>").should have_tag('a.re-button-select[href=http://test]')
140
+ end
141
+ end
142
+
143
+ describe "re_button_checked", :type => :helper do
144
+ it "should a link to with the class re-button-checked" do
145
+ eval_erb("<%= re_button_checked('http://test') %>").should have_tag('a.re-button-checked[href=http://test]')
146
+ end
147
+ end
148
+
149
+
150
+ describe "re_button_unchecked", :type => :helper do
151
+ it "should a link to with the class re-button-unchecked" do
152
+ eval_erb("<%= re_button_unchecked('http://test') %>").should have_tag('a.re-button-unchecked[href=http://test]')
153
+ end
123
154
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rules_engine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 8
10
- version: 0.1.8
9
+ - 9
10
+ version: 0.1.9
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Douglas
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-09 00:00:00 +10:00
18
+ date: 2010-08-26 00:00:00 +10:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -291,6 +291,9 @@ files:
291
291
  - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/checked-on.gif
292
292
  - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/icon-add.png
293
293
  - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/icon-delete.png
294
+ - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/list-add.png
295
+ - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/list-remove.png
296
+ - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/list-select.png
294
297
  - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/oval-blue-left.gif
295
298
  - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/oval-blue-right.gif
296
299
  - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/oval-gray-left.gif