Permalink
Browse files

Release 0.4.0

  • Loading branch information...
1 parent f8661f3 commit 8401d48feb28f95b1841805ff67efeb4278a1c03 @kanwei committed Apr 19, 2012
Showing with 27 additions and 34 deletions.
  1. +1 −0 CHANGELOG.markdown
  2. +5 −1 Manifest
  3. +4 −17 Rakefile
  4. +17 −16 algorithms.gemspec
View
@@ -3,6 +3,7 @@
* Pulled in fix for ruby 1.9 compilation error (sorry!!)
* Fix specs that broke with new rspec
* Migration to rubygems.org
+ * 0.4.0 release
=== Jan 3, 2009
View
@@ -1,4 +1,4 @@
-History.txt
+CHANGELOG.markdown
Manifest
README.markdown
Rakefile
@@ -8,6 +8,8 @@ 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
@@ -28,6 +30,8 @@ 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
View
@@ -4,22 +4,9 @@ require 'echoe'
Echoe.new('algorithms') do |p|
p.author = 'Kanwei Li'
p.email = 'kanwei@gmail.com'
- p.summary = 'A library of algorithms and containers.'
- p.url = 'http://rubyforge.org/projects/algorithms/'
- p.version = "0.2.0"
+ p.summary = 'A library of algorithms and data structures (containers).'
+ p.url = 'https://rubygems.org/gems/algorithms'
+ p.version = "0.4.0"
p.runtime_dependencies = []
+ p.development_dependencies = ["rspec"]
end
-
-task :push do
- sh "git push" # Rubyforge
- sh "git push --tags" # Rubyforge
- sh "git push gh" # Github
- sh "git push gh --tags" # Github
-end
-
-task :hanna do
- sh "rm -fr doc"
- sh "hanna -SN lib/ -m Algorithms"
- sh "scp -rq doc/* kanwei@rubyforge.org:/var/www/gforge-projects/algorithms"
-end
-
View
@@ -1,32 +1,33 @@
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
- s.name = %q{algorithms}
- s.version = "0.2.0"
+ s.name = "algorithms"
+ s.version = "0.4.0"
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
s.authors = ["Kanwei Li"]
- s.date = %q{2009-03-29}
- s.description = %q{A library of algorithms and containers.}
- s.email = %q{kanwei@gmail.com}
- s.extensions = ["ext/containers/deque/extconf.rb", "ext/containers/rbtree_map/extconf.rb", "ext/containers/splaytree_map/extconf.rb"]
- 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"]
- 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"]
- s.has_rdoc = true
- s.homepage = %q{http://rubyforge.org/projects/algorithms/}
+ s.date = "2012-04-19"
+ s.description = "A library of algorithms and data structures (containers)."
+ s.email = "kanwei@gmail.com"
+ 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"]
+ 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"]
+ 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"]
+ s.homepage = "https://rubygems.org/gems/algorithms"
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Algorithms", "--main", "README.markdown"]
s.require_paths = ["lib", "ext"]
- s.rubyforge_project = %q{algorithms}
- s.rubygems_version = %q{1.3.1}
- s.summary = %q{A library of algorithms and containers.}
+ s.rubyforge_project = "algorithms"
+ s.rubygems_version = "1.8.15"
+ s.summary = "A library of algorithms and data structures (containers)."
if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 2
+ s.specification_version = 3
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_development_dependency(%q<rspec>, [">= 0"])
else
+ s.add_dependency(%q<rspec>, [">= 0"])
end
else
+ s.add_dependency(%q<rspec>, [">= 0"])
end
end

0 comments on commit 8401d48

Please sign in to comment.