rules_engine 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (470) hide show
  1. data/README.textile +40 -99
  2. data/VERSION +1 -1
  3. data/{rails_generators/templates/app → app}/controllers/re_history_controller.rb +1 -1
  4. data/{rails_generators/templates/app → app}/controllers/re_plan_workflow_rules_controller.rb +2 -2
  5. data/{rails_generators/templates/app → app}/controllers/re_plan_workflows_controller.rb +3 -3
  6. data/{rails_generators/templates/app → app}/controllers/re_plans_controller.rb +2 -2
  7. data/{rails_generators/templates/app → app}/controllers/re_publications_controller.rb +1 -1
  8. data/{rails_generators/templates/app → app}/controllers/re_workflow_rules_controller.rb +1 -1
  9. data/{rails_generators/templates/app → app}/controllers/re_workflows_controller.rb +1 -1
  10. data/{rails_generators/templates/app → app}/helpers/rules_engine_helper.rb +0 -0
  11. data/{rails_generators/templates/app → app}/models/re_plan.rb +2 -2
  12. data/app/models/re_plan_workflow.rb +10 -0
  13. data/{rails_generators/templates/app → app}/models/re_rule.rb +3 -2
  14. data/{rails_generators/templates/app → app}/models/re_workflow.rb +2 -2
  15. data/{rails_generators/templates/app → app}/views/layouts/rules_engine.html.erb +10 -5
  16. data/{rails_generators/templates/app → app}/views/re_history/_index_prepare.html.erb +0 -0
  17. data/{rails_generators/templates/app → app}/views/re_history/_index_update.html.erb +0 -0
  18. data/{rails_generators/templates/app → app}/views/re_history/_show.html.erb +1 -1
  19. data/{rails_generators/templates/app → app}/views/re_history/index.html.erb +1 -1
  20. data/{rails_generators/templates/app → app}/views/re_history/index.js.erb +0 -0
  21. data/{rails_generators/templates/app → app}/views/re_history/show.html.erb +2 -2
  22. data/{rails_generators/templates/app → app}/views/re_history/show.js.erb +0 -0
  23. data/{rails_generators/templates/app → app}/views/re_plan_workflow_rules/edit.html.erb +1 -1
  24. data/{rails_generators/templates/app → app}/views/re_plan_workflow_rules/edit.js.erb +0 -0
  25. data/{rails_generators/templates/app/views/re_workflow_rules → app/views/re_plan_workflow_rules}/error.html.erb +1 -1
  26. data/{rails_generators/templates/app → app}/views/re_plan_workflow_rules/error.js.erb +0 -0
  27. data/{rails_generators/templates/app → app}/views/re_plan_workflow_rules/help.html.erb +1 -1
  28. data/{rails_generators/templates/app → app}/views/re_plan_workflow_rules/help.js.erb +0 -0
  29. data/{rails_generators/templates/app → app}/views/re_plan_workflow_rules/new.html.erb +1 -1
  30. data/{rails_generators/templates/app → app}/views/re_plan_workflow_rules/new.js.erb +0 -0
  31. data/{rails_generators/templates/app → app}/views/re_plan_workflow_rules/update.js.erb +0 -0
  32. data/{rails_generators/templates/app → app}/views/re_plan_workflows/change.html.erb +4 -3
  33. data/{rails_generators/templates/app → app}/views/re_plan_workflows/copy.html.erb +1 -1
  34. data/{rails_generators/templates/app → app}/views/re_plan_workflows/copy.js.erb +0 -0
  35. data/{rails_generators/templates/app → app}/views/re_plan_workflows/edit.html.erb +1 -1
  36. data/{rails_generators/templates/app → app}/views/re_plan_workflows/edit.js.erb +0 -0
  37. data/{rails_generators/templates/app → app}/views/re_plan_workflows/new.html.erb +1 -1
  38. data/{rails_generators/templates/app → app}/views/re_plan_workflows/new.js.erb +0 -0
  39. data/{rails_generators/templates/app → app}/views/re_plan_workflows/show.html.erb +1 -1
  40. data/{rails_generators/templates/app → app}/views/re_plan_workflows/update.js.erb +0 -0
  41. data/{rails_generators/templates/app → app}/views/re_plans/_change.html.erb +3 -3
  42. data/{rails_generators/templates/app → app}/views/re_plans/_copy.html.erb +3 -3
  43. data/{rails_generators/templates/app → app}/views/re_plans/_edit.html.erb +4 -4
  44. data/{rails_generators/templates/app → app}/views/re_plans/_empty.html.erb +0 -0
  45. data/{rails_generators/templates/app → app}/views/re_plans/_index.html.erb +0 -0
  46. data/{rails_generators/templates/app → app}/views/re_plans/_menu.html.erb +2 -2
  47. data/{rails_generators/templates/app → app}/views/re_plans/_new.html.erb +5 -5
  48. data/{rails_generators/templates/app → app}/views/re_plans/_preview.html.erb +0 -0
  49. data/{rails_generators/templates/app → app}/views/re_plans/_show.html.erb +0 -0
  50. data/{rails_generators/templates/app → app}/views/re_plans/_workflow_change.html.erb +5 -5
  51. data/{rails_generators/templates/app → app}/views/re_plans/_workflow_preview.html.erb +0 -0
  52. data/{rails_generators/templates/app → app}/views/re_plans/_workflow_show.html.erb +1 -1
  53. data/{rails_generators/templates/app → app}/views/re_plans/change.html.erb +4 -4
  54. data/{rails_generators/templates/app → app}/views/re_plans/copy.html.erb +1 -1
  55. data/{rails_generators/templates/app → app}/views/re_plans/copy.js.erb +0 -0
  56. data/{rails_generators/templates/app → app}/views/re_plans/create.js.erb +0 -0
  57. data/{rails_generators/templates/app → app}/views/re_plans/edit.html.erb +1 -1
  58. data/{rails_generators/templates/app → app}/views/re_plans/edit.js.erb +0 -0
  59. data/{rails_generators/templates/app → app}/views/re_plans/history.html.erb +1 -1
  60. data/{rails_generators/templates/app → app}/views/re_plans/history.js.erb +0 -0
  61. data/{rails_generators/templates/app → app}/views/re_plans/index.html.erb +1 -1
  62. data/{rails_generators/templates/app → app}/views/re_plans/index.js.erb +0 -0
  63. data/{rails_generators/templates/app → app}/views/re_plans/new.html.erb +2 -1
  64. data/{rails_generators/templates/app → app}/views/re_plans/new.js.erb +0 -0
  65. data/{rails_generators/templates/app → app}/views/re_plans/preview.html.erb +2 -1
  66. data/{rails_generators/templates/app → app}/views/re_plans/preview.js.erb +0 -0
  67. data/{rails_generators/templates/app → app}/views/re_plans/show.html.erb +1 -1
  68. data/{rails_generators/templates/app → app}/views/re_plans/template.html.erb +5 -5
  69. data/{rails_generators/templates/app → app}/views/re_plans/update.js.erb +0 -0
  70. data/{rails_generators/templates/app → app}/views/re_publications/_show_prepare.html.erb +0 -0
  71. data/{rails_generators/templates/app → app}/views/re_publications/_show_update.html.erb +0 -0
  72. data/{rails_generators/templates/app → app}/views/re_publications/show.html.erb +1 -1
  73. data/{rails_generators/templates/app → app}/views/re_publications/show.js.erb +0 -0
  74. data/{rails_generators/templates/app → app}/views/re_rules/complex/_edit.html.erb +0 -0
  75. data/{rails_generators/templates/app → app}/views/re_rules/complex/_form.html.erb +0 -0
  76. data/{rails_generators/templates/app → app}/views/re_rules/complex/_form_word.html.erb +0 -0
  77. data/{rails_generators/templates/app → app}/views/re_rules/complex/_help.html.erb +0 -0
  78. data/{rails_generators/templates/app → app}/views/re_rules/complex/_new.html.erb +0 -0
  79. data/{rails_generators/templates/app → app}/views/re_rules/simple/_edit.html.erb +0 -0
  80. data/{rails_generators/templates/app → app}/views/re_rules/simple/_form.html.erb +0 -0
  81. data/{rails_generators/templates/app → app}/views/re_rules/simple/_help.html.erb +0 -0
  82. data/{rails_generators/templates/app → app}/views/re_rules/simple/_new.html.erb +0 -0
  83. data/{rails_generators/templates/app → app}/views/re_workflow_rules/_edit.html.erb +3 -3
  84. data/{rails_generators/templates/app → app}/views/re_workflow_rules/_error.html.erb +0 -0
  85. data/{rails_generators/templates/app → app}/views/re_workflow_rules/_help.html.erb +1 -1
  86. data/{rails_generators/templates/app → app}/views/re_workflow_rules/_new.html.erb +3 -3
  87. data/{rails_generators/templates/app → app}/views/re_workflow_rules/edit.html.erb +1 -1
  88. data/{rails_generators/templates/app → app}/views/re_workflow_rules/edit.js.erb +0 -0
  89. data/{rails_generators/templates/app/views/re_plan_workflow_rules → app/views/re_workflow_rules}/error.html.erb +1 -1
  90. data/{rails_generators/templates/app → app}/views/re_workflow_rules/error.js.erb +0 -0
  91. data/{rails_generators/templates/app → app}/views/re_workflow_rules/help.html.erb +1 -1
  92. data/{rails_generators/templates/app → app}/views/re_workflow_rules/help.js.erb +0 -0
  93. data/{rails_generators/templates/app → app}/views/re_workflow_rules/new.html.erb +1 -1
  94. data/{rails_generators/templates/app → app}/views/re_workflow_rules/new.js.erb +0 -0
  95. data/{rails_generators/templates/app → app}/views/re_workflow_rules/update.js.erb +0 -0
  96. data/{rails_generators/templates/app → app}/views/re_workflows/_add_prepare.html.erb +0 -0
  97. data/{rails_generators/templates/app → app}/views/re_workflows/_add_update.html.erb +1 -1
  98. data/{rails_generators/templates/app → app}/views/re_workflows/_copy.html.erb +3 -3
  99. data/{rails_generators/templates/app → app}/views/re_workflows/_edit.html.erb +4 -4
  100. data/{rails_generators/templates/app → app}/views/re_workflows/_empty.html.erb +0 -0
  101. data/{rails_generators/templates/app → app}/views/re_workflows/_index.html.erb +0 -0
  102. data/{rails_generators/templates/app → app}/views/re_workflows/_menu.html.erb +4 -4
  103. data/{rails_generators/templates/app → app}/views/re_workflows/_new.html.erb +3 -3
  104. data/{rails_generators/templates/app → app}/views/re_workflows/_plan_prepare.html.erb +0 -0
  105. data/{rails_generators/templates/app → app}/views/re_workflows/_plan_update.html.erb +0 -0
  106. data/{rails_generators/templates/app → app}/views/re_workflows/_preview.html.erb +0 -0
  107. data/{rails_generators/templates/app → app}/views/re_workflows/_rule_change.html.erb +7 -7
  108. data/{rails_generators/templates/app → app}/views/re_workflows/_rule_empty.html.erb +0 -0
  109. data/{rails_generators/templates/app → app}/views/re_workflows/_rule_preview.html.erb +0 -0
  110. data/{rails_generators/templates/app → app}/views/re_workflows/_rule_show.html.erb +1 -1
  111. data/{rails_generators/templates/app → app}/views/re_workflows/_show.html.erb +0 -0
  112. data/{rails_generators/templates/app → app}/views/re_workflows/add.html.erb +1 -1
  113. data/{rails_generators/templates/app → app}/views/re_workflows/add.js.erb +0 -0
  114. data/{rails_generators/templates/app → app}/views/re_workflows/change.html.erb +1 -1
  115. data/{rails_generators/templates/app → app}/views/re_workflows/copy.html.erb +1 -1
  116. data/{rails_generators/templates/app → app}/views/re_workflows/copy.js.erb +0 -0
  117. data/{rails_generators/templates/app → app}/views/re_workflows/create.js.erb +0 -0
  118. data/{rails_generators/templates/app → app}/views/re_workflows/edit.html.erb +1 -1
  119. data/{rails_generators/templates/app → app}/views/re_workflows/edit.js.erb +0 -0
  120. data/{rails_generators/templates/app → app}/views/re_workflows/index.html.erb +1 -1
  121. data/{rails_generators/templates/app → app}/views/re_workflows/new.html.erb +2 -1
  122. data/{rails_generators/templates/app → app}/views/re_workflows/new.js.erb +0 -0
  123. data/{rails_generators/templates/app → app}/views/re_workflows/plan.html.erb +1 -1
  124. data/{rails_generators/templates/app → app}/views/re_workflows/plan.js.erb +0 -0
  125. data/{rails_generators/templates/app → app}/views/re_workflows/preview.html.erb +2 -1
  126. data/{rails_generators/templates/app → app}/views/re_workflows/preview.js.erb +0 -0
  127. data/{rails_generators/templates/app → app}/views/re_workflows/show.html.erb +1 -1
  128. data/{rails_generators/templates/app → app}/views/re_workflows/update.js.erb +0 -0
  129. data/autotest/discover.rb +2 -0
  130. data/config/routes.rb +67 -0
  131. data/generators/install_generator.rb +38 -0
  132. data/generators/layout_generator.rb +36 -0
  133. data/generators/manifests/application.rb +219 -0
  134. data/generators/manifests/application.yml +12 -0
  135. data/generators/manifests/complex.rb +26 -0
  136. data/{rails_generators → generators}/manifests/complex.yml +0 -0
  137. data/generators/manifests/layout.rb +17 -0
  138. data/generators/manifests/layout.yml +5 -0
  139. data/generators/manifests/simple.rb +25 -0
  140. data/{rails_generators → generators}/manifests/simple.yml +1 -1
  141. data/{rails_generators → generators/manifests}/templates/app/rules/complex.rb +2 -2
  142. data/{rails_generators → generators/manifests}/templates/app/rules/simple.rb +2 -2
  143. data/generators/manifests/templates/app/views/layouts/rules_engine_layout.html.erb +42 -0
  144. data/generators/manifests/templates/app/views/re_rules/complex/_edit.html.erb +1 -0
  145. data/generators/manifests/templates/app/views/re_rules/complex/_form.html.erb +76 -0
  146. data/generators/manifests/templates/app/views/re_rules/complex/_form_word.html.erb +13 -0
  147. data/generators/manifests/templates/app/views/re_rules/complex/_help.html.erb +1 -0
  148. data/generators/manifests/templates/app/views/re_rules/complex/_new.html.erb +1 -0
  149. data/generators/manifests/templates/app/views/re_rules/simple/_edit.html.erb +1 -0
  150. data/generators/manifests/templates/app/views/re_rules/simple/_form.html.erb +25 -0
  151. data/generators/manifests/templates/app/views/re_rules/simple/_help.html.erb +1 -0
  152. data/generators/manifests/templates/app/views/re_rules/simple/_new.html.erb +1 -0
  153. data/generators/manifests/templates/config/initializers/rules_engine.rb +17 -0
  154. data/{rails_generators → generators/manifests}/templates/db/migrate/20100308225008_create_rules_engine.rb +0 -0
  155. data/{rails_generators → generators/manifests}/templates/doc/README.rules_engine +0 -0
  156. data/{rails_generators → generators/manifests}/templates/doc/README.rules_engine_view +0 -0
  157. data/{rails_generators/templates/public/javascripts → generators/manifests/templates/public/javascripts/rules_engine}/jquery-1.4.2.min.js +0 -0
  158. data/{rails_generators/templates/public/javascripts → generators/manifests/templates/public/javascripts/rules_engine}/jquery.autocomplete.pack.js +0 -0
  159. data/{rails_generators/templates/public/javascripts → generators/manifests/templates/public/javascripts/rules_engine}/jquery.blockUI.js +0 -0
  160. data/{rails_generators/templates/public/javascripts → generators/manifests/templates/public/javascripts/rules_engine}/jquery.fancybox-1.3.1.js +0 -0
  161. data/{rails_generators → generators/manifests}/templates/public/javascripts/rules_engine/re_history_index.js +0 -0
  162. data/{rails_generators → generators/manifests}/templates/public/javascripts/rules_engine/re_history_show.js +0 -0
  163. data/{rails_generators → generators/manifests}/templates/public/javascripts/rules_engine/re_plan_change.js +0 -0
  164. data/{rails_generators → generators/manifests}/templates/public/javascripts/rules_engine/re_plan_new.js +0 -0
  165. data/{rails_generators → generators/manifests}/templates/public/javascripts/rules_engine/re_plan_preview.js +0 -0
  166. data/{rails_generators → generators/manifests}/templates/public/javascripts/rules_engine/re_publication_show.js +0 -0
  167. data/{rails_generators → generators/manifests}/templates/public/javascripts/rules_engine/re_view.js +0 -0
  168. data/{rails_generators → generators/manifests}/templates/public/javascripts/rules_engine/re_workflow_add.js +0 -0
  169. data/{rails_generators → generators/manifests}/templates/public/javascripts/rules_engine/re_workflow_change.js +0 -0
  170. data/{rails_generators → generators/manifests}/templates/public/javascripts/rules_engine/re_workflow_new.js +0 -0
  171. data/{rails_generators → generators/manifests}/templates/public/javascripts/rules_engine/re_workflow_plan.js +0 -0
  172. data/{rails_generators → generators/manifests}/templates/public/javascripts/rules_engine/re_workflow_preview.js +0 -0
  173. data/{rails_generators → generators/manifests}/templates/public/javascripts/rules_engine/re_workflow_show.js +0 -0
  174. data/generators/manifests/templates/public/stylesheets/application.css +1 -0
  175. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/ie.css +0 -0
  176. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/buttons/icons/cross.png +0 -0
  177. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/buttons/icons/key.png +0 -0
  178. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/buttons/icons/tick.png +0 -0
  179. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/buttons/readme.txt +0 -0
  180. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/buttons/screen.css +0 -0
  181. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/fancy-type/readme.txt +0 -0
  182. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/fancy-type/screen.css +0 -0
  183. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/link-icons/icons/doc.png +0 -0
  184. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/link-icons/icons/email.png +0 -0
  185. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/link-icons/icons/external.png +0 -0
  186. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/link-icons/icons/feed.png +0 -0
  187. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/link-icons/icons/im.png +0 -0
  188. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  189. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/link-icons/icons/visited.png +0 -0
  190. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/link-icons/icons/xls.png +0 -0
  191. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/link-icons/readme.txt +0 -0
  192. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/link-icons/screen.css +0 -0
  193. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/rtl/readme.txt +0 -0
  194. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/plugins/rtl/screen.css +0 -0
  195. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/print.css +0 -0
  196. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/screen.css +0 -0
  197. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/src/forms.css +0 -0
  198. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/src/grid.css +0 -0
  199. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/src/grid.png +0 -0
  200. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/src/ie.css +0 -0
  201. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/src/print.css +0 -0
  202. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/src/reset.css +0 -0
  203. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/blueprint/src/typography.css +0 -0
  204. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/blank.gif +0 -0
  205. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_close.png +0 -0
  206. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_loading.png +0 -0
  207. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_nav_left.png +0 -0
  208. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_nav_right.png +0 -0
  209. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_shadow_e.png +0 -0
  210. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_shadow_n.png +0 -0
  211. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_shadow_ne.png +0 -0
  212. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_shadow_nw.png +0 -0
  213. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_shadow_s.png +0 -0
  214. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_shadow_se.png +0 -0
  215. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_shadow_sw.png +0 -0
  216. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_shadow_w.png +0 -0
  217. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_title_left.png +0 -0
  218. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_title_main.png +0 -0
  219. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_title_over.png +0 -0
  220. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancy_title_right.png +0 -0
  221. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancybox-x.png +0 -0
  222. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancybox-y.png +0 -0
  223. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/fancybox.png +0 -0
  224. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/fancybox/jquery.fancybox-1.3.1.css +0 -0
  225. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_box/shadowbox.png +0 -0
  226. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_box/whitebox.jpg +0 -0
  227. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/checked-off.gif +0 -0
  228. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/checked-on.gif +0 -0
  229. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/icon-add.png +0 -0
  230. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/icon-delete.png +0 -0
  231. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/list-add.png +0 -0
  232. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/list-remove.png +0 -0
  233. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/list-select.png +0 -0
  234. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/oval-blue-left.gif +0 -0
  235. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/oval-blue-right.gif +0 -0
  236. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/oval-gray-left.gif +0 -0
  237. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/oval-gray-right.gif +0 -0
  238. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/oval-green-left.gif +0 -0
  239. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/oval-green-right.gif +0 -0
  240. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/oval-orange-left.gif +0 -0
  241. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/oval-orange-right.gif +0 -0
  242. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/oval-red-left.gif +0 -0
  243. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_button/oval-red-right.gif +0 -0
  244. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_error/re-alert-close.png +0 -0
  245. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/re_view_navigate/breadcrumb.png +0 -0
  246. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/list-next-disabled-14.png +0 -0
  247. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/list-next-enabled-14.png +0 -0
  248. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/list-prev-disabled-14.png +0 -0
  249. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/list-prev-enabled-14.png +0 -0
  250. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/loading.gif +0 -0
  251. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-changed-18.png +0 -0
  252. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-changed-25.png +0 -0
  253. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-draft-18.png +0 -0
  254. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-draft-25.png +0 -0
  255. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-error-14.png +0 -0
  256. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-info-14.png +0 -0
  257. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-published-18.png +0 -0
  258. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-published-25.png +0 -0
  259. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-success-14.png +0 -0
  260. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-valid-14.png +0 -0
  261. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-valid-18.png +0 -0
  262. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-verify-14.png +0 -0
  263. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-verify-18.png +0 -0
  264. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-verify-25.png +0 -0
  265. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_history/error-14.png +0 -0
  266. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_history/info-14.png +0 -0
  267. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_history/list-25.png +0 -0
  268. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_history/success-14.png +0 -0
  269. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/alert-25.png +0 -0
  270. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/change-25.png +0 -0
  271. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/copy-25.png +0 -0
  272. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/delete-25.png +0 -0
  273. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/edit-25.png +0 -0
  274. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/list-25.png +0 -0
  275. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/new-25.png +0 -0
  276. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/preview-18.png +0 -0
  277. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/publish-25.png +0 -0
  278. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/revert-25.png +0 -0
  279. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/show-25.png +0 -0
  280. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/title-plural.png +0 -0
  281. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/title-single.png +0 -0
  282. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_publication/show-25.png +0 -0
  283. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/add-14.png +0 -0
  284. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/alert-25.png +0 -0
  285. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/destroy-25.png +0 -0
  286. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/edit-25.png +0 -0
  287. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/error-25.png +0 -0
  288. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/help-14.png +0 -0
  289. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/help-25.png +0 -0
  290. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/icon-ad-25.png +0 -0
  291. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/move-down-25.png +0 -0
  292. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/move-down-off-25.png +0 -0
  293. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/move-up-25.png +0 -0
  294. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/move-up-off-25.png +0 -0
  295. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/new-25.png +0 -0
  296. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/next-down-25.png +0 -0
  297. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/next-right-18.png +0 -0
  298. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/show-25.png +0 -0
  299. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/start-pipeline-18.png +0 -0
  300. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/stop-failure-18.png +0 -0
  301. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/stop-success-18.png +0 -0
  302. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/title-plural.png +0 -0
  303. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/title-single.png +0 -0
  304. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/add-14.png +0 -0
  305. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/add-25.png +0 -0
  306. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/add-off-14.png +0 -0
  307. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/alert-25.png +0 -0
  308. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/change-18.png +0 -0
  309. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/change-25.png +0 -0
  310. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/copy-25.png +0 -0
  311. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/delete-25.png +0 -0
  312. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/edit-25.png +0 -0
  313. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/is-default-18.png +0 -0
  314. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/list-25.png +0 -0
  315. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/make-default-18.png +0 -0
  316. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/make-default-off-18.png +0 -0
  317. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/new-25.png +0 -0
  318. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/plan-25.png +0 -0
  319. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/preview-18.png +0 -0
  320. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/remove-18.png +0 -0
  321. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/show-18.png +0 -0
  322. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/show-25.png +0 -0
  323. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/title-plural.png +0 -0
  324. data/{rails_generators → generators/manifests}/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/title-single.png +0 -0
  325. data/{rails_generators/templates/public/stylesheets → generators/manifests/templates/public/stylesheets/rules_engine}/jquery.autocomplete.css +0 -0
  326. data/{rails_generators/templates/public/stylesheets/rules_engine/screen.css → generators/manifests/templates/public/stylesheets/rules_engine/rules_engine.css} +0 -771
  327. data/generators/manifests/templates/public/stylesheets/rules_engine/screen.css +735 -0
  328. data/{rails_generators → generators/manifests}/templates/spec/lib/rules/complex_spec.rb +42 -25
  329. data/{rails_generators → generators/manifests}/templates/spec/lib/rules/simple_spec.rb +33 -32
  330. data/generators/rule_generator.rb +57 -0
  331. data/init.rb +1 -1
  332. data/lib/rules_engine.rb +12 -7
  333. data/lib/rules_engine/engine.rb +33 -0
  334. data/lib/rules_engine/process/auditor/db_auditor.rb +2 -2
  335. data/lib/rules_engine/process/runner/db_runner.rb +4 -4
  336. data/lib/rules_engine/publish/publisher/db_publisher.rb +4 -4
  337. data/lib/rules_engine/rule/definition.rb +6 -11
  338. data/lib/rules_engine_view.rb +11 -9
  339. data/lib/rules_engine_view/alerts.rb +11 -15
  340. data/lib/rules_engine_view/boxes.rb +14 -21
  341. data/lib/rules_engine_view/buttons.rb +10 -15
  342. data/lib/rules_engine_view/config.rb +21 -0
  343. data/lib/rules_engine_view/defer.rb +4 -17
  344. data/lib/rules_engine_view/form_builder.rb +21 -22
  345. data/lib/rules_engine_view/form_fields.rb +7 -7
  346. data/lib/rules_engine_view/form_styles.rb +29 -24
  347. data/lib/rules_engine_view/model_loader.rb +4 -15
  348. data/lib/rules_engine_view/navigate.rb +17 -19
  349. data/{rails_generators/templates/spec → spec}/controllers/re_application_controller_spec.rb +28 -24
  350. data/{rails_generators/templates/spec → spec}/controllers/re_history_controller_spec.rb +6 -6
  351. data/{rails_generators/templates/spec → spec}/controllers/re_plan_workflow_rules_controller_spec.rb +17 -42
  352. data/{rails_generators/templates/spec → spec}/controllers/re_plan_workflows_controller_spec.rb +117 -4
  353. data/{rails_generators/templates/spec → spec}/controllers/re_plans_controller_spec.rb +26 -30
  354. data/{rails_generators/templates/spec → spec}/controllers/re_publications_controller_spec.rb +2 -2
  355. data/{rails_generators/templates/spec → spec}/controllers/re_workflow_rules_controller_spec.rb +16 -41
  356. data/{rails_generators/templates/spec → spec}/controllers/re_workflows_controller_spec.rb +4 -4
  357. data/{rails_generators/templates/spec → spec}/helpers/rules_engine_helper_spec.rb +0 -0
  358. data/spec/{rules_engine → lib/rules_engine}/cache_spec.rb +1 -1
  359. data/spec/{rules_engine → lib/rules_engine}/discovery_spec.rb +12 -12
  360. data/spec/{rules_engine → lib/rules_engine}/process/auditor/db_auditor_spec.rb +1 -1
  361. data/spec/{rules_engine → lib/rules_engine}/process/auditor_spec.rb +1 -1
  362. data/spec/{rules_engine → lib/rules_engine}/process/runner/db_runner_spec.rb +3 -5
  363. data/spec/{rules_engine → lib/rules_engine}/process/runner_spec.rb +1 -1
  364. data/spec/{rules_engine → lib/rules_engine}/publish/publisher/db_publisher_spec.rb +4 -4
  365. data/spec/{rules_engine → lib/rules_engine}/publish/publisher_spec.rb +1 -1
  366. data/spec/{rules_engine → lib/rules_engine}/rule/definition_spec.rb +7 -7
  367. data/spec/{rules_engine_view → lib/rules_engine_view}/alerts_spec.rb +52 -49
  368. data/spec/lib/rules_engine_view/boxes_spec.rb +49 -0
  369. data/spec/lib/rules_engine_view/buttons_spec.rb +184 -0
  370. data/spec/lib/rules_engine_view/defer_spec.rb +90 -0
  371. data/spec/{rules_engine_view → lib/rules_engine_view}/form_builder_fields_spec.rb +76 -53
  372. data/spec/{rules_engine_view → lib/rules_engine_view}/form_builder_spec.rb +6 -4
  373. data/spec/lib/rules_engine_view/form_fields_spec.rb +219 -0
  374. data/spec/lib/rules_engine_view/form_styles_spec.rb +290 -0
  375. data/spec/lib/rules_engine_view/model_loader_spec.rb +202 -0
  376. data/spec/lib/rules_engine_view/navigate_spec.rb +61 -0
  377. data/{rails_generators/templates/spec → spec}/models/re_plan_spec.rb +37 -26
  378. data/spec/models/re_plan_workflow_spec.rb +7 -0
  379. data/{rails_generators/templates/spec → spec}/models/re_rule_spec.rb +16 -10
  380. data/{rails_generators/templates/spec → spec}/models/re_workflow_spec.rb +31 -20
  381. data/spec/rails_3_0_0_root/Gemfile +19 -0
  382. data/spec/rails_3_0_0_root/Gemfile.lock +109 -0
  383. data/spec/rails_3_0_0_root/README +256 -0
  384. data/spec/rails_3_0_0_root/Rakefile +7 -0
  385. data/spec/rails_3_0_0_root/app/controllers/application_controller.rb +32 -0
  386. data/spec/rails_3_0_0_root/app/helpers/application_helper.rb +2 -0
  387. data/spec/rails_3_0_0_root/app/rules/mock_rule.rb +20 -0
  388. data/spec/rails_3_0_0_root/app/views/layouts/application.html.erb +14 -0
  389. data/spec/rails_3_0_0_root/app/views/re_rules/mock_rule/_edit.html +1 -0
  390. data/spec/rails_3_0_0_root/app/views/re_rules/mock_rule/_help.html +1 -0
  391. data/spec/rails_3_0_0_root/app/views/re_rules/mock_rule/_new.html +1 -0
  392. data/spec/rails_3_0_0_root/autotest/discover.rb +2 -0
  393. data/spec/rails_3_0_0_root/config.ru +4 -0
  394. data/spec/rails_3_0_0_root/config/application.rb +42 -0
  395. data/spec/rails_3_0_0_root/config/boot.rb +13 -0
  396. data/spec/{railsenv → rails_3_0_0_root}/config/database.yml +0 -0
  397. data/spec/rails_3_0_0_root/config/environment.rb +5 -0
  398. data/spec/rails_3_0_0_root/config/environments/development.rb +26 -0
  399. data/spec/rails_3_0_0_root/config/environments/production.rb +49 -0
  400. data/spec/rails_3_0_0_root/config/environments/test.rb +35 -0
  401. data/spec/{railsenv → rails_3_0_0_root}/config/initializers/backtrace_silencers.rb +2 -2
  402. data/spec/{railsenv → rails_3_0_0_root}/config/initializers/inflections.rb +1 -1
  403. data/spec/{railsenv → rails_3_0_0_root}/config/initializers/mime_types.rb +0 -0
  404. data/spec/rails_3_0_0_root/config/initializers/secret_token.rb +7 -0
  405. data/spec/rails_3_0_0_root/config/initializers/session_store.rb +8 -0
  406. data/spec/{railsenv → rails_3_0_0_root}/config/locales/en.yml +1 -1
  407. data/spec/rails_3_0_0_root/config/routes.rb +58 -0
  408. data/spec/rails_3_0_0_root/db/development.sqlite3 +0 -0
  409. data/spec/rails_3_0_0_root/db/seeds.rb +7 -0
  410. data/spec/{railsenv → rails_3_0_0_root}/db/test.sqlite3 +0 -0
  411. data/spec/rails_3_0_0_root/doc/README_FOR_APP +2 -0
  412. data/spec/rails_3_0_0_root/log/development.log +0 -0
  413. data/spec/rails_3_0_0_root/log/test.log +59407 -0
  414. data/spec/rails_3_0_0_root/public/404.html +26 -0
  415. data/spec/rails_3_0_0_root/public/422.html +26 -0
  416. data/spec/rails_3_0_0_root/public/500.html +26 -0
  417. data/spec/rails_3_0_0_root/public/favicon.ico +0 -0
  418. data/spec/rails_3_0_0_root/public/images/rails.png +0 -0
  419. data/spec/rails_3_0_0_root/public/javascripts/application.js +0 -0
  420. data/spec/rails_3_0_0_root/public/robots.txt +5 -0
  421. data/spec/rails_3_0_0_root/script/rails +6 -0
  422. data/spec/rails_3_0_0_root/spec/spec_helper.rb +27 -0
  423. data/spec/routing/rules_engine_spec.rb +121 -0
  424. data/spec/spec_helper.rb +25 -51
  425. data/{rails_generators/templates/spec/support/rules_engine_blueprints.rb → spec/support/blueprints.rb} +4 -0
  426. data/spec/support/create_memory_db.rb +88 -0
  427. data/{rails_generators/templates/spec/support/rules_engine_macros.rb → spec/support/macros.rb} +4 -0
  428. data/spec/support/route_matcher.rb +31 -0
  429. data/tasks/rspec.rake +70 -15
  430. data/{rails_generators/templates/lib/tasks → tasks}/rules_engine.rake +6 -8
  431. metadata +554 -420
  432. data/rails_generators/manifests/complex.rb +0 -30
  433. data/rails_generators/manifests/rules_engine.rb +0 -383
  434. data/rails_generators/manifests/rules_engine.yml +0 -80
  435. data/rails_generators/manifests/simple.rb +0 -29
  436. data/rails_generators/rules_engine_generator.rb +0 -45
  437. data/rails_generators/templates/app/models/re_plan_workflow.rb +0 -10
  438. data/rails_generators/templates/config/initializers/rules_engine.rb +0 -9
  439. data/rails_generators/templates/doc/README.rules_engine_features +0 -67
  440. data/rails_generators/templates/features/re_pipeline/lookup.feature +0 -16
  441. data/rails_generators/templates/features/step_definitions/common/re_debug_steps.rb +0 -14
  442. data/rails_generators/templates/features/step_definitions/common/re_error_steps.rb +0 -77
  443. data/rails_generators/templates/features/step_definitions/common/re_form_steps.rb +0 -59
  444. data/rails_generators/templates/features/step_definitions/common/re_model_steps.rb +0 -85
  445. data/rails_generators/templates/features/step_definitions/common/re_user_steps.rb +0 -52
  446. data/rails_generators/templates/features/step_definitions/common/re_view_steps.rb +0 -49
  447. data/rails_generators/templates/features/support/rules_engine.rb +0 -28
  448. data/rails_generators/templates/spec/models/re_plan_workflow_spec.rb +0 -6
  449. data/spec/railsenv/app/controllers/application_controller.rb +0 -10
  450. data/spec/railsenv/app/rules/mock_rule.rb +0 -10
  451. data/spec/railsenv/config/boot.rb +0 -110
  452. data/spec/railsenv/config/environment.rb +0 -41
  453. data/spec/railsenv/config/environments/development.rb +0 -17
  454. data/spec/railsenv/config/environments/production.rb +0 -28
  455. data/spec/railsenv/config/environments/test.rb +0 -28
  456. data/spec/railsenv/config/initializers/new_rails_defaults.rb +0 -19
  457. data/spec/railsenv/config/initializers/session_store.rb +0 -15
  458. data/spec/railsenv/config/routes.rb +0 -43
  459. data/spec/railsenv/log/debug.log +0 -14094
  460. data/spec/railsenv/log/empty.txt +0 -1
  461. data/spec/railsenv/log/test.log +0 -1329
  462. data/spec/rcov.opts +0 -3
  463. data/spec/rules_engine_view/boxes_spec.rb +0 -33
  464. data/spec/rules_engine_view/buttons_spec.rb +0 -154
  465. data/spec/rules_engine_view/defer_spec.rb +0 -80
  466. data/spec/rules_engine_view/form_fields_spec.rb +0 -180
  467. data/spec/rules_engine_view/form_styles_spec.rb +0 -254
  468. data/spec/rules_engine_view/model_loader_spec.rb +0 -177
  469. data/spec/rules_engine_view/navigate_spec.rb +0 -55
  470. data/spec/spec.opts +0 -4
