alf 0.12.2 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (549) hide show
  1. data/CHANGELOG.md +186 -80
  2. data/Gemfile +16 -32
  3. data/Gemfile.lock +35 -34
  4. data/LICENCE.md +1 -1
  5. data/Manifest.txt +7 -9
  6. data/README.md +139 -809
  7. data/alf.gemspec +6 -15
  8. data/alf.noespec +16 -34
  9. data/lib/alf.rb +3 -73
  10. data/lib/alf/loader.rb +3 -3
  11. data/lib/alf/version.rb +2 -2
  12. data/spec/spec_helper.rb +3 -18
  13. data/spec/test_alf.rb +8 -0
  14. data/tasks/test.rake +6 -0
  15. data/test/migrations/test_folder_migration.rb +18 -0
  16. data/test/migrations/test_sequel_migration.rb +34 -0
  17. data/test/seeding/test_seeding.rb +49 -0
  18. data/test/test_alf.rb +8 -0
  19. data/test/test_helpers.rb +24 -0
  20. metadata +54 -952
  21. data/TODO.md +0 -21
  22. data/bin/alf +0 -27
  23. data/doc/commands/exec.md +0 -16
  24. data/doc/commands/help.md +0 -11
  25. data/doc/commands/main.md +0 -33
  26. data/doc/commands/show.md +0 -19
  27. data/doc/operators/non_relational/autonum.md +0 -23
  28. data/doc/operators/non_relational/clip.md +0 -31
  29. data/doc/operators/non_relational/coerce.md +0 -15
  30. data/doc/operators/non_relational/compact.md +0 -20
  31. data/doc/operators/non_relational/defaults.md +0 -32
  32. data/doc/operators/non_relational/generator.md +0 -20
  33. data/doc/operators/non_relational/sort.md +0 -24
  34. data/doc/operators/relational/extend.md +0 -18
  35. data/doc/operators/relational/group.md +0 -27
  36. data/doc/operators/relational/heading.md +0 -20
  37. data/doc/operators/relational/intersect.md +0 -13
  38. data/doc/operators/relational/join.md +0 -28
  39. data/doc/operators/relational/matching.md +0 -24
  40. data/doc/operators/relational/minus.md +0 -12
  41. data/doc/operators/relational/not-matching.md +0 -20
  42. data/doc/operators/relational/project.md +0 -28
  43. data/doc/operators/relational/quota.md +0 -21
  44. data/doc/operators/relational/rank.md +0 -27
  45. data/doc/operators/relational/rename.md +0 -17
  46. data/doc/operators/relational/restrict.md +0 -25
  47. data/doc/operators/relational/summarize.md +0 -25
  48. data/doc/operators/relational/ungroup.md +0 -20
  49. data/doc/operators/relational/union.md +0 -14
  50. data/doc/operators/relational/unwrap.md +0 -20
  51. data/doc/operators/relational/wrap.md +0 -24
  52. data/examples/csv/suppliers.csv +0 -6
  53. data/examples/logs/access.log +0 -1000
  54. data/examples/logs/combined.alf +0 -2
  55. data/examples/logs/hits.alf +0 -14
  56. data/examples/logs/not_found.alf +0 -7
  57. data/examples/logs/robots-cheating.alf +0 -11
  58. data/examples/logs/robots.alf +0 -8
  59. data/examples/operators/autonum.alf +0 -6
  60. data/examples/operators/cities.rash +0 -4
  61. data/examples/operators/clip.alf +0 -3
  62. data/examples/operators/compact.alf +0 -2
  63. data/examples/operators/database.alf +0 -5
  64. data/examples/operators/defaults.alf +0 -3
  65. data/examples/operators/extend.alf +0 -3
  66. data/examples/operators/group.alf +0 -3
  67. data/examples/operators/intersect.alf +0 -4
  68. data/examples/operators/join.alf +0 -2
  69. data/examples/operators/matching.alf +0 -2
  70. data/examples/operators/minus.alf +0 -8
  71. data/examples/operators/not_matching.alf +0 -2
  72. data/examples/operators/nulls.rash +0 -3
  73. data/examples/operators/parts.rash +0 -6
  74. data/examples/operators/project.alf +0 -3
  75. data/examples/operators/pseudo-with.alf +0 -7
  76. data/examples/operators/quota.alf +0 -4
  77. data/examples/operators/rank.alf +0 -4
  78. data/examples/operators/rename.alf +0 -3
  79. data/examples/operators/restrict.alf +0 -2
  80. data/examples/operators/schema.yaml +0 -28
  81. data/examples/operators/sort.alf +0 -4
  82. data/examples/operators/summarize.alf +0 -16
  83. data/examples/operators/suppliers.rash +0 -5
  84. data/examples/operators/supplies.rash +0 -12
  85. data/examples/operators/ungroup.alf +0 -4
  86. data/examples/operators/union.alf +0 -3
  87. data/examples/operators/unwrap.alf +0 -4
  88. data/examples/operators/wrap.alf +0 -2
  89. data/lib/alf-csv/alf/csv.rb +0 -3
  90. data/lib/alf-csv/alf/csv/commons.rb +0 -36
  91. data/lib/alf-csv/alf/csv/reader.rb +0 -33
  92. data/lib/alf-csv/alf/csv/renderer.rb +0 -38
  93. data/lib/alf-engine/alf/engine.rb +0 -25
  94. data/lib/alf-engine/alf/engine/aggregate.rb +0 -44
  95. data/lib/alf-engine/alf/engine/autonum.rb +0 -45
  96. data/lib/alf-engine/alf/engine/cesure.rb +0 -45
  97. data/lib/alf-engine/alf/engine/clip.rb +0 -53
  98. data/lib/alf-engine/alf/engine/coerce.rb +0 -46
  99. data/lib/alf-engine/alf/engine/cog.rb +0 -7
  100. data/lib/alf-engine/alf/engine/compact.rb +0 -26
  101. data/lib/alf-engine/alf/engine/compact/set.rb +0 -23
  102. data/lib/alf-engine/alf/engine/compact/uniq.rb +0 -23
  103. data/lib/alf-engine/alf/engine/concat.rb +0 -25
  104. data/lib/alf-engine/alf/engine/defaults.rb +0 -43
  105. data/lib/alf-engine/alf/engine/filter.rb +0 -41
  106. data/lib/alf-engine/alf/engine/generator.rb +0 -50
  107. data/lib/alf-engine/alf/engine/group.rb +0 -7
  108. data/lib/alf-engine/alf/engine/group/hash.rb +0 -40
  109. data/lib/alf-engine/alf/engine/join.rb +0 -7
  110. data/lib/alf-engine/alf/engine/join/hash.rb +0 -35
  111. data/lib/alf-engine/alf/engine/materialize.rb +0 -8
  112. data/lib/alf-engine/alf/engine/materialize/array.rb +0 -78
  113. data/lib/alf-engine/alf/engine/materialize/hash.rb +0 -122
  114. data/lib/alf-engine/alf/engine/quota.rb +0 -7
  115. data/lib/alf-engine/alf/engine/quota/cesure.rb +0 -46
  116. data/lib/alf-engine/alf/engine/rank.rb +0 -7
  117. data/lib/alf-engine/alf/engine/rank/cesure.rb +0 -48
  118. data/lib/alf-engine/alf/engine/rename.rb +0 -39
  119. data/lib/alf-engine/alf/engine/semi.rb +0 -7
  120. data/lib/alf-engine/alf/engine/semi/hash.rb +0 -39
  121. data/lib/alf-engine/alf/engine/set_attr.rb +0 -46
  122. data/lib/alf-engine/alf/engine/sort.rb +0 -28
  123. data/lib/alf-engine/alf/engine/sort/in_memory.rb +0 -39
  124. data/lib/alf-engine/alf/engine/summarize.rb +0 -8
  125. data/lib/alf-engine/alf/engine/summarize/cesure.rb +0 -51
  126. data/lib/alf-engine/alf/engine/summarize/hash.rb +0 -35
  127. data/lib/alf-engine/alf/engine/ungroup.rb +0 -29
  128. data/lib/alf-engine/alf/engine/unwrap.rb +0 -31
  129. data/lib/alf-engine/alf/engine/wrap.rb +0 -39
  130. data/lib/alf-logs/alf/logs.rb +0 -1
  131. data/lib/alf-logs/alf/logs/reader.rb +0 -98
  132. data/lib/alf-sequel/alf/sequel.rb +0 -2
  133. data/lib/alf-sequel/alf/sequel/environment.rb +0 -61
  134. data/lib/alf-sequel/alf/sequel/iterator.rb +0 -21
  135. data/lib/alf-shell/alf/shell.rb +0 -40
  136. data/lib/alf-shell/alf/shell/command.rb +0 -26
  137. data/lib/alf-shell/alf/shell/command/exec.rb +0 -11
  138. data/lib/alf-shell/alf/shell/command/help.rb +0 -30
  139. data/lib/alf-shell/alf/shell/command/main.rb +0 -136
  140. data/lib/alf-shell/alf/shell/command/main/class_methods.rb +0 -46
  141. data/lib/alf-shell/alf/shell/command/show.rb +0 -63
  142. data/lib/alf-shell/alf/shell/doc_manager.rb +0 -72
  143. data/lib/alf-shell/alf/shell/operator.rb +0 -86
  144. data/lib/alf-yaml/alf/yaml.rb +0 -1
  145. data/lib/alf-yaml/alf/yaml/renderer.rb +0 -22
  146. data/lib/alf/aggregator.rb +0 -51
  147. data/lib/alf/aggregator/avg.rb +0 -39
  148. data/lib/alf/aggregator/class_methods.rb +0 -77
  149. data/lib/alf/aggregator/collect.rb +0 -32
  150. data/lib/alf/aggregator/concat.rb +0 -47
  151. data/lib/alf/aggregator/count.rb +0 -32
  152. data/lib/alf/aggregator/instance_methods.rb +0 -119
  153. data/lib/alf/aggregator/max.rb +0 -32
  154. data/lib/alf/aggregator/min.rb +0 -32
  155. data/lib/alf/aggregator/stddev.rb +0 -25
  156. data/lib/alf/aggregator/sum.rb +0 -32
  157. data/lib/alf/aggregator/variance.rb +0 -45
  158. data/lib/alf/environment.rb +0 -34
  159. data/lib/alf/environment/class_methods.rb +0 -95
  160. data/lib/alf/environment/folder.rb +0 -60
  161. data/lib/alf/environment/instance_methods.rb +0 -26
  162. data/lib/alf/errors.rb +0 -5
  163. data/lib/alf/ext.rb +0 -4
  164. data/lib/alf/ext/relation.rb +0 -4
  165. data/lib/alf/iterator.rb +0 -28
  166. data/lib/alf/iterator/class_methods.rb +0 -20
  167. data/lib/alf/iterator/proxy.rb +0 -27
  168. data/lib/alf/lispy.rb +0 -24
  169. data/lib/alf/lispy/instance_methods.rb +0 -157
  170. data/lib/alf/operator.rb +0 -68
  171. data/lib/alf/operator/binary.rb +0 -21
  172. data/lib/alf/operator/class_methods.rb +0 -82
  173. data/lib/alf/operator/experimental.rb +0 -9
  174. data/lib/alf/operator/instance_methods.rb +0 -29
  175. data/lib/alf/operator/non_relational/autonum.rb +0 -19
  176. data/lib/alf/operator/non_relational/clip.rb +0 -20
  177. data/lib/alf/operator/non_relational/coerce.rb +0 -19
  178. data/lib/alf/operator/non_relational/compact.rb +0 -18
  179. data/lib/alf/operator/non_relational/defaults.rb +0 -22
  180. data/lib/alf/operator/non_relational/generator.rb +0 -20
  181. data/lib/alf/operator/non_relational/sort.rb +0 -19
  182. data/lib/alf/operator/nullary.rb +0 -11
  183. data/lib/alf/operator/relational/extend.rb +0 -19
  184. data/lib/alf/operator/relational/group.rb +0 -21
  185. data/lib/alf/operator/relational/heading.rb +0 -20
  186. data/lib/alf/operator/relational/intersect.rb +0 -18
  187. data/lib/alf/operator/relational/join.rb +0 -18
  188. data/lib/alf/operator/relational/matching.rb +0 -18
  189. data/lib/alf/operator/relational/minus.rb +0 -18
  190. data/lib/alf/operator/relational/not_matching.rb +0 -18
  191. data/lib/alf/operator/relational/project.rb +0 -22
  192. data/lib/alf/operator/relational/quota.rb +0 -23
  193. data/lib/alf/operator/relational/rank.rb +0 -22
  194. data/lib/alf/operator/relational/rename.rb +0 -18
  195. data/lib/alf/operator/relational/restrict.rb +0 -18
  196. data/lib/alf/operator/relational/summarize.rb +0 -27
  197. data/lib/alf/operator/relational/ungroup.rb +0 -19
  198. data/lib/alf/operator/relational/union.rb +0 -20
  199. data/lib/alf/operator/relational/unwrap.rb +0 -19
  200. data/lib/alf/operator/relational/wrap.rb +0 -20
  201. data/lib/alf/operator/signature.rb +0 -233
  202. data/lib/alf/operator/unary.rb +0 -16
  203. data/lib/alf/reader.rb +0 -37
  204. data/lib/alf/reader/alf_file.rb +0 -24
  205. data/lib/alf/reader/class_methods.rb +0 -91
  206. data/lib/alf/reader/instance_methods.rb +0 -97
  207. data/lib/alf/reader/rash.rb +0 -28
  208. data/lib/alf/relation.rb +0 -28
  209. data/lib/alf/relation/class_methods.rb +0 -28
  210. data/lib/alf/relation/instance_methods.rb +0 -119
  211. data/lib/alf/renderer.rb +0 -32
  212. data/lib/alf/renderer/class_methods.rb +0 -58
  213. data/lib/alf/renderer/instance_methods.rb +0 -55
  214. data/lib/alf/renderer/rash.rb +0 -33
  215. data/lib/alf/renderer/text.rb +0 -198
  216. data/lib/alf/tools.rb +0 -15
  217. data/lib/alf/tools/coerce.rb +0 -25
  218. data/lib/alf/tools/miscellaneous.rb +0 -111
  219. data/lib/alf/tools/to_lispy.rb +0 -96
  220. data/lib/alf/tools/to_relation.rb +0 -54
  221. data/lib/alf/tools/to_ruby_literal.rb +0 -31
  222. data/lib/alf/tools/tuple_handle.rb +0 -60
  223. data/lib/alf/types.rb +0 -49
  224. data/lib/alf/types/attr_list.rb +0 -160
  225. data/lib/alf/types/attr_name.rb +0 -66
  226. data/lib/alf/types/boolean.rb +0 -25
  227. data/lib/alf/types/heading.rb +0 -135
  228. data/lib/alf/types/ordering.rb +0 -146
  229. data/lib/alf/types/renaming.rb +0 -97
  230. data/lib/alf/types/size.rb +0 -57
  231. data/lib/alf/types/summarization.rb +0 -138
  232. data/lib/alf/types/tuple_computation.rb +0 -136
  233. data/lib/alf/types/tuple_expression.rb +0 -152
  234. data/lib/alf/types/tuple_predicate.rb +0 -73
  235. data/spec/integration/__database__/group.alf +0 -3
  236. data/spec/integration/__database__/parts.rash +0 -6
  237. data/spec/integration/__database__/suppliers.rash +0 -5
  238. data/spec/integration/__database__/suppliers_csv.csv +0 -6
  239. data/spec/integration/__database__/supplies.rash +0 -12
  240. data/spec/integration/alf/example.rash +0 -1
  241. data/spec/integration/alf/test_Relation.rb +0 -32
  242. data/spec/integration/ext/test_relation.rb +0 -16
  243. data/spec/integration/lispy/test_relation.rb +0 -37
  244. data/spec/integration/lispy/test_run.rb +0 -40
  245. data/spec/integration/lispy/test_tuple.rb +0 -36
  246. data/spec/integration/semantics/test_join.alf +0 -9
  247. data/spec/integration/semantics/test_minus.alf +0 -5
  248. data/spec/integration/semantics/test_project.alf +0 -8
  249. data/spec/integration/semantics/test_rank.alf +0 -34
  250. data/spec/integration/shell/alf/alf.db +0 -0
  251. data/spec/integration/shell/alf/alf_e.cmd +0 -1
  252. data/spec/integration/shell/alf/alf_e.stdout +0 -4
  253. data/spec/integration/shell/alf/alf_env.cmd +0 -1
  254. data/spec/integration/shell/alf/alf_env.stdout +0 -5
  255. data/spec/integration/shell/alf/alf_env_sqlite.cmd +0 -1
  256. data/spec/integration/shell/alf/alf_env_sqlite.stdout +0 -9
  257. data/spec/integration/shell/alf/alf_help.cmd +0 -1
  258. data/spec/integration/shell/alf/alf_help.stdout +0 -69
  259. data/spec/integration/shell/alf/alf_implicit.alf +0 -1
  260. data/spec/integration/shell/alf/alf_implicit_exec.cmd +0 -1
  261. data/spec/integration/shell/alf/alf_implicit_exec.stdout +0 -4
  262. data/spec/integration/shell/alf/alf_r.cmd +0 -1
  263. data/spec/integration/shell/alf/alf_r.stdout +0 -5
  264. data/spec/integration/shell/alf/alf_version.cmd +0 -1
  265. data/spec/integration/shell/alf/alf_version.stdout +0 -2
  266. data/spec/integration/shell/alf/alf_yaml.cmd +0 -1
  267. data/spec/integration/shell/alf/alf_yaml.stdout +0 -22
  268. data/spec/integration/shell/alf/rel.rash +0 -1
  269. data/spec/integration/shell/autonum/autonum_0.cmd +0 -1
  270. data/spec/integration/shell/autonum/autonum_0.stdout +0 -9
  271. data/spec/integration/shell/autonum/autonum_1.cmd +0 -1
  272. data/spec/integration/shell/autonum/autonum_1.stdout +0 -9
  273. data/spec/integration/shell/clip/clip_0.cmd +0 -1
  274. data/spec/integration/shell/clip/clip_0.stdout +0 -9
  275. data/spec/integration/shell/clip/clip_1.cmd +0 -1
  276. data/spec/integration/shell/clip/clip_1.stdout +0 -9
  277. data/spec/integration/shell/coerce/coerce_1.cmd +0 -1
  278. data/spec/integration/shell/coerce/coerce_1.stdout +0 -5
  279. data/spec/integration/shell/compact/compact_0.cmd +0 -1
  280. data/spec/integration/shell/compact/compact_0.stdout +0 -9
  281. data/spec/integration/shell/defaults/defaults_0.cmd +0 -1
  282. data/spec/integration/shell/defaults/defaults_0.stdout +0 -9
  283. data/spec/integration/shell/defaults/defaults_1.cmd +0 -1
  284. data/spec/integration/shell/defaults/defaults_1.stdout +0 -9
  285. data/spec/integration/shell/defaults/defaults_2.cmd +0 -1
  286. data/spec/integration/shell/defaults/defaults_2.stdout +0 -9
  287. data/spec/integration/shell/extend/extend_0.cmd +0 -1
  288. data/spec/integration/shell/extend/extend_0.stdout +0 -16
  289. data/spec/integration/shell/generator/generator_1.cmd +0 -1
  290. data/spec/integration/shell/generator/generator_1.stdout +0 -10
  291. data/spec/integration/shell/generator/generator_2.cmd +0 -1
  292. data/spec/integration/shell/generator/generator_2.stdout +0 -5
  293. data/spec/integration/shell/generator/generator_3.cmd +0 -1
  294. data/spec/integration/shell/generator/generator_3.stdout +0 -5
  295. data/spec/integration/shell/group/group_0.cmd +0 -1
  296. data/spec/integration/shell/group/group_0.stdout +0 -32
  297. data/spec/integration/shell/group/group_1.cmd +0 -1
  298. data/spec/integration/shell/group/group_1.stdout +0 -32
  299. data/spec/integration/shell/help/help_1.cmd +0 -1
  300. data/spec/integration/shell/help/help_1.stdout +0 -24
  301. data/spec/integration/shell/intersect/intersect_0.cmd +0 -1
  302. data/spec/integration/shell/intersect/intersect_0.stdout +0 -9
  303. data/spec/integration/shell/join/join_0.cmd +0 -1
  304. data/spec/integration/shell/join/join_0.stdout +0 -16
  305. data/spec/integration/shell/matching/matching_0.cmd +0 -1
  306. data/spec/integration/shell/matching/matching_0.stdout +0 -8
  307. data/spec/integration/shell/minus/minus_0.cmd +0 -1
  308. data/spec/integration/shell/minus/minus_0.stdout +0 -4
  309. data/spec/integration/shell/not-matching/not-matching_0.cmd +0 -1
  310. data/spec/integration/shell/not-matching/not-matching_0.stdout +0 -5
  311. data/spec/integration/shell/project/project_0.cmd +0 -1
  312. data/spec/integration/shell/project/project_0.stdout +0 -9
  313. data/spec/integration/shell/project/project_1.cmd +0 -1
  314. data/spec/integration/shell/project/project_1.stdout +0 -9
  315. data/spec/integration/shell/quota/quota_0.cmd +0 -1
  316. data/spec/integration/shell/quota/quota_0.stdout +0 -16
  317. data/spec/integration/shell/rank/rank_1.cmd +0 -1
  318. data/spec/integration/shell/rank/rank_1.stdout +0 -10
  319. data/spec/integration/shell/rank/rank_2.cmd +0 -1
  320. data/spec/integration/shell/rank/rank_2.stdout +0 -10
  321. data/spec/integration/shell/rank/rank_3.cmd +0 -1
  322. data/spec/integration/shell/rank/rank_3.stdout +0 -10
  323. data/spec/integration/shell/rank/rank_4.cmd +0 -1
  324. data/spec/integration/shell/rank/rank_4.stdout +0 -6
  325. data/spec/integration/shell/rank/rank_5.cmd +0 -1
  326. data/spec/integration/shell/rank/rank_5.stdout +0 -6
  327. data/spec/integration/shell/rename/rename_0.cmd +0 -1
  328. data/spec/integration/shell/rename/rename_0.stdout +0 -9
  329. data/spec/integration/shell/restrict/restrict_0.cmd +0 -1
  330. data/spec/integration/shell/restrict/restrict_0.stdout +0 -6
  331. data/spec/integration/shell/restrict/restrict_1.cmd +0 -1
  332. data/spec/integration/shell/restrict/restrict_1.stdout +0 -6
  333. data/spec/integration/shell/show/show_base.cmd +0 -1
  334. data/spec/integration/shell/show/show_base.stdout +0 -9
  335. data/spec/integration/shell/show/show_base_sort_1.cmd +0 -1
  336. data/spec/integration/shell/show/show_base_sort_1.stdout +0 -9
  337. data/spec/integration/shell/show/show_base_sort_2.cmd +0 -1
  338. data/spec/integration/shell/show/show_base_sort_2.stdout +0 -9
  339. data/spec/integration/shell/show/show_conflictual.cmd +0 -1
  340. data/spec/integration/shell/show/show_conflictual.stdout +0 -5
  341. data/spec/integration/shell/show/show_csv.cmd +0 -1
  342. data/spec/integration/shell/show/show_csv.stdout +0 -6
  343. data/spec/integration/shell/show/show_ff.cmd +0 -1
  344. data/spec/integration/shell/show/show_ff.stdout +0 -10
  345. data/spec/integration/shell/show/show_rash.cmd +0 -1
  346. data/spec/integration/shell/show/show_rash.stdout +0 -5
  347. data/spec/integration/shell/show/show_rash_pretty.cmd +0 -1
  348. data/spec/integration/shell/show/show_rash_pretty.stdout +0 -30
  349. data/spec/integration/shell/show/show_yaml.cmd +0 -1
  350. data/spec/integration/shell/show/show_yaml.stdout +0 -22
  351. data/spec/integration/shell/sort/sort_0.cmd +0 -1
  352. data/spec/integration/shell/sort/sort_0.stdout +0 -9
  353. data/spec/integration/shell/sort/sort_1.cmd +0 -1
  354. data/spec/integration/shell/sort/sort_1.stdout +0 -9
  355. data/spec/integration/shell/sort/sort_2.cmd +0 -1
  356. data/spec/integration/shell/sort/sort_2.stdout +0 -9
  357. data/spec/integration/shell/sort/sort_3.cmd +0 -1
  358. data/spec/integration/shell/sort/sort_3.stdout +0 -9
  359. data/spec/integration/shell/summarize/summarize_0.cmd +0 -1
  360. data/spec/integration/shell/summarize/summarize_0.stdout +0 -8
  361. data/spec/integration/shell/ungroup/ungroup_0.cmd +0 -1
  362. data/spec/integration/shell/ungroup/ungroup_0.stdout +0 -16
  363. data/spec/integration/shell/union/union_0.cmd +0 -1
  364. data/spec/integration/shell/union/union_0.stdout +0 -9
  365. data/spec/integration/shell/unwrap/unwrap_0.cmd +0 -1
  366. data/spec/integration/shell/unwrap/unwrap_0.stdout +0 -9
  367. data/spec/integration/shell/wrap/wrap_0.cmd +0 -1
  368. data/spec/integration/shell/wrap/wrap_0.stdout +0 -9
  369. data/spec/integration/test_alf.rb +0 -34
  370. data/spec/integration/test_examples.rb +0 -15
  371. data/spec/integration/test_lispy.rb +0 -31
  372. data/spec/integration/test_semantics.rb +0 -40
  373. data/spec/integration/test_shell.rb +0 -47
  374. data/spec/regression/alf_file/__FILE__.alf +0 -2
  375. data/spec/regression/alf_file/suppliers.rash +0 -5
  376. data/spec/regression/alf_file/test___FILE__.rb +0 -17
  377. data/spec/regression/heading/test_heading_with_date.rb +0 -12
  378. data/spec/regression/lispy/test_compile.rb +0 -14
  379. data/spec/regression/logs/apache_combined.log +0 -5
  380. data/spec/regression/logs/test_path_attribute.rb +0 -25
  381. data/spec/regression/relation/test_relation_allbut_all.rb +0 -14
  382. data/spec/regression/relation/test_relation_with_date.rb +0 -12
  383. data/spec/regression/restrict/test_restrict_with_keywords.rb +0 -17
  384. data/spec/shared/a_valid_type_implementation.rb +0 -47
  385. data/spec/shared/a_value.rb +0 -12
  386. data/spec/shared/an_operator_class.rb +0 -36
  387. data/spec/unit/alf-core/aggregator/test_avg.rb +0 -22
  388. data/spec/unit/alf-core/aggregator/test_collect.rb +0 -25
  389. data/spec/unit/alf-core/aggregator/test_concat.rb +0 -31
  390. data/spec/unit/alf-core/aggregator/test_count.rb +0 -17
  391. data/spec/unit/alf-core/aggregator/test_max.rb +0 -23
  392. data/spec/unit/alf-core/aggregator/test_min.rb +0 -23
  393. data/spec/unit/alf-core/aggregator/test_stddev.rb +0 -27
  394. data/spec/unit/alf-core/aggregator/test_sum.rb +0 -23
  395. data/spec/unit/alf-core/aggregator/test_variance.rb +0 -29
  396. data/spec/unit/alf-core/assumptions/test_file.rb +0 -17
  397. data/spec/unit/alf-core/assumptions/test_instance_eval.rb +0 -15
  398. data/spec/unit/alf-core/assumptions/test_scoping.rb +0 -29
  399. data/spec/unit/alf-core/assumptions/test_set.rb +0 -64
  400. data/spec/unit/alf-core/environment/examples/suppliers.rash +0 -5
  401. data/spec/unit/alf-core/environment/test_folder.rb +0 -53
  402. data/spec/unit/alf-core/operator/non_relational/test_autonum.rb +0 -48
  403. data/spec/unit/alf-core/operator/non_relational/test_clip.rb +0 -35
  404. data/spec/unit/alf-core/operator/non_relational/test_coerce.rb +0 -29
  405. data/spec/unit/alf-core/operator/non_relational/test_compact.rb +0 -32
  406. data/spec/unit/alf-core/operator/non_relational/test_defaults.rb +0 -53
  407. data/spec/unit/alf-core/operator/non_relational/test_generator.rb +0 -60
  408. data/spec/unit/alf-core/operator/non_relational/test_sort.rb +0 -60
  409. data/spec/unit/alf-core/operator/relational/test_extend.rb +0 -28
  410. data/spec/unit/alf-core/operator/relational/test_group.rb +0 -39
  411. data/spec/unit/alf-core/operator/relational/test_heading.rb +0 -27
  412. data/spec/unit/alf-core/operator/relational/test_intersect.rb +0 -58
  413. data/spec/unit/alf-core/operator/relational/test_join.rb +0 -36
  414. data/spec/unit/alf-core/operator/relational/test_minus.rb +0 -56
  415. data/spec/unit/alf-core/operator/relational/test_project.rb +0 -62
  416. data/spec/unit/alf-core/operator/relational/test_quota.rb +0 -36
  417. data/spec/unit/alf-core/operator/relational/test_rank.rb +0 -48
  418. data/spec/unit/alf-core/operator/relational/test_rename.rb +0 -26
  419. data/spec/unit/alf-core/operator/relational/test_restrict.rb +0 -45
  420. data/spec/unit/alf-core/operator/relational/test_summarize.rb +0 -44
  421. data/spec/unit/alf-core/operator/relational/test_ungroup.rb +0 -29
  422. data/spec/unit/alf-core/operator/relational/test_union.rb +0 -35
  423. data/spec/unit/alf-core/operator/relational/test_unwrap.rb +0 -26
  424. data/spec/unit/alf-core/operator/relational/test_wrap.rb +0 -26
  425. data/spec/unit/alf-core/operator/signature/test_argv2args.rb +0 -82
  426. data/spec/unit/alf-core/operator/signature/test_collect_on.rb +0 -38
  427. data/spec/unit/alf-core/operator/signature/test_initialize.rb +0 -17
  428. data/spec/unit/alf-core/operator/signature/test_install.rb +0 -56
  429. data/spec/unit/alf-core/operator/signature/test_option_parser.rb +0 -36
  430. data/spec/unit/alf-core/operator/signature/test_parse_args.rb +0 -90
  431. data/spec/unit/alf-core/operator/signature/test_to_lispy.rb +0 -102
  432. data/spec/unit/alf-core/operator/signature/test_to_shell.rb +0 -103
  433. data/spec/unit/alf-core/operator/test_non_relational.rb +0 -20
  434. data/spec/unit/alf-core/operator/test_relational.rb +0 -31
  435. data/spec/unit/alf-core/reader/input.rb +0 -2
  436. data/spec/unit/alf-core/reader/test_alf_file.rb +0 -30
  437. data/spec/unit/alf-core/reader/test_initialize.rb +0 -60
  438. data/spec/unit/alf-core/reader/test_looks_a_path.rb +0 -20
  439. data/spec/unit/alf-core/reader/test_rash.rb +0 -31
  440. data/spec/unit/alf-core/relation/test_coerce.rb +0 -53
  441. data/spec/unit/alf-core/relation/test_inspect.rb +0 -20
  442. data/spec/unit/alf-core/relation/test_relops.rb +0 -55
  443. data/spec/unit/alf-core/relation/test_to_a.rb +0 -41
  444. data/spec/unit/alf-core/renderer/test_initialize.rb +0 -60
  445. data/spec/unit/alf-core/test_aggregator.rb +0 -58
  446. data/spec/unit/alf-core/test_environment.rb +0 -30
  447. data/spec/unit/alf-core/test_operator.rb +0 -16
  448. data/spec/unit/alf-core/test_reader.rb +0 -40
  449. data/spec/unit/alf-core/test_relation.rb +0 -75
  450. data/spec/unit/alf-core/test_renderer.rb +0 -53
  451. data/spec/unit/alf-core/text/test_cell.rb +0 -35
  452. data/spec/unit/alf-core/text/test_row.rb +0 -30
  453. data/spec/unit/alf-core/text/test_table.rb +0 -39
  454. data/spec/unit/alf-core/tools/test_class_name.rb +0 -16
  455. data/spec/unit/alf-core/tools/test_coalesce.rb +0 -19
  456. data/spec/unit/alf-core/tools/test_coerce.rb +0 -16
  457. data/spec/unit/alf-core/tools/test_ruby_case.rb +0 -16
  458. data/spec/unit/alf-core/tools/test_to_lispy.rb +0 -145
  459. data/spec/unit/alf-core/tools/test_to_relation.rb +0 -39
  460. data/spec/unit/alf-core/tools/test_to_ruby_literal.rb +0 -10
  461. data/spec/unit/alf-core/tools/test_tuple_handle.rb +0 -52
  462. data/spec/unit/alf-core/tools/test_tuple_heading.rb +0 -15
  463. data/spec/unit/alf-core/tools/test_varargs.rb +0 -19
  464. data/spec/unit/alf-core/types/test_attr_list.rb +0 -188
  465. data/spec/unit/alf-core/types/test_attr_name.rb +0 -78
  466. data/spec/unit/alf-core/types/test_boolean.rb +0 -42
  467. data/spec/unit/alf-core/types/test_class_methods.rb +0 -24
  468. data/spec/unit/alf-core/types/test_heading.rb +0 -146
  469. data/spec/unit/alf-core/types/test_ordering.rb +0 -185
  470. data/spec/unit/alf-core/types/test_renaming.rb +0 -72
  471. data/spec/unit/alf-core/types/test_size.rb +0 -74
  472. data/spec/unit/alf-core/types/test_summarization.rb +0 -95
  473. data/spec/unit/alf-core/types/test_tuple_computation.rb +0 -96
  474. data/spec/unit/alf-core/types/test_tuple_expression.rb +0 -122
  475. data/spec/unit/alf-core/types/test_tuple_predicate.rb +0 -108
  476. data/spec/unit/alf-csv/input.csv +0 -3
  477. data/spec/unit/alf-csv/test_reader.rb +0 -66
  478. data/spec/unit/alf-csv/test_renderer.rb +0 -73
  479. data/spec/unit/alf-engine/compact/test_set.rb +0 -33
  480. data/spec/unit/alf-engine/compact/test_uniq.rb +0 -33
  481. data/spec/unit/alf-engine/group/test_hash.rb +0 -34
  482. data/spec/unit/alf-engine/join/test_hash.rb +0 -55
  483. data/spec/unit/alf-engine/materialize/test_array.rb +0 -28
  484. data/spec/unit/alf-engine/materialize/test_hash.rb +0 -76
  485. data/spec/unit/alf-engine/quota/test_cesure.rb +0 -34
  486. data/spec/unit/alf-engine/rank/test_cesure.rb +0 -47
  487. data/spec/unit/alf-engine/semi/test_hash.rb +0 -58
  488. data/spec/unit/alf-engine/sort/test_in_memory.rb +0 -32
  489. data/spec/unit/alf-engine/summarize/test_cesure.rb +0 -36
  490. data/spec/unit/alf-engine/summarize/test_hash.rb +0 -36
  491. data/spec/unit/alf-engine/test_aggregate.rb +0 -26
  492. data/spec/unit/alf-engine/test_autonum.rb +0 -24
  493. data/spec/unit/alf-engine/test_clip.rb +0 -34
  494. data/spec/unit/alf-engine/test_coerce.rb +0 -35
  495. data/spec/unit/alf-engine/test_compact.rb +0 -33
  496. data/spec/unit/alf-engine/test_concat.rb +0 -38
  497. data/spec/unit/alf-engine/test_defaults.rb +0 -37
  498. data/spec/unit/alf-engine/test_filter.rb +0 -23
  499. data/spec/unit/alf-engine/test_generator.rb +0 -25
  500. data/spec/unit/alf-engine/test_rename.rb +0 -24
  501. data/spec/unit/alf-engine/test_set_attr.rb +0 -38
  502. data/spec/unit/alf-engine/test_sort.rb +0 -32
  503. data/spec/unit/alf-engine/test_ungroup.rb +0 -28
  504. data/spec/unit/alf-engine/test_unwrap.rb +0 -20
  505. data/spec/unit/alf-engine/test_wrap.rb +0 -26
  506. data/spec/unit/alf-logs/apache_combined.log +0 -5
  507. data/spec/unit/alf-logs/postgresql.log +0 -29
  508. data/spec/unit/alf-logs/test_reader.rb +0 -57
  509. data/spec/unit/alf-sequel/alf.db +0 -0
  510. data/spec/unit/alf-sequel/test_environment.rb +0 -74
  511. data/spec/unit/alf-shell/doc_manager/dynamic.md +0 -1
  512. data/spec/unit/alf-shell/doc_manager/example.md +0 -1
  513. data/spec/unit/alf-shell/doc_manager/example_1.txt +0 -11
  514. data/spec/unit/alf-shell/doc_manager/static.md +0 -1
  515. data/spec/unit/alf-shell/doc_manager/test_call.rb +0 -48
  516. data/spec/unit/alf-shell/main/test_class_methods.rb +0 -44
  517. data/spec/unit/alf-shell/operator/test_autonum.rb +0 -28
  518. data/spec/unit/alf-shell/operator/test_clip.rb +0 -29
  519. data/spec/unit/alf-shell/operator/test_coerce.rb +0 -21
  520. data/spec/unit/alf-shell/operator/test_compact.rb +0 -16
  521. data/spec/unit/alf-shell/operator/test_defaults.rb +0 -29
  522. data/spec/unit/alf-shell/operator/test_extend.rb +0 -21
  523. data/spec/unit/alf-shell/operator/test_generator.rb +0 -37
  524. data/spec/unit/alf-shell/operator/test_group.rb +0 -32
  525. data/spec/unit/alf-shell/operator/test_heading.rb +0 -16
  526. data/spec/unit/alf-shell/operator/test_intersect.rb +0 -18
  527. data/spec/unit/alf-shell/operator/test_join.rb +0 -18
  528. data/spec/unit/alf-shell/operator/test_matching.rb +0 -18
  529. data/spec/unit/alf-shell/operator/test_minus.rb +0 -18
  530. data/spec/unit/alf-shell/operator/test_not_matching.rb +0 -18
  531. data/spec/unit/alf-shell/operator/test_project.rb +0 -38
  532. data/spec/unit/alf-shell/operator/test_quota.rb +0 -23
  533. data/spec/unit/alf-shell/operator/test_rank.rb +0 -30
  534. data/spec/unit/alf-shell/operator/test_rename.rb +0 -21
  535. data/spec/unit/alf-shell/operator/test_restrict.rb +0 -35
  536. data/spec/unit/alf-shell/operator/test_sort.rb +0 -49
  537. data/spec/unit/alf-shell/operator/test_summarize.rb +0 -30
  538. data/spec/unit/alf-shell/operator/test_ungroup.rb +0 -28
  539. data/spec/unit/alf-shell/operator/test_union.rb +0 -18
  540. data/spec/unit/alf-shell/operator/test_unwrap.rb +0 -28
  541. data/spec/unit/alf-shell/operator/test_wrap.rb +0 -30
  542. data/tasks/clean.rake +0 -3
  543. data/tasks/debug_mail.rake +0 -75
  544. data/tasks/debug_mail.txt +0 -18
  545. data/tasks/gh-pages.rake +0 -68
  546. data/tasks/integration_test.rake +0 -43
  547. data/tasks/regression_test.rake +0 -44
  548. data/tasks/unit_test.rake +0 -44
  549. data/tasks/yard.rake +0 -51
