summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca>2011-09-12 11:46:27 +0000
committertaca <taca>2011-09-12 11:46:27 +0000
commit980206eb078fb3c0efa90f4c95cec5d24d4c9f2e (patch)
treefbe4e9c7913da642f6309115d0d0cb07024a3f79 /devel
parent09355cdeb50195306ac1a64a2d9e883e915ce045 (diff)
downloadpkgsrc-980206eb078fb3c0efa90f4c95cec5d24d4c9f2e.tar.gz
IMporting ruby-metaclass version 0.0.1, which is needed by newer
version of ruby-mocha package.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-metaclass/DESCR11
-rw-r--r--devel/ruby-metaclass/Makefile12
-rw-r--r--devel/ruby-metaclass/PLIST13
-rw-r--r--devel/ruby-metaclass/distinfo5
4 files changed, 41 insertions, 0 deletions
diff --git a/devel/ruby-metaclass/DESCR b/devel/ruby-metaclass/DESCR
new file mode 100644
index 00000000000..02e964696fd
--- /dev/null
+++ b/devel/ruby-metaclass/DESCR
@@ -0,0 +1,11 @@
+Adds a metaclass method to all Ruby objects.
+
+Motivations :-
+
+* Even though WhyTheLuckyStiff's [metaid gem]
+ (https://rubygems.org/gems/metaid) does something similar, apparently the
+ metaclass method without underscores [doesn't play well with Rails v2.3]
+ (https://github.com/floehopper/mocha/commit/f0749d6d291164cc9280aa8ba16f33d652d45fe1#commitcomment-475799).
+
+* I'm trying to extract code out of the [mocha gem]
+ (https://github.com/floehopper/mocha) and this is an obvious candidate.
diff --git a/devel/ruby-metaclass/Makefile b/devel/ruby-metaclass/Makefile
new file mode 100644
index 00000000000..e6ef8383b22
--- /dev/null
+++ b/devel/ruby-metaclass/Makefile
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/09/12 11:46:27 taca Exp $
+
+DISTNAME= metaclass-0.0.1
+CATEGORIES= devel
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/floehopper/metaclass
+COMMENT= Adds a metaclass method to all Ruby objects
+#LICENSE=
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-metaclass/PLIST b/devel/ruby-metaclass/PLIST
new file mode 100644
index 00000000000..32478711491
--- /dev/null
+++ b/devel/ruby-metaclass/PLIST
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/09/12 11:46:27 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/metaclass.rb
+${GEM_LIBDIR}/lib/metaclass/object_methods.rb
+${GEM_LIBDIR}/lib/metaclass/version.rb
+${GEM_LIBDIR}/metaclass.gemspec
+${GEM_LIBDIR}/test/object_methods_test.rb
+${GEM_LIBDIR}/test/test_helper.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/devel/ruby-metaclass/distinfo b/devel/ruby-metaclass/distinfo
new file mode 100644
index 00000000000..78b6ac1e584
--- /dev/null
+++ b/devel/ruby-metaclass/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/09/12 11:46:27 taca Exp $
+
+SHA1 (metaclass-0.0.1.gem) = 2ae4acbb3201c2d61d4d7f3e34c26db4b2712efb
+RMD160 (metaclass-0.0.1.gem) = d313905df698884a5aee894228b33c06b00ff5aa
+Size (metaclass-0.0.1.gem) = 4608 bytes