Skip to content

Commit d933e4a

Browse files
committed
Let GitHub build the gem too
1 parent 4b3af5e commit d933e4a

File tree

3 files changed

+35
-4
lines changed

3 files changed

+35
-4
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*.so
55
Makefile
66
.DS_Store
7-
*.gemspec
87
doc
98
pkg
109
*#

Rakefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ task :spec do
1717
end
1818

1919
task :push do
20-
sh "git push" # Rubyforge
21-
sh "git push gt" # Gitorious
22-
sh "git push gh" # Github
20+
sh "git push --tags" # Rubyforge
21+
sh "git push gt --tags" # Gitorious
22+
sh "git push gh --tags" # Github
2323
end
2424

2525
task :hanna do

algorithms.gemspec

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# -*- encoding: utf-8 -*-
2+
3+
Gem::Specification.new do |s|
4+
s.name = %q{algorithms}
5+
s.version = "0.1.0"
6+
7+
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8+
s.authors = ["Kanwei Li"]
9+
s.date = %q{2009-02-28}
10+
s.description = %q{A library of algorithms and containers.}
11+
s.email = %q{[email protected]}
12+
s.extensions = ["ext/containers/bst/extconf.rb", "ext/containers/deque/extconf.rb", "ext/containers/tree_map/extconf.rb"]
13+
s.extra_rdoc_files = ["ext/containers/bst/bst.c", "ext/containers/bst/extconf.rb", "ext/containers/deque/deque.c", "ext/containers/deque/extconf.rb", "ext/containers/tree_map/extconf.rb", "ext/containers/tree_map/rbtree.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", "lib/graphs/graph.rb", "README"]
14+
s.files = ["algorithms.gemspec", "benchmark.rb", "benchmarks/rbench/column.rb", "benchmarks/rbench/group.rb", "benchmarks/rbench/report.rb", "benchmarks/rbench/runner.rb", "benchmarks/rbench/summary.rb", "benchmarks/rbench.rb", "benchmarks/sorts.rb", "ext/containers/bst/bst.c", "ext/containers/bst/extconf.rb", "ext/containers/deque/deque.c", "ext/containers/deque/extconf.rb", "ext/containers/tree_map/extconf.rb", "ext/containers/tree_map/rbtree.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", "lib/graphs/graph.rb", "Manifest", "Rakefile", "README", "spec/bst_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_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/}
17+
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Algorithms", "--main", "README"]
18+
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.}
22+
23+
if s.respond_to? :specification_version then
24+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
25+
s.specification_version = 2
26+
27+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
28+
else
29+
end
30+
else
31+
end
32+
end

0 commit comments

Comments
 (0)