@@ -27,7 +27,7 @@ Gem::Specification.new do |s|
27
27
  #
28
28
  # The description should be more detailed than the summary. For example,
29
29
  # you might wish to copy the entire README into the description.
30
- s.description = "Alf brings the relational algebra both in Shell and in Ruby. In Shell, because \nmanipulating any relation-like data source should be as straightforward as a \none-liner. In Ruby, because I've never understood why programming languages \nprovide data structures like arrays, hashes, sets, trees and graphs but not \n_relations_... Let's stop the segregation ;-)"
30
+ s.description = "Alf brings a beautiful yet powerful relational algebra to the Shell and to Ruby."
31
31
 
32
32
  # The URL of this gem home page (optional)
33
33
  s.homepage = "http://blambeau.github.com/alf"
@@ -123,20 +123,11 @@ Gem::Specification.new do |s|
123
123
  # One call to add_development_dependency('gem_name', 'gem version requirement')
124
124
  # for each development dependency. These gems are required for developers
125
125
  #
126
- s.add_development_dependency("rake", "~> 0.9.2")
127
- s.add_development_dependency("rspec", "~> 2.8.0")
128
- s.add_development_dependency("wlang", "~> 0.10.2")
129
- s.add_development_dependency("yard", "~> 0.7.2")
130
- s.add_development_dependency("bluecloth", "~> 2.2.0")
131
- s.add_development_dependency("redcarpet", "~> 2.1.0")
132
- s.add_development_dependency("fastercsv", "~> 1.5.4")
133
- s.add_development_dependency("request-log-analyzer", "~> 1.11.0")
134
- s.add_development_dependency("sequel", "~> 3.30")
135
- s.add_development_dependency("sqlite3", "~> 1.3.0")
136
- s.add_development_dependency("highline", "~> 1.6.2")
137
- s.add_dependency("quickl", "~> 0.4.2")
138
- s.add_dependency("myrrha", "~> 1.2.1")
139
- s.add_dependency("backports", "~> 2.6")
126
+ s.add_development_dependency("rake", "~> 10.1")
127
+ s.add_development_dependency("rspec", "~> 2.14")
128
+ s.add_dependency("alf-core", "~> 0.13.0")
129
+ s.add_dependency("alf-sequel", "~> 0.13.0")
130
+ s.add_dependency("alf-shell", "~> 0.13.1")
140
131
 