@@ -0,0 +1,31 @@
1
+ module RulesEngine
2
+ module RouteMatcher
3
+ class Matcher
4
+ attr_reader :route_params, :with_params
5
+ def initialize(params = {})
6
+ @route_params = params
7
+ @with_params = params.map{|key, value| ":#{key} => #{value}"}.join(' ')
8
+ end
9
+ end
10
+
11
+ def with_route_params(params, &block)
12
+ @route_matcher = RulesEngine::RouteMatcher::Matcher.new(params)
13
+ yield
14
+ @route_matcher = nil
15
+ end
16
+
17
+ def match_route html_method, controller, routes
18
+ matcher = @route_matcher || RulesEngine::RouteMatcher::Matcher.new()
19
+
20
+ routes.each do |method, path|
21
+ it "routes #{html_method} #{path} to #{controller}##{method} #{matcher.with_params}" do
22
+ { html_method => "#{path}" }.should route_to(
23
+ {:controller => controller.to_s,
24
+ :action => method.to_s }.merge(matcher.route_params)
25
+ )
26
+ end
27
+ end
28
+
29
+ end
30
+ end
31
+ end
data/tasks/rspec.rake CHANGED
@@ -1,18 +1,73 @@
1
- require 'spec/rake/spectask'
1
+ ENV['BUNDLE_GEMFILE'] = File.dirname(__FILE__) + '/../spec/rails_3_0_0_root/Gemfile'
2
2
 
