rtml 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (397) hide show
  1. data/History.txt +4 -0
  2. data/Manifest.txt +396 -0
  3. data/PostInstall.txt +2 -0
  4. data/README.rdoc +42 -0
  5. data/Rakefile +33 -0
  6. data/app_generators/rtml/USAGE +5 -0
  7. data/app_generators/rtml/rtml_generator.rb +78 -0
  8. data/app_generators/rtml/templates/rails_template.rb +36 -0
  9. data/app_generators/rtml/templates/rtml/MIT-LICENSE +20 -0
  10. data/app_generators/rtml/templates/rtml/README +109 -0
  11. data/app_generators/rtml/templates/rtml/Rakefile +38 -0
  12. data/app_generators/rtml/templates/rtml/app/controllers/beryl_controller.rb +70 -0
  13. data/app_generators/rtml/templates/rtml/app/controllers/rtml/magcard_demo_controller.rb +9 -0
  14. data/app_generators/rtml/templates/rtml/app/controllers/rtml/oe/btmlpa_controller.rb +158 -0
  15. data/app_generators/rtml/templates/rtml/app/controllers/rtml/rtml_app_controller.rb +252 -0
  16. data/app_generators/rtml/templates/rtml/app/controllers/rtml/tml_app_controller.rb +418 -0
  17. data/app_generators/rtml/templates/rtml/app/helpers/beryl_helper.rb +72 -0
  18. data/app_generators/rtml/templates/rtml/app/helpers/beryl_tml_helpers/auth_result.rb +56 -0
  19. data/app_generators/rtml/templates/rtml/app/helpers/beryl_tml_helpers/common.rb +19 -0
  20. data/app_generators/rtml/templates/rtml/app/helpers/beryl_tml_helpers/index.rb +82 -0
  21. data/app_generators/rtml/templates/rtml/app/helpers/rtml/magcard_demo_helper.rb +2 -0
  22. data/app_generators/rtml/templates/rtml/app/helpers/rtml/magcard_demo_tml_helpers/authorized.rb +10 -0
  23. data/app_generators/rtml/templates/rtml/app/helpers/rtml/magcard_demo_tml_helpers/common.rb +20 -0
  24. data/app_generators/rtml/templates/rtml/app/helpers/rtml/magcard_demo_tml_helpers/index.rb +33 -0
  25. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_helper.rb +2 -0
  26. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/auth_result.rb +23 -0
  27. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/common.rb +23 -0
  28. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/dynamic.rb +11 -0
  29. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/icc.rb +384 -0
  30. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/index.rb +191 -0
  31. data/app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/receipt.rb +152 -0
  32. data/app_generators/rtml/templates/rtml/app/helpers/rtml/rtml_app_helper.rb +74 -0
  33. data/app_generators/rtml/templates/rtml/app/helpers/rtml/rtml_app_tml_helpers/common.rb +9 -0
  34. data/app_generators/rtml/templates/rtml/app/helpers/rtml/tml_app_helper.rb +43 -0
  35. data/app_generators/rtml/templates/rtml/app/models/rtml/card.rb +83 -0
  36. data/app_generators/rtml/templates/rtml/app/models/rtml/card_avs.rb +14 -0
  37. data/app_generators/rtml/templates/rtml/app/models/rtml/card_cvv.rb +14 -0
  38. data/app_generators/rtml/templates/rtml/app/models/rtml/card_parser.rb +21 -0
  39. data/app_generators/rtml/templates/rtml/app/models/rtml/card_pin.rb +18 -0
  40. data/app_generators/rtml/templates/rtml/app/models/rtml/emv_card_data.rb +25 -0
  41. data/app_generators/rtml/templates/rtml/app/models/rtml/mag_card_data.rb +21 -0
  42. data/app_generators/rtml/templates/rtml/app/models/rtml/reference_code.rb +26 -0
  43. data/app_generators/rtml/templates/rtml/app/models/rtml/state.rb +12 -0
  44. data/app_generators/rtml/templates/rtml/app/models/rtml/terminal.rb +8 -0
  45. data/app_generators/rtml/templates/rtml/app/models/rtml/transaction.rb +68 -0
  46. data/app_generators/rtml/templates/rtml/app/views/beryl/auth_result/another_rcpt.rtml.erb +15 -0
  47. data/app_generators/rtml/templates/rtml/app/views/beryl/auth_result/receipt.rtml.erb +108 -0
  48. data/app_generators/rtml/templates/rtml/app/views/beryl/auth_result/receipt_single_column.rtml.erb +106 -0
  49. data/app_generators/rtml/templates/rtml/app/views/beryl/index/about.rtml.erb +8 -0
  50. data/app_generators/rtml/templates/rtml/app/views/beryl/index/admin.rtml.erb +4 -0
  51. data/app_generators/rtml/templates/rtml/app/views/beryl/index/construction.rtml.erb +10 -0
  52. data/app_generators/rtml/templates/rtml/app/views/beryl/index/idle.rtml.erb +13 -0
  53. data/app_generators/rtml/templates/rtml/app/views/beryl/index/main_menu.rtml.erb +12 -0
  54. data/app_generators/rtml/templates/rtml/app/views/beryl/index/menu_credit.rtml.erb +8 -0
  55. data/app_generators/rtml/templates/rtml/app/views/beryl/index/menu_debit.rtml.erb +3 -0
  56. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/beryl_color.rtml.erb +24 -0
  57. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/beryl_mono.rtml.erb +8 -0
  58. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/magcard_demo_color.rtml.erb +24 -0
  59. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/magcard_demo_mono.rtml.erb +3 -0
  60. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/oe/btmlpa_i5100.rtml.erb +3 -0
  61. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/oe/btmlpa_i8550.rtml.erb +17 -0
  62. data/app_generators/rtml/templates/rtml/app/views/layouts/rtml/uml.html.erb +11 -0
  63. data/app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/authorized.html.erb +15 -0
  64. data/app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/authorized/main.rtml.erb +5 -0
  65. data/app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/index.html.erb +15 -0
  66. data/app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/index/_error.rtml.erb +2 -0
  67. data/app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/index/enter_amount.rtml.erb +5 -0
  68. data/app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/index/main.rtml.erb +4 -0
  69. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/dynamic/response.rtml.erb +2 -0
  70. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/icc.rtml.erb +760 -0
  71. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_enter_amount.rtml.erb +4 -0
  72. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_about.rtml.erb +8 -0
  73. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_duplicate.rtml.erb +9 -0
  74. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_examples.rtml.erb +9 -0
  75. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_logo.rtml.erb +11 -0
  76. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_other.rtml.erb +20 -0
  77. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_refund.rtml.erb +8 -0
  78. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_reversal.rtml.erb +9 -0
  79. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_sale.rtml.erb +8 -0
  80. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_sale_cashback.rtml.erb +8 -0
  81. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/about.rtml.erb +1 -0
  82. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/assert.rtml.erb +2 -0
  83. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/card_nmb.rtml.erb +19 -0
  84. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/compl_txn.rtml.erb +1 -0
  85. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/confirm_rev.rtml.erb +3 -0
  86. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/duplicate_na.rtml.erb +1 -0
  87. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/error_scr.rtml.erb +4 -0
  88. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/main_menu.rtml.bak +31 -0
  89. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/main_menu.rtml.erb +40 -0
  90. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/print_pf.rtml.erb +1 -0
  91. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/rd_sale_disp.rtml.erb +1 -0
  92. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/read_refund.rtml.erb +1 -0
  93. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/read_scb.rtml.erb +10 -0
  94. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/reject_trans.rtml.erb +1 -0
  95. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/remove_card.rtml.erb +1 -0
  96. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/rev_bad.rtml.erb +1 -0
  97. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/scb_check_f.rtml.erb +2 -0
  98. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/sign_check.rtml.erb +3 -0
  99. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/subm_err.rtml.erb +2 -0
  100. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/to_man_entry.rtml.erb +2 -0
  101. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/trans_abrt.rtml.erb +1 -0
  102. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/void_trans.rtml.erb +1 -0
  103. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/receipt/_receipt.rtml.erb +29 -0
  104. data/app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/receipt/error_paper.rtml.erb +3 -0
  105. data/app_generators/rtml/templates/rtml/app/views/rtml/rtml_app/_default_development.html.erb +167 -0
  106. data/app_generators/rtml/templates/rtml/app/views/rtml/rtml_app/_default_header.html.erb +12 -0
  107. data/app_generators/rtml/templates/rtml/app/views/rtml/rtml_app/_default_production.html.erb +8 -0
  108. data/app_generators/rtml/templates/rtml/app/views/rtml/rtml_app/charts.html.erb +14 -0
  109. data/app_generators/rtml/templates/rtml/app/views/rtml/tml_app/do_tml_redirect.rtml.erb +7 -0
  110. data/app_generators/rtml/templates/rtml/app/views/rtml/tml_app/get_terminal_info.rtml.erb +26 -0
  111. data/app_generators/rtml/templates/rtml/app/views/rtml/tml_app/rescue_action_in_public.rtml.erb +9 -0
  112. data/app_generators/rtml/templates/rtml/app/views/rtml/tml_app/rescue_action_locally.rtml.erb +42 -0
  113. data/app_generators/rtml/templates/rtml/components/rtml/features/common.rb +303 -0
  114. data/app_generators/rtml/templates/rtml/components/rtml/features/force.rb +46 -0
  115. data/app_generators/rtml/templates/rtml/components/rtml/features/return.rb +22 -0
  116. data/app_generators/rtml/templates/rtml/components/rtml/features/sale.rb +49 -0
  117. data/app_generators/rtml/templates/rtml/components/rtml/features/views/_confirmation.rtml.erb +10 -0
  118. data/app_generators/rtml/templates/rtml/components/rtml/features/views/_receipt_agreement.rtml.erb +3 -0
  119. data/app_generators/rtml/templates/rtml/components/rtml/features/views/_receipt_footer.rtml.erb +2 -0
  120. data/app_generators/rtml/templates/rtml/components/rtml/features/views/_receipt_header.rtml.erb +4 -0
  121. data/app_generators/rtml/templates/rtml/components/rtml/features/views/ask_cashback.rtml.erb +11 -0
  122. data/app_generators/rtml/templates/rtml/components/rtml/features/views/card_imprint.rtml.erb +7 -0
  123. data/app_generators/rtml/templates/rtml/components/rtml/features/views/check_cb.rtml.erb +11 -0
  124. data/app_generators/rtml/templates/rtml/components/rtml/features/views/conf_debit.rtml.erb +5 -0
  125. data/app_generators/rtml/templates/rtml/components/rtml/features/views/confirm_sale.rtml.erb +4 -0
  126. data/app_generators/rtml/templates/rtml/components/rtml/features/views/confrm_force.rtml.erb +4 -0
  127. data/app_generators/rtml/templates/rtml/components/rtml/features/views/cvv_skipped.rtml.erb +10 -0
  128. data/app_generators/rtml/templates/rtml/components/rtml/features/views/disp_avs.rtml.erb +8 -0
  129. data/app_generators/rtml/templates/rtml/components/rtml/features/views/do_avs_zip.rtml.erb +8 -0
  130. data/app_generators/rtml/templates/rtml/components/rtml/features/views/enter_amount.rtml.erb +12 -0
  131. data/app_generators/rtml/templates/rtml/components/rtml/features/views/enter_card.rtml.erb +8 -0
  132. data/app_generators/rtml/templates/rtml/components/rtml/features/views/enter_cashbk.rtml.erb +10 -0
  133. data/app_generators/rtml/templates/rtml/components/rtml/features/views/enter_cvv2.rtml.erb +8 -0
  134. data/app_generators/rtml/templates/rtml/components/rtml/features/views/enter_expiry.rtml.erb +9 -0
  135. data/app_generators/rtml/templates/rtml/components/rtml/features/views/fraud_check1.rtml.erb +6 -0
  136. data/app_generators/rtml/templates/rtml/components/rtml/features/views/fraud_check2.rtml.erb +8 -0
  137. data/app_generators/rtml/templates/rtml/components/rtml/features/views/frc_aprvl.rtml.erb +8 -0
  138. data/app_generators/rtml/templates/rtml/components/rtml/features/views/frc_avs_zip.rtml.erb +8 -0
  139. data/app_generators/rtml/templates/rtml/components/rtml/features/views/frc_bad_aprv.rtml.erb +5 -0
  140. data/app_generators/rtml/templates/rtml/components/rtml/features/views/frd_chk_fail.rtml.erb +5 -0
  141. data/app_generators/rtml/templates/rtml/components/rtml/features/views/invalid_exp.rtml.erb +1 -0
  142. data/app_generators/rtml/templates/rtml/components/rtml/features/views/no_entr_crd.rtml.erb +1 -0
  143. data/app_generators/rtml/templates/rtml/components/rtml/features/views/remove_card.rtml.erb +1 -0
  144. data/app_generators/rtml/templates/rtml/components/rtml/features/views/swipe_card.rtml.erb +7 -0
  145. data/app_generators/rtml/templates/rtml/components/rtml/features/views/trans_abort.rtml.erb +1 -0
  146. data/app_generators/rtml/templates/rtml/components/rtml/features/views/trans_reject.rtml.erb +1 -0
  147. data/app_generators/rtml/templates/rtml/components/rtml/features/views/void_ref.rtml.erb +10 -0
  148. data/app_generators/rtml/templates/rtml/components/rtml/features/void.rb +30 -0
  149. data/app_generators/rtml/templates/rtml/components/rtml/widgets/card_parser_widget.rb +90 -0
  150. data/app_generators/rtml/templates/rtml/components/rtml/widgets/display_widget.rb +66 -0
  151. data/app_generators/rtml/templates/rtml/components/rtml/widgets/element_builder_widget.rb +123 -0
  152. data/app_generators/rtml/templates/rtml/components/rtml/widgets/emv_support_widget.rb +365 -0
  153. data/app_generators/rtml/templates/rtml/components/rtml/widgets/form_submit_widget.rb +65 -0
  154. data/app_generators/rtml/templates/rtml/components/rtml/widgets/get_transaction_variables_widget.rb +33 -0
  155. data/app_generators/rtml/templates/rtml/components/rtml/widgets/get_variable_widget.rb +39 -0
  156. data/app_generators/rtml/templates/rtml/components/rtml/widgets/receipt_widget.rb +66 -0
  157. data/app_generators/rtml/templates/rtml/components/rtml/widgets/screen_builder_widget.rb +49 -0
  158. data/app_generators/rtml/templates/rtml/db/migrate/20090825132217_create_rtml_states.rb +15 -0
  159. data/app_generators/rtml/templates/rtml/db/migrate/20090825132401_create_rtml_terminals.rb +16 -0
  160. data/app_generators/rtml/templates/rtml/db/migrate/20090825132530_create_rtml_transactions.rb +24 -0
  161. data/app_generators/rtml/templates/rtml/db/migrate/20090825134118_create_rtml_cards.rb +23 -0
  162. data/app_generators/rtml/templates/rtml/db/migrate/20090825134622_create_rtml_emv_card_data.rb +20 -0
  163. data/app_generators/rtml/templates/rtml/db/migrate/20090825134629_create_rtml_mag_card_data.rb +17 -0
  164. data/app_generators/rtml/templates/rtml/db/migrate/20090825135838_create_rtml_card_parsers.rb +19 -0
  165. data/app_generators/rtml/templates/rtml/db/migrate/20090826103509_create_reference_codes.rb +14 -0
  166. data/app_generators/rtml/templates/rtml/db/migrate/20090915030044_add_batch_to_rtml_transactions.rb +10 -0
  167. data/app_generators/rtml/templates/rtml/db/migrate/20090915031155_add_additional_data_to_rtml_transactions.rb +10 -0
  168. data/app_generators/rtml/templates/rtml/db/migrate/20090915031156_add_hidden_data_to_rtml_transactions.rb +10 -0
  169. data/app_generators/rtml/templates/rtml/db/migrate/20091016133313_create_rtml_card_avs.rb +16 -0
  170. data/app_generators/rtml/templates/rtml/db/migrate/20091016135800_create_rtml_card_cvvs.rb +16 -0
  171. data/app_generators/rtml/templates/rtml/db/migrate/20091016135810_create_rtml_card_pins.rb +16 -0
  172. data/app_generators/rtml/templates/rtml/db/migrate/20091016135820_reverse_card_transaction_relationship.rb +11 -0
  173. data/app_generators/rtml/templates/rtml/db/migrate/20100127115105_convert_rtml_migrations_to_rails_migrations.rb +31 -0
  174. data/app_generators/rtml/templates/rtml/generators/rtml_controller/USAGE +25 -0
  175. data/app_generators/rtml/templates/rtml/generators/rtml_controller/rtml_controller_generator.rb +49 -0
  176. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/common_tml_helper.rb +20 -0
  177. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/controller.rb +3 -0
  178. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/css_color.css +37 -0
  179. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/css_mono.css +12 -0
  180. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/functional_test.rb +11 -0
  181. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/helper.rb +2 -0
  182. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/layout_color.rtml.erb +24 -0
  183. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/layout_mono.rtml.erb +3 -0
  184. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/tml_helper.rb +16 -0
  185. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/view.html.erb +15 -0
  186. data/app_generators/rtml/templates/rtml/generators/rtml_controller/templates/view.rtml.erb +2 -0
  187. data/app_generators/rtml/templates/rtml/generators/rtml_document/USAGE +8 -0
  188. data/app_generators/rtml/templates/rtml/generators/rtml_document/rtml_document_generator.rb +45 -0
  189. data/app_generators/rtml/templates/rtml/generators/rtml_document/templates/controller.rb +7 -0
  190. data/app_generators/rtml/templates/rtml/generators/rtml_document/templates/functional_test.rb +10 -0
  191. data/app_generators/rtml/templates/rtml/generators/rtml_document/templates/helper.rb +2 -0
  192. data/app_generators/rtml/templates/rtml/generators/rtml_document/templates/view.rtml.erb +11 -0
  193. data/app_generators/rtml/templates/rtml/generators/rtml_widget/USAGE +8 -0
  194. data/app_generators/rtml/templates/rtml/generators/rtml_widget/rtml_widget_generator.rb +66 -0
  195. data/app_generators/rtml/templates/rtml/generators/rtml_widget/templates/basic_widget.rb +57 -0
  196. data/app_generators/rtml/templates/rtml/generators/rtml_widget/templates/basic_widget_no_help.rb +27 -0
  197. data/app_generators/rtml/templates/rtml/init.rb +40 -0
  198. data/app_generators/rtml/templates/rtml/install.rb +18 -0
  199. data/app_generators/rtml/templates/rtml/lib/environment.rb +61 -0
  200. data/app_generators/rtml/templates/rtml/lib/extensions/action_controller/request.rb +9 -0
  201. data/app_generators/rtml/templates/rtml/lib/extensions/action_controller/routing/route_set.rb +34 -0
  202. data/app_generators/rtml/templates/rtml/lib/extensions/action_view/base.rb +74 -0
  203. data/app_generators/rtml/templates/rtml/lib/extensions/action_view/partial_template.rb +24 -0
  204. data/app_generators/rtml/templates/rtml/lib/extensions/active_record.rb +13 -0
  205. data/app_generators/rtml/templates/rtml/lib/extensions/active_support/dependencies.rb +25 -0
  206. data/app_generators/rtml/templates/rtml/lib/extensions/array.rb +15 -0
  207. data/app_generators/rtml/templates/rtml/lib/extensions/attr_boolean.rb +10 -0
  208. data/app_generators/rtml/templates/rtml/lib/extensions/hash.rb +28 -0
  209. data/app_generators/rtml/templates/rtml/lib/extensions/nil_class.rb +20 -0
  210. data/app_generators/rtml/templates/rtml/lib/extensions/rake.rb +19 -0
  211. data/app_generators/rtml/templates/rtml/lib/extensions/regexp.rb +16 -0
  212. data/app_generators/rtml/templates/rtml/lib/extensions/string.rb +37 -0
  213. data/app_generators/rtml/templates/rtml/lib/other_plugins.rb +23 -0
  214. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/MIT-LICENSE +20 -0
  215. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/README +36 -0
  216. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/Rakefile +44 -0
  217. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/init.rb +25 -0
  218. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/action_controller/filters/before_render_filter.rb +30 -0
  219. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/before_render.rb +43 -0
  220. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/before_render_instance.rb +45 -0
  221. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/filter_chain_has_many_types_of_filters.rb +87 -0
  222. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/filter_has_before_render.rb +26 -0
  223. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/tasks/before_render_tasks.rake +25 -0
  224. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/test/before_render_test.rb +29 -0
  225. data/app_generators/rtml/templates/rtml/lib/other_plugins/before_render/test/test_helper.rb +24 -0
  226. data/app_generators/rtml/templates/rtml/lib/rtml.rb +77 -0
  227. data/app_generators/rtml/templates/rtml/lib/rtml/beryl/constants.rb +12 -0
  228. data/app_generators/rtml/templates/rtml/lib/rtml/beryl/version.rb +11 -0
  229. data/app_generators/rtml/templates/rtml/lib/rtml/common/renderable.rb +13 -0
  230. data/app_generators/rtml/templates/rtml/lib/rtml/core/include.rb +30 -0
  231. data/app_generators/rtml/templates/rtml/lib/rtml/core/layout.rb +59 -0
  232. data/app_generators/rtml/templates/rtml/lib/rtml/core/next.rb +188 -0
  233. data/app_generators/rtml/templates/rtml/lib/rtml/core/screen.rb +91 -0
  234. data/app_generators/rtml/templates/rtml/lib/rtml/core/screen/iterators.rb +63 -0
  235. data/app_generators/rtml/templates/rtml/lib/rtml/core/screen/next_screen_methods.rb +70 -0
  236. data/app_generators/rtml/templates/rtml/lib/rtml/core/screen/variable_methods.rb +73 -0
  237. data/app_generators/rtml/templates/rtml/lib/rtml/core/support/importer.rb +55 -0
  238. data/app_generators/rtml/templates/rtml/lib/rtml/core/tml_document.rb +318 -0
  239. data/app_generators/rtml/templates/rtml/lib/rtml/core/tml_document/screen_methods.rb +79 -0
  240. data/app_generators/rtml/templates/rtml/lib/rtml/core/tml_document/variable_methods.rb +83 -0
  241. data/app_generators/rtml/templates/rtml/lib/rtml/core/variable.rb +123 -0
  242. data/app_generators/rtml/templates/rtml/lib/rtml/debug/browser_emulator.rb +59 -0
  243. data/app_generators/rtml/templates/rtml/lib/rtml/debug/rtml_controller_test_case.rb +7 -0
  244. data/app_generators/rtml/templates/rtml/lib/rtml/debug/rtml_core_unit_test.rb +11 -0
  245. data/app_generators/rtml/templates/rtml/lib/rtml/debug/unit_test.rb +3 -0
  246. data/app_generators/rtml/templates/rtml/lib/rtml/delegation.rb +8 -0
  247. data/app_generators/rtml/templates/rtml/lib/rtml/doc.rb +12 -0
  248. data/app_generators/rtml/templates/rtml/lib/rtml/element.rb +75 -0
  249. data/app_generators/rtml/templates/rtml/lib/rtml/errors/widget_accessor_failure.rb +9 -0
  250. data/app_generators/rtml/templates/rtml/lib/rtml/events/event_handler.rb +79 -0
  251. data/app_generators/rtml/templates/rtml/lib/rtml/events/event_processor.rb +106 -0
  252. data/app_generators/rtml/templates/rtml/lib/rtml/events/processors.rb +10 -0
  253. data/app_generators/rtml/templates/rtml/lib/rtml/events/processors/defaults_processor.rb +18 -0
  254. data/app_generators/rtml/templates/rtml/lib/rtml/events/processors/key_processor.rb +21 -0
  255. data/app_generators/rtml/templates/rtml/lib/rtml/feature.rb +32 -0
  256. data/app_generators/rtml/templates/rtml/lib/rtml/feature_config.rb +195 -0
  257. data/app_generators/rtml/templates/rtml/lib/rtml/features.rb +18 -0
  258. data/app_generators/rtml/templates/rtml/lib/rtml/features/array_of_feature_instances.rb +17 -0
  259. data/app_generators/rtml/templates/rtml/lib/rtml/features/controller_class_methods.rb +30 -0
  260. data/app_generators/rtml/templates/rtml/lib/rtml/features/controller_instance_methods.rb +35 -0
  261. data/app_generators/rtml/templates/rtml/lib/rtml/helpers.rb +21 -0
  262. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/controller_helpers.rb +59 -0
  263. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/controller_helpers/menu_helpers.rb +193 -0
  264. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/action_view_wrapper.rb +23 -0
  265. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/event_helpers.rb +28 -0
  266. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/layout_helpers.rb +47 -0
  267. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/widget_support.rb +181 -0
  268. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/widget_support/class_methods.rb +28 -0
  269. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/yield_helpers.rb +33 -0
  270. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/proxy_helpers/feature_helpers.rb +17 -0
  271. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/render_helper.rb +71 -0
  272. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/terminal_helpers.rb +21 -0
  273. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/test_helpers.rb +6 -0
  274. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/test_helpers/tml_validation_assertions.rb +10 -0
  275. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/test_helpers/variable_assertions.rb +27 -0
  276. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/view_helpers/form_helpers.rb +70 -0
  277. data/app_generators/rtml/templates/rtml/lib/rtml/helpers/view_helpers/rtml_form_builder.rb +174 -0
  278. data/app_generators/rtml/templates/rtml/lib/rtml/oe/btmlpa_constants.rb +48 -0
  279. data/app_generators/rtml/templates/rtml/lib/rtml/proxying/method_missing_methods.rb +14 -0
  280. data/app_generators/rtml/templates/rtml/lib/rtml/proxying/rtml_interface.rb +33 -0
  281. data/app_generators/rtml/templates/rtml/lib/rtml/proxying/sandbox.rb +18 -0
  282. data/app_generators/rtml/templates/rtml/lib/rtml/text_utils.rb +51 -0
  283. data/app_generators/rtml/templates/rtml/lib/rtml/tml_param_parser.rb +95 -0
  284. data/app_generators/rtml/templates/rtml/lib/rtml/validation/dom_rule_parser.rb +61 -0
  285. data/app_generators/rtml/templates/rtml/lib/rtml/validation/dom_tag.rb +52 -0
  286. data/app_generators/rtml/templates/rtml/lib/rtml/validation/predefined_variable_rule_parser.rb +97 -0
  287. data/app_generators/rtml/templates/rtml/lib/rtml/validation/tml_validator.rb +16 -0
  288. data/app_generators/rtml/templates/rtml/lib/rtml/version.rb +11 -0
  289. data/app_generators/rtml/templates/rtml/lib/rtml/widgets/property.rb +11 -0
  290. data/app_generators/rtml/templates/rtml/lib/rtml/widgets/property_accessors.rb +59 -0
  291. data/app_generators/rtml/templates/rtml/lib/rtml/widgets/widget.rb +251 -0
  292. data/app_generators/rtml/templates/rtml/lib/rtml/widgets/widget_class_methods.rb +213 -0
  293. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/dot.gif +0 -0
  294. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_can.gif +0 -0
  295. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_cand.gif +0 -0
  296. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_en.gif +0 -0
  297. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_end.gif +0 -0
  298. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_i.gif +0 -0
  299. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icd.gif +0 -0
  300. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icl.gif +0 -0
  301. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icr.gif +0 -0
  302. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_ics.gif +0 -0
  303. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icsw.gif +0 -0
  304. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icv.gif +0 -0
  305. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_int.gif +0 -0
  306. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_int2.gif +0 -0
  307. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_men.gif +0 -0
  308. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_mend.gif +0 -0
  309. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_next.gif +0 -0
  310. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_no.gif +0 -0
  311. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_nod.gif +0 -0
  312. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_ok.gif +0 -0
  313. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_okd.gif +0 -0
  314. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_pic1.gif +0 -0
  315. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_pic2.gif +0 -0
  316. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_pic3.gif +0 -0
  317. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_pic4.gif +0 -0
  318. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_top.gif +0 -0
  319. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_txn.gif +0 -0
  320. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_yes.gif +0 -0
  321. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_yesd.gif +0 -0
  322. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/btmlpa.gif +0 -0
  323. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/can_dn.gif +0 -0
  324. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/can_up.gif +0 -0
  325. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/conf.gif +0 -0
  326. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/iccemv.gif +0 -0
  327. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/images.lib +0 -0
  328. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/magcard.gif +0 -0
  329. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/no_dn.gif +0 -0
  330. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/no_up.gif +0 -0
  331. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/ok_dn.gif +0 -0
  332. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/ok_up.gif +0 -0
  333. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/top.gif +0 -0
  334. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/yes_dn.gif +0 -0
  335. data/app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/yes_up.gif +0 -0
  336. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/beryl_color.css +37 -0
  337. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/beryl_mono.css +17 -0
  338. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/charts.css +0 -0
  339. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/btmlpa/i5100.css +12 -0
  340. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/btmlpa/i8550.css +37 -0
  341. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/btmlpa/receipt.css +4 -0
  342. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/examples/i5100.css +12 -0
  343. data/app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/examples/i8550.css +37 -0
  344. data/app_generators/rtml/templates/rtml/reporting/110409 +227 -0
  345. data/app_generators/rtml/templates/rtml/reporting/linecount.rb +42 -0
  346. data/app_generators/rtml/templates/rtml/rules/predefined_tml_variables.rb +63 -0
  347. data/app_generators/rtml/templates/rtml/rules/tml_document_structure.rb +84 -0
  348. data/app_generators/rtml/templates/rtml/rules/varns/audio.rb +30 -0
  349. data/app_generators/rtml/templates/rtml/rules/varns/card.rb +17 -0
  350. data/app_generators/rtml/templates/rtml/rules/varns/card/emv.rb +31 -0
  351. data/app_generators/rtml/templates/rtml/rules/varns/card/mag.rb +8 -0
  352. data/app_generators/rtml/templates/rtml/rules/varns/card/parser.rb +7 -0
  353. data/app_generators/rtml/templates/rtml/rules/varns/card/pin.rb +6 -0
  354. data/app_generators/rtml/templates/rtml/rules/varns/cfgm.rb +15 -0
  355. data/app_generators/rtml/templates/rtml/rules/varns/com.rb +9 -0
  356. data/app_generators/rtml/templates/rtml/rules/varns/err.rb +14 -0
  357. data/app_generators/rtml/templates/rtml/rules/varns/gma/event.rb +13 -0
  358. data/app_generators/rtml/templates/rtml/rules/varns/gprs.rb +8 -0
  359. data/app_generators/rtml/templates/rtml/rules/varns/imager.rb +8 -0
  360. data/app_generators/rtml/templates/rtml/rules/varns/ip.rb +15 -0
  361. data/app_generators/rtml/templates/rtml/rules/varns/oebr.rb +42 -0
  362. data/app_generators/rtml/templates/rtml/rules/varns/oebr/3rdparty.rb +7 -0
  363. data/app_generators/rtml/templates/rtml/rules/varns/oebr/backlight.rb +4 -0
  364. data/app_generators/rtml/templates/rtml/rules/varns/oebr/cache.rb +1 -0
  365. data/app_generators/rtml/templates/rtml/rules/varns/oebr/connect.rb +5 -0
  366. data/app_generators/rtml/templates/rtml/rules/varns/oebr/connection.rb +5 -0
  367. data/app_generators/rtml/templates/rtml/rules/varns/oebr/offline.rb +5 -0
  368. data/app_generators/rtml/templates/rtml/rules/varns/oegw.rb +12 -0
  369. data/app_generators/rtml/templates/rtml/rules/varns/payment.rb +21 -0
  370. data/app_generators/rtml/templates/rtml/rules/varns/ppp.rb +11 -0
  371. data/app_generators/rtml/templates/rtml/rules/varns/terminal.rb +29 -0
  372. data/app_generators/rtml/templates/rtml/tasks/rtml_tasks.rake +78 -0
  373. data/app_generators/rtml/templates/rtml/template.rb +64 -0
  374. data/app_generators/rtml/templates/rtml/test/core/element_test.rb +17 -0
  375. data/app_generators/rtml/templates/rtml/test/core/screen_test.rb +91 -0
  376. data/app_generators/rtml/templates/rtml/test/core/tml_document_test.rb +53 -0
  377. data/app_generators/rtml/templates/rtml/test/functional/beryl_controller_test.rb +13 -0
  378. data/app_generators/rtml/templates/rtml/test/functional/btmlpa_controller_test.rb +13 -0
  379. data/app_generators/rtml/templates/rtml/test/functional/magcard_demo_controller_test.rb +20 -0
  380. data/app_generators/rtml/templates/rtml/test/functional/rtml_app_controller_test.rb +9 -0
  381. data/app_generators/rtml/templates/rtml/test/functional/rtml_routing_test.rb +19 -0
  382. data/app_generators/rtml/templates/rtml/test/functional/tml_controller_params_test.rb +20 -0
  383. data/app_generators/rtml/templates/rtml/test/rtml_test_helper.rb +44 -0
  384. data/app_generators/rtml/templates/rtml/test/validation/predefined_variable_rule_parser_test.rb +11 -0
  385. data/app_generators/rtml/templates/rtml/uninstall.rb +1 -0
  386. data/app_generators/rtml/templates/rtml/update.rb +57 -0
  387. data/bin/rtml +36 -0
  388. data/lib/rtml.rb +4 -0
  389. data/script/console +10 -0
  390. data/script/destroy +14 -0
  391. data/script/generate +14 -0
  392. data/tasks/reglob.rake +28 -0
  393. data/test/test_generator_helper.rb +29 -0
  394. data/test/test_helper.rb +3 -0
  395. data/test/test_rtml.rb +11 -0
  396. data/test/test_rtml_generator.rb +43 -0
  397. metadata +516 -0
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+ APP_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..'))
3
+
4
+ begin
5
+ require 'rubigen'
6
+ rescue LoadError
7
+ require 'rubygems'
8
+ require 'rubigen'
9
+ end
10
+ require 'rubigen/scripts/generate'
11
+
12
+ ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
+ RubiGen::Base.use_component_sources! [:rubygems, :newgem, :newgem_theme, :test_unit]
14
+ RubiGen::Scripts::Generate.new.run(ARGV)
@@ -0,0 +1,28 @@
1
+ task :reglob do
2
+ File.open("Manifest.txt", "w") do |file|
3
+ [
4
+ 'app_generators/rtml/templates/**/*',
5
+ 'app_generators/rtml/rtml_generator.rb',
6
+ 'app_generators/rtml/USAGE',
7
+ 'bin/rtml',
8
+ 'lib/rtml.rb',
9
+ 'script/console',
10
+ 'script/destroy',
11
+ 'script/generate',
12
+ 'tasks/**/*.rake',
13
+ 'test/**/*.rb',
14
+ 'History.txt',
15
+ 'Manifest.txt',
16
+ 'PostInstall.txt',
17
+ 'Rakefile',
18
+ 'README.rdoc'
19
+ ].each do |path|
20
+ Dir[path].each do |item|
21
+ next unless File.file? item
22
+ puts "\t#{item}"
23
+ file.puts item
24
+ end
25
+ end
26
+ end
27
+ puts "Reglobbed."
28
+ end
@@ -0,0 +1,29 @@
1
+ begin
2
+ require File.dirname(__FILE__) + '/test_helper'
3
+ rescue LoadError
4
+ require 'test/unit'
5
+ end
6
+ require 'fileutils'
7
+
8
+ # Must set before requiring generator libs.
9
+ TMP_ROOT = File.dirname(__FILE__) + "/tmp" unless defined?(TMP_ROOT)
10
+ PROJECT_NAME = "myproject" unless defined?(PROJECT_NAME)
11
+ app_root = File.join(TMP_ROOT, PROJECT_NAME)
12
+ if defined?(APP_ROOT)
13
+ APP_ROOT.replace(app_root)
14
+ else
15
+ APP_ROOT = app_root
16
+ end
17
+ if defined?(RAILS_ROOT)
18
+ RAILS_ROOT.replace(app_root)
19
+ else
20
+ RAILS_ROOT = app_root
21
+ end
22
+
23
+ begin
24
+ require 'rubigen'
25
+ rescue LoadError
26
+ require 'rubygems'
27
+ require 'rubigen'
28
+ end
29
+ require 'rubigen/helpers/generator_test_helper'
@@ -0,0 +1,3 @@
1
+ require 'stringio'
2
+ require 'test/unit'
3
+ require File.dirname(__FILE__) + '/../lib/rtml'
@@ -0,0 +1,11 @@
1
+ require File.dirname(__FILE__) + '/test_helper.rb'
2
+
3
+ class TestRtml < Test::Unit::TestCase
4
+
5
+ def setup
6
+ end
7
+
8
+ def test_truth
9
+ assert true
10
+ end
11
+ end
@@ -0,0 +1,43 @@
1
+ require File.join(File.dirname(__FILE__), "test_generator_helper.rb")
2
+
3
+ class TestRtmlGenerator < Test::Unit::TestCase
4
+ include RubiGen::GeneratorTestHelper
5
+
6
+ def setup
7
+ bare_setup
8
+ end
9
+
10
+ def teardown
11
+ bare_teardown
12
+ end
13
+
14
+ # Some generator-related assertions:
15
+ # assert_generated_file(name, &block) # block passed the file contents
16
+ # assert_directory_exists(name)
17
+ # assert_generated_class(name, &block)
18
+ # assert_generated_module(name, &block)
19
+ # assert_generated_test_for(name, &block)
20
+ # The assert_generated_(class|module|test_for) &block is passed the body of the class/module within the file
21
+ # assert_has_method(body, *methods) # check that the body has a list of methods (methods with parentheses not supported yet)
22
+ #
23
+ # Other helper methods are:
24
+ # app_root_files - put this in teardown to show files generated by the test method (e.g. p app_root_files)
25
+ # bare_setup - place this in setup method to create the APP_ROOT folder for each test
26
+ # bare_teardown - place this in teardown method to destroy the TMP_ROOT or APP_ROOT folder after each test
27
+
28
+ def test_generator_without_options
29
+ run_generator('rtml', [APP_ROOT], sources)
30
+ assert_directory_exists "path/to/included/folder"
31
+ assert_generated_file "path/to/included/folder/some_file"
32
+ end
33
+
34
+ private
35
+ def sources
36
+ [RubiGen::PathSource.new(:test, File.join(File.dirname(__FILE__),"..", generator_path))
37
+ ]
38
+ end
39
+
40
+ def generator_path
41
+ "app_generators"
42
+ end
43
+ end
metadata ADDED
@@ -0,0 +1,516 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rtml
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.2.2
5
+ platform: ruby
6
+ authors:
7
+ - Colin MacKenzie IV
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2010-01-29 00:00:00 -05:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rails
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.3.5
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: hpricot
27
+ type: :runtime
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 0.8.2
34
+ version:
35
+ - !ruby/object:Gem::Dependency
36
+ name: rubigen
37
+ type: :runtime
38
+ version_requirement:
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 1.5.2
44
+ version:
45
+ - !ruby/object:Gem::Dependency
46
+ name: rubyforge
47
+ type: :development
48
+ version_requirement:
49
+ version_requirements: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 2.0.3
54
+ version:
55
+ - !ruby/object:Gem::Dependency
56
+ name: gemcutter
57
+ type: :development
58
+ version_requirement:
59
+ version_requirements: !ruby/object:Gem::Requirement
60
+ requirements:
61
+ - - ">="
62
+ - !ruby/object:Gem::Version
63
+ version: 0.3.0
64
+ version:
65
+ - !ruby/object:Gem::Dependency
66
+ name: hoe
67
+ type: :development
68
+ version_requirement:
69
+ version_requirements: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: 2.5.0
74
+ version:
75
+ description: A Rails-based TML development framework for Ruby
76
+ email:
77
+ - sinisterchipmunk@gmail.com
78
+ executables:
79
+ - rtml
80
+ extensions: []
81
+
82
+ extra_rdoc_files:
83
+ - History.txt
84
+ - Manifest.txt
85
+ - PostInstall.txt
86
+ files:
87
+ - app_generators/rtml/templates/rails_template.rb
88
+ - app_generators/rtml/templates/rtml/generators/rtml_widget/templates/basic_widget_no_help.rb
89
+ - app_generators/rtml/templates/rtml/generators/rtml_widget/templates/basic_widget.rb
90
+ - app_generators/rtml/templates/rtml/generators/rtml_widget/rtml_widget_generator.rb
91
+ - app_generators/rtml/templates/rtml/generators/rtml_widget/USAGE
92
+ - app_generators/rtml/templates/rtml/generators/rtml_document/templates/controller.rb
93
+ - app_generators/rtml/templates/rtml/generators/rtml_document/templates/helper.rb
94
+ - app_generators/rtml/templates/rtml/generators/rtml_document/templates/view.rtml.erb
95
+ - app_generators/rtml/templates/rtml/generators/rtml_document/templates/functional_test.rb
96
+ - app_generators/rtml/templates/rtml/generators/rtml_document/rtml_document_generator.rb
97
+ - app_generators/rtml/templates/rtml/generators/rtml_document/USAGE
98
+ - app_generators/rtml/templates/rtml/generators/rtml_controller/templates/controller.rb
99
+ - app_generators/rtml/templates/rtml/generators/rtml_controller/templates/common_tml_helper.rb
100
+ - app_generators/rtml/templates/rtml/generators/rtml_controller/templates/helper.rb
101
+ - app_generators/rtml/templates/rtml/generators/rtml_controller/templates/view.html.erb
102
+ - app_generators/rtml/templates/rtml/generators/rtml_controller/templates/css_mono.css
103
+ - app_generators/rtml/templates/rtml/generators/rtml_controller/templates/view.rtml.erb
104
+ - app_generators/rtml/templates/rtml/generators/rtml_controller/templates/functional_test.rb
105
+ - app_generators/rtml/templates/rtml/generators/rtml_controller/templates/css_color.css
106
+ - app_generators/rtml/templates/rtml/generators/rtml_controller/templates/layout_mono.rtml.erb
107
+ - app_generators/rtml/templates/rtml/generators/rtml_controller/templates/tml_helper.rb
108
+ - app_generators/rtml/templates/rtml/generators/rtml_controller/templates/layout_color.rtml.erb
109
+ - app_generators/rtml/templates/rtml/generators/rtml_controller/USAGE
110
+ - app_generators/rtml/templates/rtml/generators/rtml_controller/rtml_controller_generator.rb
111
+ - app_generators/rtml/templates/rtml/README
112
+ - app_generators/rtml/templates/rtml/reporting/linecount.rb
113
+ - app_generators/rtml/templates/rtml/reporting/110409
114
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_top.gif
115
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_ok.gif
116
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_en.gif
117
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_okd.gif
118
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/dot.gif
119
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_pic4.gif
120
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icl.gif
121
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icv.gif
122
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_men.gif
123
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icd.gif
124
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_mend.gif
125
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_pic1.gif
126
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_pic3.gif
127
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_nod.gif
128
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_ics.gif
129
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icr.gif
130
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_int.gif
131
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_icsw.gif
132
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_end.gif
133
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_cand.gif
134
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_pic2.gif
135
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_next.gif
136
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_no.gif
137
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_i.gif
138
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_yesd.gif
139
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_yes.gif
140
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_can.gif
141
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_int2.gif
142
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/btmlpa/nbg_txn.gif
143
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/yes_up.gif
144
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/conf.gif
145
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/top.gif
146
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/ok_up.gif
147
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/images.lib
148
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/btmlpa.gif
149
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/can_dn.gif
150
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/yes_dn.gif
151
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/no_dn.gif
152
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/magcard.gif
153
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/can_up.gif
154
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/iccemv.gif
155
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/ok_dn.gif
156
+ - app_generators/rtml/templates/rtml/public/images/rtml/oe/examples/no_up.gif
157
+ - app_generators/rtml/templates/rtml/public/stylesheets/rtml/beryl_mono.css
158
+ - app_generators/rtml/templates/rtml/public/stylesheets/rtml/beryl_color.css
159
+ - app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/btmlpa/receipt.css
160
+ - app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/btmlpa/i5100.css
161
+ - app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/btmlpa/i8550.css
162
+ - app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/examples/i5100.css
163
+ - app_generators/rtml/templates/rtml/public/stylesheets/rtml/oe/examples/i8550.css
164
+ - app_generators/rtml/templates/rtml/public/stylesheets/rtml/charts.css
165
+ - app_generators/rtml/templates/rtml/uninstall.rb
166
+ - app_generators/rtml/templates/rtml/Rakefile
167
+ - app_generators/rtml/templates/rtml/test/functional/rtml_routing_test.rb
168
+ - app_generators/rtml/templates/rtml/test/functional/magcard_demo_controller_test.rb
169
+ - app_generators/rtml/templates/rtml/test/functional/tml_controller_params_test.rb
170
+ - app_generators/rtml/templates/rtml/test/functional/beryl_controller_test.rb
171
+ - app_generators/rtml/templates/rtml/test/functional/btmlpa_controller_test.rb
172
+ - app_generators/rtml/templates/rtml/test/functional/rtml_app_controller_test.rb
173
+ - app_generators/rtml/templates/rtml/test/validation/predefined_variable_rule_parser_test.rb
174
+ - app_generators/rtml/templates/rtml/test/core/tml_document_test.rb
175
+ - app_generators/rtml/templates/rtml/test/core/screen_test.rb
176
+ - app_generators/rtml/templates/rtml/test/core/element_test.rb
177
+ - app_generators/rtml/templates/rtml/test/rtml_test_helper.rb
178
+ - app_generators/rtml/templates/rtml/tasks/rtml_tasks.rake
179
+ - app_generators/rtml/templates/rtml/template.rb
180
+ - app_generators/rtml/templates/rtml/components/rtml/features/force.rb
181
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/fraud_check1.rtml.erb
182
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/_receipt_footer.rtml.erb
183
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/conf_debit.rtml.erb
184
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/frd_chk_fail.rtml.erb
185
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/frc_aprvl.rtml.erb
186
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/swipe_card.rtml.erb
187
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/trans_reject.rtml.erb
188
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/remove_card.rtml.erb
189
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/enter_card.rtml.erb
190
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/disp_avs.rtml.erb
191
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/check_cb.rtml.erb
192
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/_receipt_header.rtml.erb
193
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/frc_bad_aprv.rtml.erb
194
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/invalid_exp.rtml.erb
195
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/enter_expiry.rtml.erb
196
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/_confirmation.rtml.erb
197
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/enter_amount.rtml.erb
198
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/void_ref.rtml.erb
199
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/frc_avs_zip.rtml.erb
200
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/trans_abort.rtml.erb
201
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/enter_cvv2.rtml.erb
202
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/no_entr_crd.rtml.erb
203
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/_receipt_agreement.rtml.erb
204
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/fraud_check2.rtml.erb
205
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/cvv_skipped.rtml.erb
206
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/card_imprint.rtml.erb
207
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/confirm_sale.rtml.erb
208
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/enter_cashbk.rtml.erb
209
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/do_avs_zip.rtml.erb
210
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/ask_cashback.rtml.erb
211
+ - app_generators/rtml/templates/rtml/components/rtml/features/views/confrm_force.rtml.erb
212
+ - app_generators/rtml/templates/rtml/components/rtml/features/return.rb
213
+ - app_generators/rtml/templates/rtml/components/rtml/features/sale.rb
214
+ - app_generators/rtml/templates/rtml/components/rtml/features/void.rb
215
+ - app_generators/rtml/templates/rtml/components/rtml/features/common.rb
216
+ - app_generators/rtml/templates/rtml/components/rtml/widgets/element_builder_widget.rb
217
+ - app_generators/rtml/templates/rtml/components/rtml/widgets/card_parser_widget.rb
218
+ - app_generators/rtml/templates/rtml/components/rtml/widgets/get_transaction_variables_widget.rb
219
+ - app_generators/rtml/templates/rtml/components/rtml/widgets/emv_support_widget.rb
220
+ - app_generators/rtml/templates/rtml/components/rtml/widgets/get_variable_widget.rb
221
+ - app_generators/rtml/templates/rtml/components/rtml/widgets/screen_builder_widget.rb
222
+ - app_generators/rtml/templates/rtml/components/rtml/widgets/receipt_widget.rb
223
+ - app_generators/rtml/templates/rtml/components/rtml/widgets/display_widget.rb
224
+ - app_generators/rtml/templates/rtml/components/rtml/widgets/form_submit_widget.rb
225
+ - app_generators/rtml/templates/rtml/rules/varns/payment.rb
226
+ - app_generators/rtml/templates/rtml/rules/varns/audio.rb
227
+ - app_generators/rtml/templates/rtml/rules/varns/gprs.rb
228
+ - app_generators/rtml/templates/rtml/rules/varns/com.rb
229
+ - app_generators/rtml/templates/rtml/rules/varns/card.rb
230
+ - app_generators/rtml/templates/rtml/rules/varns/oebr/offline.rb
231
+ - app_generators/rtml/templates/rtml/rules/varns/oebr/3rdparty.rb
232
+ - app_generators/rtml/templates/rtml/rules/varns/oebr/connect.rb
233
+ - app_generators/rtml/templates/rtml/rules/varns/oebr/cache.rb
234
+ - app_generators/rtml/templates/rtml/rules/varns/oebr/connection.rb
235
+ - app_generators/rtml/templates/rtml/rules/varns/oebr/backlight.rb
236
+ - app_generators/rtml/templates/rtml/rules/varns/imager.rb
237
+ - app_generators/rtml/templates/rtml/rules/varns/gma/event.rb
238
+ - app_generators/rtml/templates/rtml/rules/varns/oegw.rb
239
+ - app_generators/rtml/templates/rtml/rules/varns/oebr.rb
240
+ - app_generators/rtml/templates/rtml/rules/varns/ip.rb
241
+ - app_generators/rtml/templates/rtml/rules/varns/cfgm.rb
242
+ - app_generators/rtml/templates/rtml/rules/varns/ppp.rb
243
+ - app_generators/rtml/templates/rtml/rules/varns/card/mag.rb
244
+ - app_generators/rtml/templates/rtml/rules/varns/card/emv.rb
245
+ - app_generators/rtml/templates/rtml/rules/varns/card/pin.rb
246
+ - app_generators/rtml/templates/rtml/rules/varns/card/parser.rb
247
+ - app_generators/rtml/templates/rtml/rules/varns/terminal.rb
248
+ - app_generators/rtml/templates/rtml/rules/varns/err.rb
249
+ - app_generators/rtml/templates/rtml/rules/predefined_tml_variables.rb
250
+ - app_generators/rtml/templates/rtml/rules/tml_document_structure.rb
251
+ - app_generators/rtml/templates/rtml/update.rb
252
+ - app_generators/rtml/templates/rtml/MIT-LICENSE
253
+ - app_generators/rtml/templates/rtml/db/migrate/20090825134118_create_rtml_cards.rb
254
+ - app_generators/rtml/templates/rtml/db/migrate/20090825132401_create_rtml_terminals.rb
255
+ - app_generators/rtml/templates/rtml/db/migrate/20091016135810_create_rtml_card_pins.rb
256
+ - app_generators/rtml/templates/rtml/db/migrate/20100127115105_convert_rtml_migrations_to_rails_migrations.rb
257
+ - app_generators/rtml/templates/rtml/db/migrate/20090915031156_add_hidden_data_to_rtml_transactions.rb
258
+ - app_generators/rtml/templates/rtml/db/migrate/20090825132530_create_rtml_transactions.rb
259
+ - app_generators/rtml/templates/rtml/db/migrate/20090825134629_create_rtml_mag_card_data.rb
260
+ - app_generators/rtml/templates/rtml/db/migrate/20091016133313_create_rtml_card_avs.rb
261
+ - app_generators/rtml/templates/rtml/db/migrate/20090825134622_create_rtml_emv_card_data.rb
262
+ - app_generators/rtml/templates/rtml/db/migrate/20090826103509_create_reference_codes.rb
263
+ - app_generators/rtml/templates/rtml/db/migrate/20091016135820_reverse_card_transaction_relationship.rb
264
+ - app_generators/rtml/templates/rtml/db/migrate/20091016135800_create_rtml_card_cvvs.rb
265
+ - app_generators/rtml/templates/rtml/db/migrate/20090825132217_create_rtml_states.rb
266
+ - app_generators/rtml/templates/rtml/db/migrate/20090915030044_add_batch_to_rtml_transactions.rb
267
+ - app_generators/rtml/templates/rtml/db/migrate/20090825135838_create_rtml_card_parsers.rb
268
+ - app_generators/rtml/templates/rtml/db/migrate/20090915031155_add_additional_data_to_rtml_transactions.rb
269
+ - app_generators/rtml/templates/rtml/install.rb
270
+ - app_generators/rtml/templates/rtml/lib/rtml.rb
271
+ - app_generators/rtml/templates/rtml/lib/other_plugins/before_render/README
272
+ - app_generators/rtml/templates/rtml/lib/other_plugins/before_render/Rakefile
273
+ - app_generators/rtml/templates/rtml/lib/other_plugins/before_render/test/before_render_test.rb
274
+ - app_generators/rtml/templates/rtml/lib/other_plugins/before_render/test/test_helper.rb
275
+ - app_generators/rtml/templates/rtml/lib/other_plugins/before_render/tasks/before_render_tasks.rake
276
+ - app_generators/rtml/templates/rtml/lib/other_plugins/before_render/MIT-LICENSE
277
+ - app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/before_render.rb
278
+ - app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/filter_chain_has_many_types_of_filters.rb
279
+ - app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/filter_has_before_render.rb
280
+ - app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/before_render_instance.rb
281
+ - app_generators/rtml/templates/rtml/lib/other_plugins/before_render/lib/action_controller/filters/before_render_filter.rb
282
+ - app_generators/rtml/templates/rtml/lib/other_plugins/before_render/init.rb
283
+ - app_generators/rtml/templates/rtml/lib/other_plugins.rb
284
+ - app_generators/rtml/templates/rtml/lib/rtml/proxying/sandbox.rb
285
+ - app_generators/rtml/templates/rtml/lib/rtml/proxying/rtml_interface.rb
286
+ - app_generators/rtml/templates/rtml/lib/rtml/proxying/method_missing_methods.rb
287
+ - app_generators/rtml/templates/rtml/lib/rtml/features/array_of_feature_instances.rb
288
+ - app_generators/rtml/templates/rtml/lib/rtml/features/controller_class_methods.rb
289
+ - app_generators/rtml/templates/rtml/lib/rtml/features/controller_instance_methods.rb
290
+ - app_generators/rtml/templates/rtml/lib/rtml/element.rb
291
+ - app_generators/rtml/templates/rtml/lib/rtml/events/processors/key_processor.rb
292
+ - app_generators/rtml/templates/rtml/lib/rtml/events/processors/defaults_processor.rb
293
+ - app_generators/rtml/templates/rtml/lib/rtml/events/processors.rb
294
+ - app_generators/rtml/templates/rtml/lib/rtml/events/event_handler.rb
295
+ - app_generators/rtml/templates/rtml/lib/rtml/events/event_processor.rb
296
+ - app_generators/rtml/templates/rtml/lib/rtml/doc.rb
297
+ - app_generators/rtml/templates/rtml/lib/rtml/feature.rb
298
+ - app_generators/rtml/templates/rtml/lib/rtml/beryl/constants.rb
299
+ - app_generators/rtml/templates/rtml/lib/rtml/beryl/version.rb
300
+ - app_generators/rtml/templates/rtml/lib/rtml/errors/widget_accessor_failure.rb
301
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/terminal_helpers.rb
302
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/view_helpers/form_helpers.rb
303
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/view_helpers/rtml_form_builder.rb
304
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/test_helpers.rb
305
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/proxy_helpers/feature_helpers.rb
306
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/layout_helpers.rb
307
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/widget_support.rb
308
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/widget_support/class_methods.rb
309
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/yield_helpers.rb
310
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/action_view_wrapper.rb
311
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/core_helpers/event_helpers.rb
312
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/controller_helpers.rb
313
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/controller_helpers/menu_helpers.rb
314
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/render_helper.rb
315
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/test_helpers/tml_validation_assertions.rb
316
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers/test_helpers/variable_assertions.rb
317
+ - app_generators/rtml/templates/rtml/lib/rtml/widgets/widget.rb
318
+ - app_generators/rtml/templates/rtml/lib/rtml/widgets/property_accessors.rb
319
+ - app_generators/rtml/templates/rtml/lib/rtml/widgets/widget_class_methods.rb
320
+ - app_generators/rtml/templates/rtml/lib/rtml/widgets/property.rb
321
+ - app_generators/rtml/templates/rtml/lib/rtml/oe/btmlpa_constants.rb
322
+ - app_generators/rtml/templates/rtml/lib/rtml/helpers.rb
323
+ - app_generators/rtml/templates/rtml/lib/rtml/validation/tml_validator.rb
324
+ - app_generators/rtml/templates/rtml/lib/rtml/validation/dom_rule_parser.rb
325
+ - app_generators/rtml/templates/rtml/lib/rtml/validation/dom_tag.rb
326
+ - app_generators/rtml/templates/rtml/lib/rtml/validation/predefined_variable_rule_parser.rb
327
+ - app_generators/rtml/templates/rtml/lib/rtml/tml_param_parser.rb
328
+ - app_generators/rtml/templates/rtml/lib/rtml/debug/unit_test.rb
329
+ - app_generators/rtml/templates/rtml/lib/rtml/debug/browser_emulator.rb
330
+ - app_generators/rtml/templates/rtml/lib/rtml/debug/rtml_core_unit_test.rb
331
+ - app_generators/rtml/templates/rtml/lib/rtml/debug/rtml_controller_test_case.rb
332
+ - app_generators/rtml/templates/rtml/lib/rtml/text_utils.rb
333
+ - app_generators/rtml/templates/rtml/lib/rtml/feature_config.rb
334
+ - app_generators/rtml/templates/rtml/lib/rtml/common/renderable.rb
335
+ - app_generators/rtml/templates/rtml/lib/rtml/version.rb
336
+ - app_generators/rtml/templates/rtml/lib/rtml/features.rb
337
+ - app_generators/rtml/templates/rtml/lib/rtml/core/include.rb
338
+ - app_generators/rtml/templates/rtml/lib/rtml/core/screen.rb
339
+ - app_generators/rtml/templates/rtml/lib/rtml/core/screen/iterators.rb
340
+ - app_generators/rtml/templates/rtml/lib/rtml/core/screen/next_screen_methods.rb
341
+ - app_generators/rtml/templates/rtml/lib/rtml/core/screen/variable_methods.rb
342
+ - app_generators/rtml/templates/rtml/lib/rtml/core/variable.rb
343
+ - app_generators/rtml/templates/rtml/lib/rtml/core/tml_document.rb
344
+ - app_generators/rtml/templates/rtml/lib/rtml/core/support/importer.rb
345
+ - app_generators/rtml/templates/rtml/lib/rtml/core/tml_document/screen_methods.rb
346
+ - app_generators/rtml/templates/rtml/lib/rtml/core/tml_document/variable_methods.rb
347
+ - app_generators/rtml/templates/rtml/lib/rtml/core/layout.rb
348
+ - app_generators/rtml/templates/rtml/lib/rtml/core/next.rb
349
+ - app_generators/rtml/templates/rtml/lib/rtml/delegation.rb
350
+ - app_generators/rtml/templates/rtml/lib/environment.rb
351
+ - app_generators/rtml/templates/rtml/lib/extensions/regexp.rb
352
+ - app_generators/rtml/templates/rtml/lib/extensions/action_view/base.rb
353
+ - app_generators/rtml/templates/rtml/lib/extensions/action_view/partial_template.rb
354
+ - app_generators/rtml/templates/rtml/lib/extensions/active_support/dependencies.rb
355
+ - app_generators/rtml/templates/rtml/lib/extensions/hash.rb
356
+ - app_generators/rtml/templates/rtml/lib/extensions/rake.rb
357
+ - app_generators/rtml/templates/rtml/lib/extensions/attr_boolean.rb
358
+ - app_generators/rtml/templates/rtml/lib/extensions/array.rb
359
+ - app_generators/rtml/templates/rtml/lib/extensions/active_record.rb
360
+ - app_generators/rtml/templates/rtml/lib/extensions/string.rb
361
+ - app_generators/rtml/templates/rtml/lib/extensions/nil_class.rb
362
+ - app_generators/rtml/templates/rtml/lib/extensions/action_controller/routing/route_set.rb
363
+ - app_generators/rtml/templates/rtml/lib/extensions/action_controller/request.rb
364
+ - app_generators/rtml/templates/rtml/init.rb
365
+ - app_generators/rtml/templates/rtml/app/views/beryl/index/main_menu.rtml.erb
366
+ - app_generators/rtml/templates/rtml/app/views/beryl/index/menu_credit.rtml.erb
367
+ - app_generators/rtml/templates/rtml/app/views/beryl/index/about.rtml.erb
368
+ - app_generators/rtml/templates/rtml/app/views/beryl/index/idle.rtml.erb
369
+ - app_generators/rtml/templates/rtml/app/views/beryl/index/construction.rtml.erb
370
+ - app_generators/rtml/templates/rtml/app/views/beryl/index/menu_debit.rtml.erb
371
+ - app_generators/rtml/templates/rtml/app/views/beryl/index/admin.rtml.erb
372
+ - app_generators/rtml/templates/rtml/app/views/beryl/auth_result/receipt_single_column.rtml.erb
373
+ - app_generators/rtml/templates/rtml/app/views/beryl/auth_result/another_rcpt.rtml.erb
374
+ - app_generators/rtml/templates/rtml/app/views/beryl/auth_result/receipt.rtml.erb
375
+ - app_generators/rtml/templates/rtml/app/views/rtml/tml_app/rescue_action_in_public.rtml.erb
376
+ - app_generators/rtml/templates/rtml/app/views/rtml/tml_app/rescue_action_locally.rtml.erb
377
+ - app_generators/rtml/templates/rtml/app/views/rtml/tml_app/do_tml_redirect.rtml.erb
378
+ - app_generators/rtml/templates/rtml/app/views/rtml/tml_app/get_terminal_info.rtml.erb
379
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/dynamic/response.rtml.erb
380
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/icc.rtml.erb
381
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/receipt/error_paper.rtml.erb
382
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/receipt/_receipt.rtml.erb
383
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/assert.rtml.erb
384
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/subm_err.rtml.erb
385
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/card_nmb.rtml.erb
386
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/main_menu.rtml.erb
387
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_sale.rtml.erb
388
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_logo.rtml.erb
389
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_sale_cashback.rtml.erb
390
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_examples.rtml.erb
391
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_duplicate.rtml.erb
392
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/scb_check_f.rtml.erb
393
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/read_scb.rtml.erb
394
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/remove_card.rtml.erb
395
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_refund.rtml.erb
396
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/about.rtml.erb
397
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/read_refund.rtml.erb
398
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/to_man_entry.rtml.erb
399
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_enter_amount.rtml.erb
400
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/confirm_rev.rtml.erb
401
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/duplicate_na.rtml.erb
402
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/print_pf.rtml.erb
403
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/rev_bad.rtml.erb
404
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/void_trans.rtml.erb
405
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_other.rtml.erb
406
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/reject_trans.rtml.erb
407
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_reversal.rtml.erb
408
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/compl_txn.rtml.erb
409
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/error_scr.rtml.erb
410
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/_menu_about.rtml.erb
411
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/main_menu.rtml.bak
412
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/trans_abrt.rtml.erb
413
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/sign_check.rtml.erb
414
+ - app_generators/rtml/templates/rtml/app/views/rtml/oe/btmlpa/index/rd_sale_disp.rtml.erb
415
+ - app_generators/rtml/templates/rtml/app/views/rtml/rtml_app/_default_development.html.erb
416
+ - app_generators/rtml/templates/rtml/app/views/rtml/rtml_app/_default_header.html.erb
417
+ - app_generators/rtml/templates/rtml/app/views/rtml/rtml_app/charts.html.erb
418
+ - app_generators/rtml/templates/rtml/app/views/rtml/rtml_app/_default_production.html.erb
419
+ - app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/index.html.erb
420
+ - app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/index/main.rtml.erb
421
+ - app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/index/enter_amount.rtml.erb
422
+ - app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/index/_error.rtml.erb
423
+ - app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/authorized.html.erb
424
+ - app_generators/rtml/templates/rtml/app/views/rtml/magcard_demo/authorized/main.rtml.erb
425
+ - app_generators/rtml/templates/rtml/app/views/layouts/rtml/magcard_demo_mono.rtml.erb
426
+ - app_generators/rtml/templates/rtml/app/views/layouts/rtml/magcard_demo_color.rtml.erb
427
+ - app_generators/rtml/templates/rtml/app/views/layouts/rtml/oe/btmlpa_i8550.rtml.erb
428
+ - app_generators/rtml/templates/rtml/app/views/layouts/rtml/oe/btmlpa_i5100.rtml.erb
429
+ - app_generators/rtml/templates/rtml/app/views/layouts/rtml/beryl_color.rtml.erb
430
+ - app_generators/rtml/templates/rtml/app/views/layouts/rtml/beryl_mono.rtml.erb
431
+ - app_generators/rtml/templates/rtml/app/views/layouts/rtml/uml.html.erb
432
+ - app_generators/rtml/templates/rtml/app/helpers/beryl_helper.rb
433
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/magcard_demo_tml_helpers/index.rb
434
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/magcard_demo_tml_helpers/authorized.rb
435
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/magcard_demo_tml_helpers/common.rb
436
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/rtml_app_helper.rb
437
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/tml_app_helper.rb
438
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/index.rb
439
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/icc.rb
440
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/auth_result.rb
441
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/receipt.rb
442
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/dynamic.rb
443
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_tml_helpers/common.rb
444
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/oe/btmlpa_helper.rb
445
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/magcard_demo_helper.rb
446
+ - app_generators/rtml/templates/rtml/app/helpers/rtml/rtml_app_tml_helpers/common.rb
447
+ - app_generators/rtml/templates/rtml/app/helpers/beryl_tml_helpers/index.rb
448
+ - app_generators/rtml/templates/rtml/app/helpers/beryl_tml_helpers/auth_result.rb
449
+ - app_generators/rtml/templates/rtml/app/helpers/beryl_tml_helpers/common.rb
450
+ - app_generators/rtml/templates/rtml/app/controllers/beryl_controller.rb
451
+ - app_generators/rtml/templates/rtml/app/controllers/rtml/rtml_app_controller.rb
452
+ - app_generators/rtml/templates/rtml/app/controllers/rtml/magcard_demo_controller.rb
453
+ - app_generators/rtml/templates/rtml/app/controllers/rtml/oe/btmlpa_controller.rb
454
+ - app_generators/rtml/templates/rtml/app/controllers/rtml/tml_app_controller.rb
455
+ - app_generators/rtml/templates/rtml/app/models/rtml/reference_code.rb
456
+ - app_generators/rtml/templates/rtml/app/models/rtml/card.rb
457
+ - app_generators/rtml/templates/rtml/app/models/rtml/transaction.rb
458
+ - app_generators/rtml/templates/rtml/app/models/rtml/emv_card_data.rb
459
+ - app_generators/rtml/templates/rtml/app/models/rtml/card_avs.rb
460
+ - app_generators/rtml/templates/rtml/app/models/rtml/card_parser.rb
461
+ - app_generators/rtml/templates/rtml/app/models/rtml/mag_card_data.rb
462
+ - app_generators/rtml/templates/rtml/app/models/rtml/card_cvv.rb
463
+ - app_generators/rtml/templates/rtml/app/models/rtml/card_pin.rb
464
+ - app_generators/rtml/templates/rtml/app/models/rtml/terminal.rb
465
+ - app_generators/rtml/templates/rtml/app/models/rtml/state.rb
466
+ - app_generators/rtml/rtml_generator.rb
467
+ - app_generators/rtml/USAGE
468
+ - bin/rtml
469
+ - lib/rtml.rb
470
+ - script/console
471
+ - script/destroy
472
+ - script/generate
473
+ - tasks/reglob.rake
474
+ - test/test_rtml.rb
475
+ - test/test_rtml_generator.rb
476
+ - test/test_helper.rb
477
+ - test/test_generator_helper.rb
478
+ - History.txt
479
+ - Manifest.txt
480
+ - PostInstall.txt
481
+ - Rakefile
482
+ - README.rdoc
483
+ has_rdoc: true
484
+ homepage: http://www.rubytml.com
485
+ licenses: []
486
+
487
+ post_install_message:
488
+ rdoc_options:
489
+ - --main
490
+ - README.rdoc
491
+ require_paths:
492
+ - lib
493
+ required_ruby_version: !ruby/object:Gem::Requirement
494
+ requirements:
495
+ - - ">="
496
+ - !ruby/object:Gem::Version
497
+ version: "0"
498
+ version:
499
+ required_rubygems_version: !ruby/object:Gem::Requirement
500
+ requirements:
501
+ - - ">="
502
+ - !ruby/object:Gem::Version
503
+ version: "0"
504
+ version:
505
+ requirements: []
506
+
507
+ rubyforge_project: rtml
508
+ rubygems_version: 1.3.5
509
+ signing_key:
510
+ specification_version: 3
511
+ summary: A Rails-based TML development framework for Ruby
512
+ test_files:
513
+ - test/test_rtml.rb
514
+ - test/test_rtml_generator.rb
515
+ - test/test_helper.rb
516
+ - test/test_generator_helper.rb