alf 0.10.1 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (682) hide show
  1. data/CHANGELOG.md +25 -0
  2. data/Gemfile +8 -8
  3. data/Gemfile.lock +22 -20
  4. data/Rakefile +1 -1
  5. data/alf.gemspec +31 -30
  6. data/alf.noespec +11 -9
  7. data/bin/alf +1 -1
  8. data/lib/alf/aggregator/avg.rb +39 -0
  9. data/lib/alf/aggregator/class_methods.rb +32 -14
  10. data/lib/alf/aggregator/collect.rb +32 -0
  11. data/lib/alf/aggregator/concat.rb +47 -0
  12. data/lib/alf/aggregator/count.rb +32 -0
  13. data/lib/alf/aggregator/{base.rb → instance_methods.rb} +54 -30
  14. data/lib/alf/aggregator/max.rb +32 -0
  15. data/lib/alf/aggregator/min.rb +32 -0
  16. data/lib/alf/aggregator/stddev.rb +25 -0
  17. data/lib/alf/aggregator/sum.rb +32 -0
  18. data/lib/alf/aggregator/variance.rb +45 -0
  19. data/lib/alf/aggregator.rb +51 -0
  20. data/lib/alf/environment/class_methods.rb +37 -35
  21. data/lib/alf/environment/folder.rb +26 -28
  22. data/lib/alf/environment/{base.rb → instance_methods.rb} +8 -19
  23. data/lib/alf/environment.rb +34 -0
  24. data/lib/alf/errors.rb +1 -0
  25. data/lib/alf/iterator/class_methods.rb +0 -2
  26. data/lib/alf/iterator/proxy.rb +7 -13
  27. data/lib/alf/iterator.rb +27 -0
  28. data/lib/alf/lispy/instance_methods.rb +14 -14
  29. data/lib/alf/lispy.rb +24 -0
  30. data/lib/alf/loader.rb +1 -1
  31. data/lib/alf/operator/binary.rb +4 -15
  32. data/lib/alf/operator/class_methods.rb +33 -83
  33. data/lib/alf/operator/instance_methods.rb +29 -0
  34. data/lib/alf/operator/non_relational/autonum.rb +17 -22
  35. data/lib/alf/operator/non_relational/clip.rb +18 -18
  36. data/lib/alf/operator/non_relational/coerce.rb +17 -19
  37. data/lib/alf/operator/non_relational/compact.rb +13 -57
  38. data/lib/alf/operator/non_relational/defaults.rb +20 -23
  39. data/lib/alf/operator/non_relational/generator.rb +14 -32
  40. data/lib/alf/operator/non_relational/sort.rb +16 -20
  41. data/lib/alf/operator/nullary.rb +0 -9
  42. data/lib/alf/operator/relational/extend.rb +17 -22
  43. data/lib/alf/operator/relational/group.rb +16 -27
  44. data/lib/alf/operator/relational/heading.rb +15 -25
  45. data/lib/alf/operator/relational/intersect.rb +14 -33
  46. data/lib/alf/operator/relational/join.rb +15 -103
  47. data/lib/alf/operator/relational/matching.rb +15 -42
  48. data/lib/alf/operator/relational/minus.rb +14 -33
  49. data/lib/alf/operator/relational/not_matching.rb +15 -42
  50. data/lib/alf/operator/relational/project.rb +20 -20
  51. data/lib/alf/operator/relational/quota.rb +19 -47
  52. data/lib/alf/operator/relational/rank.rb +19 -52
  53. data/lib/alf/operator/relational/rename.rb +16 -17
  54. data/lib/alf/operator/relational/restrict.rb +16 -18
  55. data/lib/alf/operator/relational/summarize.rb +19 -75
  56. data/lib/alf/operator/relational/ungroup.rb +16 -22
  57. data/lib/alf/operator/relational/union.rb +17 -29
  58. data/lib/alf/operator/relational/unwrap.rb +17 -19
  59. data/lib/alf/operator/relational/wrap.rb +18 -20
  60. data/lib/alf/operator/signature.rb +67 -96
  61. data/lib/alf/operator/unary.rb +4 -26
  62. data/lib/alf/operator.rb +68 -0
  63. data/lib/alf/reader/alf_file.rb +5 -5
  64. data/lib/alf/reader/class_methods.rb +47 -38
  65. data/lib/alf/reader/{base.rb → instance_methods.rb} +18 -40
  66. data/lib/alf/reader/rash.rb +3 -3
  67. data/lib/alf/reader.rb +37 -0
  68. data/lib/alf/relation/instance_methods.rb +17 -37
  69. data/lib/alf/relation.rb +28 -0
  70. data/lib/alf/renderer/{base.rb → instance_methods.rb} +13 -30
  71. data/lib/alf/renderer.rb +32 -0
  72. data/lib/alf/tools/coerce.rb +18 -7
  73. data/lib/alf/tools/miscellaneous.rb +56 -29
  74. data/lib/alf/tools/to_lispy.rb +37 -40
  75. data/lib/alf/tools/to_ruby_literal.rb +24 -7
  76. data/lib/alf/tools/tuple_handle.rb +27 -17
  77. data/lib/alf/tools.rb +14 -0
  78. data/lib/alf/types/attr_list.rb +135 -31
  79. data/lib/alf/types/attr_name.rb +56 -18
  80. data/lib/alf/types/boolean.rb +18 -5
  81. data/lib/alf/types/heading.rb +83 -59
  82. data/lib/alf/types/ordering.rb +117 -64
  83. data/lib/alf/types/renaming.rb +73 -33
  84. data/lib/alf/types/size.rb +57 -0
  85. data/lib/alf/types/summarization.rb +105 -43
  86. data/lib/alf/types/tuple_computation.rb +113 -38
  87. data/lib/alf/types/tuple_expression.rb +122 -31
  88. data/lib/alf/types/tuple_predicate.rb +64 -40
  89. data/lib/alf/types.rb +49 -0
  90. data/lib/alf/version.rb +6 -6
  91. data/lib/alf-csv/alf/csv/commons.rb +36 -0
  92. data/lib/alf-csv/alf/csv/reader.rb +33 -0
  93. data/lib/alf-csv/alf/csv/renderer.rb +38 -0
  94. data/lib/alf-csv/alf/csv.rb +3 -0
  95. data/lib/alf-engine/alf/engine/aggregate.rb +44 -0
  96. data/lib/alf-engine/alf/engine/autonum.rb +45 -0
  97. data/lib/{alf/operator → alf-engine/alf/engine}/cesure.rb +13 -13
  98. data/lib/alf-engine/alf/engine/clip.rb +53 -0
  99. data/lib/alf-engine/alf/engine/coerce.rb +46 -0
  100. data/lib/alf-engine/alf/engine/cog.rb +7 -0
  101. data/lib/alf-engine/alf/engine/compact/set.rb +23 -0
  102. data/lib/alf-engine/alf/engine/compact/uniq.rb +23 -0
  103. data/lib/alf-engine/alf/engine/compact.rb +26 -0
  104. data/lib/alf-engine/alf/engine/concat.rb +25 -0
  105. data/lib/alf-engine/alf/engine/defaults.rb +43 -0
  106. data/lib/alf-engine/alf/engine/filter.rb +41 -0
  107. data/lib/alf-engine/alf/engine/generator.rb +50 -0
  108. data/lib/alf-engine/alf/engine/group/hash.rb +40 -0
  109. data/lib/alf-engine/alf/engine/group.rb +7 -0
  110. data/lib/alf-engine/alf/engine/join/hash.rb +35 -0
  111. data/lib/alf-engine/alf/engine/join.rb +7 -0
  112. data/lib/alf-engine/alf/engine/materialize/array.rb +78 -0
  113. data/lib/alf-engine/alf/engine/materialize/hash.rb +122 -0
  114. data/lib/alf-engine/alf/engine/materialize.rb +8 -0
  115. data/lib/alf-engine/alf/engine/quota/cesure.rb +46 -0
  116. data/lib/alf-engine/alf/engine/quota.rb +7 -0
  117. data/lib/alf-engine/alf/engine/rank/cesure.rb +48 -0
  118. data/lib/alf-engine/alf/engine/rank.rb +7 -0
  119. data/lib/alf-engine/alf/engine/rename.rb +39 -0
  120. data/lib/alf-engine/alf/engine/semi/hash.rb +39 -0
  121. data/lib/alf-engine/alf/engine/semi.rb +7 -0
  122. data/lib/alf-engine/alf/engine/set_attr.rb +46 -0
  123. data/lib/alf-engine/alf/engine/sort/in_memory.rb +39 -0
  124. data/lib/alf-engine/alf/engine/sort.rb +28 -0
  125. data/lib/alf-engine/alf/engine/summarize/cesure.rb +51 -0
  126. data/lib/alf-engine/alf/engine/summarize/hash.rb +35 -0
  127. data/lib/alf-engine/alf/engine/summarize.rb +8 -0
  128. data/lib/alf-engine/alf/engine/ungroup.rb +29 -0
  129. data/lib/alf-engine/alf/engine/unwrap.rb +31 -0
  130. data/lib/alf-engine/alf/engine/wrap.rb +39 -0
  131. data/lib/alf-engine/alf/engine.rb +25 -0
  132. data/lib/{alf/extra/logs.rb → alf-logs/alf/logs/reader.rb} +14 -16
  133. data/lib/alf-logs/alf/logs.rb +1 -0
  134. data/lib/alf-sequel/alf/sequel/environment.rb +57 -0
  135. data/lib/alf-sequel/alf/sequel/iterator.rb +21 -0
  136. data/lib/alf-sequel/alf/sequel.rb +2 -0
  137. data/lib/{alf → alf-shell/alf/shell}/command/exec.rb +3 -4
  138. data/lib/{alf → alf-shell/alf/shell}/command/help.rb +3 -4
  139. data/lib/alf-shell/alf/shell/command/main/class_methods.rb +46 -0
  140. data/lib/{alf → alf-shell/alf/shell}/command/main.rb +9 -51
  141. data/lib/{alf → alf-shell/alf/shell}/command/show.rb +5 -7
  142. data/lib/alf-shell/alf/shell/command.rb +26 -0
  143. data/lib/{alf/command → alf-shell/alf/shell}/doc_manager.rb +3 -3
  144. data/lib/alf-shell/alf/shell/operator.rb +86 -0
  145. data/lib/alf-shell/alf/shell.rb +40 -0
  146. data/lib/{alf/extra/yaml.rb → alf-yaml/alf/yaml/renderer.rb} +5 -7
  147. data/lib/alf-yaml/alf/yaml.rb +1 -0
  148. data/lib/alf.rb +17 -358
  149. data/spec/{unit → integration}/lispy/test_relation.rb +0 -0
  150. data/spec/{unit → integration}/lispy/test_run.rb +0 -0
  151. data/spec/{unit → integration}/lispy/test_tuple.rb +0 -0
  152. data/spec/integration/{command → shell}/alf/alf.db +0 -0
  153. data/spec/integration/{command → shell}/alf/alf_e.cmd +0 -0
  154. data/spec/integration/{command → shell}/alf/alf_e.stdout +0 -0
  155. data/spec/integration/shell/alf/alf_env.cmd +1 -0
  156. data/spec/integration/{command → shell}/alf/alf_env.stdout +0 -0
  157. data/spec/integration/shell/alf/alf_env_sqlite.cmd +1 -0
  158. data/spec/integration/{command → shell}/alf/alf_env_sqlite.stdout +0 -0
  159. data/spec/integration/{command → shell}/alf/alf_help.cmd +0 -0
  160. data/spec/integration/{command → shell}/alf/alf_help.stdout +0 -0
  161. data/spec/integration/{command → shell}/alf/alf_implicit.alf +0 -0
  162. data/spec/integration/shell/alf/alf_implicit_exec.cmd +1 -0
  163. data/spec/integration/{command → shell}/alf/alf_implicit_exec.stdout +0 -0
  164. data/spec/integration/{command → shell}/alf/alf_r.cmd +0 -0
  165. data/spec/integration/{command → shell}/alf/alf_r.stdout +0 -0
  166. data/spec/integration/{command → shell}/alf/alf_version.cmd +0 -0
  167. data/spec/integration/{command → shell}/alf/alf_version.stdout +0 -0
  168. data/spec/integration/{command → shell}/alf/alf_yaml.cmd +0 -0
  169. data/spec/integration/{command → shell}/alf/alf_yaml.stdout +0 -0
  170. data/spec/integration/{command → shell}/alf/rel.rash +0 -0
  171. data/spec/integration/{command → shell}/autonum/autonum_0.cmd +0 -0
  172. data/spec/integration/{command → shell}/autonum/autonum_0.stdout +0 -0
  173. data/spec/integration/shell/autonum/autonum_1.cmd +1 -0
  174. data/spec/integration/{command → shell}/autonum/autonum_1.stdout +0 -0
  175. data/spec/integration/shell/clip/clip_0.cmd +1 -0
  176. data/spec/integration/{command → shell}/clip/clip_0.stdout +0 -0
  177. data/spec/integration/shell/clip/clip_1.cmd +1 -0
  178. data/spec/integration/{command → shell}/clip/clip_1.stdout +0 -0
  179. data/spec/integration/{command → shell}/coerce/coerce_1.cmd +0 -0
  180. data/spec/integration/{command → shell}/coerce/coerce_1.stdout +0 -0
  181. data/spec/integration/{command → shell}/compact/compact_0.cmd +0 -0
  182. data/spec/integration/{command → shell}/compact/compact_0.stdout +0 -0
  183. data/spec/integration/{command → shell}/defaults/defaults_0.cmd +0 -0
  184. data/spec/integration/{command → shell}/defaults/defaults_0.stdout +0 -0
  185. data/spec/integration/{command → shell}/defaults/defaults_1.cmd +0 -0
  186. data/spec/integration/{command → shell}/defaults/defaults_1.stdout +0 -0
  187. data/spec/integration/{command → shell}/defaults/defaults_2.cmd +0 -0
  188. data/spec/integration/{command → shell}/defaults/defaults_2.stdout +0 -0
  189. data/spec/integration/{command → shell}/extend/extend_0.cmd +0 -0
  190. data/spec/integration/{command → shell}/extend/extend_0.stdout +0 -0
  191. data/spec/integration/{command → shell}/generator/generator_1.cmd +0 -0
  192. data/spec/integration/{command → shell}/generator/generator_1.stdout +0 -0
  193. data/spec/integration/{command → shell}/generator/generator_2.cmd +0 -0
  194. data/spec/integration/{command → shell}/generator/generator_2.stdout +0 -0
  195. data/spec/integration/{command → shell}/generator/generator_3.cmd +0 -0
  196. data/spec/integration/{command → shell}/generator/generator_3.stdout +0 -0
  197. data/spec/integration/{command → shell}/group/group_0.cmd +0 -0
  198. data/spec/integration/{command → shell}/group/group_0.stdout +0 -0
  199. data/spec/integration/{command → shell}/group/group_1.cmd +0 -0
  200. data/spec/integration/{command → shell}/group/group_1.stdout +0 -0
  201. data/spec/integration/{command → shell}/help/help_1.cmd +0 -0
  202. data/spec/integration/{command → shell}/help/help_1.stdout +0 -0
  203. data/spec/integration/{command → shell}/intersect/intersect_0.cmd +0 -0
  204. data/spec/integration/{command → shell}/intersect/intersect_0.stdout +0 -0
  205. data/spec/integration/{command → shell}/join/join_0.cmd +0 -0
  206. data/spec/integration/{command → shell}/join/join_0.stdout +0 -0
  207. data/spec/integration/{command → shell}/matching/matching_0.cmd +0 -0
  208. data/spec/integration/{command → shell}/matching/matching_0.stdout +0 -0
  209. data/spec/integration/{command → shell}/minus/minus_0.cmd +0 -0
  210. data/spec/integration/{command → shell}/minus/minus_0.stdout +0 -0
  211. data/spec/integration/{command → shell}/not-matching/not-matching_0.cmd +0 -0
  212. data/spec/integration/{command → shell}/not-matching/not-matching_0.stdout +0 -0
  213. data/spec/integration/{command → shell}/project/project_0.cmd +0 -0
  214. data/spec/integration/{command → shell}/project/project_0.stdout +0 -0
  215. data/spec/integration/{command → shell}/project/project_1.cmd +0 -0
  216. data/spec/integration/{command → shell}/project/project_1.stdout +0 -0
  217. data/spec/integration/{command → shell}/quota/quota_0.cmd +0 -0
  218. data/spec/integration/{command → shell}/quota/quota_0.stdout +0 -0
  219. data/spec/integration/{command → shell}/rank/rank_1.cmd +0 -0
  220. data/spec/integration/{command → shell}/rank/rank_1.stdout +1 -1
  221. data/spec/integration/{command → shell}/rank/rank_2.cmd +0 -0
  222. data/spec/integration/{command → shell}/rank/rank_2.stdout +1 -1
  223. data/spec/integration/{command → shell}/rank/rank_3.cmd +0 -0
  224. data/spec/integration/{command → shell}/rank/rank_3.stdout +0 -0
  225. data/spec/integration/{command → shell}/rank/rank_4.cmd +0 -0
  226. data/spec/integration/{command → shell}/rank/rank_4.stdout +0 -0
  227. data/spec/integration/{command → shell}/rank/rank_5.cmd +0 -0
  228. data/spec/integration/{command → shell}/rank/rank_5.stdout +0 -0
  229. data/spec/integration/{command → shell}/rename/rename_0.cmd +0 -0
  230. data/spec/integration/{command → shell}/rename/rename_0.stdout +0 -0
  231. data/spec/integration/{command → shell}/restrict/restrict_0.cmd +0 -0
  232. data/spec/integration/{command → shell}/restrict/restrict_0.stdout +0 -0
  233. data/spec/integration/{command → shell}/restrict/restrict_1.cmd +0 -0
  234. data/spec/integration/{command → shell}/restrict/restrict_1.stdout +0 -0
  235. data/spec/integration/{command → shell}/show/show_base.cmd +0 -0
  236. data/spec/integration/{command → shell}/show/show_base.stdout +0 -0
  237. data/spec/integration/{command → shell}/show/show_base_sort_1.cmd +0 -0
  238. data/spec/integration/{command → shell}/show/show_base_sort_1.stdout +0 -0
  239. data/spec/integration/{command → shell}/show/show_base_sort_2.cmd +0 -0
  240. data/spec/integration/{command → shell}/show/show_base_sort_2.stdout +0 -0
  241. data/spec/integration/{command → shell}/show/show_conflictual.cmd +0 -0
  242. data/spec/integration/{command → shell}/show/show_conflictual.stdout +0 -0
  243. data/spec/integration/{command → shell}/show/show_csv.cmd +0 -0
  244. data/spec/integration/{command → shell}/show/show_csv.stdout +0 -0
  245. data/spec/integration/{command → shell}/show/show_ff.cmd +0 -0
  246. data/spec/integration/{command → shell}/show/show_ff.stdout +0 -0
  247. data/spec/integration/{command → shell}/show/show_rash.cmd +0 -0
  248. data/spec/integration/{command → shell}/show/show_rash.stdout +0 -0
  249. data/spec/integration/{command → shell}/show/show_rash_pretty.cmd +0 -0
  250. data/spec/integration/{command → shell}/show/show_rash_pretty.stdout +0 -0
  251. data/spec/integration/{command → shell}/show/show_yaml.cmd +0 -0
  252. data/spec/integration/{command → shell}/show/show_yaml.stdout +0 -0
  253. data/spec/integration/{command → shell}/sort/sort_0.cmd +0 -0
  254. data/spec/integration/{command → shell}/sort/sort_0.stdout +0 -0
  255. data/spec/integration/{command → shell}/sort/sort_1.cmd +0 -0
  256. data/spec/integration/{command → shell}/sort/sort_1.stdout +0 -0
  257. data/spec/integration/{command → shell}/sort/sort_2.cmd +0 -0
  258. data/spec/integration/{command → shell}/sort/sort_2.stdout +0 -0
  259. data/spec/integration/{command → shell}/sort/sort_3.cmd +0 -0
  260. data/spec/integration/{command → shell}/sort/sort_3.stdout +0 -0
  261. data/spec/integration/{command → shell}/summarize/summarize_0.cmd +0 -0
  262. data/spec/integration/{command → shell}/summarize/summarize_0.stdout +0 -0
  263. data/spec/integration/{command → shell}/ungroup/ungroup_0.cmd +0 -0
  264. data/spec/integration/{command → shell}/ungroup/ungroup_0.stdout +0 -0
  265. data/spec/integration/{command → shell}/union/union_0.cmd +0 -0
  266. data/spec/integration/{command → shell}/union/union_0.stdout +0 -0
  267. data/spec/integration/{command → shell}/unwrap/unwrap_0.cmd +0 -0
  268. data/spec/integration/{command → shell}/unwrap/unwrap_0.stdout +0 -0
  269. data/spec/integration/{command → shell}/wrap/wrap_0.cmd +0 -0
  270. data/spec/integration/{command → shell}/wrap/wrap_0.stdout +0 -0
  271. data/spec/{unit → integration}/test_lispy.rb +0 -0
  272. data/spec/integration/{test_command.rb → test_shell.rb} +3 -3
  273. data/spec/regression/heading/test_heading_with_date.rb +1 -1
  274. data/spec/shared/a_valid_type_implementation.rb +47 -0
  275. data/spec/shared/an_operator_class.rb +2 -6
  276. data/spec/spec_helper.rb +9 -1
  277. data/spec/unit/alf-core/aggregator/test_avg.rb +22 -0
  278. data/spec/unit/alf-core/aggregator/test_collect.rb +25 -0
  279. data/spec/unit/alf-core/aggregator/test_concat.rb +31 -0
  280. data/spec/unit/alf-core/aggregator/test_count.rb +17 -0
  281. data/spec/unit/alf-core/aggregator/test_max.rb +23 -0
  282. data/spec/unit/alf-core/aggregator/test_min.rb +23 -0
  283. data/spec/unit/alf-core/aggregator/test_stddev.rb +27 -0
  284. data/spec/unit/alf-core/aggregator/test_sum.rb +23 -0
  285. data/spec/unit/alf-core/aggregator/test_variance.rb +29 -0
  286. data/spec/unit/{assumptions → alf-core/assumptions}/test_file.rb +0 -0
  287. data/spec/unit/{assumptions → alf-core/assumptions}/test_instance_eval.rb +0 -0
  288. data/spec/unit/{assumptions → alf-core/assumptions}/test_scoping.rb +0 -0
  289. data/spec/unit/{assumptions → alf-core/assumptions}/test_set.rb +0 -0
  290. data/spec/unit/{environment → alf-core/environment}/examples/suppliers.rash +0 -0
  291. data/spec/unit/alf-core/environment/test_folder.rb +53 -0
  292. data/spec/unit/{operator → alf-core/operator}/non_relational/test_autonum.rb +18 -31
  293. data/spec/unit/alf-core/operator/non_relational/test_clip.rb +35 -0
  294. data/spec/unit/{operator → alf-core/operator}/non_relational/test_coerce.rb +11 -17
  295. data/spec/unit/{operator/non_relational/compact/test_sort_based.rb → alf-core/operator/non_relational/test_compact.rb} +16 -14
  296. data/spec/unit/{operator → alf-core/operator}/non_relational/test_defaults.rb +17 -32
  297. data/spec/unit/{operator → alf-core/operator}/non_relational/test_generator.rb +21 -39
  298. data/spec/unit/{operator → alf-core/operator}/non_relational/test_sort.rb +20 -26
  299. data/spec/unit/{operator → alf-core/operator}/relational/test_extend.rb +8 -14
  300. data/spec/unit/{operator → alf-core/operator}/relational/test_group.rb +12 -28
  301. data/spec/unit/alf-core/operator/relational/test_heading.rb +27 -0
  302. data/spec/unit/{operator → alf-core/operator}/relational/test_intersect.rb +22 -22
  303. data/spec/unit/{operator → alf-core/operator}/relational/test_join.rb +7 -7
  304. data/spec/unit/{operator → alf-core/operator}/relational/test_minus.rb +23 -23
  305. data/spec/unit/alf-core/operator/relational/test_project.rb +62 -0
  306. data/spec/unit/{operator → alf-core/operator}/relational/test_quota.rb +8 -15
  307. data/spec/unit/alf-core/operator/relational/test_rank.rb +48 -0
  308. data/spec/unit/{operator → alf-core/operator}/relational/test_rename.rb +8 -14
  309. data/spec/unit/alf-core/operator/relational/test_restrict.rb +45 -0
  310. data/spec/unit/{operator → alf-core/operator}/relational/test_summarize.rb +13 -31
  311. data/spec/unit/{operator → alf-core/operator}/relational/test_ungroup.rb +9 -15
  312. data/spec/unit/{operator → alf-core/operator}/relational/test_union.rb +11 -11
  313. data/spec/unit/{operator → alf-core/operator}/relational/test_unwrap.rb +10 -16
  314. data/spec/unit/{operator → alf-core/operator}/relational/test_wrap.rb +10 -16
  315. data/spec/unit/alf-core/operator/signature/test_argv2args.rb +82 -0
  316. data/spec/unit/alf-core/operator/signature/test_collect_on.rb +38 -0
  317. data/spec/unit/{operator → alf-core/operator}/signature/test_initialize.rb +0 -0
  318. data/spec/unit/{operator → alf-core/operator}/signature/test_install.rb +0 -0
  319. data/spec/unit/{operator → alf-core/operator}/signature/test_option_parser.rb +0 -0
  320. data/spec/unit/alf-core/operator/signature/test_parse_args.rb +90 -0
  321. data/spec/unit/{operator → alf-core/operator}/signature/test_to_lispy.rb +0 -0
  322. data/spec/unit/{operator → alf-core/operator}/signature/test_to_shell.rb +0 -0
  323. data/spec/unit/{operator → alf-core/operator}/test_non_relational.rb +0 -0
  324. data/spec/unit/{operator → alf-core/operator}/test_relational.rb +0 -0
  325. data/spec/unit/{reader → alf-core/reader}/input.rb +0 -0
  326. data/spec/unit/{reader → alf-core/reader}/test_alf_file.rb +0 -0
  327. data/spec/unit/{reader → alf-core/reader}/test_initialize.rb +0 -0
  328. data/spec/unit/alf-core/reader/test_looks_a_path.rb +20 -0
  329. data/spec/unit/{reader → alf-core/reader}/test_rash.rb +0 -0
  330. data/spec/unit/{relation → alf-core/relation}/test_coerce.rb +0 -0
  331. data/spec/unit/{relation → alf-core/relation}/test_inspect.rb +0 -0
  332. data/spec/unit/{relation → alf-core/relation}/test_relops.rb +0 -0
  333. data/spec/unit/{relation → alf-core/relation}/test_to_a.rb +0 -0
  334. data/spec/unit/{renderer → alf-core/renderer}/test_initialize.rb +0 -0
  335. data/spec/unit/alf-core/test_aggregator.rb +58 -0
  336. data/spec/unit/{test_environment.rb → alf-core/test_environment.rb} +8 -21
  337. data/spec/unit/{test_operator.rb → alf-core/test_operator.rb} +0 -0
  338. data/spec/unit/{test_reader.rb → alf-core/test_reader.rb} +0 -0
  339. data/spec/unit/{test_relation.rb → alf-core/test_relation.rb} +0 -0
  340. data/spec/unit/{test_renderer.rb → alf-core/test_renderer.rb} +0 -0
  341. data/spec/unit/{text → alf-core/text}/test_cell.rb +0 -0
  342. data/spec/unit/{text → alf-core/text}/test_row.rb +0 -0
  343. data/spec/unit/{text → alf-core/text}/test_table.rb +0 -0
  344. data/spec/unit/alf-core/tools/test_class_name.rb +16 -0
  345. data/spec/unit/{tools → alf-core/tools}/test_coalesce.rb +6 -2
  346. data/spec/unit/alf-core/tools/test_coerce.rb +16 -0
  347. data/spec/unit/alf-core/tools/test_ruby_case.rb +16 -0
  348. data/spec/unit/{tools → alf-core/tools}/test_to_lispy.rb +14 -7
  349. data/spec/unit/{tools → alf-core/tools}/test_to_ruby_literal.rb +5 -5
  350. data/spec/unit/{tools → alf-core/tools}/test_tuple_handle.rb +14 -14
  351. data/spec/unit/alf-core/tools/test_tuple_heading.rb +15 -0
  352. data/spec/unit/{tools → alf-core/tools}/test_varargs.rb +9 -6
  353. data/spec/unit/alf-core/types/test_attr_list.rb +188 -0
  354. data/spec/unit/alf-core/types/test_attr_name.rb +78 -0
  355. data/spec/unit/{types/test_attr_name.rb → alf-core/types/test_boolean.rb} +18 -28
  356. data/spec/unit/alf-core/types/test_class_methods.rb +24 -0
  357. data/spec/unit/alf-core/types/test_heading.rb +146 -0
  358. data/spec/unit/alf-core/types/test_ordering.rb +185 -0
  359. data/spec/unit/alf-core/types/test_renaming.rb +72 -0
  360. data/spec/unit/alf-core/types/test_size.rb +74 -0
  361. data/spec/unit/{types → alf-core/types}/test_summarization.rb +46 -14
  362. data/spec/unit/{types → alf-core/types}/test_tuple_computation.rb +46 -10
  363. data/spec/unit/alf-core/types/test_tuple_expression.rb +122 -0
  364. data/spec/unit/{types → alf-core/types}/test_tuple_predicate.rb +51 -22
  365. data/spec/unit/{csv → alf-csv}/input.csv +0 -0
  366. data/spec/unit/{csv → alf-csv}/test_reader.rb +0 -0
  367. data/spec/unit/{csv → alf-csv}/test_renderer.rb +1 -1
  368. data/spec/unit/alf-engine/compact/test_set.rb +33 -0
  369. data/spec/unit/alf-engine/compact/test_uniq.rb +33 -0
  370. data/spec/unit/alf-engine/group/test_hash.rb +34 -0
  371. data/spec/unit/{operator/relational/join/test_hash_based.rb → alf-engine/join/test_hash.rb} +21 -29
  372. data/spec/unit/alf-engine/materialize/test_array.rb +28 -0
  373. data/spec/unit/alf-engine/materialize/test_hash.rb +76 -0
  374. data/spec/unit/alf-engine/quota/test_cesure.rb +34 -0
  375. data/spec/unit/{operator/relational/test_rank.rb → alf-engine/rank/test_cesure.rb} +21 -24
  376. data/spec/unit/alf-engine/semi/test_hash.rb +58 -0
  377. data/spec/unit/alf-engine/sort/test_in_memory.rb +32 -0
  378. data/spec/unit/{operator/relational/summarize/test_hash_based.rb → alf-engine/summarize/test_cesure.rb} +15 -21
  379. data/spec/unit/{operator/relational/summarize/test_sort_based.rb → alf-engine/summarize/test_hash.rb} +15 -21
  380. data/spec/unit/alf-engine/test_aggregate.rb +26 -0
  381. data/spec/unit/alf-engine/test_autonum.rb +24 -0
  382. data/spec/unit/alf-engine/test_clip.rb +34 -0
  383. data/spec/unit/alf-engine/test_coerce.rb +35 -0
  384. data/spec/unit/alf-engine/test_compact.rb +33 -0
  385. data/spec/unit/alf-engine/test_concat.rb +38 -0
  386. data/spec/unit/alf-engine/test_defaults.rb +37 -0
  387. data/spec/unit/alf-engine/test_filter.rb +23 -0
  388. data/spec/unit/alf-engine/test_generator.rb +25 -0
  389. data/spec/unit/alf-engine/test_rename.rb +24 -0
  390. data/spec/unit/alf-engine/test_set_attr.rb +38 -0
  391. data/spec/unit/alf-engine/test_sort.rb +32 -0
  392. data/spec/unit/alf-engine/test_ungroup.rb +28 -0
  393. data/spec/unit/alf-engine/test_unwrap.rb +20 -0
  394. data/spec/unit/alf-engine/test_wrap.rb +26 -0
  395. data/spec/unit/{logs → alf-logs}/apache_combined.log +0 -0
  396. data/spec/unit/{logs → alf-logs}/postgresql.log +0 -0
  397. data/spec/unit/{logs → alf-logs}/test_reader.rb +15 -16
  398. data/spec/unit/{sequel → alf-sequel}/alf.db +0 -0
  399. data/spec/unit/alf-sequel/test_environment.rb +69 -0
  400. data/spec/unit/{command → alf-shell}/doc_manager/dynamic.md +0 -0
  401. data/spec/unit/{command → alf-shell}/doc_manager/example.md +0 -0
  402. data/spec/unit/{command → alf-shell}/doc_manager/example_1.txt +0 -0
  403. data/spec/unit/{command → alf-shell}/doc_manager/static.md +0 -0
  404. data/spec/unit/{command → alf-shell}/doc_manager/test_call.rb +2 -3
  405. data/spec/unit/alf-shell/main/test_class_methods.rb +44 -0
  406. data/spec/unit/alf-shell/operator/test_autonum.rb +28 -0
  407. data/spec/unit/alf-shell/operator/test_clip.rb +29 -0
  408. data/spec/unit/alf-shell/operator/test_coerce.rb +21 -0
  409. data/spec/unit/alf-shell/operator/test_compact.rb +16 -0
  410. data/spec/unit/alf-shell/operator/test_defaults.rb +29 -0
  411. data/spec/unit/alf-shell/operator/test_extend.rb +21 -0
  412. data/spec/unit/alf-shell/operator/test_generator.rb +37 -0
  413. data/spec/unit/alf-shell/operator/test_group.rb +32 -0
  414. data/spec/unit/alf-shell/operator/test_heading.rb +16 -0
  415. data/spec/unit/alf-shell/operator/test_intersect.rb +18 -0
  416. data/spec/unit/alf-shell/operator/test_join.rb +18 -0
  417. data/spec/unit/alf-shell/operator/test_matching.rb +18 -0
  418. data/spec/unit/alf-shell/operator/test_minus.rb +18 -0
  419. data/spec/unit/alf-shell/operator/test_not_matching.rb +18 -0
  420. data/spec/unit/alf-shell/operator/test_project.rb +38 -0
  421. data/spec/unit/alf-shell/operator/test_quota.rb +23 -0
  422. data/spec/unit/alf-shell/operator/test_rank.rb +30 -0
  423. data/spec/unit/alf-shell/operator/test_rename.rb +21 -0
  424. data/spec/unit/alf-shell/operator/test_restrict.rb +35 -0
  425. data/spec/unit/alf-shell/operator/test_sort.rb +49 -0
  426. data/spec/unit/alf-shell/operator/test_summarize.rb +30 -0
  427. data/spec/unit/alf-shell/operator/test_ungroup.rb +28 -0
  428. data/spec/unit/alf-shell/operator/test_union.rb +18 -0
  429. data/spec/unit/alf-shell/operator/test_unwrap.rb +28 -0
  430. data/spec/unit/alf-shell/operator/test_wrap.rb +30 -0
  431. data/tasks/debug_mail.rake +42 -45
  432. data/tasks/gem.rake +13 -13
  433. data/tasks/gh-pages.rake +11 -6
  434. data/tasks/integration_test.rake +0 -8
  435. data/tasks/regression_test.rake +0 -8
  436. data/tasks/unit_test.rake +0 -8
  437. data/tasks/yard.rake +13 -13
  438. metadata +909 -1107
  439. data/examples/hitradio/compact.rb +0 -48
  440. data/examples/hitradio/compare1.rb +0 -28
  441. data/examples/hitradio/gz_reader.rb +0 -23
  442. data/examples/hitradio/hitradio-1.alf +0 -1
  443. data/examples/hitradio/hitradio.log +0 -25080
  444. data/examples/hitradio/hitradio.mar +0 -25081
  445. data/examples/hitradio/hitradio.mar.gz +0 -0
  446. data/examples/hitradio/hitradio.rash +0 -25080
  447. data/examples/hitradio/mar_reader.rb +0 -18
  448. data/examples/northwind/customers.csv +0 -92
  449. data/examples/northwind/northwind.db +0 -0
  450. data/examples/northwind/orders.csv +0 -831
  451. data/lib/alf/aggregator/aggregators.rb +0 -105
  452. data/lib/alf/aggregator/aggregators.rbc +0 -2640
  453. data/lib/alf/aggregator/base.rbc +0 -1055
  454. data/lib/alf/aggregator/class_methods.rbc +0 -830
  455. data/lib/alf/buffer/sorted.rb +0 -48
  456. data/lib/alf/buffer/sorted.rbc +0 -715
  457. data/lib/alf/command/class_methods.rb +0 -27
  458. data/lib/alf/command/class_methods.rbc +0 -453
  459. data/lib/alf/command/doc_manager.rbc +0 -1604
  460. data/lib/alf/command/exec.rbc +0 -408
  461. data/lib/alf/command/help.rbc +0 -764
  462. data/lib/alf/command/main.rbc +0 -3612
  463. data/lib/alf/command/show.rbc +0 -1327
  464. data/lib/alf/environment/base.rbc +0 -459
  465. data/lib/alf/environment/class_methods.rbc +0 -1110
  466. data/lib/alf/environment/explicit.rb +0 -38
  467. data/lib/alf/environment/explicit.rbc +0 -601
  468. data/lib/alf/environment/folder.rbc +0 -942
  469. data/lib/alf/errors.rbc +0 -155
  470. data/lib/alf/extra/csv.rb +0 -107
  471. data/lib/alf/extra/csv.rbc +0 -2021
  472. data/lib/alf/extra/logs.rbc +0 -1957
  473. data/lib/alf/extra/sequel.rb +0 -77
  474. data/lib/alf/extra/sequel.rbc +0 -1417
  475. data/lib/alf/extra/yaml.rbc +0 -435
  476. data/lib/alf/extra.rb +0 -5
  477. data/lib/alf/extra.rbc +0 -101
  478. data/lib/alf/iterator/base.rb +0 -38
  479. data/lib/alf/iterator/base.rbc +0 -437
  480. data/lib/alf/iterator/class_methods.rbc +0 -518
  481. data/lib/alf/iterator/proxy.rbc +0 -599
  482. data/lib/alf/lispy/instance_methods.rbc +0 -2535
  483. data/lib/alf/loader.rbc +0 -85
  484. data/lib/alf/operator/base.rb +0 -74
  485. data/lib/alf/operator/base.rbc +0 -860
  486. data/lib/alf/operator/binary.rbc +0 -595
  487. data/lib/alf/operator/cesure.rbc +0 -883
  488. data/lib/alf/operator/class_methods.rbc +0 -1915
  489. data/lib/alf/operator/experimental.rbc +0 -200
  490. data/lib/alf/operator/non_relational/autonum.rbc +0 -587
  491. data/lib/alf/operator/non_relational/clip.rbc +0 -522
  492. data/lib/alf/operator/non_relational/coerce.rbc +0 -596
  493. data/lib/alf/operator/non_relational/compact.rbc +0 -1283
  494. data/lib/alf/operator/non_relational/defaults.rbc +0 -733
  495. data/lib/alf/operator/non_relational/generator.rbc +0 -1015
  496. data/lib/alf/operator/non_relational/sort.rbc +0 -665
  497. data/lib/alf/operator/nullary.rbc +0 -404
  498. data/lib/alf/operator/relational/extend.rbc +0 -616
  499. data/lib/alf/operator/relational/group.rbc +0 -968
  500. data/lib/alf/operator/relational/heading.rbc +0 -657
  501. data/lib/alf/operator/relational/intersect.rbc +0 -969
  502. data/lib/alf/operator/relational/join.rbc +0 -1708
  503. data/lib/alf/operator/relational/matching.rbc +0 -1047
  504. data/lib/alf/operator/relational/minus.rbc +0 -965
  505. data/lib/alf/operator/relational/not_matching.rbc +0 -1047
  506. data/lib/alf/operator/relational/project.rbc +0 -669
  507. data/lib/alf/operator/relational/quota.rbc +0 -1193
  508. data/lib/alf/operator/relational/rank.rbc +0 -1217
  509. data/lib/alf/operator/relational/rename.rbc +0 -496
  510. data/lib/alf/operator/relational/restrict.rbc +0 -611
  511. data/lib/alf/operator/relational/summarize.rbc +0 -1922
  512. data/lib/alf/operator/relational/ungroup.rbc +0 -643
  513. data/lib/alf/operator/relational/union.rbc +0 -846
  514. data/lib/alf/operator/relational/unwrap.rbc +0 -540
  515. data/lib/alf/operator/relational/wrap.rbc +0 -560
  516. data/lib/alf/operator/shortcut.rb +0 -53
  517. data/lib/alf/operator/shortcut.rbc +0 -809
  518. data/lib/alf/operator/signature.rbc +0 -4640
  519. data/lib/alf/operator/transform.rb +0 -27
  520. data/lib/alf/operator/transform.rbc +0 -484
  521. data/lib/alf/operator/unary.rbc +0 -629
  522. data/lib/alf/reader/alf_file.rbc +0 -464
  523. data/lib/alf/reader/base.rbc +0 -1613
  524. data/lib/alf/reader/class_methods.rbc +0 -1099
  525. data/lib/alf/reader/rash.rbc +0 -583
  526. data/lib/alf/relation/class_methods.rbc +0 -674
  527. data/lib/alf/relation/instance_methods.rbc +0 -2107
  528. data/lib/alf/renderer/base.rbc +0 -936
  529. data/lib/alf/renderer/class_methods.rbc +0 -875
  530. data/lib/alf/renderer/rash.rbc +0 -802
  531. data/lib/alf/renderer/text.rbc +0 -5530
  532. data/lib/alf/tools/coerce.rbc +0 -352
  533. data/lib/alf/tools/miscellaneous.rbc +0 -1497
  534. data/lib/alf/tools/to_lispy.rbc +0 -2618
  535. data/lib/alf/tools/to_ruby_literal.rbc +0 -344
  536. data/lib/alf/tools/tuple_handle.rbc +0 -738
  537. data/lib/alf/types/attr_list.rbc +0 -1535
  538. data/lib/alf/types/attr_name.rbc +0 -781
  539. data/lib/alf/types/boolean.rbc +0 -365
  540. data/lib/alf/types/heading.rbc +0 -1778
  541. data/lib/alf/types/ordering.rbc +0 -2228
  542. data/lib/alf/types/renaming.rbc +0 -1064
  543. data/lib/alf/types/summarization.rbc +0 -1394
  544. data/lib/alf/types/tuple_computation.rbc +0 -1061
  545. data/lib/alf/types/tuple_expression.rbc +0 -1016
  546. data/lib/alf/types/tuple_predicate.rbc +0 -1349
  547. data/lib/alf/version.rbc +0 -350
  548. data/lib/alf.rbc +0 -3884
  549. data/spec/integration/command/alf/alf_env.cmd +0 -1
  550. data/spec/integration/command/alf/alf_env_sqlite.cmd +0 -1
  551. data/spec/integration/command/alf/alf_implicit_exec.cmd +0 -1
  552. data/spec/integration/command/autonum/autonum_1.cmd +0 -1
  553. data/spec/integration/command/clip/clip_0.cmd +0 -1
  554. data/spec/integration/command/clip/clip_1.cmd +0 -1
  555. data/spec/integration/command/show/show_rash_2.cmd +0 -1
  556. data/spec/integration/command/show/show_rash_2.stdout +0 -5
  557. data/spec/integration/test_alf.rbc +0 -1098
  558. data/spec/integration/test_command.rbc +0 -1832
  559. data/spec/integration/test_examples.rbc +0 -559
  560. data/spec/integration/test_semantics.rbc +0 -991
  561. data/spec/regression/alf_file/test___FILE__.rbc +0 -524
  562. data/spec/regression/heading/test_heading_with_date.rbc +0 -381
  563. data/spec/regression/lispy/test_compile.rbc +0 -404
  564. data/spec/regression/logs/test_path_attribute.rbc +0 -687
  565. data/spec/regression/relation/test_relation_allbut_all.rbc +0 -468
  566. data/spec/regression/relation/test_relation_with_date.rbc +0 -381
  567. data/spec/regression/restrict/test_restrict_with_keywords.rbc +0 -628
  568. data/spec/shared/a_value.rbc +0 -337
  569. data/spec/shared/an_operator_class.rbc +0 -908
  570. data/spec/spec_helper.rbc +0 -453
  571. data/spec/unit/assumptions/test_file.rbc +0 -668
  572. data/spec/unit/assumptions/test_instance_eval.rbc +0 -654
  573. data/spec/unit/assumptions/test_scoping.rbc +0 -755
  574. data/spec/unit/assumptions/test_set.rbc +0 -1928
  575. data/spec/unit/command/doc_manager/test_call.rbc +0 -1537
  576. data/spec/unit/csv/test_reader.rbc +0 -2228
  577. data/spec/unit/csv/test_renderer.rbc +0 -2426
  578. data/spec/unit/environment/test_explicit.rb +0 -15
  579. data/spec/unit/environment/test_explicit.rbc +0 -464
  580. data/spec/unit/environment/test_folder.rb +0 -35
  581. data/spec/unit/environment/test_folder.rbc +0 -1304
  582. data/spec/unit/lispy/test_relation.rbc +0 -1477
  583. data/spec/unit/lispy/test_run.rbc +0 -1735
  584. data/spec/unit/lispy/test_tuple.rbc +0 -1686
  585. data/spec/unit/logs/test_reader.rbc +0 -1807
  586. data/spec/unit/operator/non_relational/compact/test_buffer_based.rb +0 -30
  587. data/spec/unit/operator/non_relational/compact/test_buffer_based.rbc +0 -1127
  588. data/spec/unit/operator/non_relational/compact/test_sort_based.rbc +0 -1127
  589. data/spec/unit/operator/non_relational/test_autonum.rbc +0 -1969
  590. data/spec/unit/operator/non_relational/test_clip.rb +0 -49
  591. data/spec/unit/operator/non_relational/test_clip.rbc +0 -1850
  592. data/spec/unit/operator/non_relational/test_coerce.rbc +0 -1290
  593. data/spec/unit/operator/non_relational/test_compact.rb +0 -38
  594. data/spec/unit/operator/non_relational/test_compact.rbc +0 -1382
  595. data/spec/unit/operator/non_relational/test_defaults.rbc +0 -2319
  596. data/spec/unit/operator/non_relational/test_generator.rbc +0 -2361
  597. data/spec/unit/operator/non_relational/test_sort.rbc +0 -2583
  598. data/spec/unit/operator/relational/join/test_hash_based.rbc +0 -2481
  599. data/spec/unit/operator/relational/matching/test_hash_based.rb +0 -60
  600. data/spec/unit/operator/relational/matching/test_hash_based.rbc +0 -2458
  601. data/spec/unit/operator/relational/not_matching/test_hash_based.rb +0 -37
  602. data/spec/unit/operator/relational/not_matching/test_hash_based.rbc +0 -1632
  603. data/spec/unit/operator/relational/summarize/test_hash_based.rbc +0 -1990
  604. data/spec/unit/operator/relational/summarize/test_sort_based.rbc +0 -1990
  605. data/spec/unit/operator/relational/test_extend.rbc +0 -1300
  606. data/spec/unit/operator/relational/test_group.rbc +0 -2142
  607. data/spec/unit/operator/relational/test_intersect.rbc +0 -2069
  608. data/spec/unit/operator/relational/test_join.rbc +0 -1282
  609. data/spec/unit/operator/relational/test_minus.rbc +0 -1995
  610. data/spec/unit/operator/relational/test_project.rb +0 -75
  611. data/spec/unit/operator/relational/test_project.rbc +0 -2870
  612. data/spec/unit/operator/relational/test_quota.rbc +0 -1788
  613. data/spec/unit/operator/relational/test_rank.rbc +0 -2079
  614. data/spec/unit/operator/relational/test_rename.rbc +0 -1158
  615. data/spec/unit/operator/relational/test_restrict.rb +0 -56
  616. data/spec/unit/operator/relational/test_restrict.rbc +0 -2305
  617. data/spec/unit/operator/relational/test_summarize.rbc +0 -2570
  618. data/spec/unit/operator/relational/test_ungroup.rbc +0 -1425
  619. data/spec/unit/operator/relational/test_union.rbc +0 -1089
  620. data/spec/unit/operator/relational/test_unwrap.rbc +0 -1176
  621. data/spec/unit/operator/relational/test_wrap.rbc +0 -1203
  622. data/spec/unit/operator/signature/test_collect_on.rb +0 -45
  623. data/spec/unit/operator/signature/test_collect_on.rbc +0 -1989
  624. data/spec/unit/operator/signature/test_initialize.rbc +0 -544
  625. data/spec/unit/operator/signature/test_install.rbc +0 -1671
  626. data/spec/unit/operator/signature/test_option_parser.rbc +0 -1348
  627. data/spec/unit/operator/signature/test_parse_args.rb +0 -60
  628. data/spec/unit/operator/signature/test_parse_args.rbc +0 -1908
  629. data/spec/unit/operator/signature/test_parse_argv.rb +0 -87
  630. data/spec/unit/operator/signature/test_parse_argv.rbc +0 -2878
  631. data/spec/unit/operator/signature/test_to_lispy.rbc +0 -3305
  632. data/spec/unit/operator/signature/test_to_shell.rbc +0 -3327
  633. data/spec/unit/operator/test_non_relational.rbc +0 -571
  634. data/spec/unit/operator/test_relational.rbc +0 -758
  635. data/spec/unit/reader/test_alf_file.rbc +0 -1107
  636. data/spec/unit/reader/test_initialize.rbc +0 -1774
  637. data/spec/unit/reader/test_rash.rbc +0 -1127
  638. data/spec/unit/relation/test_coerce.rbc +0 -2320
  639. data/spec/unit/relation/test_inspect.rbc +0 -502
  640. data/spec/unit/relation/test_relops.rbc +0 -1585
  641. data/spec/unit/relation/test_to_a.rbc +0 -1112
  642. data/spec/unit/renderer/test_initialize.rbc +0 -1766
  643. data/spec/unit/sequel/test_environment.rb +0 -54
  644. data/spec/unit/sequel/test_environment.rbc +0 -1723
  645. data/spec/unit/test_aggregator.rb +0 -109
  646. data/spec/unit/test_aggregator.rbc +0 -4358
  647. data/spec/unit/test_environment.rbc +0 -1271
  648. data/spec/unit/test_lispy.rbc +0 -879
  649. data/spec/unit/test_operator.rbc +0 -531
  650. data/spec/unit/test_reader.rbc +0 -1249
  651. data/spec/unit/test_relation.rbc +0 -2588
  652. data/spec/unit/test_renderer.rbc +0 -2011
  653. data/spec/unit/text/test_cell.rbc +0 -1532
  654. data/spec/unit/text/test_row.rbc +0 -847
  655. data/spec/unit/text/test_table.rbc +0 -978
  656. data/spec/unit/tools/test_coalesce.rbc +0 -456
  657. data/spec/unit/tools/test_coerce.rb +0 -10
  658. data/spec/unit/tools/test_coerce.rbc +0 -279
  659. data/spec/unit/tools/test_to_lispy.rbc +0 -5711
  660. data/spec/unit/tools/test_to_ruby_literal.rbc +0 -272
  661. data/spec/unit/tools/test_tools.rb +0 -25
  662. data/spec/unit/tools/test_tools.rbc +0 -672
  663. data/spec/unit/tools/test_tuple_handle.rbc +0 -1591
  664. data/spec/unit/tools/test_tuple_heading.rb +0 -20
  665. data/spec/unit/tools/test_tuple_heading.rbc +0 -821
  666. data/spec/unit/tools/test_varargs.rbc +0 -495
  667. data/spec/unit/types/heading/test_union.rb +0 -21
  668. data/spec/unit/types/heading/test_union.rbc +0 -1043
  669. data/spec/unit/types/test_attr_list.rb +0 -106
  670. data/spec/unit/types/test_attr_list.rbc +0 -4481
  671. data/spec/unit/types/test_attr_name.rbc +0 -1872
  672. data/spec/unit/types/test_heading.rb +0 -48
  673. data/spec/unit/types/test_heading.rbc +0 -1735
  674. data/spec/unit/types/test_ordering.rb +0 -127
  675. data/spec/unit/types/test_ordering.rbc +0 -3695
  676. data/spec/unit/types/test_renaming.rb +0 -55
  677. data/spec/unit/types/test_renaming.rbc +0 -2426
  678. data/spec/unit/types/test_summarization.rbc +0 -2538
  679. data/spec/unit/types/test_tuple_computation.rbc +0 -2340
  680. data/spec/unit/types/test_tuple_expression.rb +0 -64
  681. data/spec/unit/types/test_tuple_expression.rbc +0 -2285
  682. data/spec/unit/types/test_tuple_predicate.rbc +0 -3168