3
- desc "Run all specs in spec directory"
4
- Spec::Rake::SpecTask.new(:spec) do |t|
5
- t.spec_files = FileList['spec/**/*_spec.rb']
6
- end
3
+ require 'rake'
4
+ require 'rake/testtask'
5
+ require 'rspec'
6
+ require 'rspec/core/rake_task'
7
+
8
+
9
+ desc "Run the test suite"
10
+ task :spec => ['spec:setup', 'spec:rules_engine_lib', 'spec:rules_engine_view', 'spec:model', 'spec:routing', 'spec:controller', 'spec:cleanup']
7
11
 
8
12
  namespace :spec do
9
- desc "Run all specs in spec directory with RCov (excluding plugin specs)"
10
- Spec::Rake::SpecTask.new(:rcov) do |t|
11
- t.spec_opts = ['--options', "\"#{File.dirname(__FILE__)}/../spec/spec.opts\""]
12
- t.spec_files = FileList['spec/**/*_spec.rb']
13
- t.rcov = true
14
- t.rcov_opts = lambda do
15
- IO.readlines("#{File.dirname(__FILE__)}/../spec/rcov.opts").map {|l| l.chomp.split " "}.flatten
16
- end
17
- end
18
- end
13
+ desc "Setup the test environment"
14
+ task :setup do
15
+ rules_engine_rails_path = File.expand_path(File.dirname(__FILE__) + '/../spec/rails_3_0_0_root')
16
+
17
+ system "cd #{rules_engine_rails_path} && bundle install"
18
+ system "cd #{rules_engine_rails_path} && ./script/rails generate rules_engine:install"
19
+ end
20
+
21
+ desc "Cleanup the test environment"
22
+ task :cleanup do
23
+ rules_engine_rails_path = File.expand_path(File.dirname(__FILE__) + '/../spec/rails_3_0_0_root')
24
+
25
+ FileUtils.rm_rf("#{rules_engine_rails_path}/public/stylesheets/rules_engine")
26
+ FileUtils.rm_rf("#{rules_engine_rails_path}/public/stylesheets/application.css")
27
+ FileUtils.rm_rf("#{rules_engine_rails_path}/public/javascripts/rules_engine")
28
+ FileUtils.rm_rf("#{rules_engine_rails_path}/config/initializers/rules_engine.rb")
29
+ FileUtils.rm_rf("#{rules_engine_rails_path}/config/initializers/rules_engine.rb")
30
+ FileUtils.rm_rf("#{rules_engine_rails_path}/db/migrate/20100308225008_create_rules_engine.rb")
31
+ FileUtils.rm_rf("#{rules_engine_rails_path}/doc/README.rules_engine")
32
+ FileUtils.rm_rf("#{rules_engine_rails_path}/doc/README.rules_engine_view")
33
+ end
34
+
35
+ desc "Test the rules_engine library"
36
+ RSpec::Core::RakeTask.new(:rules_engine_lib) do |task|
37
+ rules_engine_root = File.expand_path(File.dirname(__FILE__) + '/..')
38
+ task.pattern = rules_engine_root + '/spec/lib/rules_engine/**/*_spec.rb'
39
+ end
40
+
41
+ desc "Test the rules_engine view helpers"
42
+ RSpec::Core::RakeTask.new(:rules_engine_view) do |task|
43
+ rules_engine_root = File.expand_path(File.dirname(__FILE__) + '/..')
44
+ task.pattern = rules_engine_root + '/spec/lib/rules_engine_view/**/*_spec.rb'
45
+ end
46
+
47
+ desc "Test the rules_engine models"
48
+ RSpec::Core::RakeTask.new(:model) do |task|
49
+ rules_engine_root = File.expand_path(File.dirname(__FILE__) + '/..')
50
+ task.pattern = rules_engine_root + '/spec/models/**/*_spec.rb'
51
+ end
52
+
53
+ desc "Test the rules_engine routing"
54
+ RSpec::Core::RakeTask.new(:routing) do |task|
55
+ rules_engine_root = File.expand_path(File.dirname(__FILE__) + '/..')
56
+ task.pattern = rules_engine_root + '/spec/routing/**/*_spec.rb'
57
+ end
58
+
59
+ desc "Test the rules_engine controller helpers"
60
+ RSpec::Core::RakeTask.new(:controller) do |task|
61
+ rules_engine_root = File.expand_path(File.dirname(__FILE__) + '/..')
62
+ task.pattern = rules_engine_root + '/spec/controllers/**/*_spec.rb'
63
+ end
64
+
65
+ desc "Run the coverage report"
66
+ RSpec::Core::RakeTask.new(:rcov) do |task|
67
+ rules_engine_root = File.expand_path(File.dirname(__FILE__) + '/..')
68
+ task.pattern = rules_engine_root + '/spec/lib/**/*_spec.rb'
69
+ task.rcov=true
70
+ task.rcov_opts = %w{--rails --exclude osx\/objc,gems\/,spec\/,features\/}
71
+ end
72
+ end
73
+
@@ -4,32 +4,30 @@ require 'rules_engine'
4
4
  desc "run a rules engine plan"
