Skip to content

Commit 8401d48

Browse files
committed
Release 0.4.0
1 parent f8661f3 commit 8401d48

File tree

4 files changed

+27
-34
lines changed

4 files changed

+27
-34
lines changed

CHANGELOG.markdown

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
* Pulled in fix for ruby 1.9 compilation error (sorry!!)
44
* Fix specs that broke with new rspec
55
* Migration to rubygems.org
6+
* 0.4.0 release
67

78
=== Jan 3, 2009
89

Manifest

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
History.txt
1+
CHANGELOG.markdown
22
Manifest
33
README.markdown
44
Rakefile
@@ -8,6 +8,8 @@ benchmarks/sorts.rb
88
benchmarks/treemaps.rb
99
ext/algorithms/string/extconf.rb
1010
ext/algorithms/string/string.c
11+
ext/containers/bst/bst.c
12+
ext/containers/bst/extconf.rb
1113
ext/containers/deque/deque.c
1214
ext/containers/deque/extconf.rb
1315
ext/containers/rbtree_map/extconf.rb
@@ -28,6 +30,8 @@ lib/containers/splay_tree_map.rb
2830
lib/containers/stack.rb
2931
lib/containers/suffix_array.rb
3032
lib/containers/trie.rb
33+
spec/bst_gc_mark_spec.rb
34+
spec/bst_spec.rb
3135
spec/deque_gc_mark_spec.rb
3236
spec/deque_spec.rb
3337
spec/heap_spec.rb

Rakefile

+4-17
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,9 @@ require 'echoe'
44
Echoe.new('algorithms') do |p|
55
p.author = 'Kanwei Li'
66
p.email = '[email protected]'
7-
p.summary = 'A library of algorithms and containers.'
8-
p.url = 'http://rubyforge.org/projects/algorithms/'
9-
p.version = "0.2.0"
7+
p.summary = 'A library of algorithms and data structures (containers).'
8+
p.url = 'https://rubygems.org/gems/algorithms'
9+
p.version = "0.4.0"
1010
p.runtime_dependencies = []
11+
p.development_dependencies = ["rspec"]
1112
end
12-
13-
task :push do
14-
sh "git push" # Rubyforge
15-
sh "git push --tags" # Rubyforge
16-
sh "git push gh" # Github
17-
sh "git push gh --tags" # Github
18-
end
19-
20-
task :hanna do
21-
sh "rm -fr doc"
22-
sh "hanna -SN lib/ -m Algorithms"
23-
sh "scp -rq doc/* [email protected]:/var/www/gforge-projects/algorithms"
24-
end
25-

algorithms.gemspec

+17-16
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,33 @@
11
# -*- encoding: utf-8 -*-
22

33
Gem::Specification.new do |s|
4-
s.name = %q{algorithms}
5-
s.version = "0.2.0"
4+
s.name = "algorithms"
5+
s.version = "0.4.0"
66

