about summary refs log tree commit
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-03-12 12:02:44 -0800
committerEric Wong <normalperson@yhbt.net>2010-03-12 12:03:48 -0800
commitecda5e2c47eb09e7c3db1f21775a5790f2773605 (patch)
treeef16edae19b28abcca816db63a22e2e921f4dac1
parenta49eccc26c0c0958428dd9d079dda3cc00d3000b (diff)
downloadrpatricia-reorg.tar.gz
move extension code into ext/ reorg
This makes it easier to avoid accidentally putting extconf.rb
and test.rb in an application $LOAD_PATH
-rw-r--r--Changes3
-rwxr-xr-xext/rpatricia/extconf.rb (renamed from extconf.rb)0
-rw-r--r--ext/rpatricia/patricia.c (renamed from patricia.c)0
-rw-r--r--ext/rpatricia/patricia.h (renamed from patricia.h)0
-rw-r--r--ext/rpatricia/rpatricia.c (renamed from rpatricia.c)0
-rw-r--r--rpatricia.gemspec26
6 files changed, 11 insertions, 18 deletions
diff --git a/Changes b/Changes
index 8646f57..25c8531 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,6 @@
+0.05 2010/03/??
+ - reorganized directory layout
+
 0.04 2008/2/19
  - fixed the bug of "clear" method (destroy)
    node data were not cleared correctly
diff --git a/extconf.rb b/ext/rpatricia/extconf.rb
index ac42e36..ac42e36 100755
--- a/extconf.rb
+++ b/ext/rpatricia/extconf.rb
diff --git a/patricia.c b/ext/rpatricia/patricia.c
index d211a34..d211a34 100644
--- a/patricia.c
+++ b/ext/rpatricia/patricia.c
diff --git a/patricia.h b/ext/rpatricia/patricia.h
index ee12744..ee12744 100644
--- a/patricia.h
+++ b/ext/rpatricia/patricia.h
diff --git a/rpatricia.c b/ext/rpatricia/rpatricia.c
index 75000e1..75000e1 100644
--- a/rpatricia.c
+++ b/ext/rpatricia/rpatricia.c
diff --git a/rpatricia.gemspec b/rpatricia.gemspec
index f17fea8..9898f35 100644
--- a/rpatricia.gemspec
+++ b/rpatricia.gemspec
@@ -3,7 +3,7 @@
 
 Gem::Specification.new do |s|
   s.name = %q{rpatricia}
-  s.version = %q{0.04} # remember to update Changes if this is changed
+  s.version = %q{0.05pre} # remember to update Changes if this is changed
 
   s.homepage = "http://www.goto.info.waseda.ac.jp/~tatsuya/rpatricia/"
 
@@ -32,22 +32,12 @@ README
 TODO
 copyright
 credits.txt
-extconf.rb
-patricia.c
-patricia.h
-rpatricia.c
+ext/rpatricia/extconf.rb
+ext/rpatricia/patricia.c
+ext/rpatricia/patricia.h
+ext/rpatricia/rpatricia.c
+rpatricia.gemspec
 test.rb
-) - %w(test.rb)
-# intentionally omitting test.rb to avoid being accidentally required
-# in case somebody does "require 'test'" in their code.  We
-# still need to hope nobody calls "require 'extconf'"
-#
-# See below for plans...
-
-  # the path layout is unchanged from the current tarballs
-  # We should move files currently in the top level into the more
-  # traditional ext/rpatricia/ directory in the future to avoid
-  # require conflicts like we have with test.rb
-  s.require_paths = %w(.)
-  s.extensions = %w(extconf.rb)
+)
+  s.extensions = %w(ext/rpatricia/extconf.rb)
 end