diff options
author | taca <taca@pkgsrc.org> | 2010-09-11 23:52:09 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2010-09-11 23:52:09 +0000 |
commit | be3281b6ae1f5e5dd681c907de9d9feec1d45712 (patch) | |
tree | 8e412cda43cfcfb72847e9fb31d201df6bacda84 /databases | |
parent | 2918af8b9eb8e139ea186f86e1bb2ec02f6ef2ae (diff) | |
download | pkgsrc-be3281b6ae1f5e5dd681c907de9d9feec1d45712.tar.gz |
Importing databases/ruby-dm-serializer 1.0.2.
dm-serializer allows DataMapper models and collections to be
serialized to a variety of formats (currently JSON, XML, YAML and
CSV).
Diffstat (limited to 'databases')
-rw-r--r-- | databases/ruby-dm-serializer/DESCR | 3 | ||||
-rw-r--r-- | databases/ruby-dm-serializer/Makefile | 18 | ||||
-rw-r--r-- | databases/ruby-dm-serializer/PLIST | 42 | ||||
-rw-r--r-- | databases/ruby-dm-serializer/distinfo | 5 |
4 files changed, 68 insertions, 0 deletions
diff --git a/databases/ruby-dm-serializer/DESCR b/databases/ruby-dm-serializer/DESCR new file mode 100644 index 00000000000..d04ffac7ce4 --- /dev/null +++ b/databases/ruby-dm-serializer/DESCR @@ -0,0 +1,3 @@ +dm-serializer allows DataMapper models and collections to be +serialized to a variety of formats (currently JSON, XML, YAML and +CSV). diff --git a/databases/ruby-dm-serializer/Makefile b/databases/ruby-dm-serializer/Makefile new file mode 100644 index 00000000000..c2443033763 --- /dev/null +++ b/databases/ruby-dm-serializer/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/09/11 23:52:09 taca Exp $ + +DISTNAME= dm-serializer-1.0.2 +CATEGORIES= databases + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://github.com/datamapper/dm-serializer +COMMENT= DataMapper plugin for serializing Resources and Collections +LICENSE= mit + +DEPENDS+= ${RUBY_PKGPREFIX}-dm-core>=1.0.2:../../databases/ruby-dm-core + +.include "../../lang/ruby/gem.mk" +.if ${RUBY_VER} == "18" +DEPENDS+= ${RUBY_PKGPREFIX}-fastercsv>=1.5.3:../../textproc/ruby-fastercsv/ +.endif + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/ruby-dm-serializer/PLIST b/databases/ruby-dm-serializer/PLIST new file mode 100644 index 00000000000..b8641d41c52 --- /dev/null +++ b/databases/ruby-dm-serializer/PLIST @@ -0,0 +1,42 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/11 23:52:09 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/.gitignore +${GEM_LIBDIR}/Gemfile +${GEM_LIBDIR}/LICENSE +${GEM_LIBDIR}/README.rdoc +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/VERSION +${GEM_LIBDIR}/autotest/discover.rb +${GEM_LIBDIR}/autotest/dmserializer_rspec.rb +${GEM_LIBDIR}/benchmarks/to_json.rb +${GEM_LIBDIR}/benchmarks/to_xml.rb +${GEM_LIBDIR}/dm-serializer.gemspec +${GEM_LIBDIR}/lib/dm-serializer.rb +${GEM_LIBDIR}/lib/dm-serializer/common.rb +${GEM_LIBDIR}/lib/dm-serializer/to_csv.rb +${GEM_LIBDIR}/lib/dm-serializer/to_json.rb +${GEM_LIBDIR}/lib/dm-serializer/to_xml.rb +${GEM_LIBDIR}/lib/dm-serializer/to_yaml.rb +${GEM_LIBDIR}/lib/dm-serializer/xml_serializers.rb +${GEM_LIBDIR}/lib/dm-serializer/xml_serializers/libxml.rb +${GEM_LIBDIR}/lib/dm-serializer/xml_serializers/nokogiri.rb +${GEM_LIBDIR}/lib/dm-serializer/xml_serializers/rexml.rb +${GEM_LIBDIR}/spec/fixtures/cow.rb +${GEM_LIBDIR}/spec/fixtures/planet.rb +${GEM_LIBDIR}/spec/fixtures/quan_tum_cat.rb +${GEM_LIBDIR}/spec/lib/serialization_method_shared_spec.rb +${GEM_LIBDIR}/spec/public/serializer_spec.rb +${GEM_LIBDIR}/spec/public/to_csv_spec.rb +${GEM_LIBDIR}/spec/public/to_json_spec.rb +${GEM_LIBDIR}/spec/public/to_xml_spec.rb +${GEM_LIBDIR}/spec/public/to_yaml_spec.rb +${GEM_LIBDIR}/spec/rcov.opts +${GEM_LIBDIR}/spec/spec.opts +${GEM_LIBDIR}/spec/spec_helper.rb +${GEM_LIBDIR}/tasks/ci.rake +${GEM_LIBDIR}/tasks/local_gemfile.rake +${GEM_LIBDIR}/tasks/metrics.rake +${GEM_LIBDIR}/tasks/spec.rake +${GEM_LIBDIR}/tasks/yard.rake +${GEM_LIBDIR}/tasks/yardstick.rake +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/databases/ruby-dm-serializer/distinfo b/databases/ruby-dm-serializer/distinfo new file mode 100644 index 00000000000..31e3ec11ad6 --- /dev/null +++ b/databases/ruby-dm-serializer/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/09/11 23:52:09 taca Exp $ + +SHA1 (dm-serializer-1.0.2.gem) = 0669b0a025c14b94e9c2442ba2f7886af812a755 +RMD160 (dm-serializer-1.0.2.gem) = adde5004e331ab2e7f0822900978fab9646c6fb5 +Size (dm-serializer-1.0.2.gem) = 20480 bytes |