141
132
  # The version of ruby required by this gem
142
133
  #
@@ -1,54 +1,36 @@
1
1
  template-info:
2
2
  name: "rubygem.noe"
3
- version: 1.7.4
3
+ version: 1.7.6
4
4
  manifest:
5
+ Gemfile:
6
+ safe-override: false
5
7
  tasks/spec_test.rake:
6
8
  ignore: true
7
- spec/test___lower__.rb:
8
- ignore: true
9
- tasks/unit_test.rake:
10
- safe-override: false
11
- tasks/debug_mail.txt:
12
- safe-override: false
13
- lib/__lower__/loader.rb:
9
+ spec/spec_helper:
14
10
  ignore: true
15
- Gemfile:
11
+ spec/test_alf:
16
12
  ignore: true
17
13
  variables:
18
- lower:
14
+ lower:
19
15
  alf
20
16
  upper:
21
17
  Alf
22
18
  version:
23
- 0.12.2
19
+ 0.13.0
24
20
  summary: |-
25
21
  Relational Algebra at your fingertips
26
22
  description: |-
27
- Alf brings the relational algebra both in Shell and in Ruby. In Shell, because
28
- manipulating any relation-like data source should be as straightforward as a
29
- one-liner. In Ruby, because I've never understood why programming languages
30
- provide data structures like arrays, hashes, sets, trees and graphs but not
31
- _relations_... Let's stop the segregation ;-)
32
- authors:
23
+ Alf brings a beautiful yet powerful relational algebra to the Shell and to Ruby.
24
+ authors:
33
25
  - {name: Bernard Lambeau, email: blambeau@gmail.com}