@@ -1,1382 +0,0 @@
1
- !RBIX
2
- 11817445442317083511
3
- x
4
- M
5
- 1
6
- n
7
- n
8
- x
9
- 10
10
- __script__
11
- i
12
- 37
13
- 5
14
- 7
15
- 0
16
- 64
17
- 47
18
- 49
19
- 1
20
- 1
21
- 15
22
- 99
23
- 7
24
- 2
25
- 65
26
- 49
27
- 3
28
- 2
29
- 13
30
- 99
31
- 12
32
- 7
33
- 4
34
- 12
35
- 7
36
- 5
37
- 12
38
- 65
39
- 12
40
- 49
41
- 6
42
- 4
43
- 15
44
- 49
45
- 4
46
- 0
47
- 15
48
- 2
49
- 11
50
- I
51
- 6
52
- I
53
- 0
54
- I
55
- 0
56
- I
57
- 0
58
- n
59
- p
60
- 7
61
- s
62
- 11
63
- spec_helper
64
- x
65
- 7
66
- require
67
- x
68
- 3
69
- Alf
70
- x
71
- 11
72
- open_module
73
- x
74
- 15
75
- __module_init__
76
- M
77
- 1
78
- n
79
- n
80
- x
81
- 3
82
- Alf
83
- i
84
- 30
85
- 5
86
- 66
87
- 99
88
- 7
89
- 0
90
- 45
91
- 1
92
- 2
93
- 49
94
- 3
95
- 2
96
- 13
97
- 99
98
- 12
99
- 7
100
- 4
101
- 12
102
- 7
103
- 5
104
- 12
105
- 65
106
- 12
107
- 49
108
- 6
109
- 4
110
- 15
111
- 49
112
- 4
113
- 0
114
- 11
115
- I
116
- 6
117
- I
118
- 0
119
- I
120
- 0
121
- I
122
- 0
123
- n
124
- p
125
- 7
126
- x
127
- 13
128
- NonRelational
129
- x
130
- 8
131
- Operator
132
- n
133
- x
134
- 17
135
- open_module_under
136
- x
137
- 15
138
- __module_init__
139
- M
140
- 1
141
- n
142
- n
143
- x
144
- 13
145
- NonRelational
146
- i
147
- 13
148
- 5
149
- 66
150
- 5
151
- 45
152
- 0
153
- 1
154
- 56
155
- 2
156
- 47
157
- 50
158
- 3
159
- 1
160
- 11
161
- I
162
- 3
163
- I
164
- 0
165
- I
166
- 0
167
- I
168
- 0
169
- n
170
- p
171
- 4
172
- x
173
- 7
174
- Compact
175
- n
176
- M
177
- 1
178
- p
179
- 2
180
- x
181
- 9
182
- for_block
183
- t
184
- n
185
- x
186
- 13
187
- NonRelational
188
- i
189
- 69
190
- 5
191
- 7
192
- 0
193
- 56
194
- 1
195
- 47
196
- 50
197
- 2
198
- 1
199
- 15
200
- 5
201
- 7
202
- 3
203
- 64
204
- 47
205
- 49
206
- 4
207
- 1
208
- 15
209
- 5
210
- 7
211
- 5
212
- 56
213
- 6
214
- 47
215
- 50
216
- 2
217
- 1
218
- 15
219
- 5
220
- 7
221
- 7
222
- 56
223
- 8
224
- 47
225
- 50
226
- 2
227
- 1
228
- 15
229
- 5
230
- 56
231
- 9
232
- 47
233
- 50
234
- 10
235
- 0
236
- 15
237
- 5
238
- 7
239
- 11
240
- 64
241
- 56
242
- 12
243
- 47
244
- 50
245
- 13
246
- 1
247
- 15
248
- 5
249
- 7
250
- 14
251
- 64
252
- 56
253
- 15
254
- 47
255
- 50
256
- 13
257
- 1
258
- 11
259
- I
260
- 4
261
- I
262
- 0
263
- I
264
- 0
265
- I
266
- 0
267
- I
268
- -2
269
- p
270
- 16
271
- x
272
- 14
273
- operator_class
274
- M
275
- 1
276
- p
277
- 2
278
- x
279
- 9
280
- for_block
281
- t
282
- n
283
- x
284
- 13
285
- NonRelational
286
- i
287
- 4
288
- 45
289
- 0
290
- 1
291
- 11
292
- I
293
- 2
294
- I
295
- 0
296
- I
297
- 0
298
- I
299
- 0
300
- I
301
- -2
302
- p
303
- 2
304
- x
305
- 7
306
- Compact
307
- n
308
- p
309
- 3
310
- I
311
- 0
312
- I
313
- 6
314
- I
315
- 4
316
- x
317
- 79
318
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
319
- p
320
- 0
321
- x
322
- 3
323
- let
324
- s
325
- 17
326
- An operator class
327
- x
328
- 21
329
- it_should_behave_like
330
- x
331
- 5
332
- input
333
- M
334
- 1
335
- p
336
- 2
337
- x
338
- 9
339
- for_block
340
- t
341
- n
342
- x
343
- 13
344
- NonRelational
345
- i
346
- 185
347
- 44
348
- 43
349
- 0
350
- 4
351
- 3
352
- 49
353
- 1
354
- 1
355
- 13
356
- 7
357
- 2
358
- 7
359
- 3
360
- 64
361
- 49
362
- 4
363
- 2
364
- 15
365
- 13
366
- 7
367
- 5
368
- 79
369
- 49
370
- 4
371
- 2
372
- 15
373
- 13
374
- 7
375
- 6
376
- 7
377
- 7
378
- 64
379
- 49
380
- 4
381
- 2
382
- 15
383
- 44
384
- 43
385
- 0
386
- 4
387
- 3
388
- 49
389
- 1
390
- 1
391
- 13
392
- 7
393
- 2
394
- 7
395
- 8
396
- 64
397
- 49
398
- 4
399
- 2
400
- 15
401
- 13
402
- 7
403
- 5
404
- 4
405
- 3
406
- 49
407
- 4
408
- 2
409
- 15
410
- 13
411
- 7
412
- 6
413
- 7
414
- 7
415
- 64
416
- 49
417
- 4
418
- 2
419
- 15
420
- 44
421
- 43
422
- 0
423
- 4
424
- 3
425
- 49
426
- 1
427
- 1
428
- 13
429
- 7
430
- 2
431
- 7
432
- 3
433
- 64
434
- 49
435
- 4
436
- 2
437
- 15
438
- 13
439
- 7
440
- 5
441
- 80
442
- 49
443
- 4
444
- 2
445
- 15
446
- 13
447
- 7
448
- 6
449
- 7
450
- 7
451
- 64
452
- 49
453
- 4
454
- 2
455
- 15
456
- 44
457
- 43
458
- 0
459
- 4
460
- 3
461
- 49
462
- 1
463
- 1
464
- 13
465
- 7
466
- 2
467
- 7
468
- 8
469
- 64
470
- 49
471
- 4
472
- 2
473
- 15
474
- 13
475
- 7
476
- 5
477
- 4
478
- 3
479
- 49
480
- 4
481
- 2
482
- 15
483
- 13
484
- 7
485
- 6
486
- 7
487
- 7
488
- 64
489
- 49
490
- 4
491
- 2
492
- 15
493
- 44
494
- 43
495
- 0
496
- 4
497
- 3
498
- 49
499
- 1
500
- 1
501
- 13
502
- 7
503
- 2
504
- 7
505
- 3
506
- 64
507
- 49
508
- 4
509
- 2
510
- 15
511
- 13
512
- 7
513
- 5
514
- 79
515
- 49
516
- 4
517
- 2
518
- 15
519
- 13
520
- 7
521
- 6
522
- 7
523
- 7
524
- 64
525
- 49
526
- 4
527
- 2
528
- 15
529
- 35
530
- 5
531
- 11
532
- I
533
- 9
534
- I
535
- 0
536
- I
537
- 0
538
- I
539
- 0
540
- I
541
- -2
542
- p
543
- 9
544
- x
545
- 4
546
- Hash
547
- x
548
- 16
549
- new_from_literal
550
- x
551
- 1
552
- a
553
- s
554
- 10
555
- via_method
556
- x
557
- 3
558
- []=
559
- x
560
- 4
561
- time
562
- x
563
- 1
564
- b
565
- s
566
- 1
567
- b
568
- s
569
- 10
570
- via_reader
571
- p
572
- 11
573
- I
574
- 0
575
- I
576
- a
577
- I
578
- 24
579
- I
580
- b
581
- I
582
- 49
583
- I
584
- c
585
- I
586
- 6d
587
- I
588
- d
589
- I
590
- 92
591
- I
592
- e
593
- I
594
- b9
595
- x
596
- 79
597
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
598
- p
599
- 0
600
- x
601
- 8
602
- expected
603
- M
604
- 1
605
- p
606
- 2
607
- x
608
- 9
609
- for_block
610
- t
611
- n
612
- x
613
- 13
614
- NonRelational
615
- i
616
- 112
617
- 44
618
- 43
619
- 0
620
- 4
621
- 3
622
- 49
623
- 1
624
- 1
625
- 13
626
- 7
627
- 2
628
- 7
629
- 3
630
- 64
631
- 49
632
- 4
633
- 2
634
- 15
635
- 13
636
- 7
637
- 5
638
- 79
639
- 49
640
- 4
641
- 2
642
- 15
643
- 13
644
- 7
645
- 6
646
- 7
647
- 7
648
- 64
649
- 49
650
- 4
651
- 2
652
- 15
653
- 44
654
- 43
655
- 0
656
- 4
657
- 3
658
- 49
659
- 1
660
- 1
661
- 13
662
- 7
663
- 2
664
- 7
665
- 8
666
- 64
667
- 49
668
- 4
669
- 2
670
- 15
671
- 13
672
- 7
673
- 5
674
- 4
675
- 3
676
- 49
677
- 4
678
- 2
679
- 15
680
- 13
681
- 7
682
- 6
683
- 7
684
- 7
685
- 64
686
- 49
687
- 4
688
- 2
689
- 15
690
- 44
691
- 43
692
- 0
693
- 4
694
- 3
695
- 49
696
- 1
697
- 1
698
- 13
699
- 7
700
- 2
701
- 7
702
- 3
703
- 64
704
- 49
705
- 4
706
- 2
707
- 15
708
- 13
709
- 7
710
- 5
711
- 80
712
- 49
713
- 4
714
- 2
715
- 15
716
- 13
717
- 7
718
- 6
719
- 7
720
- 7
721
- 64
722
- 49
723
- 4
724
- 2
725
- 15
726
- 35
727
- 3
728
- 11
729
- I
730
- 7
731
- I
732
- 0
733
- I
734
- 0
735
- I
736
- 0
737
- I
738
- -2
739
- p
740
- 9
741
- x
742
- 4
743
- Hash
744
- x
745
- 16
746
- new_from_literal
747
- x
748
- 1
749
- a
750
- s
751
- 10
752
- via_method
753
- x
754
- 3
755
- []=
756
- x
757
- 4
758
- time
759
- x
760
- 1
761
- b
762
- s
763
- 1
764
- b
765
- s
766
- 10
767
- via_reader
768
- p
769
- 7
770
- I
771
- 0
772
- I
773
- 12
774
- I
775
- 24
776
- I
777
- 13
778
- I
779
- 49
780
- I
781
- 14
782
- I
783
- 70
784
- x
785
- 79
786
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
787
- p
788
- 0
789
- M
790
- 1
791
- p
792
- 2
793
- x
794
- 9
795
- for_block
796
- t
797
- n
798
- x
799
- 13
800
- NonRelational
801
- i
802
- 7
803
- 5
804
- 48
805
- 0
806
- 49
807
- 1
808
- 0
809
- 11
810
- I
811
- 2
812
- I
813
- 0
814
- I
815
- 0
816
- I
817
- 0
818
- I
819
- -2
820
- p
821
- 2
822
- x
823
- 8
824
- operator
825
- x
826
- 4
827
- to_a
828
- p
829
- 3
830
- I
831
- 0
832
- I
833
- 17
834
- I
835
- 7
836
- x
837
- 79
838
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
839
- p
840
- 0
841
- x
842
- 7
843
- subject
844
- s
845
- 35
846
- when factored with commandline args
847
- M
848
- 1
849
- p
850
- 2
851
- x
852
- 9
853
- for_block
854
- t
855
- n
856
- x
857
- 13
858
- NonRelational
859
- i
860
- 26
861
- 5
862
- 7
863
- 0
864
- 56
865
- 1
866
- 47
867
- 50
868
- 2
869
- 1
870
- 15
871
- 5
872
- 56
873
- 3
874
- 47
875
- 50
876
- 4
877
- 0
878
- 15
879
- 5
880
- 56
881
- 5
882
- 47
883
- 50
884
- 6
885
- 0
886
- 11
887
- I
888
- 4
889
- I
890
- 0
891
- I
892
- 0
893
- I
894
- 0
895
- I
896
- -2
897
- p
898
- 7
899
- x
900
- 8
901
- operator
902
- M
903
- 1
904
- p
905
- 2
906
- x
907
- 9
908
- for_block
909
- t
910
- n
911
- x
912
- 13
913
- NonRelational
914
- i
915
- 9
916
- 45
917
- 0
918
- 1
919
- 35
920
- 0
921
- 49
922
- 2
923
- 1
924
- 11
925
- I
926
- 3
927
- I
928
- 0
929
- I
930
- 0
931
- I
932
- 0
933
- I
934
- -2
935
- p
936
- 3
937
- x
938
- 7
939
- Compact
940
- n
941
- x
942
- 3
943
- run
944
- p
945
- 3
946
- I
947
- 0
948
- I
949
- 1a
950
- I
951
- 9
952
- x
953
- 79
954
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
955
- p
956
- 0
957
- x
958
- 3
959
- let
960
- M
961
- 1
962
- p
963
- 2
964
- x
965
- 9
966
- for_block
967
- t
968
- n
969
- x
970
- 13
971
- NonRelational
972
- i
973
- 10
974
- 5
975
- 48
976
- 0
977
- 5
978
- 48
979
- 1
980
- 49
981
- 2
982
- 1
983
- 11
984
- I
985
- 3
986
- I
987
- 0
988
- I
989
- 0
990
- I
991
- 0
992
- I
993
- -2
994
- p
995
- 3
996
- x
997
- 8
998
- operator
999
- x
1000
- 5
1001
- input
1002
- x
1003
- 4
1004
- pipe
1005
- p
1006
- 3
1007
- I
1008
- 0
1009
- I
1010
- 1b
1011
- I
1012
- a
1013
- x
1014
- 79
1015
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
1016
- p
1017
- 0
1018
- x
1019
- 6
1020
- before
1021
- M
1022
- 1
1023
- p
1024
- 2
1025
- x
1026
- 9
1027
- for_block
1028
- t
1029
- n
1030
- x
1031
- 13
1032
- NonRelational
1033
- i
1034
- 9
1035
- 5
1036
- 48
1037
- 0
1038
- 5
1039
- 48
1040
- 1
1041
- 83
1042
- 2
1043
- 11
1044
- I
1045
- 3
1046
- I
1047
- 0
1048
- I
1049
- 0
1050
- I
1051
- 0
1052
- I
1053
- -2
1054
- p
1055
- 3
1056
- x
1057
- 6
1058
- should
1059
- x
1060
- 8
1061
- expected
1062
- x
1063
- 2
1064
- ==
1065
- p
1066
- 3
1067
- I
1068
- 0
1069
- I
1070
- 1c
1071
- I
1072
- 9
1073
- x
1074
- 79
1075
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
1076
- p
1077
- 0
1078
- x
1079
- 2
1080
- it
1081
- p
1082
- 7
1083
- I
1084
- 0
1085
- I
1086
- 1a
1087
- I
1088
- a
1089
- I
1090
- 1b
1091
- I
1092
- 12
1093
- I
1094
- 1c
1095
- I
1096
- 1a
1097
- x
1098
- 79
1099
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
1100
- p
1101
- 0
1102
- x
1103
- 8
1104
- describe
1105
- s
1106
- 24
1107
- when factored with Lispy
1108
- M
1109
- 1
1110
- p
1111
- 2
1112
- x
1113
- 9
1114
- for_block
1115
- t
1116
- n
1117
- x
1118
- 13
1119
- NonRelational
1120
- i
1121
- 18
1122
- 5
1123
- 7
1124
- 0
1125
- 56
1126
- 1
1127
- 47
1128
- 50
1129
- 2
1130
- 1
1131
- 15
1132
- 5
1133
- 56
1134
- 3
1135
- 47
1136
- 50
1137
- 4
1138
- 0
1139
- 11
1140
- I
1141
- 4
1142
- I
1143
- 0
1144
- I
1145
- 0
1146
- I
1147
- 0
1148
- I
1149
- -2
1150
- p
1151
- 5
1152
- x
1153
- 8
1154
- operator
1155
- M
1156
- 1
1157
- p
1158
- 2
1159
- x
1160
- 9
1161
- for_block
1162
- t
1163
- n
1164
- x
1165
- 13
1166
- NonRelational
1167
- i
1168
- 10
1169
- 45
1170
- 0
1171
- 1
1172
- 5
1173
- 48
1174
- 2
1175
- 49
1176
- 3
1177
- 1
1178
- 11
1179
- I
1180
- 3
1181
- I
1182
- 0
1183
- I
1184
- 0
1185
- I
1186
- 0
1187
- I
1188
- -2
1189
- p
1190
- 4
1191
- x
1192
- 5
1193
- Lispy
1194
- n
1195
- x
1196
- 5
1197
- input
1198
- x
1199
- 7
1200
- compact
1201
- p
1202
- 3
1203
- I
1204
- 0
1205
- I
1206
- 20
1207
- I
1208
- a
1209
- x
1210
- 79
1211
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
1212
- p
1213
- 0
1214
- x
1215
- 3
1216
- let
1217
- M
1218
- 1
1219
- p
1220
- 2
1221
- x
1222
- 9
1223
- for_block
1224
- t
1225
- n
1226
- x
1227
- 13
1228
- NonRelational
1229
- i
1230
- 9
1231
- 5
1232
- 48
1233
- 0
1234
- 5
1235
- 48
1236
- 1
1237
- 83
1238
- 2
1239
- 11
1240
- I
1241
- 3
1242
- I
1243
- 0
1244
- I
1245
- 0
1246
- I
1247
- 0
1248
- I
1249
- -2
1250
- p
1251
- 3
1252
- x
1253
- 6
1254
- should
1255
- x
1256
- 8
1257
- expected
1258
- x
1259
- 2
1260
- ==
1261
- p
1262
- 3
1263
- I
1264
- 0
1265
- I
1266
- 21
1267
- I
1268
- 9
1269
- x
1270
- 79
1271
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
1272
- p
1273
- 0
1274
- x
1275
- 2
1276
- it
1277
- p
1278
- 5
1279
- I
1280
- 0
1281
- I
1282
- 20
1283
- I
1284
- a
1285
- I
1286
- 21
1287
- I
1288
- 12
1289
- x
1290
- 79
1291
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
1292
- p
1293
- 0
1294
- p
1295
- 15
1296
- I
1297
- 0
1298
- I
1299
- 6
1300
- I
1301
- a
1302
- I
1303
- 7
1304
- I
1305
- 13
1306
- I
1307
- 9
1308
- I
1309
- 1d
1310
- I
1311
- 11
1312
- I
1313
- 27
1314
- I
1315
- 17
1316
- I
1317
- 2f
1318
- I
1319
- 19
1320
- I
1321
- 3a
1322
- I
1323
- 1f
1324
- I
1325
- 45
1326
- x
1327
- 79
1328
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
1329
- p
1330
- 0
1331
- x
1332
- 8
1333
- describe
1334
- p
1335
- 3
1336
- I
1337
- 2
1338
- I
1339
- 4
1340
- I
1341
- d
1342
- x
1343
- 79
1344
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
1345
- p
1346
- 0
1347
- x
1348
- 13
1349
- attach_method
1350
- p
1351
- 3
1352
- I
1353
- 2
1354
- I
1355
- 3
1356
- I
1357
- 1e
1358
- x
1359
- 79
1360
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
1361
- p
1362
- 0
1363
- x
1364
- 13
1365
- attach_method
1366
- p
1367
- 5
1368
- I
1369
- 0
1370
- I
1371
- 1
1372
- I
1373
- 9
1374
- I
1375
- 2
1376
- I
1377
- 25
1378
- x
1379
- 79
1380
- /home/blambeau/work/devel/alf/spec/unit/operator/non_relational/test_compact.rb
1381
- p
1382
- 0