Import ruby-stringex, required for an update for ruby-datamapper.

Some [hopefully] useful extensions to Ruby.s String class. Stringex is
made up of three libraries: ActsAsUrl [permalink solution with better
character translation], Unidecoder [Unicode to Ascii transliteration],
and StringExtensions [miscellaneous helper methods for the String
class].

ok landry
This commit is contained in:
jeremy 2010-12-08 21:58:53 +00:00
parent e84756d314
commit a8324484f3
4 changed files with 228 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/12/08 21:58:53 jeremy Exp $
COMMENT= extensions to ruby's String class
DISTNAME= stringex-1.1.0
CATEGORIES= devel
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/ruby
CONFIGURE_STYLE=ruby gem
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (stringex-1.1.0.gem) = g1Y4bWO7+qzPg4LfBQeeXg==
RMD160 (stringex-1.1.0.gem) = 4nBsYypXTof7e4HXVjvcP1XO2Oc=
SHA1 (stringex-1.1.0.gem) = g30nqeNOlvdD9b+z4Y+kLPr9Irg=
SHA256 (stringex-1.1.0.gem) = OU8oMmHCO30fGhG9Gze4NWwNC99utmRzDomjIQsD7ro=
SIZE (stringex-1.1.0.gem) = 102912

View File

@ -0,0 +1,5 @@
Some [hopefully] useful extensions to Ruby.s String class. Stringex is
made up of three libraries: ActsAsUrl [permalink solution with better
character translation], Unidecoder [Unicode to Ascii transliteration],
and StringExtensions [miscellaneous helper methods for the String
class].

View File

@ -0,0 +1,200 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/12/08 21:58:53 jeremy Exp $
${GEM_LIB}/cache/${DISTNAME}.gem
${GEM_LIB}/gems/${DISTNAME}/
${GEM_LIB}/gems/${DISTNAME}/MIT-LICENSE
${GEM_LIB}/gems/${DISTNAME}/README.rdoc
${GEM_LIB}/gems/${DISTNAME}/Rakefile
${GEM_LIB}/gems/${DISTNAME}/init.rb
${GEM_LIB}/gems/${DISTNAME}/lib/
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/acts_as_url.rb
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/string_extensions.rb
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder.rb
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x00.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x01.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x02.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x03.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x04.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x05.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x06.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x07.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x09.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x0a.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x0b.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x0c.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x0d.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x0e.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x0f.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x10.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x11.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x12.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x13.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x14.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x15.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x16.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x17.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x18.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x1e.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x1f.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x20.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x21.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x22.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x23.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x24.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x25.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x26.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x27.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x28.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x2e.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x2f.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x30.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x31.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x32.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x33.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x4d.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x4e.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x4f.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x50.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x51.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x52.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x53.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x54.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x55.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x56.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x57.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x58.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x59.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x5a.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x5b.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x5c.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x5d.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x5e.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x5f.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x60.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x61.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x62.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x63.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x64.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x65.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x66.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x67.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x68.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x69.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x6a.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x6b.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x6c.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x6d.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x6e.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x6f.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x70.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x71.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x72.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x73.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x74.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x75.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x76.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x77.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x78.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x79.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x7a.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x7b.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x7c.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x7d.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x7e.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x7f.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x80.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x81.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x82.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x83.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x84.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x85.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x86.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x87.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x88.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x89.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x8a.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x8b.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x8c.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x8d.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x8e.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x8f.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x90.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x91.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x92.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x93.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x94.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x95.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x96.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x97.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x98.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x99.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x9a.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x9b.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x9c.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x9d.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x9e.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/x9f.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xa0.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xa1.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xa2.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xa3.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xa4.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xac.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xad.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xae.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xaf.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xb0.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xb1.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xb2.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xb3.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xb4.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xb5.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xb6.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xb7.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xb8.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xb9.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xba.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xbb.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xbc.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xbd.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xbe.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xbf.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xc0.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xc1.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xc2.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xc3.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xc4.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xc5.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xc6.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xc7.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xc8.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xc9.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xca.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xcb.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xcc.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xcd.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xce.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xcf.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xd0.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xd1.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xd2.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xd3.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xd4.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xd5.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xd6.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xd7.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xf9.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xfa.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xfb.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xfc.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xfd.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xfe.yml
${GEM_LIB}/gems/${DISTNAME}/lib/lucky_sneaks/unidecoder_data/xff.yml
${GEM_LIB}/gems/${DISTNAME}/lib/stringex.rb
${GEM_LIB}/gems/${DISTNAME}/stringex.gemspec
${GEM_LIB}/gems/${DISTNAME}/test/
${GEM_LIB}/gems/${DISTNAME}/test/acts_as_url_test.rb
${GEM_LIB}/gems/${DISTNAME}/test/string_extensions_test.rb
${GEM_LIB}/gems/${DISTNAME}/test/unidecoder_test.rb
${GEM_LIB}/specifications/${DISTNAME}.gemspec