Permalink
Browse files

Initial version RBTreeHash in avl_tree gem

TODO
 - optimize
 - make more easier to read
  • Loading branch information...
1 parent 41b04d3 commit c7129e93cc66a0bee664b6a1a339af26cf34de0e @nahi committed Mar 16, 2012
Showing with 1,236 additions and 0 deletions.
  1. +11 −0 Gemfile
  2. +14 −0 Rakefile
  3. +553 −0 lib/rbtree_hash.rb
  4. +25 −0 lib/rbtree_map.rb
  5. +13 −0 rbtree_hash.gemspec
  6. +8 −0 test/helper.rb
  7. +596 −0 test/test_rbtree_hash.rb
  8. +16 −0 test/test_rbtree_map.rb
View
11 Gemfile
@@ -0,0 +1,11 @@
+source "http://rubygems.org"
+
+group :development do
+ gem 'rake'
+end
+
+group :test do
+ gem 'simplecov', :require => false
+end
+
+gemspec
View
@@ -0,0 +1,14 @@
+require 'rake'
+require 'rake/testtask'
+require 'rubygems/package_task'
+
+task :default => :test
+
+require 'bundler'
+Bundler::GemHelper.install_tasks
+
+Rake::TestTask.new('test') do |test|
+ test.libs << 'lib'
+ test.verbose = true
+ test.test_files = Dir.glob('test/test_*.rb')
+end
Oops, something went wrong.

0 comments on commit c7129e9

Please sign in to comment.