34
26
  links:
35
27
  - http://blambeau.github.com/alf
36
- - http://github.com/blambeau/alf
28
+ - http://github.com/alf-tool/alf
37
29
  - http://rubygems.org/gems/alf
38
30
  - http://rubydoc.info/gems/alf
39
- dependencies:
40
- - {name: quickl, version: "~> 0.4.2", groups: [runtime ]}
41
- - {name: myrrha, version: "~> 1.2.1", groups: [runtime ]}
42
- - {name: backports, version: "~> 2.6", groups: [runtime ]}
43
- - {name: rake, version: "~> 0.9.2", groups: [test, release]}
44
- - {name: rspec, version: "~> 2.8.0", groups: [test, release]}
45
- - {name: wlang, version: "~> 0.10.2", groups: [release ]}
46
- - {name: yard, version: "~> 0.7.2", groups: [doc ]}
47
- - {name: bluecloth, version: "~> 2.2.0", groups: [doc ]}
48
- - {name: redcarpet, version: "~> 2.1.0", groups: [doc ]}
49
- - {name: fastercsv, version: "~> 1.5.4", groups: [extra ]}
50
- - {name: request-log-analyzer, version: "~> 1.11.0", groups: [extra]}
51
- - {name: sequel, version: "~> 3.30", groups: [extra ]}
52
- - {name: sqlite3, version: "~> 1.3.0", groups: [extra ]}
53
- - {name: highline, version: "~> 1.6.2", groups: [extra ]}
54
-
31
+ dependencies:
32
+ - {name: alf-core, version: "~> 0.13.0", groups: [runtime]}
33
+ - {name: alf-sequel, version: "~> 0.13.0", groups: [runtime]}
34
+ - {name: alf-shell, version: "~> 0.13.1", groups: [runtime]}
35
+ - {name: rake, version: "~> 10.1", groups: [test, release]}
36
+ - {name: rspec, version: "~> 2.14", groups: [test, release]}
data/lib/alf.rb CHANGED
@@ -1,78 +1,8 @@
1
- require "alf/version"
2
- require "alf/loader"
3
- require "alf/errors"
4
-
5
- require "enumerator"
6
- require "stringio"
7
- require "set"
8
-
9
- require 'myrrha/to_ruby_literal'
10
- require 'myrrha/coerce'
11
-
12
1
  #
13
- # Classy data-manipulation dressed in a DSL (+ commandline)
2
+ # Relational Algebra at your fingertips
14
3
  #
15
4
  module Alf
16
- require 'alf/types'
17
- require 'alf/tools'
18
- require 'alf/environment'
19
- require 'alf/iterator'
20
- require 'alf/reader'
21
- require 'alf/renderer'
22
- require 'alf/operator'
23
- require 'alf-shell/alf/shell'
24
- require 'alf/aggregator'
25
- require 'alf/relation'
26
- require 'alf/lispy'
27
- require 'alf/ext'
28
5
 
29
- #
30
- # Builds and returns a lispy engine on a specific environment.
31
- #
32
- # Example(s):
33
- #
34
- # # Returns a lispy instance on the default environment
35
- # lispy = Alf.lispy
36
- #
37
- # # Returns a lispy instance on the examples' environment
38
- # lispy = Alf.lispy(Alf::Environment.examples)
39
- #
40
- # # Returns a lispy instance on a folder environment of your choice
41
- # lispy = Alf.lispy(Alf::Environment.folder('path/to/a/folder'))
42
- #
43
- # @see Alf::Environment about available environments and their contract
44
- #
45
- def self.lispy(env = Environment.default)
46
- lispy = Object.new.extend(Lispy)
47
- lispy.environment = Environment.coerce(env)
48
- lispy
49
- end
50
-
51
- #
52
- # Coerces some arguments to a relation.
53
- #
54
- # The following coercions are supported:
55
- #
56
- # Alf::Relation(x)
57
- # # x.to_relation if it exists
58
- #
59
- # Alf::Relation(:attr => [val1, ..., valn])
60
- # # Relation([{:attr => val1}, ..., {:attr => valn}])
61
- #
62
- # Alf::Relation(:attr1 => val1, ..., :attrn => valn)
63
- # # Relation([{:attr1 => val1, ..., :attrn => valn}])
64
- #
65
- # Alf::Relation([ {...}, ..., {...} ])
66
- # # the common coercion from an array of tuples
67
- #
68
- def self.Relation(*args)
69
- Alf::Tools.to_relation(*args)
70
- end
71
-
72
6
  end # module Alf
73
-
74
- require_relative "alf-engine/alf/engine"
75
- require_relative "alf-sequel/alf/sequel"
76
- require_relative 'alf-yaml/alf/yaml'
77
- require_relative 'alf-csv/alf/csv'
78
- require_relative 'alf-logs/alf/logs'
7
+ require "alf/version"
8
+ require "alf/loader"
@@ -1,3 +1,3 @@
1
- require "quickl"
2
- require "myrrha"
3
- require "backports" if RUBY_VERSION <= "1.9"
1
+ require "alf-core"
2
+ require "alf-sequel"
3
+ require "alf-shell"
@@ -2,8 +2,8 @@ module Alf
2
2
  module Version
3
3
 
4
4
  MAJOR = 0
5
- MINOR = 12
6
- TINY = 2
5
+ MINOR = 13
6
+ TINY = 0
7
7
 
8
8
  def self.to_s
9
9
  [ MAJOR, MINOR, TINY ].join('.')
@@ -1,24 +1,9 @@
1
1
  $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
2
2
  require 'alf'
3
- require "rspec"
4
3
 
5
- Alf::Lispy.extend(Alf::Lispy)
6
-
7
- def _(path, file)
8
- File.expand_path("../#{path}", file)
9
- end
10
-
11
- def wlang(str, binding)
12
- str.gsub(/\$\(([\S]+)\)/){ Kernel.eval($1, binding) }
4
+ module SpecHelpers
13
5
  end
14
6
 
15
- require 'shared/an_operator_class'
16
- require 'shared/a_valid_type_implementation'
17
- require 'shared/a_value'
18
-
19
- RSpec.configure do |config|
20
- config.treat_symbols_as_metadata_keys_with_true_values = true
21
- config.filter_run :hash_ordering => lambda{|val|
22
- not(val) or (RUBY_VERSION >= "1.9")
23
- }
7
+ RSpec.configure do |c|
8
+ c.include SpecHelpers
24
9
  end
@@ -0,0 +1,8 @@
1
+ require 'spec_helper'
2
+ describe Alf do
3
+
4
+ it "should have a version number" do
5
+ Alf.const_defined?(:VERSION).should be_true
6
+ end
7
+
8
+ end
@@ -0,0 +1,6 @@
1
+ require "rspec/core/rake_task"
2
+ desc "Run rspec integration tests"
3
+ RSpec::Core::RakeTask.new(:test) do |t|
4
+ t.pattern = "test/**/test_*.rb"
5
+ t.rspec_opts = ["--color", "--backtrace", "-Ilib", "-Itest"]
6
+ end
@@ -0,0 +1,18 @@
1
+ require 'test_helpers'
2
+ describe "Migrations with a folder adapter" do
3
+
4
+ let(:db){
5
+ Alf.database(Path.dir)
6
+ }
7
+
8
+ subject{
9
+ db.connect{|conn| conn.migrate! }
10
+ }
11
+
12
+ it 'fails with an not supported error' do
13
+ lambda{
14
+ subject
15
+ }.should raise_error(Alf::NotSupportedError, /Unable to migrate/)
16
+ end
17
+
18
+ end
@@ -0,0 +1,34 @@
1
+ require 'test_helpers'
2
+ describe "Migrations with a Sequel adapter" do
3
+
4
+ let(:db){
5
+ Alf.database(victim.conn_spec, opts)
6
+ }
7
+
8
+ context 'when no migration folder is set' do
9
+
10
+ let(:opts){ {} }
11
+
12
+ it 'fails with a clear message' do
13
+ lambda{
14
+ db.connect{|conn| conn.migrate! }
15
+ }.should raise_error(Alf::ConfigError, /Migrations folder not set/)
16
+ end
17
+ end
18
+
19
+ context 'when a migration folder is set' do
20
+
21
+ let(:opts){
22
+ { migrations_folder: fixtures_folder/"suppliers-and-parts/migrations" }
23
+ }
24
+
25
+ it 'runs the migrations' do
26
+ db.connect do |conn|
27
+ conn.knows?(:suppliers).should be_false
28
+ conn.migrate!
29
+ conn.knows?(:suppliers).should be_true
30
+ end
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,49 @@
1
+ require 'test_helpers'
2
+ describe "Seeding with a complete folder" do
3
+ pending do
4
+ let(:db_opts){
5
+ opts.merge(migrations_folder: fixtures_folder/"suppliers-and-parts/migrations")
6
+ }
7
+
8
+ let(:db){
9
+ Alf.database(victim.conn_spec,db_opts)
10
+ }
11
+
12
+ let(:conn){
13
+ db.connection
14
+ }
15
+
16
+ before do
17
+ conn.migrate!
18
+ conn.knows?(:suppliers).should be_true
19
+ end
20
+
21
+ after do
22
+ conn.close if conn
23
+ end
24
+
25
+ context 'when no seeds folder is set' do
26
+
27
+ let(:opts){ {} }
28
+
29
+ it 'fails with a clear message' do
30
+ lambda{
31
+ db.connect{|conn| conn.seed!(:base) }
32
+ }.should raise_error(Alf::ConfigError, /No seeds folder set/)
33
+ end
34
+ end
35
+
36
+ context 'when a seeds folder is set' do
37
+
38
+ let(:opts){
39
+ { seeds_folder: fixtures_folder/"suppliers-and-parts/seeds" }
40
+ }
41
+
42
+ it 'seeds the database when a seed name is provided' do
43
+ conn.seed!
44
+ conn.query{ suppliers }.size.should eq(5)
45
+ end
46
+ end
47
+
48
+ end
49
+ end
@@ -0,0 +1,8 @@
1
+ require 'test_helpers'
2
+ describe Alf do
3
+
4
+ it "should have a version number" do
5
+ Alf.const_defined?(:VERSION).should be_true
6
+ end
7
+
8
+ end
@@ -0,0 +1,24 @@
1
+ require 'alf'
2
+ require 'rspec'
3
+
4
+ module Alf::IntegrationTestHelpers
5
+
6
+ def fixtures_folder
7
+ Path.backfind("fixtures")
8
+ end
9
+
10
+ class Victim
11
+
12
+ def conn_spec
13
+ ENV['ALF_VICTIM_CONN_SPEC'] || "#{Alf::Sequel::Adapter.sqlite_protocol}:memory"
14
+ end
15
+ end
16
+
17
+ def victim
18
+ @victim ||= Victim.new
19
+ end
20
+ end
21
+
22
+ RSpec.configure do |c|
23
+ c.include(Alf::IntegrationTestHelpers)
24
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.13.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,720 +9,120 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-06-12 00:00:00.000000000Z
12
+ date: 2013-07-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70195349605660 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
20
20
  - !ruby/object:Gem::Version
21
- version: 0.9.2
21
+ version: '10.1'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70195349605660
25
- - !ruby/object:Gem::Dependency
26
- name: rspec
27
- requirement: &70195349605160 !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
30
- - - ~>
31
- - !ruby/object:Gem::Version
32
- version: 2.8.0
33
- type: :development
34
- prerelease: false
35
- version_requirements: *70195349605160
36
- - !ruby/object:Gem::Dependency
37
- name: wlang
38
- requirement: &70195349604700 !ruby/object:Gem::Requirement
24
+ version_requirements: !ruby/object:Gem::Requirement
39
25
  none: false
40
26
  requirements:
41
27
  - - ~>
42
28
  - !ruby/object:Gem::Version
43
- version: 0.10.2
44
- type: :development
45
- prerelease: false
46
- version_requirements: *70195349604700
29
+ version: '10.1'
47
30
  - !ruby/object:Gem::Dependency
48
- name: yard
49
- requirement: &70195349604240 !ruby/object:Gem::Requirement
50
- none: false
51
- requirements:
52
- - - ~>
53
- - !ruby/object:Gem::Version
54
- version: 0.7.2
55
- type: :development
56
- prerelease: false
57
- version_requirements: *70195349604240
58
- - !ruby/object:Gem::Dependency
59
- name: bluecloth
60
- requirement: &70195349603780 !ruby/object:Gem::Requirement
61
- none: false
62
- requirements:
63
- - - ~>
64
- - !ruby/object:Gem::Version
65
- version: 2.2.0
66
- type: :development
67
- prerelease: false
68
- version_requirements: *70195349603780
69
- - !ruby/object:Gem::Dependency
70
- name: redcarpet
71
- requirement: &70195349603320 !ruby/object:Gem::Requirement
72
- none: false
73
- requirements:
74
- - - ~>
75
- - !ruby/object:Gem::Version
76
- version: 2.1.0
77
- type: :development
78
- prerelease: false
79
- version_requirements: *70195349603320
80
- - !ruby/object:Gem::Dependency
81
- name: fastercsv
82
- requirement: &70195349602860 !ruby/object:Gem::Requirement
31
+ name: rspec
32
+ requirement: !ruby/object:Gem::Requirement
83
33
  none: false
84
34
  requirements:
85
35
  - - ~>
86
36
  - !ruby/object:Gem::Version
87
- version: 1.5.4
37
+ version: '2.14'
88
38
  type: :development
89
39
  prerelease: false