5
5
  task :rules_engine do
6
6
 
7
- if ENV['re_plan'].blank?
8
- raise "usage: rake rules_engine re_plan=[plan code] re_param='[value]'"
7
+ if ENV['plan'].blank?
8
+ raise "usage: rake rules_engine plan=[plan code] re_param='[value]'"
9
9
  end
10
10
 
11
11
  environment = ENV["RAILS_ENV"] || "development"
12
12
 
13
- dbconfig = YAML::load(File.open("#{File.dirname(__FILE__)}/../../config/database.yml"))[environment]
13
+ dbconfig = YAML::load(File.open("#{Rails.root}/config/database.yml"))[environment]
14
14
  ActiveRecord::Base.establish_connection(dbconfig)
15
15
 
16
16
  RulesEngine::Publish.publisher = :db_publisher
17
17
  RulesEngine::Process.runner = :db_runner
18
18
  RulesEngine::Process.auditor = :db_auditor
19
19
  RulesEngine::Process.auditor.audit_level = RulesEngine::Process::AUDIT_INFO
20
- RulesEngine::Discovery.rules_path = File.expand_path(File.join(File.dirname(__FILE__), '/../../app/rules'))
20
+ RulesEngine::Discovery.rules_path = "#{Rails.root}/app/rules"
21
21
  RulesEngine::Discovery.discover!
22
22
 
23
- plan = RulesEngine::Publish.publisher.get(ENV['re_plan'])
23
+ plan = RulesEngine::Publish.publisher.get(ENV['plan'])
24
24
  if plan.nil?
25
- raise "published plan \"#{ENV['re_plan']}\" not found"
25
+ raise "published plan \"#{ENV['plan']}\" not found"
26
26
  end
27
27
 
28
28
  data = ENV.inject({}){ |data, value| data[value[0].sub(/^re_/, '').to_sym] = value[1] if value[0] =~ /^re_/; data }
29
29
  process_id = RulesEngine::Process.runner.create
30
30
  success = RulesEngine::Process.runner.run_plan(process_id, plan, data)
31
-
32
- # process = RulesEngine::Process.open(process.re_process.id)
33
31
 
34
32
  puts "plan #{success ? 'succeeded' : 'failed'} : process_id = #{process_id} : data = #{data.inspect}"
35
33
  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: 23
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 2
8
+ - 3
9
9
  - 0
10
- version: 0.2.0
10
+ version: 0.3.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Douglas
@@ -15,26 +15,102 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-09-15 00:00:00 +10:00
18
+ date: 2010-09-28 00:00:00 +10:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
- name: rspec
22
+ name: will_paginate
23
23
  prerelease: false
24
24
  requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 13
29
+ hash: -1876988247
30
30
  segments:
31
+ - 3
32
+ - 0
33
+ - pre2
34
+ version: 3.0.pre2
35
+ type: :runtime
36
+ version_requirements: *id001
37
+ - !ruby/object:Gem::Dependency
38
+ name: acts_as_list
39
+ prerelease: false
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ hash: 31
46
+ segments:
47
+ - 0
31
48
  - 1
32
49
  - 2
33
- - 9
34
- version: 1.2.9
50
+ version: 0.1.2
51
+ type: :runtime
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ name: rspec-rails
55
+ prerelease: false
56
+ requirement: &id003 !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ hash: 62196431
62
+ segments:
63
+ - 2
64
+ - 0
65
+ - 0
66
+ - beta
67
+ - 22
68
+ version: 2.0.0.beta.22
35
69
  type: :development
36
- version_requirements: *id001
37
- description: Rules engine
70
+ version_requirements: *id003
71
+ - !ruby/object:Gem::Dependency
72
+ name: webrat
73
+ prerelease: false
74
+ requirement: &id004 !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ hash: 3
80
+ segments:
81
+ - 0
82
+ version: "0"
83
+ type: :development
84
+ version_requirements: *id004
85
+ - !ruby/object:Gem::Dependency
86
+ name: faker
87
+ prerelease: false
88
+ requirement: &id005 !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ">="
92
+ - !ruby/object:Gem::Version
93
+ hash: 3
94
+ segments:
95
+ - 0
96
+ version: "0"
97
+ type: :development
98
+ version_requirements: *id005
99
+ - !ruby/object:Gem::Dependency
100
+ name: machinist
101
+ prerelease: false
102
+ requirement: &id006 !ruby/object:Gem::Requirement
103
+ none: false
104
+ requirements:
105
+ - - ">="
106
+ - !ruby/object:Gem::Version
107
+ hash: 3
108
+ segments:
109
+ - 0
110
+ version: "0"
111
+ type: :development
112
+ version_requirements: *id006
113
+ description: "Ruby Rails Rules Engine Framework : R3EF"
38
114
  email: dougo.chris@gmail.com
39
115
  executables: []
40
116
 
@@ -45,11 +121,341 @@ extra_rdoc_files:
45
121
  - README.textile
46
122
  files:
47
123
  - LICENSE
124
+ - README.textile
48
125
  - VERSION