77
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
88
s.authors = ["Kanwei Li"]
9-
s.date = %q{2009-03-29}
10-
s.description = %q{A library of algorithms and containers.}
11-
s.email = %q{[email protected]}
12-
s.extensions = ["ext/containers/deque/extconf.rb", "ext/containers/rbtree_map/extconf.rb", "ext/containers/splaytree_map/extconf.rb"]
13-
s.extra_rdoc_files = ["ext/containers/deque/deque.c", "ext/containers/deque/extconf.rb", "ext/containers/rbtree_map/extconf.rb", "ext/containers/rbtree_map/rbtree.c", "ext/containers/splaytree_map/extconf.rb", "ext/containers/splaytree_map/splaytree.c", "lib/algorithms/search.rb", "lib/algorithms/sort.rb", "lib/algorithms.rb", "lib/containers/deque.rb", "lib/containers/heap.rb", "lib/containers/kd_tree.rb", "lib/containers/priority_queue.rb", "lib/containers/queue.rb", "lib/containers/rb_tree_map.rb", "lib/containers/splay_tree_map.rb", "lib/containers/stack.rb", "lib/containers/suffix_array.rb", "lib/containers/trie.rb", "README.markdown"]
14-
s.files = ["algorithms.gemspec", "benchmarks/deque.rb", "benchmarks/sorts.rb", "benchmarks/treemaps.rb", "ext/containers/deque/deque.c", "ext/containers/deque/extconf.rb", "ext/containers/rbtree_map/extconf.rb", "ext/containers/rbtree_map/rbtree.c", "ext/containers/splaytree_map/extconf.rb", "ext/containers/splaytree_map/splaytree.c", "History.txt", "lib/algorithms/search.rb", "lib/algorithms/sort.rb", "lib/algorithms.rb", "lib/containers/deque.rb", "lib/containers/heap.rb", "lib/containers/kd_tree.rb", "lib/containers/priority_queue.rb", "lib/containers/queue.rb", "lib/containers/rb_tree_map.rb", "lib/containers/splay_tree_map.rb", "lib/containers/stack.rb", "lib/containers/suffix_array.rb", "lib/containers/trie.rb", "Manifest", "Rakefile", "README.markdown", "spec/deque_gc_mark_spec.rb", "spec/deque_spec.rb", "spec/heap_spec.rb", "spec/kd_tree_spec.rb", "spec/priority_queue_spec.rb", "spec/queue_spec.rb", "spec/rb_tree_map_gc_mark_spec.rb", "spec/rb_tree_map_spec.rb", "spec/search_spec.rb", "spec/sort_spec.rb", "spec/splay_tree_map_spec.rb", "spec/stack_spec.rb", "spec/suffix_array_spec.rb", "spec/trie_spec.rb"]
15-
s.has_rdoc = true
16-
s.homepage = %q{http://rubyforge.org/projects/algorithms/}
9+
s.date = "2012-04-19"
10+
s.description = "A library of algorithms and data structures (containers)."
11+
s.email = "[email protected]"
12+
s.extensions = ["ext/algorithms/string/extconf.rb", "ext/containers/bst/extconf.rb", "ext/containers/deque/extconf.rb", "ext/containers/rbtree_map/extconf.rb", "ext/containers/splaytree_map/extconf.rb"]
13+
s.extra_rdoc_files = ["CHANGELOG.markdown", "README.markdown", "ext/algorithms/string/extconf.rb", "ext/algorithms/string/string.c", "ext/containers/bst/bst.c", "ext/containers/bst/extconf.rb", "ext/containers/deque/deque.c", "ext/containers/deque/extconf.rb", "ext/containers/rbtree_map/extconf.rb", "ext/containers/rbtree_map/rbtree.c", "ext/containers/splaytree_map/extconf.rb", "ext/containers/splaytree_map/splaytree.c", "lib/algorithms.rb", "lib/algorithms/search.rb", "lib/algorithms/sort.rb", "lib/algorithms/string.rb", "lib/containers/deque.rb", "lib/containers/heap.rb", "lib/containers/kd_tree.rb", "lib/containers/priority_queue.rb", "lib/containers/queue.rb", "lib/containers/rb_tree_map.rb", "lib/containers/splay_tree_map.rb", "lib/containers/stack.rb", "lib/containers/suffix_array.rb", "lib/containers/trie.rb"]
14+
s.files = ["CHANGELOG.markdown", "Manifest", "README.markdown", "Rakefile", "algorithms.gemspec", "benchmarks/deque.rb", "benchmarks/sorts.rb", "benchmarks/treemaps.rb", "ext/algorithms/string/extconf.rb", "ext/algorithms/string/string.c", "ext/containers/bst/bst.c", "ext/containers/bst/extconf.rb", "ext/containers/deque/deque.c", "ext/containers/deque/extconf.rb", "ext/containers/rbtree_map/extconf.rb", "ext/containers/rbtree_map/rbtree.c", "ext/containers/splaytree_map/extconf.rb", "ext/containers/splaytree_map/splaytree.c", "lib/algorithms.rb", "lib/algorithms/search.rb", "lib/algorithms/sort.rb", "lib/algorithms/string.rb", "lib/containers/deque.rb", "lib/containers/heap.rb", "lib/containers/kd_tree.rb", "lib/containers/priority_queue.rb", "lib/containers/queue.rb", "lib/containers/rb_tree_map.rb", "lib/containers/splay_tree_map.rb", "lib/containers/stack.rb", "lib/containers/suffix_array.rb", "lib/containers/trie.rb", "spec/bst_gc_mark_spec.rb", "spec/bst_spec.rb", "spec/deque_gc_mark_spec.rb", "spec/deque_spec.rb", "spec/heap_spec.rb", "spec/kd_expected_out.txt", "spec/kd_test_in.txt", "spec/kd_tree_spec.rb", "spec/map_gc_mark_spec.rb", "spec/priority_queue_spec.rb", "spec/queue_spec.rb", "spec/rb_tree_map_spec.rb", "spec/search_spec.rb", "spec/sort_spec.rb", "spec/splay_tree_map_spec.rb", "spec/stack_spec.rb", "spec/string_spec.rb", "spec/suffix_array_spec.rb", "spec/trie_spec.rb"]
15+
s.homepage = "https://rubygems.org/gems/algorithms"
1716
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Algorithms", "--main", "README.markdown"]
1817
s.require_paths = ["lib", "ext"]
19-
s.rubyforge_project = %q{algorithms}
20-
s.rubygems_version = %q{1.3.1}
21-
s.summary = %q{A library of algorithms and containers.}
18+
s.rubyforge_project = "algorithms"
19+
s.rubygems_version = "1.8.15"
20+
s.summary = "A library of algorithms and data structures (containers)."
2221

2322
if s.respond_to? :specification_version then
24-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
25-
s.specification_version = 2
23+
s.specification_version = 3
2624

27-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
25+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
26+
s.add_development_dependency(%q<rspec>, [">= 0"])
2827
else
28+
s.add_dependency(%q<rspec>, [">= 0"])
2929
end
3030
else
31+
s.add_dependency(%q<rspec>, [">= 0"])
3132
end
3233
end

0 commit comments

Comments
 (0)