90
- version_requirements: *70195349602860
91
- - !ruby/object:Gem::Dependency
92
- name: request-log-analyzer
93
- requirement: &70195349602400 !ruby/object:Gem::Requirement
40
+ version_requirements: !ruby/object:Gem::Requirement
94
41
  none: false
95
42
  requirements:
96
43
  - - ~>
97
44
  - !ruby/object:Gem::Version
98
- version: 1.11.0
99
- type: :development
100
- prerelease: false
101
- version_requirements: *70195349602400
45
+ version: '2.14'
102
46
  - !ruby/object:Gem::Dependency
103
- name: sequel
104
- requirement: &70195349601940 !ruby/object:Gem::Requirement
47
+ name: alf-core
48
+ requirement: !ruby/object:Gem::Requirement
105
49
  none: false
106
50
  requirements:
107
51
  - - ~>
108
52
  - !ruby/object:Gem::Version
109
- version: '3.30'
110
- type: :development
53
+ version: 0.13.0
54
+ type: :runtime
111
55
  prerelease: false
112
- version_requirements: *70195349601940
113
- - !ruby/object:Gem::Dependency
114
- name: sqlite3
115
- requirement: &70195349621940 !ruby/object:Gem::Requirement
56
+ version_requirements: !ruby/object:Gem::Requirement
116
57
  none: false
117
58
  requirements:
118
59
  - - ~>
119
60
  - !ruby/object:Gem::Version
120
- version: 1.3.0
121
- type: :development
122
- prerelease: false
123
- version_requirements: *70195349621940
61
+ version: 0.13.0
124
62
  - !ruby/object:Gem::Dependency
125
- name: highline
126
- requirement: &70195349621480 !ruby/object:Gem::Requirement
63
+ name: alf-sequel
64
+ requirement: !ruby/object:Gem::Requirement
127
65
  none: false
128
66
  requirements:
129
67
  - - ~>
130
68
  - !ruby/object:Gem::Version
131
- version: 1.6.2
132
- type: :development
69
+ version: 0.13.0
70
+ type: :runtime
133
71
  prerelease: false
134
- version_requirements: *70195349621480
135
- - !ruby/object:Gem::Dependency
136
- name: quickl
137
- requirement: &70195349621020 !ruby/object:Gem::Requirement
72
+ version_requirements: !ruby/object:Gem::Requirement
138
73
  none: false
139
74
  requirements:
140
75
  - - ~>
141
76
  - !ruby/object:Gem::Version
142
- version: 0.4.2
143
- type: :runtime
144
- prerelease: false
145
- version_requirements: *70195349621020
77
+ version: 0.13.0
146
78
  - !ruby/object:Gem::Dependency
147
- name: myrrha
148
- requirement: &70195349620560 !ruby/object:Gem::Requirement
79
+ name: alf-shell
80
+ requirement: !ruby/object:Gem::Requirement
149
81
  none: false
150
82
  requirements:
151
83
  - - ~>
152
84
  - !ruby/object:Gem::Version
153
- version: 1.2.1
85
+ version: 0.13.1
154
86
  type: :runtime
155
87
  prerelease: false
156
- version_requirements: *70195349620560
157
- - !ruby/object:Gem::Dependency
158
- name: backports
159
- requirement: &70195349620100 !ruby/object:Gem::Requirement
88
+ version_requirements: !ruby/object:Gem::Requirement
160
89
  none: false
161
90
  requirements:
162
91
  - - ~>
163
92
  - !ruby/object:Gem::Version
164
- version: '2.6'
165
- type: :runtime
166
- prerelease: false
167
- version_requirements: *70195349620100
168
- description: ! "Alf brings the relational algebra both in Shell and in Ruby. In Shell,
169
- because \nmanipulating any relation-like data source should be as straightforward
170
- as a \none-liner. In Ruby, because I've never understood why programming languages
171
- \nprovide data structures like arrays, hashes, sets, trees and graphs but not \n_relations_...
172
- Let's stop the segregation ;-)"
93
+ version: 0.13.1
94
+ description: Alf brings a beautiful yet powerful relational algebra to the Shell and
95
+ to Ruby.
173
96
  email:
174
97
  - blambeau@gmail.com
175
- executables:
176
- - alf
98
+ executables: []
177
99
  extensions: []
178
100
  extra_rdoc_files:
179
101
  - README.md
180
102
  - CHANGELOG.md
181
103
  - LICENCE.md
182
104
  files:
183
- - bin/alf
184
- - doc/commands/exec.md
185
- - doc/commands/help.md
186
- - doc/commands/main.md
187
- - doc/commands/show.md
188
- - doc/operators/non_relational/autonum.md
189
- - doc/operators/non_relational/clip.md
190
- - doc/operators/non_relational/coerce.md
191
- - doc/operators/non_relational/compact.md
192
- - doc/operators/non_relational/defaults.md
193
- - doc/operators/non_relational/generator.md
194
- - doc/operators/non_relational/sort.md
195
- - doc/operators/relational/extend.md
196
- - doc/operators/relational/group.md
197
- - doc/operators/relational/heading.md
198
- - doc/operators/relational/intersect.md
199
- - doc/operators/relational/join.md
200
- - doc/operators/relational/matching.md
201
- - doc/operators/relational/minus.md
202
- - doc/operators/relational/not-matching.md
203
- - doc/operators/relational/project.md
204
- - doc/operators/relational/quota.md
205
- - doc/operators/relational/rank.md
206
- - doc/operators/relational/rename.md
207
- - doc/operators/relational/restrict.md
208
- - doc/operators/relational/summarize.md
209
- - doc/operators/relational/ungroup.md
210
- - doc/operators/relational/union.md
211
- - doc/operators/relational/unwrap.md
212
- - doc/operators/relational/wrap.md
213
- - examples/csv/suppliers.csv
214
- - examples/logs/access.log
215
- - examples/logs/combined.alf
216
- - examples/logs/hits.alf
217
- - examples/logs/not_found.alf
218
- - examples/logs/robots-cheating.alf
219
- - examples/logs/robots.alf
220
- - examples/operators/autonum.alf
221
- - examples/operators/cities.rash
222
- - examples/operators/clip.alf
223
- - examples/operators/compact.alf
224
- - examples/operators/database.alf
225
- - examples/operators/defaults.alf
226
- - examples/operators/extend.alf
227
- - examples/operators/group.alf
228
- - examples/operators/intersect.alf
229
- - examples/operators/join.alf
230
- - examples/operators/matching.alf
231
- - examples/operators/minus.alf
232
- - examples/operators/not_matching.alf
233
- - examples/operators/nulls.rash
234
- - examples/operators/parts.rash
235
- - examples/operators/project.alf
236
- - examples/operators/pseudo-with.alf
237
- - examples/operators/quota.alf
238
- - examples/operators/rank.alf
239
- - examples/operators/rename.alf
240
- - examples/operators/restrict.alf
241
- - examples/operators/schema.yaml
242
- - examples/operators/sort.alf
243
- - examples/operators/summarize.alf
244
- - examples/operators/suppliers.rash
245
- - examples/operators/supplies.rash
246
- - examples/operators/ungroup.alf
247
- - examples/operators/union.alf
248
- - examples/operators/unwrap.alf
249
- - examples/operators/wrap.alf
250
- - lib/alf/aggregator/avg.rb
251
- - lib/alf/aggregator/class_methods.rb
252
- - lib/alf/aggregator/collect.rb
253
- - lib/alf/aggregator/concat.rb
254
- - lib/alf/aggregator/count.rb
255
- - lib/alf/aggregator/instance_methods.rb
256
- - lib/alf/aggregator/max.rb
257
- - lib/alf/aggregator/min.rb
258
- - lib/alf/aggregator/stddev.rb
259
- - lib/alf/aggregator/sum.rb
260
- - lib/alf/aggregator/variance.rb
261
- - lib/alf/aggregator.rb
262
- - lib/alf/environment/class_methods.rb
263
- - lib/alf/environment/folder.rb
264
- - lib/alf/environment/instance_methods.rb
265
- - lib/alf/environment.rb
266
- - lib/alf/errors.rb
267
- - lib/alf/ext/relation.rb
268
- - lib/alf/ext.rb
269
- - lib/alf/iterator/class_methods.rb
270
- - lib/alf/iterator/proxy.rb
271
- - lib/alf/iterator.rb
272
- - lib/alf/lispy/instance_methods.rb
273
- - lib/alf/lispy.rb
274
- - lib/alf/loader.rb
275
- - lib/alf/operator/binary.rb
276
- - lib/alf/operator/class_methods.rb
277
- - lib/alf/operator/experimental.rb
278
- - lib/alf/operator/instance_methods.rb
279
- - lib/alf/operator/non_relational/autonum.rb
280
- - lib/alf/operator/non_relational/clip.rb
281
- - lib/alf/operator/non_relational/coerce.rb
282
- - lib/alf/operator/non_relational/compact.rb
283
- - lib/alf/operator/non_relational/defaults.rb
284
- - lib/alf/operator/non_relational/generator.rb
285
- - lib/alf/operator/non_relational/sort.rb
286
- - lib/alf/operator/nullary.rb
287
- - lib/alf/operator/relational/extend.rb
288
- - lib/alf/operator/relational/group.rb
289
- - lib/alf/operator/relational/heading.rb
290
- - lib/alf/operator/relational/intersect.rb
291
- - lib/alf/operator/relational/join.rb
292
- - lib/alf/operator/relational/matching.rb
293
- - lib/alf/operator/relational/minus.rb
294
- - lib/alf/operator/relational/not_matching.rb
295
- - lib/alf/operator/relational/project.rb
296
- - lib/alf/operator/relational/quota.rb
297
- - lib/alf/operator/relational/rank.rb
298
- - lib/alf/operator/relational/rename.rb
299
- - lib/alf/operator/relational/restrict.rb
300
- - lib/alf/operator/relational/summarize.rb
301
- - lib/alf/operator/relational/ungroup.rb
302
- - lib/alf/operator/relational/union.rb
303
- - lib/alf/operator/relational/unwrap.rb
304
- - lib/alf/operator/relational/wrap.rb
305
- - lib/alf/operator/signature.rb
306
- - lib/alf/operator/unary.rb
307
- - lib/alf/operator.rb
308
- - lib/alf/reader/alf_file.rb
309
- - lib/alf/reader/class_methods.rb
310
- - lib/alf/reader/instance_methods.rb
311
- - lib/alf/reader/rash.rb
312
- - lib/alf/reader.rb
313
- - lib/alf/relation/class_methods.rb
314
- - lib/alf/relation/instance_methods.rb
315
- - lib/alf/relation.rb
316
- - lib/alf/renderer/class_methods.rb
317
- - lib/alf/renderer/instance_methods.rb
318
- - lib/alf/renderer/rash.rb
319
- - lib/alf/renderer/text.rb
320
- - lib/alf/renderer.rb
321
- - lib/alf/tools/coerce.rb
322
- - lib/alf/tools/miscellaneous.rb
323
- - lib/alf/tools/to_lispy.rb
324
- - lib/alf/tools/to_relation.rb
325
- - lib/alf/tools/to_ruby_literal.rb
326
- - lib/alf/tools/tuple_handle.rb
327
- - lib/alf/tools.rb
328
- - lib/alf/types/attr_list.rb
329
- - lib/alf/types/attr_name.rb
330
- - lib/alf/types/boolean.rb
331
- - lib/alf/types/heading.rb
332
- - lib/alf/types/ordering.rb
333
- - lib/alf/types/renaming.rb
334
- - lib/alf/types/size.rb
335
- - lib/alf/types/summarization.rb
336
- - lib/alf/types/tuple_computation.rb
337
- - lib/alf/types/tuple_expression.rb
338
- - lib/alf/types/tuple_predicate.rb
339
- - lib/alf/types.rb
340
- - lib/alf/version.rb
341
- - lib/alf-csv/alf/csv/commons.rb
342
- - lib/alf-csv/alf/csv/reader.rb
343
- - lib/alf-csv/alf/csv/renderer.rb
344
- - lib/alf-csv/alf/csv.rb
345
- - lib/alf-engine/alf/engine/aggregate.rb
346
- - lib/alf-engine/alf/engine/autonum.rb
347
- - lib/alf-engine/alf/engine/cesure.rb
348
- - lib/alf-engine/alf/engine/clip.rb
349
- - lib/alf-engine/alf/engine/coerce.rb
350
- - lib/alf-engine/alf/engine/cog.rb
351
- - lib/alf-engine/alf/engine/compact/set.rb
352
- - lib/alf-engine/alf/engine/compact/uniq.rb
353
- - lib/alf-engine/alf/engine/compact.rb
354
- - lib/alf-engine/alf/engine/concat.rb
355
- - lib/alf-engine/alf/engine/defaults.rb
356
- - lib/alf-engine/alf/engine/filter.rb
357
- - lib/alf-engine/alf/engine/generator.rb
358
- - lib/alf-engine/alf/engine/group/hash.rb
359
- - lib/alf-engine/alf/engine/group.rb
360
- - lib/alf-engine/alf/engine/join/hash.rb
361
- - lib/alf-engine/alf/engine/join.rb
362
- - lib/alf-engine/alf/engine/materialize/array.rb
363
- - lib/alf-engine/alf/engine/materialize/hash.rb
364
- - lib/alf-engine/alf/engine/materialize.rb
365
- - lib/alf-engine/alf/engine/quota/cesure.rb
366
- - lib/alf-engine/alf/engine/quota.rb
367
- - lib/alf-engine/alf/engine/rank/cesure.rb
368
- - lib/alf-engine/alf/engine/rank.rb
369
- - lib/alf-engine/alf/engine/rename.rb
370
- - lib/alf-engine/alf/engine/semi/hash.rb
371
- - lib/alf-engine/alf/engine/semi.rb
372
- - lib/alf-engine/alf/engine/set_attr.rb
373
- - lib/alf-engine/alf/engine/sort/in_memory.rb
374
- - lib/alf-engine/alf/engine/sort.rb
375
- - lib/alf-engine/alf/engine/summarize/cesure.rb
376
- - lib/alf-engine/alf/engine/summarize/hash.rb
377
- - lib/alf-engine/alf/engine/summarize.rb
378
- - lib/alf-engine/alf/engine/ungroup.rb
379
- - lib/alf-engine/alf/engine/unwrap.rb
380
- - lib/alf-engine/alf/engine/wrap.rb
381
- - lib/alf-engine/alf/engine.rb
382
- - lib/alf-logs/alf/logs/reader.rb
383
- - lib/alf-logs/alf/logs.rb
384
- - lib/alf-sequel/alf/sequel/environment.rb
385
- - lib/alf-sequel/alf/sequel/iterator.rb
386
- - lib/alf-sequel/alf/sequel.rb
387
- - lib/alf-shell/alf/shell/command/exec.rb
388
- - lib/alf-shell/alf/shell/command/help.rb
389
- - lib/alf-shell/alf/shell/command/main/class_methods.rb
390
- - lib/alf-shell/alf/shell/command/main.rb
391
- - lib/alf-shell/alf/shell/command/show.rb
392
- - lib/alf-shell/alf/shell/command.rb
393
- - lib/alf-shell/alf/shell/doc_manager.rb
394
- - lib/alf-shell/alf/shell/operator.rb
395
- - lib/alf-shell/alf/shell.rb
396
- - lib/alf-yaml/alf/yaml/renderer.rb
397
- - lib/alf-yaml/alf/yaml.rb
398
- - lib/alf.rb
399
- - spec/integration/__database__/group.alf
400
- - spec/integration/__database__/parts.rash
401
- - spec/integration/__database__/suppliers.rash
402
- - spec/integration/__database__/suppliers_csv.csv
403
- - spec/integration/__database__/supplies.rash
404
- - spec/integration/alf/example.rash
405
- - spec/integration/alf/test_Relation.rb
406
- - spec/integration/ext/test_relation.rb
407
- - spec/integration/lispy/test_relation.rb
408
- - spec/integration/lispy/test_run.rb
409
- - spec/integration/lispy/test_tuple.rb
410
- - spec/integration/semantics/test_join.alf
411
- - spec/integration/semantics/test_minus.alf
412
- - spec/integration/semantics/test_project.alf
413
- - spec/integration/semantics/test_rank.alf
414
- - spec/integration/shell/alf/alf.db
415
- - spec/integration/shell/alf/alf_e.cmd
416
- - spec/integration/shell/alf/alf_e.stdout
417
- - spec/integration/shell/alf/alf_env.cmd
418
- - spec/integration/shell/alf/alf_env.stdout
419
- - spec/integration/shell/alf/alf_env_sqlite.cmd
420
- - spec/integration/shell/alf/alf_env_sqlite.stdout
421
- - spec/integration/shell/alf/alf_help.cmd
422
- - spec/integration/shell/alf/alf_help.stdout
423
- - spec/integration/shell/alf/alf_implicit.alf
424
- - spec/integration/shell/alf/alf_implicit_exec.cmd
425
- - spec/integration/shell/alf/alf_implicit_exec.stdout
426
- - spec/integration/shell/alf/alf_r.cmd
427
- - spec/integration/shell/alf/alf_r.stdout
428
- - spec/integration/shell/alf/alf_version.cmd
429
- - spec/integration/shell/alf/alf_version.stdout
430
- - spec/integration/shell/alf/alf_yaml.cmd
431
- - spec/integration/shell/alf/alf_yaml.stdout
432
- - spec/integration/shell/alf/rel.rash
433
- - spec/integration/shell/autonum/autonum_0.cmd
434
- - spec/integration/shell/autonum/autonum_0.stdout
435
- - spec/integration/shell/autonum/autonum_1.cmd
436
- - spec/integration/shell/autonum/autonum_1.stdout
437
- - spec/integration/shell/clip/clip_0.cmd
438
- - spec/integration/shell/clip/clip_0.stdout
439
- - spec/integration/shell/clip/clip_1.cmd
440
- - spec/integration/shell/clip/clip_1.stdout
441
- - spec/integration/shell/coerce/coerce_1.cmd
442
- - spec/integration/shell/coerce/coerce_1.stdout
443
- - spec/integration/shell/compact/compact_0.cmd
444
- - spec/integration/shell/compact/compact_0.stdout
445
- - spec/integration/shell/defaults/defaults_0.cmd
446
- - spec/integration/shell/defaults/defaults_0.stdout
447
- - spec/integration/shell/defaults/defaults_1.cmd
448
- - spec/integration/shell/defaults/defaults_1.stdout
449
- - spec/integration/shell/defaults/defaults_2.cmd
450
- - spec/integration/shell/defaults/defaults_2.stdout
451
- - spec/integration/shell/extend/extend_0.cmd
452
- - spec/integration/shell/extend/extend_0.stdout
453
- - spec/integration/shell/generator/generator_1.cmd
454
- - spec/integration/shell/generator/generator_1.stdout
455
- - spec/integration/shell/generator/generator_2.cmd
456
- - spec/integration/shell/generator/generator_2.stdout
457
- - spec/integration/shell/generator/generator_3.cmd
458
- - spec/integration/shell/generator/generator_3.stdout
459
- - spec/integration/shell/group/group_0.cmd
460
- - spec/integration/shell/group/group_0.stdout
461
- - spec/integration/shell/group/group_1.cmd
462
- - spec/integration/shell/group/group_1.stdout
463
- - spec/integration/shell/help/help_1.cmd
464
- - spec/integration/shell/help/help_1.stdout
465
- - spec/integration/shell/intersect/intersect_0.cmd
466
- - spec/integration/shell/intersect/intersect_0.stdout
467
- - spec/integration/shell/join/join_0.cmd
468
- - spec/integration/shell/join/join_0.stdout
469
- - spec/integration/shell/matching/matching_0.cmd
470
- - spec/integration/shell/matching/matching_0.stdout
471
- - spec/integration/shell/minus/minus_0.cmd
472
- - spec/integration/shell/minus/minus_0.stdout
473
- - spec/integration/shell/not-matching/not-matching_0.cmd
474
- - spec/integration/shell/not-matching/not-matching_0.stdout
475
- - spec/integration/shell/project/project_0.cmd
476
- - spec/integration/shell/project/project_0.stdout
477
- - spec/integration/shell/project/project_1.cmd
478
- - spec/integration/shell/project/project_1.stdout
479
- - spec/integration/shell/quota/quota_0.cmd
480
- - spec/integration/shell/quota/quota_0.stdout
481
- - spec/integration/shell/rank/rank_1.cmd
482
- - spec/integration/shell/rank/rank_1.stdout
483
- - spec/integration/shell/rank/rank_2.cmd
484
- - spec/integration/shell/rank/rank_2.stdout
485
- - spec/integration/shell/rank/rank_3.cmd
486
- - spec/integration/shell/rank/rank_3.stdout
487
- - spec/integration/shell/rank/rank_4.cmd
488
- - spec/integration/shell/rank/rank_4.stdout
489
- - spec/integration/shell/rank/rank_5.cmd
490
- - spec/integration/shell/rank/rank_5.stdout
491
- - spec/integration/shell/rename/rename_0.cmd
492
- - spec/integration/shell/rename/rename_0.stdout
493
- - spec/integration/shell/restrict/restrict_0.cmd
494
- - spec/integration/shell/restrict/restrict_0.stdout
495
- - spec/integration/shell/restrict/restrict_1.cmd
496
- - spec/integration/shell/restrict/restrict_1.stdout
497
- - spec/integration/shell/show/show_base.cmd
498
- - spec/integration/shell/show/show_base.stdout
499
- - spec/integration/shell/show/show_base_sort_1.cmd
500
- - spec/integration/shell/show/show_base_sort_1.stdout
501
- - spec/integration/shell/show/show_base_sort_2.cmd
502
- - spec/integration/shell/show/show_base_sort_2.stdout
503
- - spec/integration/shell/show/show_conflictual.cmd
504
- - spec/integration/shell/show/show_conflictual.stdout
505
- - spec/integration/shell/show/show_csv.cmd
506
- - spec/integration/shell/show/show_csv.stdout
507
- - spec/integration/shell/show/show_ff.cmd
508
- - spec/integration/shell/show/show_ff.stdout
509
- - spec/integration/shell/show/show_rash.cmd
510
- - spec/integration/shell/show/show_rash.stdout
511
- - spec/integration/shell/show/show_rash_pretty.cmd
512
- - spec/integration/shell/show/show_rash_pretty.stdout
513
- - spec/integration/shell/show/show_yaml.cmd
514
- - spec/integration/shell/show/show_yaml.stdout
515
- - spec/integration/shell/sort/sort_0.cmd
516
- - spec/integration/shell/sort/sort_0.stdout
517
- - spec/integration/shell/sort/sort_1.cmd
518
- - spec/integration/shell/sort/sort_1.stdout
519
- - spec/integration/shell/sort/sort_2.cmd
520
- - spec/integration/shell/sort/sort_2.stdout
521
- - spec/integration/shell/sort/sort_3.cmd
522
- - spec/integration/shell/sort/sort_3.stdout
523
- - spec/integration/shell/summarize/summarize_0.cmd
524
- - spec/integration/shell/summarize/summarize_0.stdout
525
- - spec/integration/shell/ungroup/ungroup_0.cmd
526
- - spec/integration/shell/ungroup/ungroup_0.stdout
527
- - spec/integration/shell/union/union_0.cmd
528
- - spec/integration/shell/union/union_0.stdout
529
- - spec/integration/shell/unwrap/unwrap_0.cmd
530
- - spec/integration/shell/unwrap/unwrap_0.stdout
531
- - spec/integration/shell/wrap/wrap_0.cmd
532
- - spec/integration/shell/wrap/wrap_0.stdout
533
- - spec/integration/test_alf.rb
534
- - spec/integration/test_examples.rb
535
- - spec/integration/test_lispy.rb
536
- - spec/integration/test_semantics.rb
537
- - spec/integration/test_shell.rb
538
- - spec/regression/alf_file/__FILE__.alf
539
- - spec/regression/alf_file/suppliers.rash
540
- - spec/regression/alf_file/test___FILE__.rb
541
- - spec/regression/heading/test_heading_with_date.rb
542
- - spec/regression/lispy/test_compile.rb
543
- - spec/regression/logs/apache_combined.log
544
- - spec/regression/logs/test_path_attribute.rb
545
- - spec/regression/relation/test_relation_allbut_all.rb
546
- - spec/regression/relation/test_relation_with_date.rb
547
- - spec/regression/restrict/test_restrict_with_keywords.rb
548
- - spec/shared/a_valid_type_implementation.rb
549
- - spec/shared/a_value.rb
550
- - spec/shared/an_operator_class.rb
551
- - spec/spec_helper.rb
552
- - spec/unit/alf-core/aggregator/test_avg.rb
553
- - spec/unit/alf-core/aggregator/test_collect.rb
554
- - spec/unit/alf-core/aggregator/test_concat.rb
555
- - spec/unit/alf-core/aggregator/test_count.rb
556
- - spec/unit/alf-core/aggregator/test_max.rb
557
- - spec/unit/alf-core/aggregator/test_min.rb
558
- - spec/unit/alf-core/aggregator/test_stddev.rb
559
- - spec/unit/alf-core/aggregator/test_sum.rb
560
- - spec/unit/alf-core/aggregator/test_variance.rb
561
- - spec/unit/alf-core/assumptions/test_file.rb
562
- - spec/unit/alf-core/assumptions/test_instance_eval.rb
563
- - spec/unit/alf-core/assumptions/test_scoping.rb
564
- - spec/unit/alf-core/assumptions/test_set.rb
565
- - spec/unit/alf-core/environment/examples/suppliers.rash
566
- - spec/unit/alf-core/environment/test_folder.rb
567
- - spec/unit/alf-core/operator/non_relational/test_autonum.rb
568
- - spec/unit/alf-core/operator/non_relational/test_clip.rb
569
- - spec/unit/alf-core/operator/non_relational/test_coerce.rb
570
- - spec/unit/alf-core/operator/non_relational/test_compact.rb
571
- - spec/unit/alf-core/operator/non_relational/test_defaults.rb
572
- - spec/unit/alf-core/operator/non_relational/test_generator.rb
573
- - spec/unit/alf-core/operator/non_relational/test_sort.rb
574
- - spec/unit/alf-core/operator/relational/test_extend.rb
575
- - spec/unit/alf-core/operator/relational/test_group.rb
576
- - spec/unit/alf-core/operator/relational/test_heading.rb
577
- - spec/unit/alf-core/operator/relational/test_intersect.rb
578
- - spec/unit/alf-core/operator/relational/test_join.rb
579
- - spec/unit/alf-core/operator/relational/test_minus.rb
580
- - spec/unit/alf-core/operator/relational/test_project.rb
581
- - spec/unit/alf-core/operator/relational/test_quota.rb
582
- - spec/unit/alf-core/operator/relational/test_rank.rb
583
- - spec/unit/alf-core/operator/relational/test_rename.rb
584
- - spec/unit/alf-core/operator/relational/test_restrict.rb
585
- - spec/unit/alf-core/operator/relational/test_summarize.rb
586
- - spec/unit/alf-core/operator/relational/test_ungroup.rb
587
- - spec/unit/alf-core/operator/relational/test_union.rb
588
- - spec/unit/alf-core/operator/relational/test_unwrap.rb
589
- - spec/unit/alf-core/operator/relational/test_wrap.rb
590
- - spec/unit/alf-core/operator/signature/test_argv2args.rb
591
- - spec/unit/alf-core/operator/signature/test_collect_on.rb
592
- - spec/unit/alf-core/operator/signature/test_initialize.rb
593
- - spec/unit/alf-core/operator/signature/test_install.rb
594
- - spec/unit/alf-core/operator/signature/test_option_parser.rb
595
- - spec/unit/alf-core/operator/signature/test_parse_args.rb
596
- - spec/unit/alf-core/operator/signature/test_to_lispy.rb
597
- - spec/unit/alf-core/operator/signature/test_to_shell.rb
598
- - spec/unit/alf-core/operator/test_non_relational.rb
599
- - spec/unit/alf-core/operator/test_relational.rb
600
- - spec/unit/alf-core/reader/input.rb
601
- - spec/unit/alf-core/reader/test_alf_file.rb
602
- - spec/unit/alf-core/reader/test_initialize.rb
603
- - spec/unit/alf-core/reader/test_looks_a_path.rb
604
- - spec/unit/alf-core/reader/test_rash.rb
605
- - spec/unit/alf-core/relation/test_coerce.rb
606
- - spec/unit/alf-core/relation/test_inspect.rb
607
- - spec/unit/alf-core/relation/test_relops.rb
608
- - spec/unit/alf-core/relation/test_to_a.rb
609
- - spec/unit/alf-core/renderer/test_initialize.rb
610
- - spec/unit/alf-core/test_aggregator.rb
611
- - spec/unit/alf-core/test_environment.rb
612
- - spec/unit/alf-core/test_operator.rb
613
- - spec/unit/alf-core/test_reader.rb
614
- - spec/unit/alf-core/test_relation.rb
615
- - spec/unit/alf-core/test_renderer.rb
616
- - spec/unit/alf-core/text/test_cell.rb
617
- - spec/unit/alf-core/text/test_row.rb
618
- - spec/unit/alf-core/text/test_table.rb
619
- - spec/unit/alf-core/tools/test_class_name.rb
620
- - spec/unit/alf-core/tools/test_coalesce.rb
621
- - spec/unit/alf-core/tools/test_coerce.rb
622
- - spec/unit/alf-core/tools/test_ruby_case.rb
623
- - spec/unit/alf-core/tools/test_to_lispy.rb
624
- - spec/unit/alf-core/tools/test_to_relation.rb
625
- - spec/unit/alf-core/tools/test_to_ruby_literal.rb
626
- - spec/unit/alf-core/tools/test_tuple_handle.rb
627
- - spec/unit/alf-core/tools/test_tuple_heading.rb
628
- - spec/unit/alf-core/tools/test_varargs.rb
629
- - spec/unit/alf-core/types/test_attr_list.rb
630
- - spec/unit/alf-core/types/test_attr_name.rb
631
- - spec/unit/alf-core/types/test_boolean.rb
632
- - spec/unit/alf-core/types/test_class_methods.rb
633
- - spec/unit/alf-core/types/test_heading.rb
634
- - spec/unit/alf-core/types/test_ordering.rb
635
- - spec/unit/alf-core/types/test_renaming.rb
636
- - spec/unit/alf-core/types/test_size.rb
637
- - spec/unit/alf-core/types/test_summarization.rb
638
- - spec/unit/alf-core/types/test_tuple_computation.rb
639
- - spec/unit/alf-core/types/test_tuple_expression.rb
640
- - spec/unit/alf-core/types/test_tuple_predicate.rb
641
- - spec/unit/alf-csv/input.csv
642
- - spec/unit/alf-csv/test_reader.rb
643
- - spec/unit/alf-csv/test_renderer.rb
644
- - spec/unit/alf-engine/compact/test_set.rb
645
- - spec/unit/alf-engine/compact/test_uniq.rb
646
- - spec/unit/alf-engine/group/test_hash.rb
647
- - spec/unit/alf-engine/join/test_hash.rb
648
- - spec/unit/alf-engine/materialize/test_array.rb
649
- - spec/unit/alf-engine/materialize/test_hash.rb
650
- - spec/unit/alf-engine/quota/test_cesure.rb
651
- - spec/unit/alf-engine/rank/test_cesure.rb
652
- - spec/unit/alf-engine/semi/test_hash.rb
653
- - spec/unit/alf-engine/sort/test_in_memory.rb
654
- - spec/unit/alf-engine/summarize/test_cesure.rb
655
- - spec/unit/alf-engine/summarize/test_hash.rb
656
- - spec/unit/alf-engine/test_aggregate.rb
657
- - spec/unit/alf-engine/test_autonum.rb
658
- - spec/unit/alf-engine/test_clip.rb
659
- - spec/unit/alf-engine/test_coerce.rb
660
- - spec/unit/alf-engine/test_compact.rb
661
- - spec/unit/alf-engine/test_concat.rb
662
- - spec/unit/alf-engine/test_defaults.rb
663
- - spec/unit/alf-engine/test_filter.rb
664
- - spec/unit/alf-engine/test_generator.rb
665
- - spec/unit/alf-engine/test_rename.rb
666
- - spec/unit/alf-engine/test_set_attr.rb
667
- - spec/unit/alf-engine/test_sort.rb
668
- - spec/unit/alf-engine/test_ungroup.rb
669
- - spec/unit/alf-engine/test_unwrap.rb
670
- - spec/unit/alf-engine/test_wrap.rb
671
- - spec/unit/alf-logs/apache_combined.log
672
- - spec/unit/alf-logs/postgresql.log
673
- - spec/unit/alf-logs/test_reader.rb
674
- - spec/unit/alf-sequel/alf.db
675
- - spec/unit/alf-sequel/test_environment.rb
676
- - spec/unit/alf-shell/doc_manager/dynamic.md
677
- - spec/unit/alf-shell/doc_manager/example.md
678
- - spec/unit/alf-shell/doc_manager/example_1.txt
679
- - spec/unit/alf-shell/doc_manager/static.md
680
- - spec/unit/alf-shell/doc_manager/test_call.rb
681
- - spec/unit/alf-shell/main/test_class_methods.rb
682
- - spec/unit/alf-shell/operator/test_autonum.rb
683
- - spec/unit/alf-shell/operator/test_clip.rb
684
- - spec/unit/alf-shell/operator/test_coerce.rb
685
- - spec/unit/alf-shell/operator/test_compact.rb
686
- - spec/unit/alf-shell/operator/test_defaults.rb
687
- - spec/unit/alf-shell/operator/test_extend.rb
688
- - spec/unit/alf-shell/operator/test_generator.rb
689
- - spec/unit/alf-shell/operator/test_group.rb
690
- - spec/unit/alf-shell/operator/test_heading.rb
691
- - spec/unit/alf-shell/operator/test_intersect.rb
692
- - spec/unit/alf-shell/operator/test_join.rb
693
- - spec/unit/alf-shell/operator/test_matching.rb
694
- - spec/unit/alf-shell/operator/test_minus.rb
695
- - spec/unit/alf-shell/operator/test_not_matching.rb
696
- - spec/unit/alf-shell/operator/test_project.rb
697
- - spec/unit/alf-shell/operator/test_quota.rb
698
- - spec/unit/alf-shell/operator/test_rank.rb
699
- - spec/unit/alf-shell/operator/test_rename.rb
700
- - spec/unit/alf-shell/operator/test_restrict.rb
701
- - spec/unit/alf-shell/operator/test_sort.rb
702
- - spec/unit/alf-shell/operator/test_summarize.rb
703
- - spec/unit/alf-shell/operator/test_ungroup.rb
704
- - spec/unit/alf-shell/operator/test_union.rb
705
- - spec/unit/alf-shell/operator/test_unwrap.rb
706
- - spec/unit/alf-shell/operator/test_wrap.rb
707
- - tasks/clean.rake
708
- - tasks/debug_mail.rake
709
- - tasks/debug_mail.txt
710
- - tasks/gem.rake
711
- - tasks/gh-pages.rake
712
- - tasks/integration_test.rake
713
- - tasks/regression_test.rake
714
- - tasks/unit_test.rake
715
- - tasks/yard.rake
716
- - Rakefile
717
105
  - alf.gemspec