126
+ - app/controllers/re_history_controller.rb
127
+ - app/controllers/re_plan_workflow_rules_controller.rb
128
+ - app/controllers/re_plan_workflows_controller.rb
129
+ - app/controllers/re_plans_controller.rb
130
+ - app/controllers/re_publications_controller.rb
131
+ - app/controllers/re_workflow_rules_controller.rb
132
+ - app/controllers/re_workflows_controller.rb
133
+ - app/helpers/rules_engine_helper.rb
134
+ - app/models/re_plan.rb
135
+ - app/models/re_plan_workflow.rb
136
+ - app/models/re_rule.rb
137
+ - app/models/re_workflow.rb
138
+ - app/views/layouts/rules_engine.html.erb
139
+ - app/views/re_history/_index_prepare.html.erb
140
+ - app/views/re_history/_index_update.html.erb
141
+ - app/views/re_history/_show.html.erb
142
+ - app/views/re_history/index.html.erb
143
+ - app/views/re_history/index.js.erb
144
+ - app/views/re_history/show.html.erb
145
+ - app/views/re_history/show.js.erb
146
+ - app/views/re_plan_workflow_rules/edit.html.erb
147
+ - app/views/re_plan_workflow_rules/edit.js.erb
148
+ - app/views/re_plan_workflow_rules/error.html.erb
149
+ - app/views/re_plan_workflow_rules/error.js.erb
150
+ - app/views/re_plan_workflow_rules/help.html.erb
151
+ - app/views/re_plan_workflow_rules/help.js.erb
152
+ - app/views/re_plan_workflow_rules/new.html.erb
153
+ - app/views/re_plan_workflow_rules/new.js.erb
154
+ - app/views/re_plan_workflow_rules/update.js.erb
155
+ - app/views/re_plan_workflows/change.html.erb
156
+ - app/views/re_plan_workflows/copy.html.erb
157
+ - app/views/re_plan_workflows/copy.js.erb
158
+ - app/views/re_plan_workflows/edit.html.erb
159
+ - app/views/re_plan_workflows/edit.js.erb
160
+ - app/views/re_plan_workflows/new.html.erb
161
+ - app/views/re_plan_workflows/new.js.erb
162
+ - app/views/re_plan_workflows/show.html.erb
163
+ - app/views/re_plan_workflows/update.js.erb
164
+ - app/views/re_plans/_change.html.erb
165
+ - app/views/re_plans/_copy.html.erb
166
+ - app/views/re_plans/_edit.html.erb
167
+ - app/views/re_plans/_empty.html.erb
168
+ - app/views/re_plans/_index.html.erb
169
+ - app/views/re_plans/_menu.html.erb
170
+ - app/views/re_plans/_new.html.erb
171
+ - app/views/re_plans/_preview.html.erb
172
+ - app/views/re_plans/_show.html.erb
173
+ - app/views/re_plans/_workflow_change.html.erb
174
+ - app/views/re_plans/_workflow_preview.html.erb
175
+ - app/views/re_plans/_workflow_show.html.erb
176
+ - app/views/re_plans/change.html.erb
177
+ - app/views/re_plans/copy.html.erb
178
+ - app/views/re_plans/copy.js.erb
179
+ - app/views/re_plans/create.js.erb
180
+ - app/views/re_plans/edit.html.erb
181
+ - app/views/re_plans/edit.js.erb
182
+ - app/views/re_plans/history.html.erb
183
+ - app/views/re_plans/history.js.erb
184
+ - app/views/re_plans/index.html.erb
185
+ - app/views/re_plans/index.js.erb
186
+ - app/views/re_plans/new.html.erb
187
+ - app/views/re_plans/new.js.erb
188
+ - app/views/re_plans/preview.html.erb
189
+ - app/views/re_plans/preview.js.erb
190
+ - app/views/re_plans/show.html.erb
191
+ - app/views/re_plans/template.html.erb
192
+ - app/views/re_plans/update.js.erb
193
+ - app/views/re_publications/_show_prepare.html.erb
194
+ - app/views/re_publications/_show_update.html.erb
195
+ - app/views/re_publications/show.html.erb
196
+ - app/views/re_publications/show.js.erb
197
+ - app/views/re_rules/complex/_edit.html.erb
198
+ - app/views/re_rules/complex/_form.html.erb
199
+ - app/views/re_rules/complex/_form_word.html.erb
200
+ - app/views/re_rules/complex/_help.html.erb
201
+ - app/views/re_rules/complex/_new.html.erb
202
+ - app/views/re_rules/simple/_edit.html.erb
203
+ - app/views/re_rules/simple/_form.html.erb
204
+ - app/views/re_rules/simple/_help.html.erb
205
+ - app/views/re_rules/simple/_new.html.erb
206
+ - app/views/re_workflow_rules/_edit.html.erb
207
+ - app/views/re_workflow_rules/_error.html.erb
208
+ - app/views/re_workflow_rules/_help.html.erb
209
+ - app/views/re_workflow_rules/_new.html.erb
210
+ - app/views/re_workflow_rules/edit.html.erb
211
+ - app/views/re_workflow_rules/edit.js.erb
212
+ - app/views/re_workflow_rules/error.html.erb
213
+ - app/views/re_workflow_rules/error.js.erb
214
+ - app/views/re_workflow_rules/help.html.erb
215
+ - app/views/re_workflow_rules/help.js.erb
216
+ - app/views/re_workflow_rules/new.html.erb
217
+ - app/views/re_workflow_rules/new.js.erb
218
+ - app/views/re_workflow_rules/update.js.erb
219
+ - app/views/re_workflows/_add_prepare.html.erb
220
+ - app/views/re_workflows/_add_update.html.erb
221
+ - app/views/re_workflows/_copy.html.erb
222
+ - app/views/re_workflows/_edit.html.erb
223
+ - app/views/re_workflows/_empty.html.erb
224
+ - app/views/re_workflows/_index.html.erb
225
+ - app/views/re_workflows/_menu.html.erb
226
+ - app/views/re_workflows/_new.html.erb
227
+ - app/views/re_workflows/_plan_prepare.html.erb
228
+ - app/views/re_workflows/_plan_update.html.erb
229
+ - app/views/re_workflows/_preview.html.erb
230
+ - app/views/re_workflows/_rule_change.html.erb
231
+ - app/views/re_workflows/_rule_empty.html.erb
232
+ - app/views/re_workflows/_rule_preview.html.erb
233
+ - app/views/re_workflows/_rule_show.html.erb
234
+ - app/views/re_workflows/_show.html.erb
235
+ - app/views/re_workflows/add.html.erb
236
+ - app/views/re_workflows/add.js.erb
237
+ - app/views/re_workflows/change.html.erb
238
+ - app/views/re_workflows/copy.html.erb
239
+ - app/views/re_workflows/copy.js.erb
240
+ - app/views/re_workflows/create.js.erb
241
+ - app/views/re_workflows/edit.html.erb
242
+ - app/views/re_workflows/edit.js.erb
243
+ - app/views/re_workflows/index.html.erb
244
+ - app/views/re_workflows/new.html.erb
245
+ - app/views/re_workflows/new.js.erb
246
+ - app/views/re_workflows/plan.html.erb
247
+ - app/views/re_workflows/plan.js.erb
248
+ - app/views/re_workflows/preview.html.erb
249
+ - app/views/re_workflows/preview.js.erb
250
+ - app/views/re_workflows/show.html.erb
251
+ - app/views/re_workflows/update.js.erb
252
+ - autotest/discover.rb
253
+ - config/routes.rb
254
+ - generators/install_generator.rb
255
+ - generators/layout_generator.rb
256
+ - generators/manifests/application.rb
257
+ - generators/manifests/application.yml
258
+ - generators/manifests/complex.rb
259
+ - generators/manifests/complex.yml
260
+ - generators/manifests/layout.rb
261
+ - generators/manifests/layout.yml
262
+ - generators/manifests/simple.rb
263
+ - generators/manifests/simple.yml
264
+ - generators/manifests/templates/app/rules/complex.rb
265
+ - generators/manifests/templates/app/rules/simple.rb
266
+ - generators/manifests/templates/app/views/layouts/rules_engine_layout.html.erb
267
+ - generators/manifests/templates/app/views/re_rules/complex/_edit.html.erb
268
+ - generators/manifests/templates/app/views/re_rules/complex/_form.html.erb
269
+ - generators/manifests/templates/app/views/re_rules/complex/_form_word.html.erb
270
+ - generators/manifests/templates/app/views/re_rules/complex/_help.html.erb
271
+ - generators/manifests/templates/app/views/re_rules/complex/_new.html.erb
272
+ - generators/manifests/templates/app/views/re_rules/simple/_edit.html.erb
273
+ - generators/manifests/templates/app/views/re_rules/simple/_form.html.erb
274
+ - generators/manifests/templates/app/views/re_rules/simple/_help.html.erb
275
+ - generators/manifests/templates/app/views/re_rules/simple/_new.html.erb
276
+ - generators/manifests/templates/config/initializers/rules_engine.rb
277
+ - generators/manifests/templates/db/migrate/20100308225008_create_rules_engine.rb
278
+ - generators/manifests/templates/doc/README.rules_engine
279
+ - generators/manifests/templates/doc/README.rules_engine_view
280
+ - generators/manifests/templates/public/javascripts/rules_engine/jquery-1.4.2.min.js
281
+ - generators/manifests/templates/public/javascripts/rules_engine/jquery.autocomplete.pack.js
282
+ - generators/manifests/templates/public/javascripts/rules_engine/jquery.blockUI.js
283
+ - generators/manifests/templates/public/javascripts/rules_engine/jquery.fancybox-1.3.1.js
284
+ - generators/manifests/templates/public/javascripts/rules_engine/re_history_index.js
285
+ - generators/manifests/templates/public/javascripts/rules_engine/re_history_show.js
286
+ - generators/manifests/templates/public/javascripts/rules_engine/re_plan_change.js
287
+ - generators/manifests/templates/public/javascripts/rules_engine/re_plan_new.js
288
+ - generators/manifests/templates/public/javascripts/rules_engine/re_plan_preview.js
289
+ - generators/manifests/templates/public/javascripts/rules_engine/re_publication_show.js
290
+ - generators/manifests/templates/public/javascripts/rules_engine/re_view.js
291
+ - generators/manifests/templates/public/javascripts/rules_engine/re_workflow_add.js
292
+ - generators/manifests/templates/public/javascripts/rules_engine/re_workflow_change.js
293
+ - generators/manifests/templates/public/javascripts/rules_engine/re_workflow_new.js
294
+ - generators/manifests/templates/public/javascripts/rules_engine/re_workflow_plan.js
295
+ - generators/manifests/templates/public/javascripts/rules_engine/re_workflow_preview.js
296
+ - generators/manifests/templates/public/javascripts/rules_engine/re_workflow_show.js
297
+ - generators/manifests/templates/public/stylesheets/application.css
298
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/ie.css
299
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/buttons/icons/cross.png
300
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/buttons/icons/key.png
301
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/buttons/icons/tick.png
302
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/buttons/readme.txt
303
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/buttons/screen.css
304
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/fancy-type/readme.txt
305
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/fancy-type/screen.css
306
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/link-icons/icons/doc.png
307
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/link-icons/icons/email.png
308
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/link-icons/icons/external.png
309
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/link-icons/icons/feed.png
310
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/link-icons/icons/im.png
311
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/link-icons/icons/pdf.png
312
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/link-icons/icons/visited.png
313
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/link-icons/icons/xls.png
314
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/link-icons/readme.txt
315
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/link-icons/screen.css
316
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/rtl/readme.txt
317
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/plugins/rtl/screen.css
318
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/print.css
319
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/screen.css
320
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/src/forms.css
321
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/src/grid.css
322
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/src/grid.png
323
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/src/ie.css
324
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/src/print.css
325
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/src/reset.css
326
+ - generators/manifests/templates/public/stylesheets/rules_engine/blueprint/src/typography.css
327
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/blank.gif
328
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_close.png
329
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_loading.png
330
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_nav_left.png
331
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_nav_right.png
332
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_shadow_e.png
333
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_shadow_n.png
334
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_shadow_ne.png
335
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_shadow_nw.png
336
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_shadow_s.png
337
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_shadow_se.png
338
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_shadow_sw.png
339
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_shadow_w.png
340
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_title_left.png
341
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_title_main.png
342
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_title_over.png
343
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancy_title_right.png
344
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancybox-x.png
345
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancybox-y.png
346
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/fancybox.png
347
+ - generators/manifests/templates/public/stylesheets/rules_engine/fancybox/jquery.fancybox-1.3.1.css
348
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_box/shadowbox.png
349
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_box/whitebox.jpg
350
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/checked-off.gif
351
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/checked-on.gif
352
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/icon-add.png
353
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/icon-delete.png
354
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/list-add.png
355
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/list-remove.png
356
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/list-select.png
357
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/oval-blue-left.gif
358
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/oval-blue-right.gif
359
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/oval-gray-left.gif
360
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/oval-gray-right.gif
361
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/oval-green-left.gif
362
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/oval-green-right.gif
363
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/oval-orange-left.gif
364
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/oval-orange-right.gif
365
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/oval-red-left.gif
366
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_button/oval-red-right.gif
367
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_error/re-alert-close.png
368
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/re_view_navigate/breadcrumb.png
369
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/list-next-disabled-14.png
370
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/list-next-enabled-14.png
371
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/list-prev-disabled-14.png
372
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/list-prev-enabled-14.png
373
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/loading.gif
374
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-changed-18.png
375
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-changed-25.png
376
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-draft-18.png
377
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-draft-25.png
378
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-error-14.png
379
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-info-14.png
380
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-published-18.png
381
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-published-25.png
382
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-success-14.png
383
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-valid-14.png
384
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-valid-18.png
385
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-verify-14.png
386
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-verify-18.png
387
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-verify-25.png
388
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_history/error-14.png
389
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_history/info-14.png
390
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_history/list-25.png
391
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_history/success-14.png
392
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/alert-25.png
393
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/change-25.png
394
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/copy-25.png
395
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/delete-25.png
396
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/edit-25.png
397
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/list-25.png
398
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/new-25.png
399
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/preview-18.png
400
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/publish-25.png
401
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/revert-25.png
402
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/show-25.png
403
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/title-plural.png
404
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/title-single.png
405
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_publication/show-25.png
406
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/add-14.png
407
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/alert-25.png
408
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/destroy-25.png
409
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/edit-25.png
410
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/error-25.png
411
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/help-14.png
412
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/help-25.png
413
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/icon-ad-25.png
414
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/move-down-25.png
415
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/move-down-off-25.png
416
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/move-up-25.png
417
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/move-up-off-25.png
418
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/new-25.png
419
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/next-down-25.png
420
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/next-right-18.png
421
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/show-25.png
422
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/start-pipeline-18.png
423
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/stop-failure-18.png
424
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/stop-success-18.png
425
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/title-plural.png
426
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/title-single.png
427
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/add-14.png
428
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/add-25.png
429
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/add-off-14.png
430
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/alert-25.png
431
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/change-18.png
432
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/change-25.png
433
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/copy-25.png
434
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/delete-25.png
435
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/edit-25.png
436
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/is-default-18.png
437
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/list-25.png
438
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/make-default-18.png
439
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/make-default-off-18.png
440
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/new-25.png
441
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/plan-25.png
442
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/preview-18.png
443
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/remove-18.png
444
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/show-18.png
445
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/show-25.png
446
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/title-plural.png
447
+ - generators/manifests/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/title-single.png
448
+ - generators/manifests/templates/public/stylesheets/rules_engine/jquery.autocomplete.css
449
+ - generators/manifests/templates/public/stylesheets/rules_engine/rules_engine.css
450
+ - generators/manifests/templates/public/stylesheets/rules_engine/screen.css
451
+ - generators/manifests/templates/spec/lib/rules/complex_spec.rb
452
+ - generators/manifests/templates/spec/lib/rules/simple_spec.rb
453
+ - generators/rule_generator.rb
49
454
  - init.rb
