summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/ruby-needle/DESCR4
-rw-r--r--devel/ruby-needle/Makefile14
-rw-r--r--devel/ruby-needle/PLIST141
-rw-r--r--devel/ruby-needle/distinfo5
4 files changed, 164 insertions, 0 deletions
diff --git a/devel/ruby-needle/DESCR b/devel/ruby-needle/DESCR
new file mode 100644
index 00000000000..4052c80d0aa
--- /dev/null
+++ b/devel/ruby-needle/DESCR
@@ -0,0 +1,4 @@
+Needle is a Dependency Injection/Inversion of Control container for
+Ruby. It supports both type-2 (setter) and type-3 (constructor)
+injection. It takes advantage of the dynamic nature of Ruby to provide
+a rich and flexible approach to injecting dependencies.
diff --git a/devel/ruby-needle/Makefile b/devel/ruby-needle/Makefile
new file mode 100644
index 00000000000..5bdfbac90da
--- /dev/null
+++ b/devel/ruby-needle/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:18:06 jlam Exp $
+
+DISTNAME= needle-1.3.0
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://needle.rubyforge.org/
+COMMENT= Dependency injection for Ruby
+
+GEM_BUILD= gemspec
+
+.include "../../misc/rubygems/rubygem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-needle/PLIST b/devel/ruby-needle/PLIST
new file mode 100644
index 00000000000..754f2428f1f
--- /dev/null
+++ b/devel/ruby-needle/PLIST
@@ -0,0 +1,141 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/04 15:18:06 jlam Exp $
+${GEM_HOME}/cache/needle-${PKGVERSION}.gem
+${GEM_LIBDIR}/benchmarks/instantiability.rb
+${GEM_LIBDIR}/benchmarks/instantiation.rb
+${GEM_LIBDIR}/benchmarks/interceptors.rb
+${GEM_LIBDIR}/benchmarks/interceptors2.rb
+${GEM_LIBDIR}/doc/LICENSE-BSD
+${GEM_LIBDIR}/doc/LICENSE-GPL
+${GEM_LIBDIR}/doc/LICENSE-RUBY
+${GEM_LIBDIR}/doc/README
+${GEM_LIBDIR}/doc/di-in-ruby.rdoc
+${GEM_LIBDIR}/doc/faq/faq.rb
+${GEM_LIBDIR}/doc/faq/faq.yml
+${GEM_LIBDIR}/doc/images/di_classdiagram.jpg
+${GEM_LIBDIR}/doc/manual-html/chapter-1.html
+${GEM_LIBDIR}/doc/manual-html/chapter-2.html
+${GEM_LIBDIR}/doc/manual-html/chapter-3.html
+${GEM_LIBDIR}/doc/manual-html/chapter-4.html
+${GEM_LIBDIR}/doc/manual-html/chapter-5.html
+${GEM_LIBDIR}/doc/manual-html/chapter-6.html
+${GEM_LIBDIR}/doc/manual-html/chapter-7.html
+${GEM_LIBDIR}/doc/manual-html/chapter-8.html
+${GEM_LIBDIR}/doc/manual-html/chapter-9.html
+${GEM_LIBDIR}/doc/manual-html/index.html
+${GEM_LIBDIR}/doc/manual-html/needle.png
+${GEM_LIBDIR}/doc/manual-html/stylesheets/manual.css
+${GEM_LIBDIR}/doc/manual-html/stylesheets/ruby.css
+${GEM_LIBDIR}/doc/manual/chapter.erb
+${GEM_LIBDIR}/doc/manual/img/Needle.ai
+${GEM_LIBDIR}/doc/manual/img/needle.png
+${GEM_LIBDIR}/doc/manual/index.erb
+${GEM_LIBDIR}/doc/manual/manual.rb
+${GEM_LIBDIR}/doc/manual/manual.yml
+${GEM_LIBDIR}/doc/manual/page.erb
+${GEM_LIBDIR}/doc/manual/parts/01_alternatives.txt
+${GEM_LIBDIR}/doc/manual/parts/01_license.txt
+${GEM_LIBDIR}/doc/manual/parts/01_support.txt
+${GEM_LIBDIR}/doc/manual/parts/01_use_cases.txt
+${GEM_LIBDIR}/doc/manual/parts/01_what_is_needle.txt
+${GEM_LIBDIR}/doc/manual/parts/02_creating.txt
+${GEM_LIBDIR}/doc/manual/parts/02_namespaces.txt
+${GEM_LIBDIR}/doc/manual/parts/02_overview.txt
+${GEM_LIBDIR}/doc/manual/parts/02_services.txt
+${GEM_LIBDIR}/doc/manual/parts/03_conventional.txt
+${GEM_LIBDIR}/doc/manual/parts/03_locator.txt
+${GEM_LIBDIR}/doc/manual/parts/03_overview.txt
+${GEM_LIBDIR}/doc/manual/parts/04_overview.txt
+${GEM_LIBDIR}/doc/manual/parts/04_setup.txt
+${GEM_LIBDIR}/doc/manual/parts/customizing_contexts.txt
+${GEM_LIBDIR}/doc/manual/parts/customizing_interceptors.txt
+${GEM_LIBDIR}/doc/manual/parts/customizing_namespaces.txt
+${GEM_LIBDIR}/doc/manual/parts/interceptors_architecture.txt
+${GEM_LIBDIR}/doc/manual/parts/interceptors_attaching.txt
+${GEM_LIBDIR}/doc/manual/parts/interceptors_custom.txt
+${GEM_LIBDIR}/doc/manual/parts/interceptors_ordering.txt
+${GEM_LIBDIR}/doc/manual/parts/interceptors_overview.txt
+${GEM_LIBDIR}/doc/manual/parts/libraries_creating.txt
+${GEM_LIBDIR}/doc/manual/parts/libraries_overview.txt
+${GEM_LIBDIR}/doc/manual/parts/libraries_using.txt
+${GEM_LIBDIR}/doc/manual/parts/logging_configuration.txt
+${GEM_LIBDIR}/doc/manual/parts/logging_logfactory.txt
+${GEM_LIBDIR}/doc/manual/parts/logging_overview.txt
+${GEM_LIBDIR}/doc/manual/parts/models_models.txt
+${GEM_LIBDIR}/doc/manual/parts/models_overview.txt
+${GEM_LIBDIR}/doc/manual/parts/models_pipelines.txt
+${GEM_LIBDIR}/doc/manual/stylesheets/manual.css
+${GEM_LIBDIR}/doc/manual/stylesheets/ruby.css
+${GEM_LIBDIR}/doc/manual/tutorial.erb
+${GEM_LIBDIR}/lib/needle.rb
+${GEM_LIBDIR}/lib/needle/container.rb
+${GEM_LIBDIR}/lib/needle/definition-context.rb
+${GEM_LIBDIR}/lib/needle/errors.rb
+${GEM_LIBDIR}/lib/needle/include-exclude.rb
+${GEM_LIBDIR}/lib/needle/interceptor-chain.rb
+${GEM_LIBDIR}/lib/needle/interceptor.rb
+${GEM_LIBDIR}/lib/needle/lifecycle/deferred.rb
+${GEM_LIBDIR}/lib/needle/lifecycle/initialize.rb
+${GEM_LIBDIR}/lib/needle/lifecycle/multiton.rb
+${GEM_LIBDIR}/lib/needle/lifecycle/proxy.rb
+${GEM_LIBDIR}/lib/needle/lifecycle/singleton.rb
+${GEM_LIBDIR}/lib/needle/lifecycle/threaded.rb
+${GEM_LIBDIR}/lib/needle/log-factory.rb
+${GEM_LIBDIR}/lib/needle/logger.rb
+${GEM_LIBDIR}/lib/needle/logging-interceptor.rb
+${GEM_LIBDIR}/lib/needle/pipeline/collection.rb
+${GEM_LIBDIR}/lib/needle/pipeline/element.rb
+${GEM_LIBDIR}/lib/needle/pipeline/interceptor.rb
+${GEM_LIBDIR}/lib/needle/registry.rb
+${GEM_LIBDIR}/lib/needle/service-point.rb
+${GEM_LIBDIR}/lib/needle/thread.rb
+${GEM_LIBDIR}/lib/needle/version.rb
+${GEM_LIBDIR}/test/ALL-TESTS.rb
+${GEM_LIBDIR}/test/lifecycle/tc_deferred.rb
+${GEM_LIBDIR}/test/lifecycle/tc_initialize.rb
+${GEM_LIBDIR}/test/lifecycle/tc_multiton.rb
+${GEM_LIBDIR}/test/lifecycle/tc_proxy.rb
+${GEM_LIBDIR}/test/lifecycle/tc_singleton.rb
+${GEM_LIBDIR}/test/lifecycle/tc_threaded.rb
+${GEM_LIBDIR}/test/models/model_test.rb
+${GEM_LIBDIR}/test/models/tc_prototype.rb
+${GEM_LIBDIR}/test/models/tc_prototype_deferred.rb
+${GEM_LIBDIR}/test/models/tc_prototype_deferred_initialize.rb
+${GEM_LIBDIR}/test/models/tc_prototype_initialize.rb
+${GEM_LIBDIR}/test/models/tc_singleton.rb
+${GEM_LIBDIR}/test/models/tc_singleton_deferred.rb
+${GEM_LIBDIR}/test/models/tc_singleton_deferred_initialize.rb
+${GEM_LIBDIR}/test/models/tc_singleton_initialize.rb
+${GEM_LIBDIR}/test/models/tc_threaded.rb
+${GEM_LIBDIR}/test/models/tc_threaded_deferred.rb
+${GEM_LIBDIR}/test/models/tc_threaded_deferred_initialize.rb
+${GEM_LIBDIR}/test/models/tc_threaded_initialize.rb
+${GEM_LIBDIR}/test/pipeline/tc_collection.rb
+${GEM_LIBDIR}/test/pipeline/tc_element.rb
+${GEM_LIBDIR}/test/services.rb
+${GEM_LIBDIR}/test/tc_container.rb
+${GEM_LIBDIR}/test/tc_definition_context.rb
+${GEM_LIBDIR}/test/tc_interceptor.rb
+${GEM_LIBDIR}/test/tc_interceptor_chain.rb
+${GEM_LIBDIR}/test/tc_logger.rb
+${GEM_LIBDIR}/test/tc_registry.rb
+${GEM_LIBDIR}/test/tc_service_point.rb
+${GEM_HOME}/specifications/needle-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/test/pipeline
+@dirrm ${GEM_LIBDIR}/test/models
+@dirrm ${GEM_LIBDIR}/test/lifecycle
+@dirrm ${GEM_LIBDIR}/test
+@dirrm ${GEM_LIBDIR}/lib/needle/pipeline
+@dirrm ${GEM_LIBDIR}/lib/needle/lifecycle
+@dirrm ${GEM_LIBDIR}/lib/needle
+@dirrm ${GEM_LIBDIR}/lib
+@dirrm ${GEM_LIBDIR}/doc/manual/stylesheets
+@dirrm ${GEM_LIBDIR}/doc/manual/parts
+@dirrm ${GEM_LIBDIR}/doc/manual/img
+@dirrm ${GEM_LIBDIR}/doc/manual-html/stylesheets
+@dirrm ${GEM_LIBDIR}/doc/manual-html
+@dirrm ${GEM_LIBDIR}/doc/manual
+@dirrm ${GEM_LIBDIR}/doc/images
+@dirrm ${GEM_LIBDIR}/doc/faq
+@dirrm ${GEM_LIBDIR}/doc
+@dirrm ${GEM_LIBDIR}/benchmarks
+@dirrm ${GEM_LIBDIR}
diff --git a/devel/ruby-needle/distinfo b/devel/ruby-needle/distinfo
new file mode 100644
index 00000000000..299da68d7c5
--- /dev/null
+++ b/devel/ruby-needle/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:18:06 jlam Exp $
+
+SHA1 (needle-1.3.0.gem) = a17b60ca61dfa7df6a802d935b6ce0b05a0802ec
+RMD160 (needle-1.3.0.gem) = f1cf115a19456662777b44f17ff9662107b7b7ef
+Size (needle-1.3.0.gem) = 649728 bytes