718
106
  - alf.noespec
719
107
  - CHANGELOG.md
720
108
  - Gemfile
721
109
  - Gemfile.lock
110
+ - lib/alf/loader.rb
111
+ - lib/alf/version.rb
112
+ - lib/alf.rb
722
113
  - LICENCE.md
723
114
  - Manifest.txt
115
+ - Rakefile
724
116
  - README.md
725
- - TODO.md
117
+ - spec/spec_helper.rb
118
+ - spec/test_alf.rb
119
+ - tasks/gem.rake
120
+ - tasks/test.rake
121
+ - test/migrations/test_folder_migration.rb
122
+ - test/migrations/test_sequel_migration.rb
123
+ - test/seeding/test_seeding.rb
124
+ - test/test_alf.rb
125
+ - test/test_helpers.rb
726
126
  homepage: http://blambeau.github.com/alf
727
127
  licenses: []
728
128
  post_install_message:
@@ -735,6 +135,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
735
135
  - - ! '>='
736
136
  - !ruby/object:Gem::Version
737
137
  version: '0'
138
+ segments:
139
+ - 0
140
+ hash: -3853443914358139061
738
141
  required_rubygems_version: !ruby/object:Gem::Requirement
739
142
  none: false
740
143
  requirements:
@@ -743,316 +146,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
743
146
  version: '0'
744
147
  requirements: []
745
148
  rubyforge_project:
746
- rubygems_version: 1.8.10
149
+ rubygems_version: 1.8.25
747
150
  signing_key:
748
151
  specification_version: 3
749
152
  summary: Relational Algebra at your fingertips
750
153
  test_files:
751
- - spec/integration/__database__/group.alf
752
- - spec/integration/__database__/parts.rash
753
- - spec/integration/__database__/suppliers.rash
754
- - spec/integration/__database__/suppliers_csv.csv
755
- - spec/integration/__database__/supplies.rash
756
- - spec/integration/alf/example.rash
757
- - spec/integration/alf/test_Relation.rb
758
- - spec/integration/ext/test_relation.rb
759
- - spec/integration/lispy/test_relation.rb
760
- - spec/integration/lispy/test_run.rb
761
- - spec/integration/lispy/test_tuple.rb
762
- - spec/integration/semantics/test_join.alf
763
- - spec/integration/semantics/test_minus.alf
764
- - spec/integration/semantics/test_project.alf
765
- - spec/integration/semantics/test_rank.alf
766
- - spec/integration/shell/alf/alf.db
767
- - spec/integration/shell/alf/alf_e.cmd
768
- - spec/integration/shell/alf/alf_e.stdout
769
- - spec/integration/shell/alf/alf_env.cmd
770
- - spec/integration/shell/alf/alf_env.stdout
771
- - spec/integration/shell/alf/alf_env_sqlite.cmd
772
- - spec/integration/shell/alf/alf_env_sqlite.stdout
773
- - spec/integration/shell/alf/alf_help.cmd
774
- - spec/integration/shell/alf/alf_help.stdout
775
- - spec/integration/shell/alf/alf_implicit.alf
776
- - spec/integration/shell/alf/alf_implicit_exec.cmd
777
- - spec/integration/shell/alf/alf_implicit_exec.stdout
778
- - spec/integration/shell/alf/alf_r.cmd
779
- - spec/integration/shell/alf/alf_r.stdout
780
- - spec/integration/shell/alf/alf_version.cmd
781
- - spec/integration/shell/alf/alf_version.stdout
782
- - spec/integration/shell/alf/alf_yaml.cmd
783
- - spec/integration/shell/alf/alf_yaml.stdout
784
- - spec/integration/shell/alf/rel.rash
785
- - spec/integration/shell/autonum/autonum_0.cmd
786
- - spec/integration/shell/autonum/autonum_0.stdout
787
- - spec/integration/shell/autonum/autonum_1.cmd
788
- - spec/integration/shell/autonum/autonum_1.stdout
789
- - spec/integration/shell/clip/clip_0.cmd
790
- - spec/integration/shell/clip/clip_0.stdout
791
- - spec/integration/shell/clip/clip_1.cmd
792
- - spec/integration/shell/clip/clip_1.stdout
793
- - spec/integration/shell/coerce/coerce_1.cmd
794
- - spec/integration/shell/coerce/coerce_1.stdout
795
- - spec/integration/shell/compact/compact_0.cmd
796
- - spec/integration/shell/compact/compact_0.stdout
797
- - spec/integration/shell/defaults/defaults_0.cmd
798
- - spec/integration/shell/defaults/defaults_0.stdout
799
- - spec/integration/shell/defaults/defaults_1.cmd
800
- - spec/integration/shell/defaults/defaults_1.stdout
801
- - spec/integration/shell/defaults/defaults_2.cmd
802
- - spec/integration/shell/defaults/defaults_2.stdout
803
- - spec/integration/shell/extend/extend_0.cmd
804
- - spec/integration/shell/extend/extend_0.stdout
805
- - spec/integration/shell/generator/generator_1.cmd
806
- - spec/integration/shell/generator/generator_1.stdout
807
- - spec/integration/shell/generator/generator_2.cmd
808
- - spec/integration/shell/generator/generator_2.stdout
809
- - spec/integration/shell/generator/generator_3.cmd
810
- - spec/integration/shell/generator/generator_3.stdout
811
- - spec/integration/shell/group/group_0.cmd
812
- - spec/integration/shell/group/group_0.stdout
813
- - spec/integration/shell/group/group_1.cmd
814
- - spec/integration/shell/group/group_1.stdout
815
- - spec/integration/shell/help/help_1.cmd
816
- - spec/integration/shell/help/help_1.stdout
817
- - spec/integration/shell/intersect/intersect_0.cmd
818
- - spec/integration/shell/intersect/intersect_0.stdout
819
- - spec/integration/shell/join/join_0.cmd
820
- - spec/integration/shell/join/join_0.stdout
821
- - spec/integration/shell/matching/matching_0.cmd
822
- - spec/integration/shell/matching/matching_0.stdout
823
- - spec/integration/shell/minus/minus_0.cmd
824
- - spec/integration/shell/minus/minus_0.stdout
825
- - spec/integration/shell/not-matching/not-matching_0.cmd
826
- - spec/integration/shell/not-matching/not-matching_0.stdout
827
- - spec/integration/shell/project/project_0.cmd
828
- - spec/integration/shell/project/project_0.stdout
829
- - spec/integration/shell/project/project_1.cmd
830
- - spec/integration/shell/project/project_1.stdout
831
- - spec/integration/shell/quota/quota_0.cmd
832
- - spec/integration/shell/quota/quota_0.stdout
833
- - spec/integration/shell/rank/rank_1.cmd
834
- - spec/integration/shell/rank/rank_1.stdout
835
- - spec/integration/shell/rank/rank_2.cmd
836
- - spec/integration/shell/rank/rank_2.stdout
837
- - spec/integration/shell/rank/rank_3.cmd
838
- - spec/integration/shell/rank/rank_3.stdout
839
- - spec/integration/shell/rank/rank_4.cmd
840
- - spec/integration/shell/rank/rank_4.stdout
841
- - spec/integration/shell/rank/rank_5.cmd
842
- - spec/integration/shell/rank/rank_5.stdout
843
- - spec/integration/shell/rename/rename_0.cmd
844
- - spec/integration/shell/rename/rename_0.stdout
845
- - spec/integration/shell/restrict/restrict_0.cmd
846
- - spec/integration/shell/restrict/restrict_0.stdout
847
- - spec/integration/shell/restrict/restrict_1.cmd
848
- - spec/integration/shell/restrict/restrict_1.stdout
849
- - spec/integration/shell/show/show_base.cmd
850
- - spec/integration/shell/show/show_base.stdout
851
- - spec/integration/shell/show/show_base_sort_1.cmd
852
- - spec/integration/shell/show/show_base_sort_1.stdout
853
- - spec/integration/shell/show/show_base_sort_2.cmd
854
- - spec/integration/shell/show/show_base_sort_2.stdout
855
- - spec/integration/shell/show/show_conflictual.cmd
856
- - spec/integration/shell/show/show_conflictual.stdout
857
- - spec/integration/shell/show/show_csv.cmd
858
- - spec/integration/shell/show/show_csv.stdout
859
- - spec/integration/shell/show/show_ff.cmd
860
- - spec/integration/shell/show/show_ff.stdout
861
- - spec/integration/shell/show/show_rash.cmd
862
- - spec/integration/shell/show/show_rash.stdout
863
- - spec/integration/shell/show/show_rash_pretty.cmd
864
- - spec/integration/shell/show/show_rash_pretty.stdout
865
- - spec/integration/shell/show/show_yaml.cmd
866
- - spec/integration/shell/show/show_yaml.stdout
867
- - spec/integration/shell/sort/sort_0.cmd
868
- - spec/integration/shell/sort/sort_0.stdout
869
- - spec/integration/shell/sort/sort_1.cmd
870
- - spec/integration/shell/sort/sort_1.stdout
871
- - spec/integration/shell/sort/sort_2.cmd
872
- - spec/integration/shell/sort/sort_2.stdout
873
- - spec/integration/shell/sort/sort_3.cmd
874
- - spec/integration/shell/sort/sort_3.stdout
875
- - spec/integration/shell/summarize/summarize_0.cmd
876
- - spec/integration/shell/summarize/summarize_0.stdout
877
- - spec/integration/shell/ungroup/ungroup_0.cmd
878
- - spec/integration/shell/ungroup/ungroup_0.stdout
879
- - spec/integration/shell/union/union_0.cmd
880
- - spec/integration/shell/union/union_0.stdout
881
- - spec/integration/shell/unwrap/unwrap_0.cmd
882
- - spec/integration/shell/unwrap/unwrap_0.stdout
883
- - spec/integration/shell/wrap/wrap_0.cmd
884
- - spec/integration/shell/wrap/wrap_0.stdout
885
- - spec/integration/test_alf.rb
886
- - spec/integration/test_examples.rb
887
- - spec/integration/test_lispy.rb
888
- - spec/integration/test_semantics.rb
889
- - spec/integration/test_shell.rb
890
- - spec/regression/alf_file/__FILE__.alf
891
- - spec/regression/alf_file/suppliers.rash
892
- - spec/regression/alf_file/test___FILE__.rb
893
- - spec/regression/heading/test_heading_with_date.rb
894
- - spec/regression/lispy/test_compile.rb
895
- - spec/regression/logs/apache_combined.log
896
- - spec/regression/logs/test_path_attribute.rb
897
- - spec/regression/relation/test_relation_allbut_all.rb
898
- - spec/regression/relation/test_relation_with_date.rb
899
- - spec/regression/restrict/test_restrict_with_keywords.rb
900
- - spec/shared/a_valid_type_implementation.rb
901
- - spec/shared/a_value.rb
902
- - spec/shared/an_operator_class.rb
154
+ - test/migrations/test_folder_migration.rb
155
+ - test/migrations/test_sequel_migration.rb
156
+ - test/seeding/test_seeding.rb
157
+ - test/test_alf.rb
158
+ - test/test_helpers.rb
903
159
  - spec/spec_helper.rb