50
455
  - lib/rules_engine.rb
51
456
  - lib/rules_engine/cache.rb
52
457
  - lib/rules_engine/discovery.rb
458
+ - lib/rules_engine/engine.rb
53
459
  - lib/rules_engine/process/auditor.rb
54
460
  - lib/rules_engine/process/auditor/db_auditor.rb
55
461
  - lib/rules_engine/process/runner.rb
@@ -62,395 +468,100 @@ files:
62
468
  - lib/rules_engine_view/alerts.rb
63
469
  - lib/rules_engine_view/boxes.rb
64
470
  - lib/rules_engine_view/buttons.rb
471
+ - lib/rules_engine_view/config.rb
65
472
  - lib/rules_engine_view/defer.rb
66
473
  - lib/rules_engine_view/form_builder.rb
67
474
  - lib/rules_engine_view/form_fields.rb
68
475
  - lib/rules_engine_view/form_styles.rb
69
476
  - lib/rules_engine_view/model_loader.rb
70
477
  - lib/rules_engine_view/navigate.rb
71
- - rails_generators/manifests/complex.rb
72
- - rails_generators/manifests/complex.yml
73
- - rails_generators/manifests/rules_engine.rb
74
- - rails_generators/manifests/rules_engine.yml
75
- - rails_generators/manifests/simple.rb
76
- - rails_generators/manifests/simple.yml
77
- - rails_generators/rules_engine_generator.rb
78
- - rails_generators/templates/app/controllers/re_history_controller.rb
79
- - rails_generators/templates/app/controllers/re_plan_workflow_rules_controller.rb
80
- - rails_generators/templates/app/controllers/re_plan_workflows_controller.rb
81
- - rails_generators/templates/app/controllers/re_plans_controller.rb
82
- - rails_generators/templates/app/controllers/re_publications_controller.rb
83
- - rails_generators/templates/app/controllers/re_workflow_rules_controller.rb
84
- - rails_generators/templates/app/controllers/re_workflows_controller.rb
85
- - rails_generators/templates/app/helpers/rules_engine_helper.rb
86
- - rails_generators/templates/app/models/re_plan.rb
87
- - rails_generators/templates/app/models/re_plan_workflow.rb
88
- - rails_generators/templates/app/models/re_rule.rb
89
- - rails_generators/templates/app/models/re_workflow.rb
90
- - rails_generators/templates/app/rules/complex.rb
91
- - rails_generators/templates/app/rules/simple.rb
92
- - rails_generators/templates/app/views/layouts/rules_engine.html.erb
93
- - rails_generators/templates/app/views/re_history/_index_prepare.html.erb
94
- - rails_generators/templates/app/views/re_history/_index_update.html.erb
95
- - rails_generators/templates/app/views/re_history/_show.html.erb
96
- - rails_generators/templates/app/views/re_history/index.html.erb
97
- - rails_generators/templates/app/views/re_history/index.js.erb
98
- - rails_generators/templates/app/views/re_history/show.html.erb
99
- - rails_generators/templates/app/views/re_history/show.js.erb
100
- - rails_generators/templates/app/views/re_plan_workflow_rules/edit.html.erb
101
- - rails_generators/templates/app/views/re_plan_workflow_rules/edit.js.erb
102
- - rails_generators/templates/app/views/re_plan_workflow_rules/error.html.erb
103
- - rails_generators/templates/app/views/re_plan_workflow_rules/error.js.erb
104
- - rails_generators/templates/app/views/re_plan_workflow_rules/help.html.erb
105
- - rails_generators/templates/app/views/re_plan_workflow_rules/help.js.erb
106
- - rails_generators/templates/app/views/re_plan_workflow_rules/new.html.erb
107
- - rails_generators/templates/app/views/re_plan_workflow_rules/new.js.erb
108
- - rails_generators/templates/app/views/re_plan_workflow_rules/update.js.erb
109
- - rails_generators/templates/app/views/re_plan_workflows/change.html.erb
110
- - rails_generators/templates/app/views/re_plan_workflows/copy.html.erb
111
- - rails_generators/templates/app/views/re_plan_workflows/copy.js.erb
112
- - rails_generators/templates/app/views/re_plan_workflows/edit.html.erb
113
- - rails_generators/templates/app/views/re_plan_workflows/edit.js.erb
114
- - rails_generators/templates/app/views/re_plan_workflows/new.html.erb
115
- - rails_generators/templates/app/views/re_plan_workflows/new.js.erb
116
- - rails_generators/templates/app/views/re_plan_workflows/show.html.erb
117
- - rails_generators/templates/app/views/re_plan_workflows/update.js.erb
118
- - rails_generators/templates/app/views/re_plans/_change.html.erb
119
- - rails_generators/templates/app/views/re_plans/_copy.html.erb
120
- - rails_generators/templates/app/views/re_plans/_edit.html.erb
121
- - rails_generators/templates/app/views/re_plans/_empty.html.erb
122
- - rails_generators/templates/app/views/re_plans/_index.html.erb
123
- - rails_generators/templates/app/views/re_plans/_menu.html.erb
124
- - rails_generators/templates/app/views/re_plans/_new.html.erb
125
- - rails_generators/templates/app/views/re_plans/_preview.html.erb
126
- - rails_generators/templates/app/views/re_plans/_show.html.erb
127
- - rails_generators/templates/app/views/re_plans/_workflow_change.html.erb
128
- - rails_generators/templates/app/views/re_plans/_workflow_preview.html.erb
129
- - rails_generators/templates/app/views/re_plans/_workflow_show.html.erb
130
- - rails_generators/templates/app/views/re_plans/change.html.erb
131
- - rails_generators/templates/app/views/re_plans/copy.html.erb
132
- - rails_generators/templates/app/views/re_plans/copy.js.erb
133
- - rails_generators/templates/app/views/re_plans/create.js.erb
134
- - rails_generators/templates/app/views/re_plans/edit.html.erb
135
- - rails_generators/templates/app/views/re_plans/edit.js.erb
136
- - rails_generators/templates/app/views/re_plans/history.html.erb
137
- - rails_generators/templates/app/views/re_plans/history.js.erb
138
- - rails_generators/templates/app/views/re_plans/index.html.erb
139
- - rails_generators/templates/app/views/re_plans/index.js.erb
140
- - rails_generators/templates/app/views/re_plans/new.html.erb
141
- - rails_generators/templates/app/views/re_plans/new.js.erb
142
- - rails_generators/templates/app/views/re_plans/preview.html.erb
143
- - rails_generators/templates/app/views/re_plans/preview.js.erb
144
- - rails_generators/templates/app/views/re_plans/show.html.erb
145
- - rails_generators/templates/app/views/re_plans/template.html.erb
146
- - rails_generators/templates/app/views/re_plans/update.js.erb
147
- - rails_generators/templates/app/views/re_publications/_show_prepare.html.erb
148
- - rails_generators/templates/app/views/re_publications/_show_update.html.erb
149
- - rails_generators/templates/app/views/re_publications/show.html.erb
150
- - rails_generators/templates/app/views/re_publications/show.js.erb
151
- - rails_generators/templates/app/views/re_rules/complex/_edit.html.erb
152
- - rails_generators/templates/app/views/re_rules/complex/_form.html.erb
153
- - rails_generators/templates/app/views/re_rules/complex/_form_word.html.erb
154
- - rails_generators/templates/app/views/re_rules/complex/_help.html.erb
155
- - rails_generators/templates/app/views/re_rules/complex/_new.html.erb
156
- - rails_generators/templates/app/views/re_rules/simple/_edit.html.erb
157
- - rails_generators/templates/app/views/re_rules/simple/_form.html.erb
158
- - rails_generators/templates/app/views/re_rules/simple/_help.html.erb
159
- - rails_generators/templates/app/views/re_rules/simple/_new.html.erb
160
- - rails_generators/templates/app/views/re_workflow_rules/_edit.html.erb
161
- - rails_generators/templates/app/views/re_workflow_rules/_error.html.erb
162
- - rails_generators/templates/app/views/re_workflow_rules/_help.html.erb
163
- - rails_generators/templates/app/views/re_workflow_rules/_new.html.erb
164
- - rails_generators/templates/app/views/re_workflow_rules/edit.html.erb
165
- - rails_generators/templates/app/views/re_workflow_rules/edit.js.erb
166
- - rails_generators/templates/app/views/re_workflow_rules/error.html.erb
167
- - rails_generators/templates/app/views/re_workflow_rules/error.js.erb
168
- - rails_generators/templates/app/views/re_workflow_rules/help.html.erb
169
- - rails_generators/templates/app/views/re_workflow_rules/help.js.erb
170
- - rails_generators/templates/app/views/re_workflow_rules/new.html.erb
171
- - rails_generators/templates/app/views/re_workflow_rules/new.js.erb
172
- - rails_generators/templates/app/views/re_workflow_rules/update.js.erb
173
- - rails_generators/templates/app/views/re_workflows/_add_prepare.html.erb
174
- - rails_generators/templates/app/views/re_workflows/_add_update.html.erb
175
- - rails_generators/templates/app/views/re_workflows/_copy.html.erb
176
- - rails_generators/templates/app/views/re_workflows/_edit.html.erb
177
- - rails_generators/templates/app/views/re_workflows/_empty.html.erb
178
- - rails_generators/templates/app/views/re_workflows/_index.html.erb
179
- - rails_generators/templates/app/views/re_workflows/_menu.html.erb
180
- - rails_generators/templates/app/views/re_workflows/_new.html.erb
181
- - rails_generators/templates/app/views/re_workflows/_plan_prepare.html.erb
182
- - rails_generators/templates/app/views/re_workflows/_plan_update.html.erb
183
- - rails_generators/templates/app/views/re_workflows/_preview.html.erb
184
- - rails_generators/templates/app/views/re_workflows/_rule_change.html.erb
185
- - rails_generators/templates/app/views/re_workflows/_rule_empty.html.erb
186
- - rails_generators/templates/app/views/re_workflows/_rule_preview.html.erb
187
- - rails_generators/templates/app/views/re_workflows/_rule_show.html.erb
188
- - rails_generators/templates/app/views/re_workflows/_show.html.erb
189
- - rails_generators/templates/app/views/re_workflows/add.html.erb
190
- - rails_generators/templates/app/views/re_workflows/add.js.erb
191
- - rails_generators/templates/app/views/re_workflows/change.html.erb
192
- - rails_generators/templates/app/views/re_workflows/copy.html.erb
193
- - rails_generators/templates/app/views/re_workflows/copy.js.erb
194
- - rails_generators/templates/app/views/re_workflows/create.js.erb
195
- - rails_generators/templates/app/views/re_workflows/edit.html.erb
196
- - rails_generators/templates/app/views/re_workflows/edit.js.erb
197
- - rails_generators/templates/app/views/re_workflows/index.html.erb
198
- - rails_generators/templates/app/views/re_workflows/new.html.erb
199
- - rails_generators/templates/app/views/re_workflows/new.js.erb
200
- - rails_generators/templates/app/views/re_workflows/plan.html.erb
201
- - rails_generators/templates/app/views/re_workflows/plan.js.erb
202
- - rails_generators/templates/app/views/re_workflows/preview.html.erb
203
- - rails_generators/templates/app/views/re_workflows/preview.js.erb
204
- - rails_generators/templates/app/views/re_workflows/show.html.erb
205
- - rails_generators/templates/app/views/re_workflows/update.js.erb
206
- - rails_generators/templates/config/initializers/rules_engine.rb
207
- - rails_generators/templates/db/migrate/20100308225008_create_rules_engine.rb
208
- - rails_generators/templates/doc/README.rules_engine
209
- - rails_generators/templates/doc/README.rules_engine_features
210
- - rails_generators/templates/doc/README.rules_engine_view
211
- - rails_generators/templates/features/re_pipeline/lookup.feature
212
- - rails_generators/templates/features/step_definitions/common/re_debug_steps.rb
213
- - rails_generators/templates/features/step_definitions/common/re_error_steps.rb
214
- - rails_generators/templates/features/step_definitions/common/re_form_steps.rb
215
- - rails_generators/templates/features/step_definitions/common/re_model_steps.rb
216
- - rails_generators/templates/features/step_definitions/common/re_user_steps.rb
217
- - rails_generators/templates/features/step_definitions/common/re_view_steps.rb
218
- - rails_generators/templates/features/support/rules_engine.rb
219
- - rails_generators/templates/lib/tasks/rules_engine.rake
220
- - rails_generators/templates/public/javascripts/jquery-1.4.2.min.js
221
- - rails_generators/templates/public/javascripts/jquery.autocomplete.pack.js
222
- - rails_generators/templates/public/javascripts/jquery.blockUI.js
223
- - rails_generators/templates/public/javascripts/jquery.fancybox-1.3.1.js
224
- - rails_generators/templates/public/javascripts/rules_engine/re_history_index.js
225
- - rails_generators/templates/public/javascripts/rules_engine/re_history_show.js
226
- - rails_generators/templates/public/javascripts/rules_engine/re_plan_change.js
227
- - rails_generators/templates/public/javascripts/rules_engine/re_plan_new.js
228
- - rails_generators/templates/public/javascripts/rules_engine/re_plan_preview.js
229
- - rails_generators/templates/public/javascripts/rules_engine/re_publication_show.js
230
- - rails_generators/templates/public/javascripts/rules_engine/re_view.js
231
- - rails_generators/templates/public/javascripts/rules_engine/re_workflow_add.js
232
- - rails_generators/templates/public/javascripts/rules_engine/re_workflow_change.js
233
- - rails_generators/templates/public/javascripts/rules_engine/re_workflow_new.js
234
- - rails_generators/templates/public/javascripts/rules_engine/re_workflow_plan.js
235
- - rails_generators/templates/public/javascripts/rules_engine/re_workflow_preview.js
236
- - rails_generators/templates/public/javascripts/rules_engine/re_workflow_show.js
237
- - rails_generators/templates/public/stylesheets/blueprint/ie.css
238
- - rails_generators/templates/public/stylesheets/blueprint/plugins/buttons/icons/cross.png
239
- - rails_generators/templates/public/stylesheets/blueprint/plugins/buttons/icons/key.png
240
- - rails_generators/templates/public/stylesheets/blueprint/plugins/buttons/icons/tick.png
241
- - rails_generators/templates/public/stylesheets/blueprint/plugins/buttons/readme.txt
242
- - rails_generators/templates/public/stylesheets/blueprint/plugins/buttons/screen.css
243
- - rails_generators/templates/public/stylesheets/blueprint/plugins/fancy-type/readme.txt
244
- - rails_generators/templates/public/stylesheets/blueprint/plugins/fancy-type/screen.css
245
- - rails_generators/templates/public/stylesheets/blueprint/plugins/link-icons/icons/doc.png
246
- - rails_generators/templates/public/stylesheets/blueprint/plugins/link-icons/icons/email.png
247
- - rails_generators/templates/public/stylesheets/blueprint/plugins/link-icons/icons/external.png
248
- - rails_generators/templates/public/stylesheets/blueprint/plugins/link-icons/icons/feed.png
249
- - rails_generators/templates/public/stylesheets/blueprint/plugins/link-icons/icons/im.png
250
- - rails_generators/templates/public/stylesheets/blueprint/plugins/link-icons/icons/pdf.png
251
- - rails_generators/templates/public/stylesheets/blueprint/plugins/link-icons/icons/visited.png
252
- - rails_generators/templates/public/stylesheets/blueprint/plugins/link-icons/icons/xls.png
253
- - rails_generators/templates/public/stylesheets/blueprint/plugins/link-icons/readme.txt
254
- - rails_generators/templates/public/stylesheets/blueprint/plugins/link-icons/screen.css
255
- - rails_generators/templates/public/stylesheets/blueprint/plugins/rtl/readme.txt
256
- - rails_generators/templates/public/stylesheets/blueprint/plugins/rtl/screen.css
257
- - rails_generators/templates/public/stylesheets/blueprint/print.css
258
- - rails_generators/templates/public/stylesheets/blueprint/screen.css
259
- - rails_generators/templates/public/stylesheets/blueprint/src/forms.css
260
- - rails_generators/templates/public/stylesheets/blueprint/src/grid.css
261
- - rails_generators/templates/public/stylesheets/blueprint/src/grid.png
262
- - rails_generators/templates/public/stylesheets/blueprint/src/ie.css
263
- - rails_generators/templates/public/stylesheets/blueprint/src/print.css
264
- - rails_generators/templates/public/stylesheets/blueprint/src/reset.css
265
- - rails_generators/templates/public/stylesheets/blueprint/src/typography.css
266
- - rails_generators/templates/public/stylesheets/fancybox/blank.gif
267
- - rails_generators/templates/public/stylesheets/fancybox/fancy_close.png
268
- - rails_generators/templates/public/stylesheets/fancybox/fancy_loading.png
269
- - rails_generators/templates/public/stylesheets/fancybox/fancy_nav_left.png
270
- - rails_generators/templates/public/stylesheets/fancybox/fancy_nav_right.png
271
- - rails_generators/templates/public/stylesheets/fancybox/fancy_shadow_e.png
272
- - rails_generators/templates/public/stylesheets/fancybox/fancy_shadow_n.png
273
- - rails_generators/templates/public/stylesheets/fancybox/fancy_shadow_ne.png
274
- - rails_generators/templates/public/stylesheets/fancybox/fancy_shadow_nw.png
275
- - rails_generators/templates/public/stylesheets/fancybox/fancy_shadow_s.png
276
- - rails_generators/templates/public/stylesheets/fancybox/fancy_shadow_se.png
277
- - rails_generators/templates/public/stylesheets/fancybox/fancy_shadow_sw.png
278
- - rails_generators/templates/public/stylesheets/fancybox/fancy_shadow_w.png
279
- - rails_generators/templates/public/stylesheets/fancybox/fancy_title_left.png
280
- - rails_generators/templates/public/stylesheets/fancybox/fancy_title_main.png
281
- - rails_generators/templates/public/stylesheets/fancybox/fancy_title_over.png
282
- - rails_generators/templates/public/stylesheets/fancybox/fancy_title_right.png
283
- - rails_generators/templates/public/stylesheets/fancybox/fancybox-x.png
284
- - rails_generators/templates/public/stylesheets/fancybox/fancybox-y.png
285
- - rails_generators/templates/public/stylesheets/fancybox/fancybox.png
286
- - rails_generators/templates/public/stylesheets/fancybox/jquery.fancybox-1.3.1.css
287
- - rails_generators/templates/public/stylesheets/jquery.autocomplete.css
288
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_box/shadowbox.png
289
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_box/whitebox.jpg
290
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/checked-off.gif
291
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/checked-on.gif
292
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/icon-add.png
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
297
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/oval-blue-left.gif
298
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/oval-blue-right.gif
299
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/oval-gray-left.gif
300
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/oval-gray-right.gif
301
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/oval-green-left.gif
302
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/oval-green-right.gif
303
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/oval-orange-left.gif
304
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/oval-orange-right.gif
305
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/oval-red-left.gif
306
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_button/oval-red-right.gif
307
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_error/re-alert-close.png
308
- - rails_generators/templates/public/stylesheets/rules_engine/images/re_view_navigate/breadcrumb.png
309
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/list-next-disabled-14.png
310
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/list-next-enabled-14.png
311
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/list-prev-disabled-14.png
312
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/list-prev-enabled-14.png
313
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/loading.gif
314
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-changed-18.png
315
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-changed-25.png
316
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-draft-18.png
317
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-draft-25.png
318
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-error-14.png
319
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-info-14.png
320
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-published-18.png
321
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-published-25.png
322
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-success-14.png
323
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-valid-14.png
324
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-valid-18.png
325
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-verify-14.png
326
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-verify-18.png
327
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_common/status-verify-25.png
328
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_history/error-14.png
329
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_history/info-14.png
330
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_history/list-25.png
331
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_history/success-14.png
332
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/alert-25.png
333
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/change-25.png
334
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/copy-25.png
335
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/delete-25.png
336
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/edit-25.png
337
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/list-25.png
338
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/new-25.png
339
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/preview-18.png
340
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/publish-25.png
341
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/revert-25.png
342
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/show-25.png
343
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/title-plural.png
344
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_plan/title-single.png
345
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_publication/show-25.png
346
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/add-14.png
347
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/alert-25.png
348
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/destroy-25.png
349
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/edit-25.png
350
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/error-25.png
351
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/help-14.png
352
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/help-25.png
353
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/icon-ad-25.png
354
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/move-down-25.png
355
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/move-down-off-25.png
356
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/move-up-25.png
357
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/move-up-off-25.png
358
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/new-25.png
359
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/next-down-25.png
360
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/next-right-18.png
361
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/show-25.png
362
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/start-pipeline-18.png
363
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/stop-failure-18.png
364
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/stop-success-18.png
365
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/title-plural.png
366
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_rule/title-single.png
367
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/add-14.png
368
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/add-25.png
369
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/add-off-14.png
370
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/alert-25.png
371
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/change-18.png
372
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/change-25.png
373
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/copy-25.png
374
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/delete-25.png
375
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/edit-25.png
376
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/is-default-18.png
377
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/list-25.png
378
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/make-default-18.png
379
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/make-default-off-18.png
380
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/new-25.png
381
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/plan-25.png
382
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/preview-18.png
383
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/remove-18.png
384
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/show-18.png
385
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/show-25.png
386
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/title-plural.png
387
- - rails_generators/templates/public/stylesheets/rules_engine/images/rules_engine/re_workflow/title-single.png
388
- - rails_generators/templates/public/stylesheets/rules_engine/screen.css
389
- - rails_generators/templates/spec/controllers/re_application_controller_spec.rb
390
- - rails_generators/templates/spec/controllers/re_history_controller_spec.rb
391
- - rails_generators/templates/spec/controllers/re_plan_workflow_rules_controller_spec.rb
392
- - rails_generators/templates/spec/controllers/re_plan_workflows_controller_spec.rb
393
- - rails_generators/templates/spec/controllers/re_plans_controller_spec.rb
394
- - rails_generators/templates/spec/controllers/re_publications_controller_spec.rb
395
- - rails_generators/templates/spec/controllers/re_workflow_rules_controller_spec.rb
396
- - rails_generators/templates/spec/controllers/re_workflows_controller_spec.rb
397
- - rails_generators/templates/spec/helpers/rules_engine_helper_spec.rb
398
- - rails_generators/templates/spec/lib/rules/complex_spec.rb
399
- - rails_generators/templates/spec/lib/rules/simple_spec.rb
400
- - rails_generators/templates/spec/models/re_plan_spec.rb
401
- - rails_generators/templates/spec/models/re_plan_workflow_spec.rb
402
- - rails_generators/templates/spec/models/re_rule_spec.rb
403
- - rails_generators/templates/spec/models/re_workflow_spec.rb
404
- - rails_generators/templates/spec/support/rules_engine_blueprints.rb
405
- - rails_generators/templates/spec/support/rules_engine_macros.rb
406
- - spec/railsenv/app/controllers/application_controller.rb
407
- - spec/railsenv/app/rules/mock_rule.rb
408
- - spec/railsenv/config/boot.rb
409
- - spec/railsenv/config/database.yml
410
- - spec/railsenv/config/environment.rb
411
- - spec/railsenv/config/environments/development.rb
412
- - spec/railsenv/config/environments/production.rb
413
- - spec/railsenv/config/environments/test.rb
414
- - spec/railsenv/config/initializers/backtrace_silencers.rb
415
- - spec/railsenv/config/initializers/inflections.rb
416
- - spec/railsenv/config/initializers/mime_types.rb
417
- - spec/railsenv/config/initializers/new_rails_defaults.rb
418
- - spec/railsenv/config/initializers/session_store.rb
419
- - spec/railsenv/config/locales/en.yml
420
- - spec/railsenv/config/routes.rb
421
- - spec/railsenv/db/test.sqlite3
422
- - spec/railsenv/log/debug.log
423
- - spec/railsenv/log/empty.txt
424
- - spec/railsenv/log/test.log
425
- - spec/rcov.opts
426
- - spec/rules_engine/cache_spec.rb
427
- - spec/rules_engine/discovery_spec.rb
428
- - spec/rules_engine/process/auditor/db_auditor_spec.rb
429
- - spec/rules_engine/process/auditor_spec.rb
430
- - spec/rules_engine/process/runner/db_runner_spec.rb
431
- - spec/rules_engine/process/runner_spec.rb
432
- - spec/rules_engine/publish/publisher/db_publisher_spec.rb
433
- - spec/rules_engine/publish/publisher_spec.rb
434
- - spec/rules_engine/rule/definition_spec.rb
435
- - spec/rules_engine_view/alerts_spec.rb
436
- - spec/rules_engine_view/boxes_spec.rb
437
- - spec/rules_engine_view/buttons_spec.rb
438
- - spec/rules_engine_view/defer_spec.rb
439
- - spec/rules_engine_view/form_builder_fields_spec.rb
440
- - spec/rules_engine_view/form_builder_spec.rb
441
- - spec/rules_engine_view/form_fields_spec.rb
442
- - spec/rules_engine_view/form_styles_spec.rb
443
- - spec/rules_engine_view/model_loader_spec.rb
444
- - spec/rules_engine_view/navigate_spec.rb
445
- - spec/spec.opts
478
+ - spec/controllers/re_application_controller_spec.rb
479
+ - spec/controllers/re_history_controller_spec.rb
480
+ - spec/controllers/re_plan_workflow_rules_controller_spec.rb
481
+ - spec/controllers/re_plan_workflows_controller_spec.rb
482
+ - spec/controllers/re_plans_controller_spec.rb
483
+ - spec/controllers/re_publications_controller_spec.rb
484
+ - spec/controllers/re_workflow_rules_controller_spec.rb
485
+ - spec/controllers/re_workflows_controller_spec.rb
486
+ - spec/helpers/rules_engine_helper_spec.rb
487
+ - spec/lib/rules_engine/cache_spec.rb
488
+ - spec/lib/rules_engine/discovery_spec.rb
489
+ - spec/lib/rules_engine/process/auditor/db_auditor_spec.rb
490
+ - spec/lib/rules_engine/process/auditor_spec.rb
491
+ - spec/lib/rules_engine/process/runner/db_runner_spec.rb
492
+ - spec/lib/rules_engine/process/runner_spec.rb
493
+ - spec/lib/rules_engine/publish/publisher/db_publisher_spec.rb
494
+ - spec/lib/rules_engine/publish/publisher_spec.rb
495
+ - spec/lib/rules_engine/rule/definition_spec.rb
496
+ - spec/lib/rules_engine_view/alerts_spec.rb
497
+ - spec/lib/rules_engine_view/boxes_spec.rb
498
+ - spec/lib/rules_engine_view/buttons_spec.rb
499
+ - spec/lib/rules_engine_view/defer_spec.rb
500
+ - spec/lib/rules_engine_view/form_builder_fields_spec.rb
501
+ - spec/lib/rules_engine_view/form_builder_spec.rb
502
+ - spec/lib/rules_engine_view/form_fields_spec.rb
503
+ - spec/lib/rules_engine_view/form_styles_spec.rb
504
+ - spec/lib/rules_engine_view/model_loader_spec.rb
505
+ - spec/lib/rules_engine_view/navigate_spec.rb
506
+ - spec/models/re_plan_spec.rb
507
+ - spec/models/re_plan_workflow_spec.rb
508
+ - spec/models/re_rule_spec.rb
509
+ - spec/models/re_workflow_spec.rb
510
+ - spec/rails_3_0_0_root/Gemfile
511
+ - spec/rails_3_0_0_root/Gemfile.lock
512
+ - spec/rails_3_0_0_root/README
513
+ - spec/rails_3_0_0_root/Rakefile
514
+ - spec/rails_3_0_0_root/app/controllers/application_controller.rb
515
+ - spec/rails_3_0_0_root/app/helpers/application_helper.rb
516
+ - spec/rails_3_0_0_root/app/rules/mock_rule.rb
517
+ - spec/rails_3_0_0_root/app/views/layouts/application.html.erb
518
+ - spec/rails_3_0_0_root/app/views/re_rules/mock_rule/_edit.html
519
+ - spec/rails_3_0_0_root/app/views/re_rules/mock_rule/_help.html
520
+ - spec/rails_3_0_0_root/app/views/re_rules/mock_rule/_new.html
521
+ - spec/rails_3_0_0_root/autotest/discover.rb
522
+ - spec/rails_3_0_0_root/config.ru
523
+ - spec/rails_3_0_0_root/config/application.rb
524
+ - spec/rails_3_0_0_root/config/boot.rb
525
+ - spec/rails_3_0_0_root/config/database.yml
526
+ - spec/rails_3_0_0_root/config/environment.rb
527
+ - spec/rails_3_0_0_root/config/environments/development.rb
528
+ - spec/rails_3_0_0_root/config/environments/production.rb
529
+ - spec/rails_3_0_0_root/config/environments/test.rb
530
+ - spec/rails_3_0_0_root/config/initializers/backtrace_silencers.rb
531
+ - spec/rails_3_0_0_root/config/initializers/inflections.rb
532
+ - spec/rails_3_0_0_root/config/initializers/mime_types.rb
533
+ - spec/rails_3_0_0_root/config/initializers/secret_token.rb
534
+ - spec/rails_3_0_0_root/config/initializers/session_store.rb
535
+ - spec/rails_3_0_0_root/config/locales/en.yml
536
+ - spec/rails_3_0_0_root/config/routes.rb
537
+ - spec/rails_3_0_0_root/db/development.sqlite3
538
+ - spec/rails_3_0_0_root/db/seeds.rb
539
+ - spec/rails_3_0_0_root/db/test.sqlite3
540
+ - spec/rails_3_0_0_root/doc/README_FOR_APP
541
+ - spec/rails_3_0_0_root/log/development.log
542
+ - spec/rails_3_0_0_root/log/test.log
543
+ - spec/rails_3_0_0_root/public/404.html
544
+ - spec/rails_3_0_0_root/public/422.html
545
+ - spec/rails_3_0_0_root/public/500.html
546
+ - spec/rails_3_0_0_root/public/favicon.ico
547
+ - spec/rails_3_0_0_root/public/images/rails.png
548
+ - spec/rails_3_0_0_root/public/javascripts/application.js
549
+ - spec/rails_3_0_0_root/public/robots.txt
550
+ - spec/rails_3_0_0_root/script/rails
551
+ - spec/rails_3_0_0_root/spec/spec_helper.rb
552
+ - spec/routing/rules_engine_spec.rb
446
553
  - spec/spec_helper.rb
554
+ - spec/support/blueprints.rb
555
+ - spec/support/create_memory_db.rb
556
+ - spec/support/macros.rb
557
+ - spec/support/route_matcher.rb
447
558
  - tasks/rspec.rake
448
- - README.textile
559
+ - tasks/rules_engine.rake
449
560
  has_rdoc: true
450
- homepage: http://github.com/dougochris/rules_engine_view
561
+ homepage: http://github.com/dougochris/rules_engine
451
562
  licenses: []
452
563
 
453
- post_install_message: "\n *** RUN script/generate rules_engine\n "
564
+ post_install_message: "\n *** RUN script/rails generate rules_engine:install --help\n "
454
565
  rdoc_options:
455
566
  - --charset=UTF-8
456
567
  require_paths:
@@ -481,36 +592,59 @@ signing_key:
481
592
  specification_version: 3
482
593
  summary: Rules engine
483
594
  test_files:
484
- - spec/railsenv/app/controllers/application_controller.rb
485
- - spec/railsenv/app/rules/mock_rule.rb
486
- - spec/railsenv/config/boot.rb
487
- - spec/railsenv/config/environment.rb
488
- - spec/railsenv/config/environments/development.rb
489
- - spec/railsenv/config/environments/production.rb
490
- - spec/railsenv/config/environments/test.rb
491
- - spec/railsenv/config/initializers/backtrace_silencers.rb
492
- - spec/railsenv/config/initializers/inflections.rb
493
- - spec/railsenv/config/initializers/mime_types.rb
494
- - spec/railsenv/config/initializers/new_rails_defaults.rb
495
- - spec/railsenv/config/initializers/session_store.rb
496
- - spec/railsenv/config/routes.rb
497
- - spec/rules_engine/cache_spec.rb
498
- - spec/rules_engine/discovery_spec.rb
499
- - spec/rules_engine/process/auditor/db_auditor_spec.rb
500
- - spec/rules_engine/process/auditor_spec.rb
501
- - spec/rules_engine/process/runner/db_runner_spec.rb
502
- - spec/rules_engine/process/runner_spec.rb
503
- - spec/rules_engine/publish/publisher/db_publisher_spec.rb
504
- - spec/rules_engine/publish/publisher_spec.rb
505
- - spec/rules_engine/rule/definition_spec.rb
506
- - spec/rules_engine_view/alerts_spec.rb
507
- - spec/rules_engine_view/boxes_spec.rb
508
- - spec/rules_engine_view/buttons_spec.rb
509
- - spec/rules_engine_view/defer_spec.rb
510
- - spec/rules_engine_view/form_builder_fields_spec.rb
511
- - spec/rules_engine_view/form_builder_spec.rb
512
- - spec/rules_engine_view/form_fields_spec.rb
513
- - spec/rules_engine_view/form_styles_spec.rb
514
- - spec/rules_engine_view/model_loader_spec.rb
515
- - spec/rules_engine_view/navigate_spec.rb
595
+ - spec/controllers/re_application_controller_spec.rb
596
+ - spec/controllers/re_history_controller_spec.rb
597
+ - spec/controllers/re_plan_workflow_rules_controller_spec.rb
598
+ - spec/controllers/re_plan_workflows_controller_spec.rb
599
+ - spec/controllers/re_plans_controller_spec.rb
600
+ - spec/controllers/re_publications_controller_spec.rb
601
+ - spec/controllers/re_workflow_rules_controller_spec.rb
602
+ - spec/controllers/re_workflows_controller_spec.rb
603
+ - spec/helpers/rules_engine_helper_spec.rb
604
+ - spec/lib/rules_engine/cache_spec.rb
605
+ - spec/lib/rules_engine/discovery_spec.rb
606
+ - spec/lib/rules_engine/process/auditor/db_auditor_spec.rb
607
+ - spec/lib/rules_engine/process/auditor_spec.rb
608
+ - spec/lib/rules_engine/process/runner/db_runner_spec.rb
609
+ - spec/lib/rules_engine/process/runner_spec.rb
610
+ - spec/lib/rules_engine/publish/publisher/db_publisher_spec.rb
611
+ - spec/lib/rules_engine/publish/publisher_spec.rb
612
+ - spec/lib/rules_engine/rule/definition_spec.rb
613
+ - spec/lib/rules_engine_view/alerts_spec.rb
614
+ - spec/lib/rules_engine_view/boxes_spec.rb
615
+ - spec/lib/rules_engine_view/buttons_spec.rb
616
+ - spec/lib/rules_engine_view/defer_spec.rb
617
+ - spec/lib/rules_engine_view/form_builder_fields_spec.rb
618
+ - spec/lib/rules_engine_view/form_builder_spec.rb
619
+ - spec/lib/rules_engine_view/form_fields_spec.rb
620
+ - spec/lib/rules_engine_view/form_styles_spec.rb
621
+ - spec/lib/rules_engine_view/model_loader_spec.rb
622
+ - spec/lib/rules_engine_view/navigate_spec.rb
623
+ - spec/models/re_plan_spec.rb
624
+ - spec/models/re_plan_workflow_spec.rb
625
+ - spec/models/re_rule_spec.rb
626
+ - spec/models/re_workflow_spec.rb
627
+ - spec/rails_3_0_0_root/app/controllers/application_controller.rb
628
+ - spec/rails_3_0_0_root/app/helpers/application_helper.rb
629
+ - spec/rails_3_0_0_root/app/rules/mock_rule.rb
630
+ - spec/rails_3_0_0_root/autotest/discover.rb
631
+ - spec/rails_3_0_0_root/config/application.rb
632
+ - spec/rails_3_0_0_root/config/boot.rb
633
+ - spec/rails_3_0_0_root/config/environment.rb
634
+ - spec/rails_3_0_0_root/config/environments/development.rb
635
+ - spec/rails_3_0_0_root/config/environments/production.rb
636
+ - spec/rails_3_0_0_root/config/environments/test.rb
637
+ - spec/rails_3_0_0_root/config/initializers/backtrace_silencers.rb
638
+ - spec/rails_3_0_0_root/config/initializers/inflections.rb
639
+ - spec/rails_3_0_0_root/config/initializers/mime_types.rb
640
+ - spec/rails_3_0_0_root/config/initializers/secret_token.rb
641
+ - spec/rails_3_0_0_root/config/initializers/session_store.rb
642
+ - spec/rails_3_0_0_root/config/routes.rb
643
+ - spec/rails_3_0_0_root/db/seeds.rb
644
+ - spec/rails_3_0_0_root/spec/spec_helper.rb
645
+ - spec/routing/rules_engine_spec.rb
516
646
  - spec/spec_helper.rb
647
+ - spec/support/blueprints.rb
648
+ - spec/support/create_memory_db.rb
649
+ - spec/support/macros.rb
650
+ - spec/support/route_matcher.rb