summaryrefslogtreecommitdiff
path: root/databases/ruby-dm-is-nested_set/PLIST
diff options
context:
space:
mode:
authortaca <taca>2011-12-17 17:24:43 +0000
committertaca <taca>2011-12-17 17:24:43 +0000
commit42630a17abd110214ab9ac5ef197334858883fed (patch)
tree8eeebad8710e7edd5567bb02a95afcf283334f4f /databases/ruby-dm-is-nested_set/PLIST
parentb1919c2b85705865d76fe602620c5bb17d8b0189 (diff)
downloadpkgsrc-42630a17abd110214ab9ac5ef197334858883fed.tar.gz
Importing databases/ruby-dm-is-nested_set package version 1.2.0.
DataMapper plugin allowing the creation of nested sets from data models. Provides all the same functionality as dm-is-tree, plus tons more! Read on. == What is a nested set? Nested set is a clever model for storing hierarchical data in a flat table. Instead of (only) storing the id of the parent on each node, a nested set puts all nodes in a clever structure (see Example below). That is what makes it possible to get the all of the descendants (not only immediate children), ancestors, or siblings, in one single query to the database. The only downside to nested sets (compared to trees] is that the queries it takes to know these things, and to move nodes around in the tree are rather complex. That is what this plugin takes care of (+ lots of other neat stuff)! Nested sets are a good choice for most kinds of ordered trees with more than two levels of nesting. Very good for menus, categories, and threaded posts.
Diffstat (limited to 'databases/ruby-dm-is-nested_set/PLIST')
-rw-r--r--databases/ruby-dm-is-nested_set/PLIST18
1 files changed, 18 insertions, 0 deletions
diff --git a/databases/ruby-dm-is-nested_set/PLIST b/databases/ruby-dm-is-nested_set/PLIST
new file mode 100644
index 00000000000..d5fba6b2a67
--- /dev/null
+++ b/databases/ruby-dm-is-nested_set/PLIST
@@ -0,0 +1,18 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/12/17 17:24:43 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.rdoc
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/VERSION
+${GEM_LIBDIR}/dm-is-nested_set.gemspec
+${GEM_LIBDIR}/lib/dm-is-nested_set.rb
+${GEM_LIBDIR}/lib/dm-is-nested_set/is/nested_set.rb
+${GEM_LIBDIR}/spec/integration/nested_set_spec.rb
+${GEM_LIBDIR}/spec/rcov.opts
+${GEM_LIBDIR}/spec/spec.opts
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/tasks/spec.rake
+${GEM_LIBDIR}/tasks/yard.rake
+${GEM_LIBDIR}/tasks/yardstick.rake
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec