alf-shell 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +5 -2
- data/Gemfile.lock +29 -10
- data/bin/alf +2 -0
- data/doc/man/alf-explain.man +22 -0
- data/doc/man/alf-metadata.man +13 -0
- data/doc/man/alf-show.man +16 -0
- data/doc/man/alf.man +77 -0
- data/doc/man/allbut.man +39 -0
- data/doc/man/among.man +25 -0
- data/doc/man/avg.man +37 -0
- data/doc/man/between.man +24 -0
- data/doc/man/concat.man +55 -0
- data/doc/man/contradiction.man +26 -0
- data/doc/man/count.man +20 -0
- data/doc/man/eq.man +29 -0
- data/doc/man/extend.man +33 -0
- data/doc/man/frame.man +60 -0
- data/doc/man/group.man +51 -0
- data/doc/man/gt.man +30 -0
- data/doc/man/gte.man +30 -0
- data/doc/man/intersect.man +54 -0
- data/doc/man/join.man +84 -0
- data/doc/man/lt.man +30 -0
- data/doc/man/lte.man +30 -0
- data/doc/man/matching.man +73 -0
- data/doc/man/max.man +36 -0
- data/doc/man/min.man +36 -0
- data/doc/man/minus.man +54 -0
- data/doc/man/native.man +32 -0
- data/doc/man/neq.man +29 -0
- data/doc/man/not_matching.man +51 -0
- data/doc/man/page.man +60 -0
- data/doc/man/project.man +36 -0
- data/doc/man/rank.man +42 -0
- data/doc/man/rename.man +29 -0
- data/doc/man/restrict.man +38 -0
- data/doc/man/stddev.man +37 -0
- data/doc/man/sum.man +37 -0
- data/doc/man/summarize.man +45 -0
- data/doc/man/tautology.man +26 -0
- data/doc/man/ungroup.man +30 -0
- data/doc/man/union.man +55 -0
- data/doc/man/unwrap.man +37 -0
- data/doc/man/variance.man +37 -0
- data/doc/man/wrap.man +37 -0
- data/doc/txt/alf-explain.man +22 -0
- data/doc/txt/alf-metadata.man +16 -0
- data/doc/txt/alf-show.man +19 -0
- data/doc/txt/alf.man +80 -0
- data/doc/txt/allbut.txt +31 -0
- data/doc/txt/among.txt +20 -0
- data/doc/txt/avg.txt +22 -0
- data/doc/txt/between.txt +19 -0
- data/doc/txt/concat.txt +31 -0
- data/doc/txt/contradiction.txt +15 -0
- data/doc/txt/count.txt +14 -0
- data/doc/txt/eq.txt +19 -0
- data/doc/txt/extend.txt +29 -0
- data/doc/txt/frame.txt +48 -0
- data/doc/txt/group.txt +37 -0
- data/doc/txt/gt.txt +20 -0
- data/doc/txt/gte.txt +20 -0
- data/doc/txt/intersect.txt +42 -0
- data/doc/txt/join.txt +65 -0
- data/doc/txt/lt.txt +20 -0
- data/doc/txt/lte.txt +20 -0
- data/doc/txt/matching.txt +54 -0
- data/doc/txt/max.txt +21 -0
- data/doc/txt/min.txt +21 -0
- data/doc/txt/minus.txt +42 -0
- data/doc/txt/native.txt +27 -0
- data/doc/txt/neq.txt +19 -0
- data/doc/txt/not_matching.txt +39 -0
- data/doc/txt/page.txt +48 -0
- data/doc/txt/project.txt +28 -0
- data/doc/txt/rank.txt +34 -0
- data/doc/txt/rename.txt +25 -0
- data/doc/txt/restrict.txt +26 -0
- data/doc/txt/stddev.txt +22 -0
- data/doc/txt/sum.txt +22 -0
- data/doc/txt/summarize.txt +33 -0
- data/doc/txt/tautology.txt +15 -0
- data/doc/txt/ungroup.txt +26 -0
- data/doc/txt/union.txt +43 -0
- data/doc/txt/unwrap.txt +29 -0
- data/doc/txt/variance.txt +22 -0
- data/doc/txt/wrap.txt +29 -0
- data/lib/alf/shell.rb +2 -32
- data/lib/alf/shell/alfrc.rb +3 -0
- data/lib/alf/shell/command.rb +2 -18
- data/lib/alf/shell/command/explain.rb +37 -0
- data/lib/alf/shell/command/help.rb +3 -21
- data/lib/alf/shell/command/main.rb +20 -78
- data/lib/alf/shell/command/metadata.rb +32 -0
- data/lib/alf/shell/command/show.rb +17 -5
- data/lib/alf/shell/support.rb +21 -13
- data/lib/alf/shell/version.rb +1 -1
- data/spec/integration/explain/explain.cmd +1 -0
- data/spec/integration/explain/explain.stdout +11 -0
- data/spec/integration/show/group.alf +2 -0
- data/spec/integration/show/show_alf.cmd +1 -0
- data/spec/integration/{group/group_0.stdout → show/show_alf.stdout} +0 -0
- data/tasks/doc.rake +4 -0
- metadata +116 -178
- data/doc/commands/exec.md +0 -16
- data/doc/commands/help.md +0 -11
- data/doc/commands/main.md +0 -33
- data/doc/commands/show.md +0 -12
- data/doc/operators/non_relational/autonum.md +0 -23
- data/doc/operators/non_relational/clip.md +0 -31
- data/doc/operators/non_relational/coerce.md +0 -15
- data/doc/operators/non_relational/compact.md +0 -20
- data/doc/operators/non_relational/defaults.md +0 -32
- data/doc/operators/non_relational/generator.md +0 -20
- data/doc/operators/non_relational/sort.md +0 -24
- data/doc/operators/non_relational/type-safe.md +0 -20
- data/doc/operators/relational/extend.md +0 -18
- data/doc/operators/relational/frame.md +0 -26
- data/doc/operators/relational/group.md +0 -27
- data/doc/operators/relational/hierarchize.md +0 -14
- data/doc/operators/relational/infer-heading.md +0 -20
- data/doc/operators/relational/intersect.md +0 -13
- data/doc/operators/relational/join.md +0 -28
- data/doc/operators/relational/matching.md +0 -24
- data/doc/operators/relational/minus.md +0 -12
- data/doc/operators/relational/not-matching.md +0 -20
- data/doc/operators/relational/page.md +0 -31
- data/doc/operators/relational/project.md +0 -28
- data/doc/operators/relational/quota.md +0 -21
- data/doc/operators/relational/rank.md +0 -27
- data/doc/operators/relational/rename.md +0 -17
- data/doc/operators/relational/restrict.md +0 -25
- data/doc/operators/relational/summarize.md +0 -25
- data/doc/operators/relational/ungroup.md +0 -20
- data/doc/operators/relational/union.md +0 -14
- data/doc/operators/relational/unwrap.md +0 -20
- data/doc/operators/relational/wrap.md +0 -24
- data/lib/alf/shell/command/exec.rb +0 -16
- data/lib/alf/shell/doc_manager.rb +0 -84
- data/lib/alf/shell/ext/signature.rb +0 -45
- data/lib/alf/shell/from_argv.rb +0 -84
- data/lib/alf/shell/operator.rb +0 -63
- data/spec/integration/__database__/group.alf +0 -3
- data/spec/integration/alf/alf_e.cmd +0 -1
- data/spec/integration/alf/alf_e.stdout +0 -4
- data/spec/integration/alf/alf_help.cmd +0 -1
- data/spec/integration/alf/alf_help.stdout +0 -76
- data/spec/integration/alf/alf_r.cmd +0 -1
- data/spec/integration/alf/alf_r.stdout +0 -5
- data/spec/integration/autonum/autonum_0.cmd +0 -1
- data/spec/integration/autonum/autonum_0.stdout +0 -9
- data/spec/integration/autonum/autonum_1.cmd +0 -1
- data/spec/integration/autonum/autonum_1.stdout +0 -9
- data/spec/integration/clip/clip_0.cmd +0 -1
- data/spec/integration/clip/clip_0.stdout +0 -9
- data/spec/integration/clip/clip_1.cmd +0 -1
- data/spec/integration/clip/clip_1.stdout +0 -9
- data/spec/integration/coerce/coerce_1.cmd +0 -1
- data/spec/integration/coerce/coerce_1.stdout +0 -5
- data/spec/integration/compact/compact_0.cmd +0 -1
- data/spec/integration/compact/compact_0.stdout +0 -9
- data/spec/integration/defaults/defaults_0.cmd +0 -1
- data/spec/integration/defaults/defaults_0.stdout +0 -9
- data/spec/integration/defaults/defaults_1.cmd +0 -1
- data/spec/integration/defaults/defaults_1.stdout +0 -9
- data/spec/integration/defaults/defaults_2.cmd +0 -1
- data/spec/integration/defaults/defaults_2.stdout +0 -9
- data/spec/integration/extend/extend_0.cmd +0 -1
- data/spec/integration/extend/extend_0.stdout +0 -16
- data/spec/integration/frame/frame_0.cmd +0 -1
- data/spec/integration/frame/frame_0.stdout +0 -6
- data/spec/integration/generator/generator_1.cmd +0 -1
- data/spec/integration/generator/generator_1.stdout +0 -10
- data/spec/integration/generator/generator_2.cmd +0 -1
- data/spec/integration/generator/generator_2.stdout +0 -5
- data/spec/integration/generator/generator_3.cmd +0 -1
- data/spec/integration/generator/generator_3.stdout +0 -5
- data/spec/integration/group/group_0.cmd +0 -1
- data/spec/integration/group/group_1.cmd +0 -1
- data/spec/integration/group/group_1.stdout +0 -32
- data/spec/integration/help/help_1.cmd +0 -1
- data/spec/integration/help/help_1.stdout +0 -12
- data/spec/integration/intersect/intersect_0.cmd +0 -1
- data/spec/integration/intersect/intersect_0.stdout +0 -9
- data/spec/integration/join/join_0.cmd +0 -1
- data/spec/integration/join/join_0.stdout +0 -16
- data/spec/integration/matching/matching_0.cmd +0 -1
- data/spec/integration/matching/matching_0.stdout +0 -8
- data/spec/integration/minus/minus_0.cmd +0 -1
- data/spec/integration/minus/minus_0.stdout +0 -4
- data/spec/integration/not-matching/not-matching_0.cmd +0 -1
- data/spec/integration/not-matching/not-matching_0.stdout +0 -5
- data/spec/integration/page/page_0.cmd +0 -1
- data/spec/integration/page/page_0.stdout +0 -6
- data/spec/integration/project/project_0.cmd +0 -1
- data/spec/integration/project/project_0.stdout +0 -9
- data/spec/integration/project/project_1.cmd +0 -1
- data/spec/integration/project/project_1.stdout +0 -9
- data/spec/integration/quota/quota_0.cmd +0 -1
- data/spec/integration/quota/quota_0.stdout +0 -16
- data/spec/integration/rank/rank_1.cmd +0 -1
- data/spec/integration/rank/rank_1.stdout +0 -10
- data/spec/integration/rank/rank_2.cmd +0 -1
- data/spec/integration/rank/rank_2.stdout +0 -10
- data/spec/integration/rank/rank_3.cmd +0 -1
- data/spec/integration/rank/rank_3.stdout +0 -10
- data/spec/integration/rank/rank_4.cmd +0 -1
- data/spec/integration/rank/rank_4.stdout +0 -6
- data/spec/integration/rank/rank_5.cmd +0 -1
- data/spec/integration/rank/rank_5.stdout +0 -6
- data/spec/integration/rename/rename_0.cmd +0 -1
- data/spec/integration/rename/rename_0.stdout +0 -9
- data/spec/integration/restrict/restrict_0.cmd +0 -1
- data/spec/integration/restrict/restrict_0.stdout +0 -6
- data/spec/integration/restrict/restrict_1.cmd +0 -1
- data/spec/integration/restrict/restrict_1.stdout +0 -6
- data/spec/integration/sort/sort_0.cmd +0 -1
- data/spec/integration/sort/sort_0.stdout +0 -9
- data/spec/integration/sort/sort_1.cmd +0 -1
- data/spec/integration/sort/sort_1.stdout +0 -9
- data/spec/integration/sort/sort_2.cmd +0 -1
- data/spec/integration/sort/sort_2.stdout +0 -9
- data/spec/integration/sort/sort_3.cmd +0 -1
- data/spec/integration/sort/sort_3.stdout +0 -9
- data/spec/integration/summarize/summarize_0.cmd +0 -1
- data/spec/integration/summarize/summarize_0.stdout +0 -8
- data/spec/integration/union/union_0.cmd +0 -1
- data/spec/integration/union/union_0.stdout +0 -9
- data/spec/integration/unwrap/unwrap_0.cmd +0 -1
- data/spec/integration/unwrap/unwrap_0.stdout +0 -9
- data/spec/integration/wrap/wrap_0.cmd +0 -1
- data/spec/integration/wrap/wrap_0.stdout +0 -9
- data/spec/unit/doc_manager/dynamic.md +0 -1
- data/spec/unit/doc_manager/example.md +0 -1
- data/spec/unit/doc_manager/example_1.txt +0 -11
- data/spec/unit/doc_manager/static.md +0 -1
- data/spec/unit/doc_manager/test_call.rb +0 -41
- data/spec/unit/ext/signature/test_argv2args.rb +0 -82
- data/spec/unit/ext/signature/test_to_shell.rb +0 -103
- data/spec/unit/from_argv/test_to_attr_list.rb +0 -30
- data/spec/unit/from_argv/test_to_attr_name.rb +0 -27
- data/spec/unit/from_argv/test_to_boolean.rb +0 -32
- data/spec/unit/from_argv/test_to_heading.rb +0 -37
- data/spec/unit/from_argv/test_to_ordering.rb +0 -28
- data/spec/unit/from_argv/test_to_predicate.rb +0 -26
- data/spec/unit/from_argv/test_to_renaming.rb +0 -23
- data/spec/unit/from_argv/test_to_size.rb +0 -32
- data/spec/unit/from_argv/test_to_summarization.rb +0 -19
- data/spec/unit/from_argv/test_to_tuple_computation.rb +0 -18
- data/spec/unit/from_argv/test_to_tuple_expression.rb +0 -38
- data/spec/unit/main/test_class_methods.rb +0 -44
- data/spec/unit/operator/test_autonum.rb +0 -28
- data/spec/unit/operator/test_clip.rb +0 -29
- data/spec/unit/operator/test_coerce.rb +0 -22
- data/spec/unit/operator/test_compact.rb +0 -16
- data/spec/unit/operator/test_defaults.rb +0 -29
- data/spec/unit/operator/test_extend.rb +0 -21
- data/spec/unit/operator/test_generator.rb +0 -37
- data/spec/unit/operator/test_group.rb +0 -32
- data/spec/unit/operator/test_infer_heading.rb +0 -16
- data/spec/unit/operator/test_intersect.rb +0 -18
- data/spec/unit/operator/test_join.rb +0 -18
- data/spec/unit/operator/test_matching.rb +0 -18
- data/spec/unit/operator/test_minus.rb +0 -18
- data/spec/unit/operator/test_not_matching.rb +0 -18
- data/spec/unit/operator/test_project.rb +0 -38
- data/spec/unit/operator/test_quota.rb +0 -23
- data/spec/unit/operator/test_rank.rb +0 -30
- data/spec/unit/operator/test_rename.rb +0 -21
- data/spec/unit/operator/test_restrict.rb +0 -36
- data/spec/unit/operator/test_sort.rb +0 -49
- data/spec/unit/operator/test_summarize.rb +0 -30
- data/spec/unit/operator/test_ungroup.rb +0 -28
- data/spec/unit/operator/test_union.rb +0 -18
- data/spec/unit/operator/test_unwrap.rb +0 -28
- data/spec/unit/operator/test_wrap.rb +0 -30
@@ -0,0 +1,32 @@
|
|
1
|
+
module Alf
|
2
|
+
module Shell
|
3
|
+
class Metadata < Shell::Command(__FILE__, __LINE__)
|
4
|
+
|
5
|
+
options do |opt|
|
6
|
+
|
7
|
+
opt.on_tail('-h', "--help", "Show help") do
|
8
|
+
show_help("alf-metadata")
|
9
|
+
end
|
10
|
+
|
11
|
+
end
|
12
|
+
|
13
|
+
def run(argv, requester)
|
14
|
+
# set requester and parse options
|
15
|
+
@requester = requester
|
16
|
+
argv = parse_options(argv, :split)
|
17
|
+
|
18
|
+
operand = compile(argv)
|
19
|
+
keys = operand.keys.to_a.map{|k| k.to_a }
|
20
|
+
heading = Relation(operand.heading.to_hash.each_pair.map{|k,v|
|
21
|
+
{attribute: k, type: v.to_s}
|
22
|
+
})
|
23
|
+
puts Relation({heading: heading, keys: keys})
|
24
|
+
end
|
25
|
+
|
26
|
+
def compile(argv)
|
27
|
+
operand(argv.shift)
|
28
|
+
end
|
29
|
+
|
30
|
+
end # class Metadata
|
31
|
+
end # module Shell
|
32
|
+
end # module Alf
|
@@ -1,6 +1,14 @@
|
|
1
1
|
module Alf
|
2
2
|
module Shell
|
3
|
-
class Show < Shell::Command()
|
3
|
+
class Show < Shell::Command(__FILE__, __LINE__)
|
4
|
+
|
5
|
+
options do |opt|
|
6
|
+
|
7
|
+
opt.on_tail('-h', "--help", "Show help") do
|
8
|
+
show_help("alf-show")
|
9
|
+
end
|
10
|
+
|
11
|
+
end
|
4
12
|
|
5
13
|
def run(argv, requester)
|
6
14
|
# set requester and parse options
|
@@ -11,13 +19,17 @@ module Alf
|
|
11
19
|
end
|
12
20
|
|
13
21
|
def compile(argv)
|
14
|
-
operand =
|
15
|
-
unless argv.empty?
|
16
|
-
operand = Algebra::Sort.new([operand], Shell.from_argv(argv.first, Ordering))
|
17
|
-
end
|
22
|
+
operand = operand(argv.shift)
|
23
|
+
operand = sort(operand, argv.first) unless argv.empty?
|
18
24
|
operand
|
19
25
|
end
|
20
26
|
|
27
|
+
private
|
28
|
+
|
29
|
+
def sort(operand, ordering)
|
30
|
+
Algebra::Sort.new([operand], Ordering.coerce(ordering))
|
31
|
+
end
|
32
|
+
|
21
33
|
end # class Show
|
22
34
|
end # module Shell
|
23
35
|
end # module Alf
|
data/lib/alf/shell/support.rb
CHANGED
@@ -2,26 +2,34 @@ module Alf
|
|
2
2
|
module Shell
|
3
3
|
module Support
|
4
4
|
|
5
|
+
AlfFile = ->(arg){
|
6
|
+
path = Path(arg)
|
7
|
+
path.file? and path.ext =~ /^\.?alf$/
|
8
|
+
}
|
9
|
+
|
5
10
|
def connection
|
6
11
|
requester && requester.connection
|
7
12
|
end
|
8
13
|
|
9
|
-
def
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
operands = operands[(operands.size - size)..-1] if size
|
16
|
-
operands = operands.map{|arg|
|
17
|
-
arg = connection.relvar(arg) if arg.is_a?(String)
|
14
|
+
def operand(arg)
|
15
|
+
case arg
|
16
|
+
when AlfFile then operand(Path(arg).read)
|
17
|
+
when String then connection.relvar(arg)
|
18
|
+
when Array then operand(arg.first)
|
19
|
+
else
|
18
20
|
Algebra::Operand.coerce(arg)
|
19
|
-
|
20
|
-
operands
|
21
|
+
end
|
21
22
|
end
|
22
23
|
|
23
|
-
def
|
24
|
-
|
24
|
+
def show_help(who)
|
25
|
+
who = "alf-#{who}" if /explain|metadata|show/ =~ who
|
26
|
+
if p = Path.backfind("doc/man/#{who}.man")
|
27
|
+
exit if system("man #{p}")
|
28
|
+
puts Path.backfind("doc/txt/#{who}.txt").read
|
29
|
+
else
|
30
|
+
puts "Unknown command/operator `#{who}`"
|
31
|
+
end
|
32
|
+
exit
|
25
33
|
end
|
26
34
|
|
27
35
|
end # module Support
|
data/lib/alf/shell/version.rb
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
alf explain "restrict(suppliers, sid: 'S1')"
|
@@ -0,0 +1 @@
|
|
1
|
+
alf --text show show/group.alf
|
File without changes
|
data/tasks/doc.rake
ADDED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alf-shell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-10-
|
12
|
+
date: 2013-10-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -43,6 +43,22 @@ dependencies:
|
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '2.14'
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: alf-doc
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ~>
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.15.0
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.15.0
|
46
62
|
- !ruby/object:Gem::Dependency
|
47
63
|
name: highline
|
48
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,7 +82,7 @@ dependencies:
|
|
66
82
|
requirements:
|
67
83
|
- - ~>
|
68
84
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
85
|
+
version: 0.15.0
|
70
86
|
type: :runtime
|
71
87
|
prerelease: false
|
72
88
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -74,7 +90,7 @@ dependencies:
|
|
74
90
|
requirements:
|
75
91
|
- - ~>
|
76
92
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.
|
93
|
+
version: 0.15.0
|
78
94
|
- !ruby/object:Gem::Dependency
|
79
95
|
name: quickl
|
80
96
|
requirement: !ruby/object:Gem::Requirement
|
@@ -103,50 +119,98 @@ files:
|
|
103
119
|
- Gemfile
|
104
120
|
- Gemfile.lock
|
105
121
|
- bin/alf
|
106
|
-
- doc/
|
107
|
-
- doc/
|
108
|
-
- doc/
|
109
|
-
- doc/
|
110
|
-
- doc/
|
111
|
-
- doc/
|
112
|
-
- doc/
|
113
|
-
- doc/
|
114
|
-
- doc/
|
115
|
-
- doc/
|
116
|
-
- doc/
|
117
|
-
- doc/
|
118
|
-
- doc/
|
119
|
-
- doc/
|
120
|
-
- doc/
|
121
|
-
- doc/
|
122
|
-
- doc/
|
123
|
-
- doc/
|
124
|
-
- doc/
|
125
|
-
- doc/
|
126
|
-
- doc/
|
127
|
-
- doc/
|
128
|
-
- doc/
|
129
|
-
- doc/
|
130
|
-
- doc/
|
131
|
-
- doc/
|
132
|
-
- doc/
|
133
|
-
- doc/
|
134
|
-
- doc/
|
135
|
-
- doc/
|
136
|
-
- doc/
|
137
|
-
- doc/
|
138
|
-
- doc/
|
122
|
+
- doc/man/alf-explain.man
|
123
|
+
- doc/man/alf-metadata.man
|
124
|
+
- doc/man/alf-show.man
|
125
|
+
- doc/man/alf.man
|
126
|
+
- doc/man/allbut.man
|
127
|
+
- doc/man/among.man
|
128
|
+
- doc/man/avg.man
|
129
|
+
- doc/man/between.man
|
130
|
+
- doc/man/concat.man
|
131
|
+
- doc/man/contradiction.man
|
132
|
+
- doc/man/count.man
|
133
|
+
- doc/man/eq.man
|
134
|
+
- doc/man/extend.man
|
135
|
+
- doc/man/frame.man
|
136
|
+
- doc/man/group.man
|
137
|
+
- doc/man/gt.man
|
138
|
+
- doc/man/gte.man
|
139
|
+
- doc/man/intersect.man
|
140
|
+
- doc/man/join.man
|
141
|
+
- doc/man/lt.man
|
142
|
+
- doc/man/lte.man
|
143
|
+
- doc/man/matching.man
|
144
|
+
- doc/man/max.man
|
145
|
+
- doc/man/min.man
|
146
|
+
- doc/man/minus.man
|
147
|
+
- doc/man/native.man
|
148
|
+
- doc/man/neq.man
|
149
|
+
- doc/man/not_matching.man
|
150
|
+
- doc/man/page.man
|
151
|
+
- doc/man/project.man
|
152
|
+
- doc/man/rank.man
|
153
|
+
- doc/man/rename.man
|
154
|
+
- doc/man/restrict.man
|
155
|
+
- doc/man/stddev.man
|
156
|
+
- doc/man/sum.man
|
157
|
+
- doc/man/summarize.man
|
158
|
+
- doc/man/tautology.man
|
159
|
+
- doc/man/ungroup.man
|
160
|
+
- doc/man/union.man
|
161
|
+
- doc/man/unwrap.man
|
162
|
+
- doc/man/variance.man
|
163
|
+
- doc/man/wrap.man
|
164
|
+
- doc/txt/alf-explain.man
|
165
|
+
- doc/txt/alf-metadata.man
|
166
|
+
- doc/txt/alf-show.man
|
167
|
+
- doc/txt/alf.man
|
168
|
+
- doc/txt/allbut.txt
|
169
|
+
- doc/txt/among.txt
|
170
|
+
- doc/txt/avg.txt
|
171
|
+
- doc/txt/between.txt
|
172
|
+
- doc/txt/concat.txt
|
173
|
+
- doc/txt/contradiction.txt
|
174
|
+
- doc/txt/count.txt
|
175
|
+
- doc/txt/eq.txt
|
176
|
+
- doc/txt/extend.txt
|
177
|
+
- doc/txt/frame.txt
|
178
|
+
- doc/txt/group.txt
|
179
|
+
- doc/txt/gt.txt
|
180
|
+
- doc/txt/gte.txt
|
181
|
+
- doc/txt/intersect.txt
|
182
|
+
- doc/txt/join.txt
|
183
|
+
- doc/txt/lt.txt
|
184
|
+
- doc/txt/lte.txt
|
185
|
+
- doc/txt/matching.txt
|
186
|
+
- doc/txt/max.txt
|
187
|
+
- doc/txt/min.txt
|
188
|
+
- doc/txt/minus.txt
|
189
|
+
- doc/txt/native.txt
|
190
|
+
- doc/txt/neq.txt
|
191
|
+
- doc/txt/not_matching.txt
|
192
|
+
- doc/txt/page.txt
|
193
|
+
- doc/txt/project.txt
|
194
|
+
- doc/txt/rank.txt
|
195
|
+
- doc/txt/rename.txt
|
196
|
+
- doc/txt/restrict.txt
|
197
|
+
- doc/txt/stddev.txt
|
198
|
+
- doc/txt/sum.txt
|
199
|
+
- doc/txt/summarize.txt
|
200
|
+
- doc/txt/tautology.txt
|
201
|
+
- doc/txt/ungroup.txt
|
202
|
+
- doc/txt/union.txt
|
203
|
+
- doc/txt/unwrap.txt
|
204
|
+
- doc/txt/variance.txt
|
205
|
+
- doc/txt/wrap.txt
|
139
206
|
- lib/alf/shell/alfrc.rb
|
140
|
-
- lib/alf/shell/command/
|
207
|
+
- lib/alf/shell/command/explain.rb
|
141
208
|
- lib/alf/shell/command/help.rb
|
142
209
|
- lib/alf/shell/command/main.rb
|
210
|
+
- lib/alf/shell/command/metadata.rb
|
143
211
|
- lib/alf/shell/command/show.rb
|
144
212
|
- lib/alf/shell/command.rb
|
145
|
-
- lib/alf/shell/doc_manager.rb
|
146
|
-
- lib/alf/shell/ext/signature.rb
|
147
|
-
- lib/alf/shell/from_argv.rb
|
148
213
|
- lib/alf/shell/loader.rb
|
149
|
-
- lib/alf/shell/operator.rb
|
150
214
|
- lib/alf/shell/support.rb
|
151
215
|
- lib/alf/shell/version.rb
|
152
216
|
- lib/alf/shell.rb
|
@@ -156,7 +220,6 @@ files:
|
|
156
220
|
- Rakefile
|
157
221
|
- README.md
|
158
222
|
- spec/fixtures/example.alfrc
|
159
|
-
- spec/integration/__database__/group.alf
|
160
223
|
- spec/integration/__database__/parts.rash
|
161
224
|
- spec/integration/__database__/suppliers.rash
|
162
225
|
- spec/integration/__database__/suppliers_csv.csv
|
@@ -164,87 +227,18 @@ files:
|
|
164
227
|
- spec/integration/alf/alf.db
|
165
228
|
- spec/integration/alf/alf_db.cmd
|
166
229
|
- spec/integration/alf/alf_db.stdout
|
167
|
-
- spec/integration/alf/alf_e.cmd
|
168
|
-
- spec/integration/alf/alf_e.stdout
|
169
|
-
- spec/integration/alf/alf_help.cmd
|
170
|
-
- spec/integration/alf/alf_help.stdout
|
171
230
|
- spec/integration/alf/alf_json.cmd
|
172
231
|
- spec/integration/alf/alf_json.stdout
|
173
|
-
- spec/integration/alf/alf_r.cmd
|
174
|
-
- spec/integration/alf/alf_r.stdout
|
175
232
|
- spec/integration/alf/alf_version.cmd
|
176
233
|
- spec/integration/alf/alf_version.stdout
|
177
234
|
- spec/integration/alf/alf_yaml.cmd
|
178
235
|
- spec/integration/alf/alf_yaml.stdout
|
179
236
|
- spec/integration/alf/rel.rash
|
180
|
-
- spec/integration/
|
181
|
-
- spec/integration/
|
182
|
-
- spec/integration/
|
183
|
-
- spec/integration/
|
184
|
-
- spec/integration/
|
185
|
-
- spec/integration/clip/clip_0.stdout
|
186
|
-
- spec/integration/clip/clip_1.cmd
|
187
|
-
- spec/integration/clip/clip_1.stdout
|
188
|
-
- spec/integration/coerce/coerce_1.cmd
|
189
|
-
- spec/integration/coerce/coerce_1.stdout
|
190
|
-
- spec/integration/compact/compact_0.cmd
|
191
|
-
- spec/integration/compact/compact_0.stdout
|
192
|
-
- spec/integration/defaults/defaults_0.cmd
|
193
|
-
- spec/integration/defaults/defaults_0.stdout
|
194
|
-
- spec/integration/defaults/defaults_1.cmd
|
195
|
-
- spec/integration/defaults/defaults_1.stdout
|
196
|
-
- spec/integration/defaults/defaults_2.cmd
|
197
|
-
- spec/integration/defaults/defaults_2.stdout
|
198
|
-
- spec/integration/extend/extend_0.cmd
|
199
|
-
- spec/integration/extend/extend_0.stdout
|
200
|
-
- spec/integration/frame/frame_0.cmd
|
201
|
-
- spec/integration/frame/frame_0.stdout
|
202
|
-
- spec/integration/generator/generator_1.cmd
|
203
|
-
- spec/integration/generator/generator_1.stdout
|
204
|
-
- spec/integration/generator/generator_2.cmd
|
205
|
-
- spec/integration/generator/generator_2.stdout
|
206
|
-
- spec/integration/generator/generator_3.cmd
|
207
|
-
- spec/integration/generator/generator_3.stdout
|
208
|
-
- spec/integration/group/group_0.cmd
|
209
|
-
- spec/integration/group/group_0.stdout
|
210
|
-
- spec/integration/group/group_1.cmd
|
211
|
-
- spec/integration/group/group_1.stdout
|
212
|
-
- spec/integration/help/help_1.cmd
|
213
|
-
- spec/integration/help/help_1.stdout
|
214
|
-
- spec/integration/intersect/intersect_0.cmd
|
215
|
-
- spec/integration/intersect/intersect_0.stdout
|
216
|
-
- spec/integration/join/join_0.cmd
|
217
|
-
- spec/integration/join/join_0.stdout
|
218
|
-
- spec/integration/matching/matching_0.cmd
|
219
|
-
- spec/integration/matching/matching_0.stdout
|
220
|
-
- spec/integration/minus/minus_0.cmd
|
221
|
-
- spec/integration/minus/minus_0.stdout
|
222
|
-
- spec/integration/not-matching/not-matching_0.cmd
|
223
|
-
- spec/integration/not-matching/not-matching_0.stdout
|
224
|
-
- spec/integration/page/page_0.cmd
|
225
|
-
- spec/integration/page/page_0.stdout
|
226
|
-
- spec/integration/project/project_0.cmd
|
227
|
-
- spec/integration/project/project_0.stdout
|
228
|
-
- spec/integration/project/project_1.cmd
|
229
|
-
- spec/integration/project/project_1.stdout
|
230
|
-
- spec/integration/quota/quota_0.cmd
|
231
|
-
- spec/integration/quota/quota_0.stdout
|
232
|
-
- spec/integration/rank/rank_1.cmd
|
233
|
-
- spec/integration/rank/rank_1.stdout
|
234
|
-
- spec/integration/rank/rank_2.cmd
|
235
|
-
- spec/integration/rank/rank_2.stdout
|
236
|
-
- spec/integration/rank/rank_3.cmd
|
237
|
-
- spec/integration/rank/rank_3.stdout
|
238
|
-
- spec/integration/rank/rank_4.cmd
|
239
|
-
- spec/integration/rank/rank_4.stdout
|
240
|
-
- spec/integration/rank/rank_5.cmd
|
241
|
-
- spec/integration/rank/rank_5.stdout
|
242
|
-
- spec/integration/rename/rename_0.cmd
|
243
|
-
- spec/integration/rename/rename_0.stdout
|
244
|
-
- spec/integration/restrict/restrict_0.cmd
|
245
|
-
- spec/integration/restrict/restrict_0.stdout
|
246
|
-
- spec/integration/restrict/restrict_1.cmd
|
247
|
-
- spec/integration/restrict/restrict_1.stdout
|
237
|
+
- spec/integration/explain/explain.cmd
|
238
|
+
- spec/integration/explain/explain.stdout
|
239
|
+
- spec/integration/show/group.alf
|
240
|
+
- spec/integration/show/show_alf.cmd
|
241
|
+
- spec/integration/show/show_alf.stdout
|
248
242
|
- spec/integration/show/show_base.cmd
|
249
243
|
- spec/integration/show/show_base.stdout
|
250
244
|
- spec/integration/show/show_base_sort_1.cmd
|
@@ -259,73 +253,14 @@ files:
|
|
259
253
|
- spec/integration/show/show_rash_pretty.stdout
|
260
254
|
- spec/integration/show/show_yaml.cmd
|
261
255
|
- spec/integration/show/show_yaml.stdout
|
262
|
-
- spec/integration/sort/sort_0.cmd
|
263
|
-
- spec/integration/sort/sort_0.stdout
|
264
|
-
- spec/integration/sort/sort_1.cmd
|
265
|
-
- spec/integration/sort/sort_1.stdout
|
266
|
-
- spec/integration/sort/sort_2.cmd
|
267
|
-
- spec/integration/sort/sort_2.stdout
|
268
|
-
- spec/integration/sort/sort_3.cmd
|
269
|
-
- spec/integration/sort/sort_3.stdout
|
270
|
-
- spec/integration/summarize/summarize_0.cmd
|
271
|
-
- spec/integration/summarize/summarize_0.stdout
|
272
256
|
- spec/integration/test_shell.rb
|
273
|
-
- spec/integration/union/union_0.cmd
|
274
|
-
- spec/integration/union/union_0.stdout
|
275
|
-
- spec/integration/unwrap/unwrap_0.cmd
|
276
|
-
- spec/integration/unwrap/unwrap_0.stdout
|
277
|
-
- spec/integration/wrap/wrap_0.cmd
|
278
|
-
- spec/integration/wrap/wrap_0.stdout
|
279
257
|
- spec/spec_helper.rb
|
280
258
|
- spec/test_shell.rb
|
281
259
|
- spec/unit/alfrc/test_alfrc.rb
|
282
|
-
- spec/unit/doc_manager/dynamic.md
|
283
|
-
- spec/unit/doc_manager/example.md
|
284
|
-
- spec/unit/doc_manager/example_1.txt
|
285
|
-
- spec/unit/doc_manager/static.md
|
286
|
-
- spec/unit/doc_manager/test_call.rb
|
287
|
-
- spec/unit/ext/signature/test_argv2args.rb
|
288
|
-
- spec/unit/ext/signature/test_to_shell.rb
|
289
|
-
- spec/unit/from_argv/test_to_attr_list.rb
|
290
|
-
- spec/unit/from_argv/test_to_attr_name.rb
|
291
|
-
- spec/unit/from_argv/test_to_boolean.rb
|
292
|
-
- spec/unit/from_argv/test_to_heading.rb
|
293
|
-
- spec/unit/from_argv/test_to_ordering.rb
|
294
|
-
- spec/unit/from_argv/test_to_predicate.rb
|
295
|
-
- spec/unit/from_argv/test_to_renaming.rb
|
296
|
-
- spec/unit/from_argv/test_to_size.rb
|
297
|
-
- spec/unit/from_argv/test_to_summarization.rb
|
298
|
-
- spec/unit/from_argv/test_to_tuple_computation.rb
|
299
|
-
- spec/unit/from_argv/test_to_tuple_expression.rb
|
300
|
-
- spec/unit/main/test_class_methods.rb
|
301
260
|
- spec/unit/main/test_I_option.rb
|
302
261
|
- spec/unit/main/test_r_option.rb
|
303
262
|
- spec/unit/main/test_renderer_option.rb
|
304
|
-
-
|
305
|
-
- spec/unit/operator/test_clip.rb
|
306
|
-
- spec/unit/operator/test_coerce.rb
|
307
|
-
- spec/unit/operator/test_compact.rb
|
308
|
-
- spec/unit/operator/test_defaults.rb
|
309
|
-
- spec/unit/operator/test_extend.rb
|
310
|
-
- spec/unit/operator/test_generator.rb
|
311
|
-
- spec/unit/operator/test_group.rb
|
312
|
-
- spec/unit/operator/test_infer_heading.rb
|
313
|
-
- spec/unit/operator/test_intersect.rb
|
314
|
-
- spec/unit/operator/test_join.rb
|
315
|
-
- spec/unit/operator/test_matching.rb
|
316
|
-
- spec/unit/operator/test_minus.rb
|
317
|
-
- spec/unit/operator/test_not_matching.rb
|
318
|
-
- spec/unit/operator/test_project.rb
|
319
|
-
- spec/unit/operator/test_quota.rb
|
320
|
-
- spec/unit/operator/test_rank.rb
|
321
|
-
- spec/unit/operator/test_rename.rb
|
322
|
-
- spec/unit/operator/test_restrict.rb
|
323
|
-
- spec/unit/operator/test_sort.rb
|
324
|
-
- spec/unit/operator/test_summarize.rb
|
325
|
-
- spec/unit/operator/test_ungroup.rb
|
326
|
-
- spec/unit/operator/test_union.rb
|
327
|
-
- spec/unit/operator/test_unwrap.rb
|
328
|
-
- spec/unit/operator/test_wrap.rb
|
263
|
+
- tasks/doc.rake
|
329
264
|
- tasks/gem.rake
|
330
265
|
- tasks/test.rake
|
331
266
|
homepage: http://github.com/alf-tool/alf-shell
|
@@ -342,13 +277,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
342
277
|
version: '0'
|
343
278
|
segments:
|
344
279
|
- 0
|
345
|
-
hash:
|
280
|
+
hash: 1197934734732335619
|
346
281
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
347
282
|
none: false
|
348
283
|
requirements:
|
349
284
|
- - ! '>='
|
350
285
|
- !ruby/object:Gem::Version
|
351
286
|
version: '0'
|
287
|
+
segments:
|
288
|
+
- 0
|
289
|
+
hash: 1197934734732335619
|
352
290
|
requirements: []
|
353
291
|
rubyforge_project:
|
354
292
|
rubygems_version: 1.8.25
|