diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-06-03 12:48:49 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-06-03 12:48:49 +0000 |
commit | e37be7bc508fa08a9db37525f79fc36d9a802bb0 (patch) | |
tree | 21438574dbcf4ebd082ba86d446f802565c213e2 /misc/ruby-hashie2 | |
parent | d2d08ef42687cfdedf8f92fcddd64c14bffc0b0f (diff) | |
download | pkgsrc-e37be7bc508fa08a9db37525f79fc36d9a802bb0.tar.gz |
Import misc/ruby-hashie2 into pkgsrc. This package is the same software as
misc/ruby-hashie but for version 2.0.5 which is required for some new
packages. The original version 1.2.0 has been retained as it is still
required for ruby-userstream which has not yet been updated for the newer API.
Hashie is a growing collection of tools that extend Hashes and make
them more useful. The library is broken up into a number of atomically
includeable Hash extension modules as described below. This provides
maximum flexibility for users to mix and match functionality while
maintaining feature parity with earlier versions of Hashie.
* Mash is an extended Hash that gives simple pseudo-object
functionality that can be built from hashes and easily extended.
* Dash is an extended Hash that has a discrete set of defined
properties and only those properties may be set on the hash.
* A Trash is a Dash that allows you to translate keys on
initialization.
* Clash is a Chainable Lazy Hash that allows you to easily construct
complex hashes using method notation chaining
* Rash is a Hash whose keys can be Regexps or Ranges, which will map
many input keys to a value.
Diffstat (limited to 'misc/ruby-hashie2')
-rw-r--r-- | misc/ruby-hashie2/DESCR | 20 | ||||
-rw-r--r-- | misc/ruby-hashie2/Makefile | 15 | ||||
-rw-r--r-- | misc/ruby-hashie2/PLIST | 44 | ||||
-rw-r--r-- | misc/ruby-hashie2/distinfo | 5 |
4 files changed, 84 insertions, 0 deletions
diff --git a/misc/ruby-hashie2/DESCR b/misc/ruby-hashie2/DESCR new file mode 100644 index 00000000000..866c1e814b4 --- /dev/null +++ b/misc/ruby-hashie2/DESCR @@ -0,0 +1,20 @@ +Hashie is a growing collection of tools that extend Hashes and make +them more useful. The library is broken up into a number of atomically +includeable Hash extension modules as described below. This provides +maximum flexibility for users to mix and match functionality while +maintaining feature parity with earlier versions of Hashie. + + * Mash is an extended Hash that gives simple pseudo-object + functionality that can be built from hashes and easily extended. + + * Dash is an extended Hash that has a discrete set of defined + properties and only those properties may be set on the hash. + + * A Trash is a Dash that allows you to translate keys on + initialization. + + * Clash is a Chainable Lazy Hash that allows you to easily construct + complex hashes using method notation chaining + + * Rash is a Hash whose keys can be Regexps or Ranges, which will map + many input keys to a value. diff --git a/misc/ruby-hashie2/Makefile b/misc/ruby-hashie2/Makefile new file mode 100644 index 00000000000..8ff2fe0675d --- /dev/null +++ b/misc/ruby-hashie2/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1 2014/06/03 12:48:49 jperkin Exp $ + +DISTNAME= hashie-2.0.5 +CATEGORIES= misc + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://github.com/intridea/hashie +COMMENT= Small collection of tools that make hashes more powerful + +LICENSE= mit + +USE_LANGUAGES= # none + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/misc/ruby-hashie2/PLIST b/misc/ruby-hashie2/PLIST new file mode 100644 index 00000000000..269fd66750e --- /dev/null +++ b/misc/ruby-hashie2/PLIST @@ -0,0 +1,44 @@ +@comment $NetBSD: PLIST,v 1.1 2014/06/03 12:48:49 jperkin Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/.document +${GEM_LIBDIR}/.gitignore +${GEM_LIBDIR}/.rspec +${GEM_LIBDIR}/.travis.yml +${GEM_LIBDIR}/.yardopts +${GEM_LIBDIR}/CHANGELOG.md +${GEM_LIBDIR}/CONTRIBUTING.md +${GEM_LIBDIR}/Gemfile +${GEM_LIBDIR}/Guardfile +${GEM_LIBDIR}/LICENSE +${GEM_LIBDIR}/README.markdown +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/hashie.gemspec +${GEM_LIBDIR}/lib/hashie.rb +${GEM_LIBDIR}/lib/hashie/clash.rb +${GEM_LIBDIR}/lib/hashie/dash.rb +${GEM_LIBDIR}/lib/hashie/extensions/coercion.rb +${GEM_LIBDIR}/lib/hashie/extensions/deep_merge.rb +${GEM_LIBDIR}/lib/hashie/extensions/indifferent_access.rb +${GEM_LIBDIR}/lib/hashie/extensions/key_conversion.rb +${GEM_LIBDIR}/lib/hashie/extensions/merge_initializer.rb +${GEM_LIBDIR}/lib/hashie/extensions/method_access.rb +${GEM_LIBDIR}/lib/hashie/extensions/structure.rb +${GEM_LIBDIR}/lib/hashie/hash.rb +${GEM_LIBDIR}/lib/hashie/hash_extensions.rb +${GEM_LIBDIR}/lib/hashie/mash.rb +${GEM_LIBDIR}/lib/hashie/trash.rb +${GEM_LIBDIR}/lib/hashie/version.rb +${GEM_LIBDIR}/spec/hashie/clash_spec.rb +${GEM_LIBDIR}/spec/hashie/dash_spec.rb +${GEM_LIBDIR}/spec/hashie/extensions/coercion_spec.rb +${GEM_LIBDIR}/spec/hashie/extensions/deep_merge_spec.rb +${GEM_LIBDIR}/spec/hashie/extensions/indifferent_access_spec.rb +${GEM_LIBDIR}/spec/hashie/extensions/key_conversion_spec.rb +${GEM_LIBDIR}/spec/hashie/extensions/merge_initializer_spec.rb +${GEM_LIBDIR}/spec/hashie/extensions/method_access_spec.rb +${GEM_LIBDIR}/spec/hashie/hash_spec.rb +${GEM_LIBDIR}/spec/hashie/mash_spec.rb +${GEM_LIBDIR}/spec/hashie/trash_spec.rb +${GEM_LIBDIR}/spec/spec.opts +${GEM_LIBDIR}/spec/spec_helper.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/misc/ruby-hashie2/distinfo b/misc/ruby-hashie2/distinfo new file mode 100644 index 00000000000..87592b502e4 --- /dev/null +++ b/misc/ruby-hashie2/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/06/03 12:48:49 jperkin Exp $ + +SHA1 (hashie-2.0.5.gem) = 73f7f3fb3c906aa5ef70f5371a59ffc50b9f37c2 +RMD160 (hashie-2.0.5.gem) = 05f21beb79a6f3a81e2d1dfe334c69ae271da44d +Size (hashie-2.0.5.gem) = 27648 bytes |