904
- - spec/unit/alf-core/aggregator/test_avg.rb
905
- - spec/unit/alf-core/aggregator/test_collect.rb
906
- - spec/unit/alf-core/aggregator/test_concat.rb
907
- - spec/unit/alf-core/aggregator/test_count.rb
908
- - spec/unit/alf-core/aggregator/test_max.rb
909
- - spec/unit/alf-core/aggregator/test_min.rb
910
- - spec/unit/alf-core/aggregator/test_stddev.rb
911
- - spec/unit/alf-core/aggregator/test_sum.rb
912
- - spec/unit/alf-core/aggregator/test_variance.rb
913
- - spec/unit/alf-core/assumptions/test_file.rb
914
- - spec/unit/alf-core/assumptions/test_instance_eval.rb
915
- - spec/unit/alf-core/assumptions/test_scoping.rb
916
- - spec/unit/alf-core/assumptions/test_set.rb
917
- - spec/unit/alf-core/environment/examples/suppliers.rash
918
- - spec/unit/alf-core/environment/test_folder.rb
919
- - spec/unit/alf-core/operator/non_relational/test_autonum.rb
920
- - spec/unit/alf-core/operator/non_relational/test_clip.rb
921
- - spec/unit/alf-core/operator/non_relational/test_coerce.rb
922
- - spec/unit/alf-core/operator/non_relational/test_compact.rb
923
- - spec/unit/alf-core/operator/non_relational/test_defaults.rb
924
- - spec/unit/alf-core/operator/non_relational/test_generator.rb
925
- - spec/unit/alf-core/operator/non_relational/test_sort.rb
926
- - spec/unit/alf-core/operator/relational/test_extend.rb
927
- - spec/unit/alf-core/operator/relational/test_group.rb
928
- - spec/unit/alf-core/operator/relational/test_heading.rb
929
- - spec/unit/alf-core/operator/relational/test_intersect.rb
930
- - spec/unit/alf-core/operator/relational/test_join.rb
931
- - spec/unit/alf-core/operator/relational/test_minus.rb
932
- - spec/unit/alf-core/operator/relational/test_project.rb
933
- - spec/unit/alf-core/operator/relational/test_quota.rb
934
- - spec/unit/alf-core/operator/relational/test_rank.rb
935
- - spec/unit/alf-core/operator/relational/test_rename.rb
936
- - spec/unit/alf-core/operator/relational/test_restrict.rb
937
- - spec/unit/alf-core/operator/relational/test_summarize.rb
938
- - spec/unit/alf-core/operator/relational/test_ungroup.rb
939
- - spec/unit/alf-core/operator/relational/test_union.rb
940
- - spec/unit/alf-core/operator/relational/test_unwrap.rb
941
- - spec/unit/alf-core/operator/relational/test_wrap.rb
942
- - spec/unit/alf-core/operator/signature/test_argv2args.rb
943
- - spec/unit/alf-core/operator/signature/test_collect_on.rb
944
- - spec/unit/alf-core/operator/signature/test_initialize.rb
945
- - spec/unit/alf-core/operator/signature/test_install.rb
946
- - spec/unit/alf-core/operator/signature/test_option_parser.rb
947
- - spec/unit/alf-core/operator/signature/test_parse_args.rb
948
- - spec/unit/alf-core/operator/signature/test_to_lispy.rb
949
- - spec/unit/alf-core/operator/signature/test_to_shell.rb
950
- - spec/unit/alf-core/operator/test_non_relational.rb
951
- - spec/unit/alf-core/operator/test_relational.rb
952
- - spec/unit/alf-core/reader/input.rb
953
- - spec/unit/alf-core/reader/test_alf_file.rb
954
- - spec/unit/alf-core/reader/test_initialize.rb
955
- - spec/unit/alf-core/reader/test_looks_a_path.rb
956
- - spec/unit/alf-core/reader/test_rash.rb
957
- - spec/unit/alf-core/relation/test_coerce.rb
958
- - spec/unit/alf-core/relation/test_inspect.rb
959
- - spec/unit/alf-core/relation/test_relops.rb
960
- - spec/unit/alf-core/relation/test_to_a.rb
961
- - spec/unit/alf-core/renderer/test_initialize.rb
962
- - spec/unit/alf-core/test_aggregator.rb
963
- - spec/unit/alf-core/test_environment.rb
964
- - spec/unit/alf-core/test_operator.rb
965
- - spec/unit/alf-core/test_reader.rb
966
- - spec/unit/alf-core/test_relation.rb
967
- - spec/unit/alf-core/test_renderer.rb
968
- - spec/unit/alf-core/text/test_cell.rb
969
- - spec/unit/alf-core/text/test_row.rb
970
- - spec/unit/alf-core/text/test_table.rb
971
- - spec/unit/alf-core/tools/test_class_name.rb
972
- - spec/unit/alf-core/tools/test_coalesce.rb
973
- - spec/unit/alf-core/tools/test_coerce.rb
974
- - spec/unit/alf-core/tools/test_ruby_case.rb
975
- - spec/unit/alf-core/tools/test_to_lispy.rb
976
- - spec/unit/alf-core/tools/test_to_relation.rb
977
- - spec/unit/alf-core/tools/test_to_ruby_literal.rb
978
- - spec/unit/alf-core/tools/test_tuple_handle.rb
979
- - spec/unit/alf-core/tools/test_tuple_heading.rb
980
- - spec/unit/alf-core/tools/test_varargs.rb
981
- - spec/unit/alf-core/types/test_attr_list.rb
982
- - spec/unit/alf-core/types/test_attr_name.rb
983
- - spec/unit/alf-core/types/test_boolean.rb
984
- - spec/unit/alf-core/types/test_class_methods.rb
985
- - spec/unit/alf-core/types/test_heading.rb
986
- - spec/unit/alf-core/types/test_ordering.rb
987
- - spec/unit/alf-core/types/test_renaming.rb
988
- - spec/unit/alf-core/types/test_size.rb
989
- - spec/unit/alf-core/types/test_summarization.rb
990
- - spec/unit/alf-core/types/test_tuple_computation.rb
991
- - spec/unit/alf-core/types/test_tuple_expression.rb
992
- - spec/unit/alf-core/types/test_tuple_predicate.rb
993
- - spec/unit/alf-csv/input.csv
994
- - spec/unit/alf-csv/test_reader.rb
995
- - spec/unit/alf-csv/test_renderer.rb
996
- - spec/unit/alf-engine/compact/test_set.rb
997
- - spec/unit/alf-engine/compact/test_uniq.rb
998
- - spec/unit/alf-engine/group/test_hash.rb
999
- - spec/unit/alf-engine/join/test_hash.rb
1000
- - spec/unit/alf-engine/materialize/test_array.rb
1001
- - spec/unit/alf-engine/materialize/test_hash.rb
1002
- - spec/unit/alf-engine/quota/test_cesure.rb
1003
- - spec/unit/alf-engine/rank/test_cesure.rb
1004
- - spec/unit/alf-engine/semi/test_hash.rb
1005
- - spec/unit/alf-engine/sort/test_in_memory.rb
1006
- - spec/unit/alf-engine/summarize/test_cesure.rb
1007
- - spec/unit/alf-engine/summarize/test_hash.rb
1008
- - spec/unit/alf-engine/test_aggregate.rb
1009
- - spec/unit/alf-engine/test_autonum.rb
1010
- - spec/unit/alf-engine/test_clip.rb
1011
- - spec/unit/alf-engine/test_coerce.rb
1012
- - spec/unit/alf-engine/test_compact.rb
1013
- - spec/unit/alf-engine/test_concat.rb
1014
- - spec/unit/alf-engine/test_defaults.rb
1015
- - spec/unit/alf-engine/test_filter.rb
1016
- - spec/unit/alf-engine/test_generator.rb
1017
- - spec/unit/alf-engine/test_rename.rb
1018
- - spec/unit/alf-engine/test_set_attr.rb
1019
- - spec/unit/alf-engine/test_sort.rb
1020
- - spec/unit/alf-engine/test_ungroup.rb
1021
- - spec/unit/alf-engine/test_unwrap.rb
1022
- - spec/unit/alf-engine/test_wrap.rb
1023
- - spec/unit/alf-logs/apache_combined.log
1024
- - spec/unit/alf-logs/postgresql.log
1025
- - spec/unit/alf-logs/test_reader.rb
1026
- - spec/unit/alf-sequel/alf.db
1027
- - spec/unit/alf-sequel/test_environment.rb
1028
- - spec/unit/alf-shell/doc_manager/dynamic.md
1029
- - spec/unit/alf-shell/doc_manager/example.md
1030
- - spec/unit/alf-shell/doc_manager/example_1.txt
1031
- - spec/unit/alf-shell/doc_manager/static.md
1032
- - spec/unit/alf-shell/doc_manager/test_call.rb
1033
- - spec/unit/alf-shell/main/test_class_methods.rb
1034
- - spec/unit/alf-shell/operator/test_autonum.rb
1035
- - spec/unit/alf-shell/operator/test_clip.rb
1036
- - spec/unit/alf-shell/operator/test_coerce.rb
1037
- - spec/unit/alf-shell/operator/test_compact.rb
1038
- - spec/unit/alf-shell/operator/test_defaults.rb
1039
- - spec/unit/alf-shell/operator/test_extend.rb
1040
- - spec/unit/alf-shell/operator/test_generator.rb
1041
- - spec/unit/alf-shell/operator/test_group.rb
1042
- - spec/unit/alf-shell/operator/test_heading.rb
1043
- - spec/unit/alf-shell/operator/test_intersect.rb
1044
- - spec/unit/alf-shell/operator/test_join.rb
1045
- - spec/unit/alf-shell/operator/test_matching.rb
1046
- - spec/unit/alf-shell/operator/test_minus.rb
1047
- - spec/unit/alf-shell/operator/test_not_matching.rb
1048
- - spec/unit/alf-shell/operator/test_project.rb
1049
- - spec/unit/alf-shell/operator/test_quota.rb
1050
- - spec/unit/alf-shell/operator/test_rank.rb
1051
- - spec/unit/alf-shell/operator/test_rename.rb
1052
- - spec/unit/alf-shell/operator/test_restrict.rb
1053
- - spec/unit/alf-shell/operator/test_sort.rb
1054
- - spec/unit/alf-shell/operator/test_summarize.rb
1055
- - spec/unit/alf-shell/operator/test_ungroup.rb
1056
- - spec/unit/alf-shell/operator/test_union.rb
1057
- - spec/unit/alf-shell/operator/test_unwrap.rb
1058
- - spec/unit/alf-shell/operator/test_wrap.rb
160
+ - spec/test_alf.rb