File tree 3 files changed +27
-10
lines changed
3 files changed +27
-10
lines changed Original file line number Diff line number Diff line change 7
7
* .gemspec
8
8
doc
9
9
pkg
10
+ * #
Original file line number Diff line number Diff line change
1
+ algorithms.gemspec
1
2
benchmark.rb
3
+ benchmarks/rbench/column.rb
4
+ benchmarks/rbench/group.rb
5
+ benchmarks/rbench/report.rb
6
+ benchmarks/rbench/runner.rb
7
+ benchmarks/rbench/summary.rb
8
+ benchmarks/rbench.rb
9
+ benchmarks/sorts.rb
10
+ ext/containers/bst/bst.c
11
+ ext/containers/bst/extconf.rb
2
12
ext/containers/deque/deque.c
3
13
ext/containers/deque/extconf.rb
4
14
ext/containers/tree_map/extconf.rb
5
- ext/containers/tree_map/Rakefile
6
15
ext/containers/tree_map/rbtree.c
7
16
History.txt
17
+ lib/algorithms/search.rb
18
+ lib/algorithms/sort.rb
8
19
lib/algorithms.rb
9
20
lib/containers/deque.rb
10
21
lib/containers/heap.rb
22
+ lib/containers/kd_tree.rb
11
23
lib/containers/priority_queue.rb
12
24
lib/containers/queue.rb
13
25
lib/containers/rb_tree_map.rb
14
26
lib/containers/splay_tree_map.rb
15
27
lib/containers/stack.rb
16
28
lib/containers/suffix_array.rb
17
29
lib/containers/trie.rb
18
- Makefile
30
+ lib/graphs/graph.rb
19
31
Manifest
20
32
Rakefile
21
33
README
34
+ spec/bst_spec.rb
22
35
spec/deque_spec.rb
23
36
spec/heap_spec.rb
37
+ spec/kd_tree_spec.rb
24
38
spec/priority_queue_spec.rb
25
39
spec/queue_spec.rb
26
40
spec/rb_tree_map_spec.rb
41
+ spec/search_spec.rb
42
+ spec/sort_spec.rb
27
43
spec/splay_tree_map_spec.rb
28
44
spec/stack_spec.rb
29
45
spec/suffix_array_spec.rb
Original file line number Diff line number Diff line change 1
1
require 'rubygems'
2
2
require 'echoe'
3
-
3
+
4
4
Echoe . new ( 'algorithms' ) do |p |
5
- p . author = 'Kanwei Li'
6
-
7
- p . summary = 'A library of algorithms and containers.'
8
- p . url = 'http://rubyforge.org/projects/algorithms/'
9
- p . version = "0.0.1 "
5
+ p . author = 'Kanwei Li'
6
+
7
+ p . summary = 'A library of algorithms and containers.'
8
+ p . url = 'http://rubyforge.org/projects/algorithms/'
9
+ p . version = "0.1.0 "
10
10
p . runtime_dependencies = [ ]
11
11
end
12
12
13
13
task :default => :spec
14
14
15
- task :spec => :compile do
16
- sh "spec -c spec/"
15
+ task :spec do
16
+ sh "spec spec/*.rb --color "
17
17
end
18
18
19
19
task :push do
You can’t perform that action at this time.
0 commit comments