livetext 0.9.24 → 0.9.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1013) hide show
  1. checksums.yaml +4 -4
  2. data/README.lt3 +6 -6
  3. data/bin/livetext +57 -40
  4. data/imports/bookish.rb +81 -81
  5. data/imports/calibre.rb +3 -3
  6. data/imports/livemagick.rb +17 -17
  7. data/imports/markdown.rb +10 -10
  8. data/imports/pyggish.rb +13 -13
  9. data/imports/tutorial.rb +15 -15
  10. data/lib/cmdargs.rb +7 -4
  11. data/lib/{errors.rb → livetext/errors.rb} +4 -3
  12. data/lib/{funcall.rb → livetext/funcall.rb} +31 -28
  13. data/lib/{functions.rb → livetext/functions.rb} +0 -2
  14. data/lib/{global_helpers.rb → livetext/global_helpers.rb} +6 -3
  15. data/lib/{handler → livetext/handler}/import.rb +5 -8
  16. data/lib/{handler → livetext/handler}/mixin.rb +6 -9
  17. data/lib/{handler.rb → livetext/handler.rb} +0 -1
  18. data/lib/{helpers.rb → livetext/helpers.rb} +54 -61
  19. data/lib/{html.rb → livetext/html.rb} +2 -3
  20. data/lib/livetext/lineparser.rb +575 -0
  21. data/lib/livetext/more.rb +158 -0
  22. data/lib/{parser → livetext/parser}/general.rb +0 -0
  23. data/lib/{parser → livetext/parser}/set.rb +0 -0
  24. data/lib/{parser → livetext/parser}/string.rb +14 -5
  25. data/lib/{parser.rb → livetext/parser.rb} +0 -0
  26. data/lib/{parsing.rb → livetext/parsing.rb} +0 -2
  27. data/lib/livetext/paths.rb +13 -0
  28. data/lib/{processor.rb → livetext/processor.rb} +18 -8
  29. data/lib/livetext/reopen.rb +12 -0
  30. data/lib/livetext/skeleton.rb +18 -0
  31. data/lib/{standard.rb → livetext/standard.rb} +151 -126
  32. data/lib/livetext/userapi.rb +169 -0
  33. data/lib/livetext/version.rb +6 -0
  34. data/lib/livetext.rb +16 -154
  35. data/plugin/bookish.rb +82 -81
  36. data/plugin/calibre.rb +3 -3
  37. data/plugin/livemagick.rb +17 -17
  38. data/plugin/markdown.rb +10 -10
  39. data/plugin/pyggish.rb +118 -118
  40. data/plugin/tutorial.rb +15 -15
  41. data/test/all.rb +6 -0
  42. data/test/snapshots/{error_inc_line_num → basic_formatting}/actual-error.txt +0 -0
  43. data/test/snapshots/basic_formatting/actual-output.txt +13 -0
  44. data/test/snapshots/basic_formatting/err-sdiff.txt +1 -0
  45. data/test/snapshots/basic_formatting/out-sdiff.txt +14 -0
  46. data/test/snapshots/def_method/expected-output.txt +2 -0
  47. data/test/snapshots/def_method/source.lt3 +4 -2
  48. data/test/snapshots/error_inc_line_num/expected-output.txt +0 -6
  49. data/test/snapshots/error_inc_line_num/match-error.txt +1 -1
  50. data/test/snapshots/error_invalid_name/foo +5 -0
  51. data/test/snapshots/error_line_num/match-error.txt +1 -1
  52. data/test/snapshots/error_missing_end/expected-output.txt +0 -1
  53. data/test/snapshots/error_name_not_permitted/expected-output.txt +4 -0
  54. data/test/snapshots/error_name_not_permitted/match-error.txt +1 -1
  55. data/test/snapshots/error_no_such_copy/expected-output.txt +1 -0
  56. data/test/snapshots/error_no_such_mixin/expected-output.txt +1 -0
  57. data/test/snapshots/error_no_such_mixin/match-error.txt +1 -1
  58. data/test/snapshots/error_no_such_mixin/source.lt3 +1 -1
  59. data/test/snapshots/example_alpha/source.lt3 +2 -2
  60. data/test/snapshots/example_alpha2/expected-output.txt +0 -2
  61. data/test/snapshots/example_alpha2/source.lt3 +5 -4
  62. data/test/snapshots/functions/actual-error.txt +19 -0
  63. data/test/snapshots/{error_invalid_name → functions}/actual-output.txt +0 -0
  64. data/test/snapshots/functions/err-sdiff.txt +20 -0
  65. data/test/snapshots/import/expected-output.txt +2 -1
  66. data/test/snapshots/import/match-error.txt +1 -1
  67. data/test/snapshots/import/simple_import.rb +1 -1
  68. data/test/snapshots/import2/simple_import.rb +1 -1
  69. data/test/snapshots/import_bookish/expected-output.txt +4 -4
  70. data/test/snapshots/{basic_formatting/coverage/.resultset.json.lock → more_complex_vars/actual-error.txt} +0 -0
  71. data/test/snapshots/more_complex_vars/actual-output.txt +4 -0
  72. data/test/snapshots/more_complex_vars/err-sdiff.txt +1 -0
  73. data/test/snapshots/more_complex_vars/out-sdiff.txt +5 -0
  74. data/test/snapshots/more_functions/actual-error.txt +19 -0
  75. data/test/snapshots/{error_missing_end → more_functions}/actual-output.txt +0 -0
  76. data/test/snapshots/more_functions/err-sdiff.txt +20 -0
  77. data/test/snapshots/more_functions/expected-output.txt +1 -1
  78. data/test/snapshots/more_functions/source.lt3 +1 -1
  79. data/test/snapshots/raw_lines/actual-error.txt +22 -0
  80. data/test/snapshots/{error_no_such_copy → raw_lines}/actual-output.txt +0 -0
  81. data/test/snapshots/raw_lines/err-sdiff.txt +23 -0
  82. data/test/snapshots/raw_lines/expected-output.txt +0 -2
  83. data/test/snapshots/simple_import/simple_import.rb +1 -1
  84. data/test/snapshots/simple_mixin/simple_mixin.rb +1 -1
  85. data/test/snapshots/{block_comment/coverage/.resultset.json.lock → simple_vars/actual-error.txt} +0 -0
  86. data/test/snapshots/simple_vars/actual-output.txt +6 -0
  87. data/test/snapshots/simple_vars/err-sdiff.txt +1 -0
  88. data/test/snapshots/simple_vars/out-sdiff.txt +7 -0
  89. data/test/snapshots/single_raw_line/expected-output.txt +0 -2
  90. data/test/snapshots/subset.txt +9 -7
  91. data/test/snapshots/var_into_func/actual-error.txt +19 -0
  92. data/test/snapshots/{error_no_such_inc → var_into_func}/actual-output.txt +0 -0
  93. data/test/snapshots/var_into_func/err-sdiff.txt +20 -0
  94. data/test/snapshots/{comments_ignored_1/coverage/.resultset.json.lock → var_into_func/expected-error.txt} +0 -0
  95. data/test/snapshots/var_into_func/expected-output.txt +16 -0
  96. data/test/snapshots/var_into_func/out-sdiff.txt +17 -0
  97. data/test/snapshots/var_into_func/source.lt3 +16 -0
  98. data/test/snapshots.rb +16 -7
  99. data/test/unit/all.rb +2 -1
  100. data/test/unit/html.rb +1 -2
  101. data/test/unit/lineparser.rb +359 -0
  102. data/test/unit/new_lineparser.rb +359 -0
  103. data/test/unit/parser/set.rb +13 -12
  104. data/test/unit/standard.rb +0 -1
  105. data/test/unit/tokenizer.rb +535 -0
  106. metadata +57 -933
  107. data/lib/formatline.rb +0 -308
  108. data/lib/parser/file.rb +0 -6
  109. data/lib/userapi.rb +0 -164
  110. data/test/snapshots/basic_formatting/coverage/.last_run.json +0 -5
  111. data/test/snapshots/basic_formatting/coverage/.resultset.json +0 -7
  112. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  113. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  114. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  115. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  116. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  117. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/application.css +0 -1
  118. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/application.js +0 -7
  119. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/colorbox/border.png +0 -0
  120. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  121. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  122. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  123. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/favicon_green.png +0 -0
  124. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/favicon_red.png +0 -0
  125. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  126. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  127. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  128. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  129. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  130. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  131. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  132. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  133. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  134. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  135. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  136. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  137. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  138. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  139. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/loading.gif +0 -0
  140. data/test/snapshots/basic_formatting/coverage/assets/0.12.3/magnify.png +0 -0
  141. data/test/snapshots/basic_formatting/coverage/index.html +0 -93
  142. data/test/snapshots/block_comment/coverage/.last_run.json +0 -5
  143. data/test/snapshots/block_comment/coverage/.resultset.json +0 -7
  144. data/test/snapshots/block_comment/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  145. data/test/snapshots/block_comment/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  146. data/test/snapshots/block_comment/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  147. data/test/snapshots/block_comment/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  148. data/test/snapshots/block_comment/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  149. data/test/snapshots/block_comment/coverage/assets/0.12.3/application.css +0 -1
  150. data/test/snapshots/block_comment/coverage/assets/0.12.3/application.js +0 -7
  151. data/test/snapshots/block_comment/coverage/assets/0.12.3/colorbox/border.png +0 -0
  152. data/test/snapshots/block_comment/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  153. data/test/snapshots/block_comment/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  154. data/test/snapshots/block_comment/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  155. data/test/snapshots/block_comment/coverage/assets/0.12.3/favicon_green.png +0 -0
  156. data/test/snapshots/block_comment/coverage/assets/0.12.3/favicon_red.png +0 -0
  157. data/test/snapshots/block_comment/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  158. data/test/snapshots/block_comment/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  159. data/test/snapshots/block_comment/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  160. data/test/snapshots/block_comment/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  161. data/test/snapshots/block_comment/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  162. data/test/snapshots/block_comment/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  163. data/test/snapshots/block_comment/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  164. data/test/snapshots/block_comment/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  165. data/test/snapshots/block_comment/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  166. data/test/snapshots/block_comment/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  167. data/test/snapshots/block_comment/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  168. data/test/snapshots/block_comment/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  169. data/test/snapshots/block_comment/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  170. data/test/snapshots/block_comment/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  171. data/test/snapshots/block_comment/coverage/assets/0.12.3/loading.gif +0 -0
  172. data/test/snapshots/block_comment/coverage/assets/0.12.3/magnify.png +0 -0
  173. data/test/snapshots/block_comment/coverage/index.html +0 -93
  174. data/test/snapshots/comments_ignored_1/coverage/.last_run.json +0 -5
  175. data/test/snapshots/comments_ignored_1/coverage/.resultset.json +0 -7
  176. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  177. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  178. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  179. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  180. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  181. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/application.css +0 -1
  182. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/application.js +0 -7
  183. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/colorbox/border.png +0 -0
  184. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  185. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  186. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  187. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/favicon_green.png +0 -0
  188. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/favicon_red.png +0 -0
  189. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  190. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  191. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  192. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  193. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  194. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  195. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  196. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  197. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  198. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  199. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  200. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  201. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  202. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  203. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/loading.gif +0 -0
  204. data/test/snapshots/comments_ignored_1/coverage/assets/0.12.3/magnify.png +0 -0
  205. data/test/snapshots/comments_ignored_1/coverage/index.html +0 -93
  206. data/test/snapshots/copy_is_raw/coverage/.last_run.json +0 -5
  207. data/test/snapshots/copy_is_raw/coverage/.resultset.json +0 -7
  208. data/test/snapshots/copy_is_raw/coverage/.resultset.json.lock +0 -0
  209. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  210. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  211. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  212. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  213. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  214. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/application.css +0 -1
  215. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/application.js +0 -7
  216. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/colorbox/border.png +0 -0
  217. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  218. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  219. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  220. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/favicon_green.png +0 -0
  221. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/favicon_red.png +0 -0
  222. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  223. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  224. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  225. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  226. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  227. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  228. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  229. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  230. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  231. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  232. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  233. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  234. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  235. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  236. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/loading.gif +0 -0
  237. data/test/snapshots/copy_is_raw/coverage/assets/0.12.3/magnify.png +0 -0
  238. data/test/snapshots/copy_is_raw/coverage/index.html +0 -93
  239. data/test/snapshots/def_method/coverage/.last_run.json +0 -5
  240. data/test/snapshots/def_method/coverage/.resultset.json +0 -7
  241. data/test/snapshots/def_method/coverage/.resultset.json.lock +0 -0
  242. data/test/snapshots/def_method/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  243. data/test/snapshots/def_method/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  244. data/test/snapshots/def_method/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  245. data/test/snapshots/def_method/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  246. data/test/snapshots/def_method/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  247. data/test/snapshots/def_method/coverage/assets/0.12.3/application.css +0 -1
  248. data/test/snapshots/def_method/coverage/assets/0.12.3/application.js +0 -7
  249. data/test/snapshots/def_method/coverage/assets/0.12.3/colorbox/border.png +0 -0
  250. data/test/snapshots/def_method/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  251. data/test/snapshots/def_method/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  252. data/test/snapshots/def_method/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  253. data/test/snapshots/def_method/coverage/assets/0.12.3/favicon_green.png +0 -0
  254. data/test/snapshots/def_method/coverage/assets/0.12.3/favicon_red.png +0 -0
  255. data/test/snapshots/def_method/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  256. data/test/snapshots/def_method/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  257. data/test/snapshots/def_method/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  258. data/test/snapshots/def_method/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  259. data/test/snapshots/def_method/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  260. data/test/snapshots/def_method/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  261. data/test/snapshots/def_method/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  262. data/test/snapshots/def_method/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  263. data/test/snapshots/def_method/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  264. data/test/snapshots/def_method/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  265. data/test/snapshots/def_method/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  266. data/test/snapshots/def_method/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  267. data/test/snapshots/def_method/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  268. data/test/snapshots/def_method/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  269. data/test/snapshots/def_method/coverage/assets/0.12.3/loading.gif +0 -0
  270. data/test/snapshots/def_method/coverage/assets/0.12.3/magnify.png +0 -0
  271. data/test/snapshots/def_method/coverage/index.html +0 -93
  272. data/test/snapshots/error_inc_line_num/OUT +0 -17
  273. data/test/snapshots/error_inc_line_num/actual-output.txt +0 -17
  274. data/test/snapshots/error_invalid_name/actual-error.txt +0 -10
  275. data/test/snapshots/error_invalid_name/out-sdiff.txt +0 -6
  276. data/test/snapshots/error_line_num/coverage/.resultset.json +0 -7
  277. data/test/snapshots/error_line_num/coverage/.resultset.json.lock +0 -0
  278. data/test/snapshots/error_line_num/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  279. data/test/snapshots/error_line_num/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  280. data/test/snapshots/error_line_num/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  281. data/test/snapshots/error_line_num/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  282. data/test/snapshots/error_line_num/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  283. data/test/snapshots/error_line_num/coverage/assets/0.12.3/application.css +0 -1
  284. data/test/snapshots/error_line_num/coverage/assets/0.12.3/application.js +0 -7
  285. data/test/snapshots/error_line_num/coverage/assets/0.12.3/colorbox/border.png +0 -0
  286. data/test/snapshots/error_line_num/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  287. data/test/snapshots/error_line_num/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  288. data/test/snapshots/error_line_num/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  289. data/test/snapshots/error_line_num/coverage/assets/0.12.3/favicon_green.png +0 -0
  290. data/test/snapshots/error_line_num/coverage/assets/0.12.3/favicon_red.png +0 -0
  291. data/test/snapshots/error_line_num/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  292. data/test/snapshots/error_line_num/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  293. data/test/snapshots/error_line_num/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  294. data/test/snapshots/error_line_num/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  295. data/test/snapshots/error_line_num/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  296. data/test/snapshots/error_line_num/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  297. data/test/snapshots/error_line_num/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  298. data/test/snapshots/error_line_num/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  299. data/test/snapshots/error_line_num/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  300. data/test/snapshots/error_line_num/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  301. data/test/snapshots/error_line_num/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  302. data/test/snapshots/error_line_num/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  303. data/test/snapshots/error_line_num/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  304. data/test/snapshots/error_line_num/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  305. data/test/snapshots/error_line_num/coverage/assets/0.12.3/loading.gif +0 -0
  306. data/test/snapshots/error_line_num/coverage/assets/0.12.3/magnify.png +0 -0
  307. data/test/snapshots/error_line_num/coverage/index.html +0 -93
  308. data/test/snapshots/error_mismatched_end/coverage/.resultset.json +0 -7
  309. data/test/snapshots/error_mismatched_end/coverage/.resultset.json.lock +0 -0
  310. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  311. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  312. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  313. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  314. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  315. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/application.css +0 -1
  316. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/application.js +0 -7
  317. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/colorbox/border.png +0 -0
  318. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  319. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  320. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  321. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/favicon_green.png +0 -0
  322. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/favicon_red.png +0 -0
  323. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  324. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  325. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  326. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  327. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  328. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  329. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  330. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  331. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  332. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  333. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  334. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  335. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  336. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  337. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/loading.gif +0 -0
  338. data/test/snapshots/error_mismatched_end/coverage/assets/0.12.3/magnify.png +0 -0
  339. data/test/snapshots/error_mismatched_end/coverage/index.html +0 -93
  340. data/test/snapshots/error_missing_end/actual-error.txt +0 -10
  341. data/test/snapshots/error_missing_end/out-sdiff.txt +0 -6
  342. data/test/snapshots/error_name_not_permitted/coverage/.resultset.json +0 -7
  343. data/test/snapshots/error_name_not_permitted/coverage/.resultset.json.lock +0 -0
  344. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  345. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  346. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  347. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  348. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  349. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/application.css +0 -1
  350. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/application.js +0 -7
  351. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/colorbox/border.png +0 -0
  352. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  353. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  354. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  355. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/favicon_green.png +0 -0
  356. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/favicon_red.png +0 -0
  357. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  358. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  359. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  360. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  361. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  362. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  363. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  364. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  365. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  366. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  367. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  368. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  369. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  370. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  371. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/loading.gif +0 -0
  372. data/test/snapshots/error_name_not_permitted/coverage/assets/0.12.3/magnify.png +0 -0
  373. data/test/snapshots/error_name_not_permitted/coverage/index.html +0 -93
  374. data/test/snapshots/error_no_such_copy/actual-error.txt +0 -10
  375. data/test/snapshots/error_no_such_copy/out-sdiff.txt +0 -5
  376. data/test/snapshots/error_no_such_inc/actual-error.txt +0 -10
  377. data/test/snapshots/error_no_such_inc/out-sdiff.txt +0 -6
  378. data/test/snapshots/error_no_such_mixin/actual-error.txt +0 -13
  379. data/test/snapshots/error_no_such_mixin/actual-output.txt +0 -0
  380. data/test/snapshots/error_no_such_mixin/out-sdiff.txt +0 -6
  381. data/test/snapshots/example_alpha/coverage/.last_run.json +0 -5
  382. data/test/snapshots/example_alpha/coverage/.resultset.json +0 -7
  383. data/test/snapshots/example_alpha/coverage/.resultset.json.lock +0 -0
  384. data/test/snapshots/example_alpha/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  385. data/test/snapshots/example_alpha/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  386. data/test/snapshots/example_alpha/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  387. data/test/snapshots/example_alpha/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  388. data/test/snapshots/example_alpha/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  389. data/test/snapshots/example_alpha/coverage/assets/0.12.3/application.css +0 -1
  390. data/test/snapshots/example_alpha/coverage/assets/0.12.3/application.js +0 -7
  391. data/test/snapshots/example_alpha/coverage/assets/0.12.3/colorbox/border.png +0 -0
  392. data/test/snapshots/example_alpha/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  393. data/test/snapshots/example_alpha/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  394. data/test/snapshots/example_alpha/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  395. data/test/snapshots/example_alpha/coverage/assets/0.12.3/favicon_green.png +0 -0
  396. data/test/snapshots/example_alpha/coverage/assets/0.12.3/favicon_red.png +0 -0
  397. data/test/snapshots/example_alpha/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  398. data/test/snapshots/example_alpha/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  399. data/test/snapshots/example_alpha/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  400. data/test/snapshots/example_alpha/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  401. data/test/snapshots/example_alpha/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  402. data/test/snapshots/example_alpha/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  403. data/test/snapshots/example_alpha/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  404. data/test/snapshots/example_alpha/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  405. data/test/snapshots/example_alpha/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  406. data/test/snapshots/example_alpha/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  407. data/test/snapshots/example_alpha/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  408. data/test/snapshots/example_alpha/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  409. data/test/snapshots/example_alpha/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  410. data/test/snapshots/example_alpha/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  411. data/test/snapshots/example_alpha/coverage/assets/0.12.3/loading.gif +0 -0
  412. data/test/snapshots/example_alpha/coverage/assets/0.12.3/magnify.png +0 -0
  413. data/test/snapshots/example_alpha/coverage/index.html +0 -93
  414. data/test/snapshots/example_alpha2/coverage/.last_run.json +0 -5
  415. data/test/snapshots/example_alpha2/coverage/.resultset.json +0 -7
  416. data/test/snapshots/example_alpha2/coverage/.resultset.json.lock +0 -0
  417. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  418. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  419. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  420. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  421. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  422. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/application.css +0 -1
  423. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/application.js +0 -7
  424. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/colorbox/border.png +0 -0
  425. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  426. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  427. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  428. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/favicon_green.png +0 -0
  429. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/favicon_red.png +0 -0
  430. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  431. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  432. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  433. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  434. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  435. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  436. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  437. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  438. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  439. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  440. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  441. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  442. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  443. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  444. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/loading.gif +0 -0
  445. data/test/snapshots/example_alpha2/coverage/assets/0.12.3/magnify.png +0 -0
  446. data/test/snapshots/example_alpha2/coverage/index.html +0 -93
  447. data/test/snapshots/functions/coverage/.last_run.json +0 -5
  448. data/test/snapshots/functions/coverage/.resultset.json +0 -7
  449. data/test/snapshots/functions/coverage/.resultset.json.lock +0 -0
  450. data/test/snapshots/functions/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  451. data/test/snapshots/functions/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  452. data/test/snapshots/functions/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  453. data/test/snapshots/functions/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  454. data/test/snapshots/functions/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  455. data/test/snapshots/functions/coverage/assets/0.12.3/application.css +0 -1
  456. data/test/snapshots/functions/coverage/assets/0.12.3/application.js +0 -7
  457. data/test/snapshots/functions/coverage/assets/0.12.3/colorbox/border.png +0 -0
  458. data/test/snapshots/functions/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  459. data/test/snapshots/functions/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  460. data/test/snapshots/functions/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  461. data/test/snapshots/functions/coverage/assets/0.12.3/favicon_green.png +0 -0
  462. data/test/snapshots/functions/coverage/assets/0.12.3/favicon_red.png +0 -0
  463. data/test/snapshots/functions/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  464. data/test/snapshots/functions/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  465. data/test/snapshots/functions/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  466. data/test/snapshots/functions/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  467. data/test/snapshots/functions/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  468. data/test/snapshots/functions/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  469. data/test/snapshots/functions/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  470. data/test/snapshots/functions/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  471. data/test/snapshots/functions/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  472. data/test/snapshots/functions/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  473. data/test/snapshots/functions/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  474. data/test/snapshots/functions/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  475. data/test/snapshots/functions/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  476. data/test/snapshots/functions/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  477. data/test/snapshots/functions/coverage/assets/0.12.3/loading.gif +0 -0
  478. data/test/snapshots/functions/coverage/assets/0.12.3/magnify.png +0 -0
  479. data/test/snapshots/functions/coverage/index.html +0 -93
  480. data/test/snapshots/hello_world/coverage/.last_run.json +0 -5
  481. data/test/snapshots/hello_world/coverage/.resultset.json +0 -7
  482. data/test/snapshots/hello_world/coverage/.resultset.json.lock +0 -0
  483. data/test/snapshots/hello_world/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  484. data/test/snapshots/hello_world/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  485. data/test/snapshots/hello_world/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  486. data/test/snapshots/hello_world/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  487. data/test/snapshots/hello_world/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  488. data/test/snapshots/hello_world/coverage/assets/0.12.3/application.css +0 -1
  489. data/test/snapshots/hello_world/coverage/assets/0.12.3/application.js +0 -7
  490. data/test/snapshots/hello_world/coverage/assets/0.12.3/colorbox/border.png +0 -0
  491. data/test/snapshots/hello_world/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  492. data/test/snapshots/hello_world/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  493. data/test/snapshots/hello_world/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  494. data/test/snapshots/hello_world/coverage/assets/0.12.3/favicon_green.png +0 -0
  495. data/test/snapshots/hello_world/coverage/assets/0.12.3/favicon_red.png +0 -0
  496. data/test/snapshots/hello_world/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  497. data/test/snapshots/hello_world/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  498. data/test/snapshots/hello_world/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  499. data/test/snapshots/hello_world/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  500. data/test/snapshots/hello_world/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  501. data/test/snapshots/hello_world/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  502. data/test/snapshots/hello_world/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  503. data/test/snapshots/hello_world/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  504. data/test/snapshots/hello_world/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  505. data/test/snapshots/hello_world/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  506. data/test/snapshots/hello_world/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  507. data/test/snapshots/hello_world/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  508. data/test/snapshots/hello_world/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  509. data/test/snapshots/hello_world/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  510. data/test/snapshots/hello_world/coverage/assets/0.12.3/loading.gif +0 -0
  511. data/test/snapshots/hello_world/coverage/assets/0.12.3/magnify.png +0 -0
  512. data/test/snapshots/hello_world/coverage/index.html +0 -93
  513. data/test/snapshots/import/actual-error.txt +0 -13
  514. data/test/snapshots/import/actual-output.txt +0 -0
  515. data/test/snapshots/import/out-sdiff.txt +0 -6
  516. data/test/snapshots/import2/coverage/.last_run.json +0 -5
  517. data/test/snapshots/import2/coverage/.resultset.json +0 -16
  518. data/test/snapshots/import2/coverage/.resultset.json.lock +0 -0
  519. data/test/snapshots/import2/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  520. data/test/snapshots/import2/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  521. data/test/snapshots/import2/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  522. data/test/snapshots/import2/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  523. data/test/snapshots/import2/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  524. data/test/snapshots/import2/coverage/assets/0.12.3/application.css +0 -1
  525. data/test/snapshots/import2/coverage/assets/0.12.3/application.js +0 -7
  526. data/test/snapshots/import2/coverage/assets/0.12.3/colorbox/border.png +0 -0
  527. data/test/snapshots/import2/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  528. data/test/snapshots/import2/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  529. data/test/snapshots/import2/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  530. data/test/snapshots/import2/coverage/assets/0.12.3/favicon_green.png +0 -0
  531. data/test/snapshots/import2/coverage/assets/0.12.3/favicon_red.png +0 -0
  532. data/test/snapshots/import2/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  533. data/test/snapshots/import2/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  534. data/test/snapshots/import2/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  535. data/test/snapshots/import2/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  536. data/test/snapshots/import2/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  537. data/test/snapshots/import2/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  538. data/test/snapshots/import2/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  539. data/test/snapshots/import2/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  540. data/test/snapshots/import2/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  541. data/test/snapshots/import2/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  542. data/test/snapshots/import2/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  543. data/test/snapshots/import2/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  544. data/test/snapshots/import2/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  545. data/test/snapshots/import2/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  546. data/test/snapshots/import2/coverage/assets/0.12.3/loading.gif +0 -0
  547. data/test/snapshots/import2/coverage/assets/0.12.3/magnify.png +0 -0
  548. data/test/snapshots/import2/coverage/index.html +0 -190
  549. data/test/snapshots/import_bookish/coverage/.last_run.json +0 -5
  550. data/test/snapshots/import_bookish/coverage/.resultset.json +0 -7
  551. data/test/snapshots/import_bookish/coverage/.resultset.json.lock +0 -0
  552. data/test/snapshots/import_bookish/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  553. data/test/snapshots/import_bookish/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  554. data/test/snapshots/import_bookish/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  555. data/test/snapshots/import_bookish/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  556. data/test/snapshots/import_bookish/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  557. data/test/snapshots/import_bookish/coverage/assets/0.12.3/application.css +0 -1
  558. data/test/snapshots/import_bookish/coverage/assets/0.12.3/application.js +0 -7
  559. data/test/snapshots/import_bookish/coverage/assets/0.12.3/colorbox/border.png +0 -0
  560. data/test/snapshots/import_bookish/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  561. data/test/snapshots/import_bookish/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  562. data/test/snapshots/import_bookish/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  563. data/test/snapshots/import_bookish/coverage/assets/0.12.3/favicon_green.png +0 -0
  564. data/test/snapshots/import_bookish/coverage/assets/0.12.3/favicon_red.png +0 -0
  565. data/test/snapshots/import_bookish/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  566. data/test/snapshots/import_bookish/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  567. data/test/snapshots/import_bookish/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  568. data/test/snapshots/import_bookish/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  569. data/test/snapshots/import_bookish/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  570. data/test/snapshots/import_bookish/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  571. data/test/snapshots/import_bookish/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  572. data/test/snapshots/import_bookish/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  573. data/test/snapshots/import_bookish/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  574. data/test/snapshots/import_bookish/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  575. data/test/snapshots/import_bookish/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  576. data/test/snapshots/import_bookish/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  577. data/test/snapshots/import_bookish/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  578. data/test/snapshots/import_bookish/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  579. data/test/snapshots/import_bookish/coverage/assets/0.12.3/loading.gif +0 -0
  580. data/test/snapshots/import_bookish/coverage/assets/0.12.3/magnify.png +0 -0
  581. data/test/snapshots/import_bookish/coverage/index.html +0 -93
  582. data/test/snapshots/mixin_bookish/coverage/.last_run.json +0 -5
  583. data/test/snapshots/mixin_bookish/coverage/.resultset.json +0 -7
  584. data/test/snapshots/mixin_bookish/coverage/.resultset.json.lock +0 -0
  585. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  586. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  587. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  588. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  589. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  590. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/application.css +0 -1
  591. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/application.js +0 -7
  592. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/colorbox/border.png +0 -0
  593. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  594. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  595. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  596. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/favicon_green.png +0 -0
  597. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/favicon_red.png +0 -0
  598. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  599. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  600. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  601. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  602. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  603. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  604. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  605. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  606. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  607. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  608. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  609. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  610. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  611. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  612. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/loading.gif +0 -0
  613. data/test/snapshots/mixin_bookish/coverage/assets/0.12.3/magnify.png +0 -0
  614. data/test/snapshots/mixin_bookish/coverage/index.html +0 -93
  615. data/test/snapshots/more_complex_vars/coverage/.last_run.json +0 -5
  616. data/test/snapshots/more_complex_vars/coverage/.resultset.json +0 -7
  617. data/test/snapshots/more_complex_vars/coverage/.resultset.json.lock +0 -0
  618. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  619. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  620. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  621. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  622. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  623. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/application.css +0 -1
  624. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/application.js +0 -7
  625. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/colorbox/border.png +0 -0
  626. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  627. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  628. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  629. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/favicon_green.png +0 -0
  630. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/favicon_red.png +0 -0
  631. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  632. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  633. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  634. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  635. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  636. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  637. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  638. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  639. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  640. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  641. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  642. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  643. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  644. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  645. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/loading.gif +0 -0
  646. data/test/snapshots/more_complex_vars/coverage/assets/0.12.3/magnify.png +0 -0
  647. data/test/snapshots/more_complex_vars/coverage/index.html +0 -93
  648. data/test/snapshots/more_functions/coverage/.last_run.json +0 -5
  649. data/test/snapshots/more_functions/coverage/.resultset.json +0 -7
  650. data/test/snapshots/more_functions/coverage/.resultset.json.lock +0 -0
  651. data/test/snapshots/more_functions/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  652. data/test/snapshots/more_functions/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  653. data/test/snapshots/more_functions/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  654. data/test/snapshots/more_functions/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  655. data/test/snapshots/more_functions/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  656. data/test/snapshots/more_functions/coverage/assets/0.12.3/application.css +0 -1
  657. data/test/snapshots/more_functions/coverage/assets/0.12.3/application.js +0 -7
  658. data/test/snapshots/more_functions/coverage/assets/0.12.3/colorbox/border.png +0 -0
  659. data/test/snapshots/more_functions/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  660. data/test/snapshots/more_functions/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  661. data/test/snapshots/more_functions/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  662. data/test/snapshots/more_functions/coverage/assets/0.12.3/favicon_green.png +0 -0
  663. data/test/snapshots/more_functions/coverage/assets/0.12.3/favicon_red.png +0 -0
  664. data/test/snapshots/more_functions/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  665. data/test/snapshots/more_functions/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  666. data/test/snapshots/more_functions/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  667. data/test/snapshots/more_functions/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  668. data/test/snapshots/more_functions/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  669. data/test/snapshots/more_functions/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  670. data/test/snapshots/more_functions/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  671. data/test/snapshots/more_functions/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  672. data/test/snapshots/more_functions/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  673. data/test/snapshots/more_functions/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  674. data/test/snapshots/more_functions/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  675. data/test/snapshots/more_functions/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  676. data/test/snapshots/more_functions/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  677. data/test/snapshots/more_functions/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  678. data/test/snapshots/more_functions/coverage/assets/0.12.3/loading.gif +0 -0
  679. data/test/snapshots/more_functions/coverage/assets/0.12.3/magnify.png +0 -0
  680. data/test/snapshots/more_functions/coverage/index.html +0 -93
  681. data/test/snapshots/predef_vars/coverage/.last_run.json +0 -5
  682. data/test/snapshots/predef_vars/coverage/.resultset.json +0 -7
  683. data/test/snapshots/predef_vars/coverage/.resultset.json.lock +0 -0
  684. data/test/snapshots/predef_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  685. data/test/snapshots/predef_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  686. data/test/snapshots/predef_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  687. data/test/snapshots/predef_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  688. data/test/snapshots/predef_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  689. data/test/snapshots/predef_vars/coverage/assets/0.12.3/application.css +0 -1
  690. data/test/snapshots/predef_vars/coverage/assets/0.12.3/application.js +0 -7
  691. data/test/snapshots/predef_vars/coverage/assets/0.12.3/colorbox/border.png +0 -0
  692. data/test/snapshots/predef_vars/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  693. data/test/snapshots/predef_vars/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  694. data/test/snapshots/predef_vars/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  695. data/test/snapshots/predef_vars/coverage/assets/0.12.3/favicon_green.png +0 -0
  696. data/test/snapshots/predef_vars/coverage/assets/0.12.3/favicon_red.png +0 -0
  697. data/test/snapshots/predef_vars/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  698. data/test/snapshots/predef_vars/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  699. data/test/snapshots/predef_vars/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  700. data/test/snapshots/predef_vars/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  701. data/test/snapshots/predef_vars/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  702. data/test/snapshots/predef_vars/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  703. data/test/snapshots/predef_vars/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  704. data/test/snapshots/predef_vars/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  705. data/test/snapshots/predef_vars/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  706. data/test/snapshots/predef_vars/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  707. data/test/snapshots/predef_vars/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  708. data/test/snapshots/predef_vars/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  709. data/test/snapshots/predef_vars/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  710. data/test/snapshots/predef_vars/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  711. data/test/snapshots/predef_vars/coverage/assets/0.12.3/loading.gif +0 -0
  712. data/test/snapshots/predef_vars/coverage/assets/0.12.3/magnify.png +0 -0
  713. data/test/snapshots/predef_vars/coverage/index.html +0 -93
  714. data/test/snapshots/raw_lines/coverage/.last_run.json +0 -5
  715. data/test/snapshots/raw_lines/coverage/.resultset.json +0 -7
  716. data/test/snapshots/raw_lines/coverage/.resultset.json.lock +0 -0
  717. data/test/snapshots/raw_lines/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  718. data/test/snapshots/raw_lines/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  719. data/test/snapshots/raw_lines/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  720. data/test/snapshots/raw_lines/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  721. data/test/snapshots/raw_lines/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  722. data/test/snapshots/raw_lines/coverage/assets/0.12.3/application.css +0 -1
  723. data/test/snapshots/raw_lines/coverage/assets/0.12.3/application.js +0 -7
  724. data/test/snapshots/raw_lines/coverage/assets/0.12.3/colorbox/border.png +0 -0
  725. data/test/snapshots/raw_lines/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  726. data/test/snapshots/raw_lines/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  727. data/test/snapshots/raw_lines/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  728. data/test/snapshots/raw_lines/coverage/assets/0.12.3/favicon_green.png +0 -0
  729. data/test/snapshots/raw_lines/coverage/assets/0.12.3/favicon_red.png +0 -0
  730. data/test/snapshots/raw_lines/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  731. data/test/snapshots/raw_lines/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  732. data/test/snapshots/raw_lines/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  733. data/test/snapshots/raw_lines/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  734. data/test/snapshots/raw_lines/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  735. data/test/snapshots/raw_lines/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  736. data/test/snapshots/raw_lines/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  737. data/test/snapshots/raw_lines/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  738. data/test/snapshots/raw_lines/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  739. data/test/snapshots/raw_lines/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  740. data/test/snapshots/raw_lines/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  741. data/test/snapshots/raw_lines/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  742. data/test/snapshots/raw_lines/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  743. data/test/snapshots/raw_lines/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  744. data/test/snapshots/raw_lines/coverage/assets/0.12.3/loading.gif +0 -0
  745. data/test/snapshots/raw_lines/coverage/assets/0.12.3/magnify.png +0 -0
  746. data/test/snapshots/raw_lines/coverage/index.html +0 -93
  747. data/test/snapshots/raw_text_block/coverage/.last_run.json +0 -5
  748. data/test/snapshots/raw_text_block/coverage/.resultset.json +0 -7
  749. data/test/snapshots/raw_text_block/coverage/.resultset.json.lock +0 -0
  750. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  751. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  752. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  753. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  754. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  755. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/application.css +0 -1
  756. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/application.js +0 -7
  757. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/colorbox/border.png +0 -0
  758. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  759. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  760. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  761. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/favicon_green.png +0 -0
  762. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/favicon_red.png +0 -0
  763. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  764. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  765. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  766. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  767. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  768. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  769. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  770. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  771. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  772. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  773. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  774. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  775. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  776. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  777. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/loading.gif +0 -0
  778. data/test/snapshots/raw_text_block/coverage/assets/0.12.3/magnify.png +0 -0
  779. data/test/snapshots/raw_text_block/coverage/index.html +0 -93
  780. data/test/snapshots/simple_copy/coverage/.last_run.json +0 -5
  781. data/test/snapshots/simple_copy/coverage/.resultset.json +0 -7
  782. data/test/snapshots/simple_copy/coverage/.resultset.json.lock +0 -0
  783. data/test/snapshots/simple_copy/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  784. data/test/snapshots/simple_copy/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  785. data/test/snapshots/simple_copy/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  786. data/test/snapshots/simple_copy/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  787. data/test/snapshots/simple_copy/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  788. data/test/snapshots/simple_copy/coverage/assets/0.12.3/application.css +0 -1
  789. data/test/snapshots/simple_copy/coverage/assets/0.12.3/application.js +0 -7
  790. data/test/snapshots/simple_copy/coverage/assets/0.12.3/colorbox/border.png +0 -0
  791. data/test/snapshots/simple_copy/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  792. data/test/snapshots/simple_copy/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  793. data/test/snapshots/simple_copy/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  794. data/test/snapshots/simple_copy/coverage/assets/0.12.3/favicon_green.png +0 -0
  795. data/test/snapshots/simple_copy/coverage/assets/0.12.3/favicon_red.png +0 -0
  796. data/test/snapshots/simple_copy/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  797. data/test/snapshots/simple_copy/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  798. data/test/snapshots/simple_copy/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  799. data/test/snapshots/simple_copy/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  800. data/test/snapshots/simple_copy/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  801. data/test/snapshots/simple_copy/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  802. data/test/snapshots/simple_copy/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  803. data/test/snapshots/simple_copy/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  804. data/test/snapshots/simple_copy/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  805. data/test/snapshots/simple_copy/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  806. data/test/snapshots/simple_copy/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  807. data/test/snapshots/simple_copy/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  808. data/test/snapshots/simple_copy/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  809. data/test/snapshots/simple_copy/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  810. data/test/snapshots/simple_copy/coverage/assets/0.12.3/loading.gif +0 -0
  811. data/test/snapshots/simple_copy/coverage/assets/0.12.3/magnify.png +0 -0
  812. data/test/snapshots/simple_copy/coverage/index.html +0 -93
  813. data/test/snapshots/simple_import/coverage/.last_run.json +0 -5
  814. data/test/snapshots/simple_import/coverage/.resultset.json +0 -16
  815. data/test/snapshots/simple_import/coverage/.resultset.json.lock +0 -0
  816. data/test/snapshots/simple_import/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  817. data/test/snapshots/simple_import/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  818. data/test/snapshots/simple_import/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  819. data/test/snapshots/simple_import/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  820. data/test/snapshots/simple_import/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  821. data/test/snapshots/simple_import/coverage/assets/0.12.3/application.css +0 -1
  822. data/test/snapshots/simple_import/coverage/assets/0.12.3/application.js +0 -7
  823. data/test/snapshots/simple_import/coverage/assets/0.12.3/colorbox/border.png +0 -0
  824. data/test/snapshots/simple_import/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  825. data/test/snapshots/simple_import/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  826. data/test/snapshots/simple_import/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  827. data/test/snapshots/simple_import/coverage/assets/0.12.3/favicon_green.png +0 -0
  828. data/test/snapshots/simple_import/coverage/assets/0.12.3/favicon_red.png +0 -0
  829. data/test/snapshots/simple_import/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  830. data/test/snapshots/simple_import/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  831. data/test/snapshots/simple_import/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  832. data/test/snapshots/simple_import/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  833. data/test/snapshots/simple_import/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  834. data/test/snapshots/simple_import/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  835. data/test/snapshots/simple_import/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  836. data/test/snapshots/simple_import/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  837. data/test/snapshots/simple_import/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  838. data/test/snapshots/simple_import/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  839. data/test/snapshots/simple_import/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  840. data/test/snapshots/simple_import/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  841. data/test/snapshots/simple_import/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  842. data/test/snapshots/simple_import/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  843. data/test/snapshots/simple_import/coverage/assets/0.12.3/loading.gif +0 -0
  844. data/test/snapshots/simple_import/coverage/assets/0.12.3/magnify.png +0 -0
  845. data/test/snapshots/simple_import/coverage/index.html +0 -190
  846. data/test/snapshots/simple_include/coverage/.last_run.json +0 -5
  847. data/test/snapshots/simple_include/coverage/.resultset.json +0 -7
  848. data/test/snapshots/simple_include/coverage/.resultset.json.lock +0 -0
  849. data/test/snapshots/simple_include/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  850. data/test/snapshots/simple_include/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  851. data/test/snapshots/simple_include/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  852. data/test/snapshots/simple_include/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  853. data/test/snapshots/simple_include/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  854. data/test/snapshots/simple_include/coverage/assets/0.12.3/application.css +0 -1
  855. data/test/snapshots/simple_include/coverage/assets/0.12.3/application.js +0 -7
  856. data/test/snapshots/simple_include/coverage/assets/0.12.3/colorbox/border.png +0 -0
  857. data/test/snapshots/simple_include/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  858. data/test/snapshots/simple_include/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  859. data/test/snapshots/simple_include/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  860. data/test/snapshots/simple_include/coverage/assets/0.12.3/favicon_green.png +0 -0
  861. data/test/snapshots/simple_include/coverage/assets/0.12.3/favicon_red.png +0 -0
  862. data/test/snapshots/simple_include/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  863. data/test/snapshots/simple_include/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  864. data/test/snapshots/simple_include/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  865. data/test/snapshots/simple_include/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  866. data/test/snapshots/simple_include/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  867. data/test/snapshots/simple_include/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  868. data/test/snapshots/simple_include/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  869. data/test/snapshots/simple_include/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  870. data/test/snapshots/simple_include/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  871. data/test/snapshots/simple_include/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  872. data/test/snapshots/simple_include/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  873. data/test/snapshots/simple_include/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  874. data/test/snapshots/simple_include/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  875. data/test/snapshots/simple_include/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  876. data/test/snapshots/simple_include/coverage/assets/0.12.3/loading.gif +0 -0
  877. data/test/snapshots/simple_include/coverage/assets/0.12.3/magnify.png +0 -0
  878. data/test/snapshots/simple_include/coverage/index.html +0 -93
  879. data/test/snapshots/simple_mixin/coverage/.last_run.json +0 -5
  880. data/test/snapshots/simple_mixin/coverage/.resultset.json +0 -7
  881. data/test/snapshots/simple_mixin/coverage/.resultset.json.lock +0 -0
  882. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  883. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  884. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  885. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  886. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  887. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/application.css +0 -1
  888. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/application.js +0 -7
  889. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/colorbox/border.png +0 -0
  890. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  891. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  892. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  893. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/favicon_green.png +0 -0
  894. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/favicon_red.png +0 -0
  895. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  896. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  897. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  898. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  899. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  900. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  901. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  902. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  903. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  904. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  905. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  906. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  907. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  908. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  909. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/loading.gif +0 -0
  910. data/test/snapshots/simple_mixin/coverage/assets/0.12.3/magnify.png +0 -0
  911. data/test/snapshots/simple_mixin/coverage/index.html +0 -93
  912. data/test/snapshots/simple_vars/coverage/.last_run.json +0 -5
  913. data/test/snapshots/simple_vars/coverage/.resultset.json +0 -7
  914. data/test/snapshots/simple_vars/coverage/.resultset.json.lock +0 -0
  915. data/test/snapshots/simple_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  916. data/test/snapshots/simple_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  917. data/test/snapshots/simple_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  918. data/test/snapshots/simple_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  919. data/test/snapshots/simple_vars/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  920. data/test/snapshots/simple_vars/coverage/assets/0.12.3/application.css +0 -1
  921. data/test/snapshots/simple_vars/coverage/assets/0.12.3/application.js +0 -7
  922. data/test/snapshots/simple_vars/coverage/assets/0.12.3/colorbox/border.png +0 -0
  923. data/test/snapshots/simple_vars/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  924. data/test/snapshots/simple_vars/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  925. data/test/snapshots/simple_vars/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  926. data/test/snapshots/simple_vars/coverage/assets/0.12.3/favicon_green.png +0 -0
  927. data/test/snapshots/simple_vars/coverage/assets/0.12.3/favicon_red.png +0 -0
  928. data/test/snapshots/simple_vars/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  929. data/test/snapshots/simple_vars/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  930. data/test/snapshots/simple_vars/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  931. data/test/snapshots/simple_vars/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  932. data/test/snapshots/simple_vars/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  933. data/test/snapshots/simple_vars/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  934. data/test/snapshots/simple_vars/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  935. data/test/snapshots/simple_vars/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  936. data/test/snapshots/simple_vars/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  937. data/test/snapshots/simple_vars/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  938. data/test/snapshots/simple_vars/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  939. data/test/snapshots/simple_vars/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  940. data/test/snapshots/simple_vars/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  941. data/test/snapshots/simple_vars/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  942. data/test/snapshots/simple_vars/coverage/assets/0.12.3/loading.gif +0 -0
  943. data/test/snapshots/simple_vars/coverage/assets/0.12.3/magnify.png +0 -0
  944. data/test/snapshots/simple_vars/coverage/index.html +0 -93
  945. data/test/snapshots/single_raw_line/coverage/.last_run.json +0 -5
  946. data/test/snapshots/single_raw_line/coverage/.resultset.json +0 -7
  947. data/test/snapshots/single_raw_line/coverage/.resultset.json.lock +0 -0
  948. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  949. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  950. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  951. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  952. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  953. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/application.css +0 -1
  954. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/application.js +0 -7
  955. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/colorbox/border.png +0 -0
  956. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  957. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  958. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  959. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/favicon_green.png +0 -0
  960. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/favicon_red.png +0 -0
  961. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  962. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  963. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  964. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  965. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  966. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  967. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  968. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  969. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  970. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  971. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  972. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  973. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  974. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  975. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/loading.gif +0 -0
  976. data/test/snapshots/single_raw_line/coverage/assets/0.12.3/magnify.png +0 -0
  977. data/test/snapshots/single_raw_line/coverage/index.html +0 -93
  978. data/test/snapshots/table_with_heredocs/coverage/.last_run.json +0 -5
  979. data/test/snapshots/table_with_heredocs/coverage/.resultset.json +0 -7
  980. data/test/snapshots/table_with_heredocs/coverage/.resultset.json.lock +0 -0
  981. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc.png +0 -0
  982. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  983. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_both.png +0 -0
  984. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc.png +0 -0
  985. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  986. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/application.css +0 -1
  987. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/application.js +0 -7
  988. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/colorbox/border.png +0 -0
  989. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/colorbox/controls.png +0 -0
  990. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/colorbox/loading.gif +0 -0
  991. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/colorbox/loading_background.png +0 -0
  992. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/favicon_green.png +0 -0
  993. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/favicon_red.png +0 -0
  994. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/favicon_yellow.png +0 -0
  995. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  996. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  997. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  998. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  999. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  1000. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1001. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1002. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1003. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/images/ui-icons_222222_256x240.png +0 -0
  1004. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/images/ui-icons_2e83ff_256x240.png +0 -0
  1005. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/images/ui-icons_454545_256x240.png +0 -0
  1006. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/images/ui-icons_888888_256x240.png +0 -0
  1007. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/images/ui-icons_cd0a0a_256x240.png +0 -0
  1008. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/loading.gif +0 -0
  1009. data/test/snapshots/table_with_heredocs/coverage/assets/0.12.3/magnify.png +0 -0
  1010. data/test/snapshots/table_with_heredocs/coverage/index.html +0 -93
  1011. data/test/test_helper.rb +0 -6
  1012. data/test/testlines.rb +0 -37
  1013. data/test/unit/formatline.rb +0 -769
@@ -0,0 +1,575 @@
1
+
2
+ require_relative 'parsing'
3
+ require_relative 'funcall'
4
+
5
+ # Class LineParser handles the parsing of comments, dot commands, and
6
+ # simple formatting characters, as well as variables and functions.
7
+
8
+ class Livetext::LineParser < StringParser
9
+ include Livetext::ParsingConstants
10
+ include Livetext::LineParser::FunCall
11
+
12
+ FMTS = %w[* _ ~ `]
13
+
14
+ Ident = "[[:alpha:]]([[:alnum:]]|_)*"
15
+ Dotted = "#{Ident}(\\.#{Ident})*"
16
+ Func = "\\$\\$"
17
+ Var = "\\$"
18
+ Lbrack = "\\["
19
+ Colon = ":"
20
+
21
+ def initialize(line)
22
+ super
23
+ @rx_func_brack = Regexp.compile("^" + Func + Dotted + Lbrack)
24
+ @rx_func_colon = Regexp.compile("^" + Func + Dotted + Colon)
25
+ @rx_func_bare = Regexp.compile("^" + Func + Dotted)
26
+ @rx_var = Regexp.compile("^" + Var + Dotted)
27
+ @token = Null.dup
28
+ @tokenlist = []
29
+ @live = Livetext.new
30
+ end
31
+
32
+ def self.api
33
+ Livetext.new.main.api
34
+ end
35
+
36
+ def api
37
+ @live.main.api
38
+ end
39
+
40
+ def self.parse!(line)
41
+ return nil if line.nil?
42
+ line.chomp!
43
+ x = self.new(line)
44
+ api.tty "\n-- string: #{line.inspect}" if $testme
45
+ t = x.tokenize
46
+ api.tty "-- Tokens: #{t.inspect}" if $testme
47
+ result = x.evaluate
48
+ api.tty "-- result: #{result.inspect}" if $testme
49
+ result
50
+ end
51
+
52
+
53
+ def parse_formatting_brute_force
54
+ # For each format * _ ` ~
55
+ # search for: [Space|^] Char Char .* [\.,]|$
56
+ # search for: [Space|^] Char [^\[]* Space|$
57
+ # search for: [Space|^] Char \[ [^\]*] ]|$
58
+ end
59
+
60
+ def parse_formatting
61
+ loop do
62
+ case peek
63
+ when Escape; grab; add peek; grab
64
+ when "*", "_", "`", "~"
65
+ marker peek
66
+ add peek
67
+ when LF
68
+ break if eos?
69
+ when nil
70
+ break
71
+ else
72
+ add peek
73
+ end
74
+ grab
75
+ end
76
+ add_token(:str)
77
+ @tokenlist
78
+ end
79
+
80
+ def grab_str
81
+ @buffer = ""
82
+ loop do
83
+ @buffer << self.grab
84
+ break if remainder.empty? || self.peek == "$"
85
+ end
86
+ @buffer
87
+ end
88
+
89
+ def grab_dd
90
+ @buffer = self.grab(2)
91
+ add_token(:str, @buffer)
92
+ @buffer = ""
93
+ end
94
+
95
+ def grab_var
96
+ matched = @rx_var.match(remainder)
97
+ vname = matched[0]
98
+ add_token(:var, vname[1..-1])
99
+ grab(vname.length)
100
+ end
101
+
102
+ def parse_variables
103
+ @buffer = ""
104
+ loop do
105
+ case
106
+ when remainder.empty? # end of string
107
+ break
108
+ when self.peek != "$" # Junk
109
+ str = grab_str
110
+ add_token(:str, str)
111
+ when self.peek(2) == "$$" # Func?
112
+ grab_dd
113
+ when self.peek == "$" # Var?
114
+ grab_var
115
+ end
116
+ end
117
+ @tokenlist
118
+ end
119
+
120
+ def grab_until(char)
121
+ string = ""
122
+ loop do
123
+ break if remainder.empty? || peek == char
124
+ string << grab
125
+ end
126
+ # ch = grab # eat the delimiter
127
+ # check ch == char ?
128
+ string
129
+ end
130
+
131
+ def grab_func_param(which)
132
+ case which
133
+ when ":"
134
+ param = grab_until(" ") # don't eat the space
135
+ when "["
136
+ param = grab_until("]")
137
+ grab # eat the ]
138
+ else
139
+ ungrab # just "forget" this character
140
+ param = nil
141
+ # abort "#{__method__}: Can't happen - which = #{which.inspect}"
142
+ end
143
+ param
144
+ end
145
+
146
+ def grab_funcall
147
+ matched = func_name = param = nil
148
+ case
149
+ when remainder.empty?
150
+ return
151
+ when matched = @rx_func_brack.match(remainder)
152
+ func_name = matched[0]
153
+ grab(2) # eat the $$
154
+ func_name = grab(func_name.length-3) # $$...[
155
+ param = grab_func_param(grab) # "["
156
+ add_token(:func, func_name, :brackets, param)
157
+ # Livetext::TTY.puts "1 matched is #{matched.inspect}"
158
+ when matched = @rx_func_colon.match(remainder)
159
+ func_name = matched[0]
160
+ grab(2) # eat the $$
161
+ func_name = grab(func_name.length-3) # $$...:
162
+ param = grab_func_param(grab) # ":"
163
+ add_token(:func, func_name, :colon, param)
164
+ # Livetext::TTY.puts "2 matched is #{matched.inspect}"
165
+ when matched = @rx_func_bare.match(remainder)
166
+ func_name = matched[0]
167
+ grab(2) # eat the $$
168
+ func_name = grab(func_name.length-2) # $$...
169
+ add_token(:func, func_name, nil, nil)
170
+ # Livetext::TTY.puts "3 matched is #{matched.inspect}"
171
+ else
172
+ abort "#{__method__}: Can't happen"
173
+ end
174
+ end
175
+
176
+ def parse_functions
177
+ # Assume variables already expanded?
178
+ @buffer = ""
179
+ loop do
180
+ break if remainder.empty? # end of string
181
+ if self.peek(2) == "$$" # Func?
182
+ grab_funcall
183
+ else # Junk
184
+ add_token(:str, grab_str)
185
+ end
186
+ end
187
+ @tokenlist
188
+ end
189
+
190
+ def expand_function_calls
191
+ # Assume variables already resolved?
192
+ tokens = self.parse_functions
193
+ self.evaluate
194
+ end
195
+
196
+ def self.parse_formatting(str)
197
+ fmt = self.new(str)
198
+ loop do
199
+ case fmt.peek
200
+ when Escape; fmt.grab; fmt.add fmt.peek; fmt.grab
201
+ when "*", "_", "`", "~"
202
+ fmt.marker fmt.peek
203
+ fmt.add fmt.peek
204
+ when LF
205
+ break if fmt.eos?
206
+ when nil
207
+ break
208
+ else
209
+ fmt.add fmt.peek
210
+ end
211
+ fmt.grab
212
+ end
213
+ fmt.add_token(:str)
214
+ fmt.tokenlist
215
+ end
216
+
217
+ def embed(sym, str)
218
+ pre, post = SimpleFormats[sym]
219
+ pre + str + post
220
+ end
221
+
222
+ #########
223
+
224
+ def grab_string
225
+ weird = ["$", nil] # [Escape, "$", nil]
226
+ ch = grab
227
+ add ch # api.tty "-- gs @token = #{@token.inspect}"
228
+ loop do
229
+ ch = peek # api.tty "gs1 ch = #{ch.inspect}"
230
+ break if weird.include?(ch)
231
+ break if FMTS.include?(ch) && (self.prev == " ")
232
+ break if eos? # ch = grab # advance pointer # api.tty "gs3 ch = #{ch.inspect}"
233
+ add grab
234
+ end # ch = grab # advance pointer # api.tty "-- gs4 ch = #{ch.inspect}"; sleep 0.01
235
+ add_token :str, @token
236
+ end
237
+
238
+ def grab_token(ch)
239
+ finish = false
240
+ # api.tty "#{__method__}: ch = #{ch.inspect}"
241
+ case ch
242
+ when nil; finish = true # do nothing
243
+ when LF; finish = true # do nothing - break if eos?
244
+ when Escape; ch = self.escaped; add ch
245
+ when "$"; dollar
246
+ when *FMTS; marker(ch)
247
+ else grab_string
248
+ end
249
+ # api.tty "#{__method__}: AFTER CASE: api.data = #{api.data.inspect}"
250
+ [ch, finish, @token, @tokenlist]
251
+ end
252
+
253
+ def tokenize
254
+ ch = peek
255
+ loop do
256
+ ch = peek
257
+ stuff = grab_token(ch)
258
+ ch, finish, t, tlist = *stuff
259
+ break if finish
260
+ end
261
+ # api.tty "tokenize: i = #{self.i}"
262
+ # api.tty "tokenize: token = #{@token.inspect} tokenlist = #{@tokenlist.inspect}"
263
+ @tokenlist
264
+ end
265
+
266
+ # def self.get_vars
267
+ # grab
268
+ # case peek
269
+ # when LF, " ", nil
270
+ # add "$"
271
+ # add_token :str
272
+ # when "$"; double_dollar
273
+ ## when "."; dollar_dot
274
+ # when /[A-Za-z]/
275
+ # add_token :str
276
+ # var = peek + grab_alpha_dot
277
+ # add_token(:var, var)
278
+ # else
279
+ # add "$" + peek
280
+ # add_token(:str)
281
+ # end
282
+ # end
283
+ #
284
+ # def self.parse_var_func # FIXME Hmm...
285
+ # loop do
286
+ # case peek
287
+ # when "$"
288
+ # dollar
289
+ # when LF
290
+ # break if eos?
291
+ # when nil
292
+ # break
293
+ # else
294
+ # add peek
295
+ # end
296
+ # grab
297
+ # end
298
+ # add_token(:str)
299
+ # @tokenlist
300
+ # end
301
+
302
+ def terminate?(terminators, ch)
303
+ if terminators.is_a? Regexp
304
+ terminators === ch
305
+ else
306
+ terminators.include?(ch)
307
+ end
308
+ end
309
+
310
+ def var_func_parse
311
+ char = self.peek
312
+ loop do
313
+ char = self.grab
314
+ break if char == LF || char == nil
315
+ self.escaped if char == Escape
316
+ self.dollar if char == "$" # Could be $$
317
+ self.add char
318
+ end
319
+ self.add_token(:str)
320
+ result = self.evaluate
321
+ result
322
+ end
323
+
324
+ def self.var_func_parse(str)
325
+ return nil if str.nil?
326
+ x = self.new(str.chomp)
327
+ char = x.peek
328
+ loop do
329
+ char = x.grab
330
+ break if char == LF || char == nil
331
+ x.escaped if char == Escape
332
+ x.dollar if char == "$" # Could be $$
333
+ x.add char
334
+ end
335
+ x.add_token(:str)
336
+ result = x.evaluate
337
+ result
338
+ end
339
+
340
+ def evaluate(tokens = @tokenlist)
341
+ @out = ""
342
+ return "" if tokens.empty?
343
+ gen = tokens.each
344
+ token = gen.next
345
+ loop do
346
+ break if token.nil?
347
+ sym, val = *token
348
+ case sym
349
+ when :str; eval_str(val)
350
+ when :var; eval_var(val)
351
+ when :func; eval_func(val, gen)
352
+ when *BITS; eval_bits(sym, val)
353
+ else
354
+ add_token :str
355
+ end
356
+ token = gen.next
357
+ end
358
+ @out
359
+ end
360
+
361
+ def add(str)
362
+ @token << str unless str.nil?
363
+ end
364
+
365
+ def add_token(kind, *token)
366
+ return if token.nil?
367
+ @tokenlist << [kind, token].flatten unless token.empty?
368
+ @token = Null.dup
369
+ end
370
+
371
+ def grab_alpha
372
+ str = grab
373
+ loop do
374
+ break if eos?
375
+ break if terminate?(NoAlpha, peek)
376
+ str << grab
377
+ end
378
+ str
379
+ end
380
+
381
+ def grab_alpha_dot
382
+ str = grab # Null.dup
383
+ loop do
384
+ break if eos?
385
+ break if terminate?(NoAlphaDot, peek)
386
+ str << grab
387
+ end
388
+ str
389
+ end
390
+
391
+ def dollar
392
+ c1 = grab # $
393
+ c2 = grab # ...
394
+ case c2
395
+ when " "; add_token :str, "$ "
396
+ when LF, nil; add_token :str, "$"
397
+ when "$"; double_dollar
398
+ when "."; dollar_dot
399
+ when /[A-Za-z]/; add_token(:var, c2 + grab_alpha_dot)
400
+ else add_token(:str, "$" + c2)
401
+ end
402
+ end
403
+
404
+ def finish_token(str, kind)
405
+ add str
406
+ add_token :str
407
+ grab
408
+ end
409
+
410
+ def marker(char)
411
+ add_token :str
412
+ sym = Syms[char]
413
+ return if embedded?
414
+ grab
415
+ case peek
416
+ when Space; finish_token(char + " ", :str)
417
+ when LF, nil; finish_token(char, :str)
418
+ when char; double_marker(char)
419
+ when LBrack; long_marker(char)
420
+ else
421
+ str = peek + collect!(sym, Blank)
422
+ add str
423
+ add_token sym, str
424
+ grab
425
+ end
426
+ end
427
+
428
+ def double_marker(char)
429
+ sym = Syms[char]
430
+ kind = sym
431
+ case lookahead # first char after **
432
+ when Space, LF, nil
433
+ pre, post = SimpleFormats[sym]
434
+ add_token kind
435
+ else
436
+ str = collect!(sym, Punc)
437
+ add_token kind, str
438
+ grab
439
+ end
440
+ end
441
+
442
+ def long_marker(char)
443
+ sym = Syms[char]
444
+ grab # skip left bracket
445
+ kind = sym # "param_#{sym}".to_sym
446
+ arg = collect!(sym, Param, true)
447
+ add_token kind, arg
448
+ end
449
+
450
+ def collect_bracketed(sym, terminators)
451
+ str = Null.dup # next is not " ","*","["
452
+ grab # ZZZ
453
+ loop do
454
+ if peek == Escape
455
+ grab
456
+ str << grab
457
+ next
458
+ end
459
+ if terminate?(terminators, peek)
460
+ break
461
+ end
462
+ str << peek # not a terminator
463
+ grab
464
+ end
465
+
466
+ if peek == "]" # skip right bracket
467
+ grab
468
+ end
469
+ add str
470
+ str
471
+ rescue => err
472
+ ::STDERR.puts "ERR = #{err}\n#{err.backtrace}"
473
+ end
474
+
475
+ def escaped
476
+ grab # Eat the backslash
477
+ ch = grab # Take next char
478
+ ch
479
+ end
480
+
481
+ def collect!(sym, terminators, bracketed=nil)
482
+ return collect_bracketed(sym, terminators) if bracketed
483
+ str = Null.dup # next is not " ","*","["
484
+ grab # ZZZ
485
+ loop do
486
+ case
487
+ when peek.nil?
488
+ return str
489
+ when peek == Escape
490
+ str << escaped
491
+ next
492
+ when terminate?(terminators, peek)
493
+ break
494
+ else
495
+ str << peek # not a terminator
496
+ end
497
+ grab
498
+ end
499
+ ungrab
500
+ add str
501
+ str
502
+ rescue => err
503
+ ::STDERR.puts "ERR = #{err}\n#{err.backtrace}"
504
+ end
505
+
506
+ def varsub(name)
507
+ live = Livetext.new
508
+ value = live.vars[name]
509
+ result = value || "[#{name} is undefined]"
510
+ result
511
+ end
512
+
513
+ def embedded?
514
+ ! (['"', "'", " ", nil].include? prev)
515
+ end
516
+
517
+ # private
518
+
519
+ def eval_bits(sym, val)
520
+ # api.tty "eb: #{[sym, val].inspect}"
521
+ val = Livetext.interpolate(val)
522
+ @out << embed(sym, val)
523
+ end
524
+
525
+ def eval_func(val, gen)
526
+ param = nil
527
+ arg = gen.peek rescue :bogus
528
+ unless arg == :bogus
529
+ if [:colon, :brackets].include? arg[0]
530
+ arg = gen.next # for real
531
+ param = arg[1]
532
+ # FIXME - unsure - interpolate again??
533
+ # param = Livetext.interpolate(param)
534
+ end
535
+ end
536
+ str = funcall(val, param)
537
+ @out << str
538
+ end
539
+
540
+ def eval_var(val)
541
+ @out << varsub(val)
542
+ end
543
+
544
+ def eval_str(val)
545
+ @out << val unless val == "\n" # BUG
546
+ end
547
+
548
+ def expand_variables
549
+ rx = @rx_var
550
+ buffer = ""
551
+ loop do |i|
552
+ case # Var or Func or false alarm
553
+ when remainder.empty? # end of string
554
+ break
555
+ when self.peek(2) == "$$" # Func?
556
+ buffer << self.grab(2)
557
+ when self.peek == "$" # Var?
558
+ vname = rx.match(remainder)
559
+ puts "----"
560
+ p @line
561
+ p rx.match(@line)
562
+ p vname
563
+ puts "----"
564
+ # value = @live.vars[vname[1..-1]]
565
+ # @line.sub!(vname["result"], value)
566
+ add_token(:var, vname[1..-1])
567
+ grab(vname.length)
568
+ else # other
569
+ buffer << self.grab
570
+ end
571
+ end
572
+ buffer
573
+ end
574
+
575
+ end
@@ -0,0 +1,158 @@
1
+
2
+ # Class Livetext reopened (top level).
3
+
4
+ class Livetext
5
+
6
+ include Helpers
7
+
8
+ class Variables
9
+ def initialize(hash = {})
10
+ @vars = {}
11
+ hash.each_pair {|k, v| @vars[k.to_sym] = v }
12
+ end
13
+
14
+ def [](var)
15
+ @vars[var.to_sym]
16
+ end
17
+
18
+ def []=(var, value)
19
+ @vars[var.to_sym] = value
20
+ end
21
+ end
22
+
23
+ Vars = Variables.new
24
+
25
+ TTY = ::File.open("/dev/tty", "w")
26
+
27
+ attr_reader :main, :sources
28
+ attr_accessor :nopass, :nopara
29
+ attr_accessor :body, :indentation
30
+
31
+ class << self
32
+ attr_accessor :output # bad solution?
33
+ end
34
+
35
+ def vars
36
+ @_vars
37
+ end
38
+
39
+ def self.interpolate(str)
40
+ parse = Livetext::LineParser.new(str)
41
+ parse.var_func_parse
42
+ end
43
+
44
+ def self.customize(mix: [], call: [], vars: {})
45
+ obj = self.new
46
+ mix = Array(mix)
47
+ call = Array(call)
48
+ mix.each {|lib| obj.mixin(lib) }
49
+ call.each {|cmd| obj.main.send(cmd[1..-1]) } # ignores leading dot, no param
50
+ vars.each_pair {|var, val| obj.setvar(var, val.to_s) }
51
+ obj
52
+ end
53
+
54
+ def peek_nextline
55
+ @main.peek_nextline # delegate
56
+ end
57
+
58
+ def nextline
59
+ @main.nextline # delegate
60
+ end
61
+
62
+ def sources
63
+ @main.sources # delegate
64
+ end
65
+
66
+ def save_location
67
+ @save_location # delegate
68
+ end
69
+
70
+ def save_location=(where)
71
+ @save_location = where # delegate
72
+ end
73
+
74
+ def dump(file = nil) # not a dot command!
75
+ file ||= ::STDOUT
76
+ file.puts @body
77
+ rescue => err
78
+ TTY.puts "#dump had an error: #{err.inspect}"
79
+ end
80
+
81
+ def graceful_error(err)
82
+ dump
83
+ raise err
84
+ end
85
+
86
+ def customize(mix: [], call: [], vars: {})
87
+ mix = Array(mix)
88
+ call = Array(call)
89
+ mix.each {|lib| mixin(lib) }
90
+ call.each {|cmd| @main.send(cmd[1..-1]) } # ignores leading dot, no param
91
+ vars.each_pair {|var, val| @api.setvar(var, val.to_s) }
92
+ self
93
+ end
94
+
95
+ def initialize(output = ::STDOUT)
96
+ @source = nil
97
+ @_mixins = []
98
+ @_imports = []
99
+ @_outdir = "."
100
+ @no_puts = output.nil?
101
+ @body = ""
102
+ @main = Processor.new(self, output)
103
+ @indentation = [0]
104
+ @_vars = Livetext::Vars
105
+ @api = UserAPI.new(self)
106
+ initial_vars
107
+ end
108
+
109
+ def api
110
+ @api
111
+ end
112
+
113
+ def initial_vars
114
+ # Other predefined variables (see also setfile)
115
+ @api.setvar(:User, `whoami`.chomp)
116
+ @api.setvar(:Version, Livetext::VERSION)
117
+ end
118
+
119
+ def transform(text)
120
+ setfile!("(string)")
121
+ enum = text.each_line
122
+ front = text.match(/.*?\n/).to_a.first.chomp rescue ""
123
+ @main.source(enum, "STDIN: '#{front}...'", 0)
124
+ loop do
125
+ line = @main.nextline
126
+ break if line.nil?
127
+ process_line(line)
128
+ end
129
+ result = @body
130
+ # @body = ""
131
+ result
132
+ end
133
+
134
+ # EXPERIMENTAL and incomplete
135
+ def xform(*args, file: nil, text: nil, vars: {})
136
+ case
137
+ when file && text.nil?
138
+ xform_file(file)
139
+ when file.nil? && text
140
+ transform(text)
141
+ when file.nil? && text.nil?
142
+ raise "Must specify file or text"
143
+ when file && text
144
+ raise "Cannot specify file and text"
145
+ end
146
+ self.process_file(file)
147
+ self.body
148
+ end
149
+
150
+ def xform_file(file, vars: nil)
151
+ Livetext::Vars.replace(vars) unless vars.nil?
152
+ @_vars.replace(vars) unless vars.nil?
153
+ self.process_file(file)
154
+ self.body
155
+ end
156
+
157
+ end
158
+
File without changes
File without changes