Mon Dec 7 11:23:58 2009 UTC ()
Import ruby18-locale-rails-2.0.5 as devel/ruby-locale-rails.

Ruby-Locale for Ruby on Rails is the L10n library which works with
Ruby on Rails 2.2.

It supports Rails i18n and have the features below:

  * Auto-Detect the client locale
  * Detect candidate locales from supported locales by the application.
  * Localized Routes
  * Localized Action/Fragment cache
  * Localized view template files
  * I18n.t fallback to localized message candidates.

Status:

Vendor Tag:	TNF
Release Tags:	pkgsrc-base


(fhajny)
diff -r0 -r1.1.1.1 pkgsrc/devel/ruby-locale-rails/DESCR
diff -r0 -r1.1.1.1 pkgsrc/devel/ruby-locale-rails/distinfo
diff -r0 -r1.1.1.1 pkgsrc/devel/ruby-locale-rails/Makefile
diff -r0 -r1.1.1.1 pkgsrc/devel/ruby-locale-rails/PLIST

File Added: pkgsrc/devel/ruby-locale-rails/DESCR
Ruby-Locale for Ruby on Rails is the L10n library which works with
Ruby on Rails 2.2.

It supports Rails i18n and have the features below:

  * Auto-Detect the client locale
  * Detect candidate locales from supported locales by the application.
  * Localized Routes
  * Localized Action/Fragment cache
  * Localized view template files
  * I18n.t fallback to localized message candidates.

File Added: pkgsrc/devel/ruby-locale-rails/distinfo
$NetBSD: distinfo,v 1.1.1.1 2009/12/07 11:23:57 fhajny Exp $

SHA1 (locale_rails-2.0.5.gem) = 4cf517b7a091870727813695d06dc6e9fe839678
RMD160 (locale_rails-2.0.5.gem) = a0ffe97377b80abd2bfde7dbbaecfed069a69937
Size (locale_rails-2.0.5.gem) = 167424 bytes

File Added: pkgsrc/devel/ruby-locale-rails/Makefile
# $NetBSD: Makefile,v 1.1.1.1 2009/12/07 11:23:57 fhajny Exp $

DISTNAME=	locale_rails-2.0.5
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES=	devel

MAINTAINER=	filip@joyent.com
HOMEPAGE=	http://www.yotabanana.com/hiki/ruby-locale-rails.html
COMMENT=	Rails localized functions using ruby-locale
LICENSE=	ruby-license

DEPENDS+=	${RUBY_PKGPREFIX}-locale>=2.0.5:../../devel/ruby-locale

GEM_BUILD=	gemspec

post-extract:
	cd ${WRKSRC}; ${FIND} . -xdev -type f -print | ${XARGS} ${CHMOD} g-w

.include "../../misc/rubygems/rubygem.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/devel/ruby-locale-rails/PLIST
@comment $NetBSD: PLIST,v 1.1.1.1 2009/12/07 11:23:57 fhajny Exp $
${GEM_HOME}/cache/locale_rails-${PKGVERSION}.gem
${GEM_LIBDIR}/COPYING
${GEM_LIBDIR}/ChangeLog
${GEM_LIBDIR}/README.rdoc
${GEM_LIBDIR}/Rakefile
${GEM_LIBDIR}/lib/locale_rails.rb
${GEM_LIBDIR}/lib/locale_rails/action_controller.rb
${GEM_LIBDIR}/lib/locale_rails/action_controller/base.rb
${GEM_LIBDIR}/lib/locale_rails/action_controller/caching.rb
${GEM_LIBDIR}/lib/locale_rails/action_controller/test_process.rb
${GEM_LIBDIR}/lib/locale_rails/action_view.rb
${GEM_LIBDIR}/lib/locale_rails/i18n.rb
${GEM_LIBDIR}/lib/locale_rails/version.rb
${GEM_LIBDIR}/sample/README
${GEM_LIBDIR}/sample/Rakefile
${GEM_LIBDIR}/sample/app/controllers/application.rb
${GEM_LIBDIR}/sample/app/controllers/samples_controller.rb
${GEM_LIBDIR}/sample/app/helpers/application_helper.rb
${GEM_LIBDIR}/sample/app/views/layouts/samples.html.erb
${GEM_LIBDIR}/sample/app/views/samples/_part.html.erb
${GEM_LIBDIR}/sample/app/views/samples/_part_nl.html.erb
${GEM_LIBDIR}/sample/app/views/samples/cached_action.html.erb
${GEM_LIBDIR}/sample/app/views/samples/index.html.erb
${GEM_LIBDIR}/sample/app/views/samples/index.pt.html.erb
${GEM_LIBDIR}/sample/app/views/samples/index_uz_UZ.html.erb
${GEM_LIBDIR}/sample/config/boot.rb
${GEM_LIBDIR}/sample/config/database.yml
${GEM_LIBDIR}/sample/config/environment.rb
${GEM_LIBDIR}/sample/config/environments/development.rb
${GEM_LIBDIR}/sample/config/environments/production.rb
${GEM_LIBDIR}/sample/config/environments/test.rb
${GEM_LIBDIR}/sample/config/initializers/inflections.rb
${GEM_LIBDIR}/sample/config/initializers/mime_types.rb
${GEM_LIBDIR}/sample/config/initializers/new_rails_defaults.rb
${GEM_LIBDIR}/sample/config/locales/en.yml
${GEM_LIBDIR}/sample/config/locales/ja.yml
${GEM_LIBDIR}/sample/config/routes.rb
${GEM_LIBDIR}/sample/db/development.sqlite3
${GEM_LIBDIR}/sample/db/schema.rb
${GEM_LIBDIR}/sample/doc/README_FOR_APP
${GEM_LIBDIR}/sample/log/development.log
${GEM_LIBDIR}/sample/public/404.html
${GEM_LIBDIR}/sample/public/422.html
${GEM_LIBDIR}/sample/public/500.html
${GEM_LIBDIR}/sample/public/dispatch.cgi
${GEM_LIBDIR}/sample/public/dispatch.fcgi
${GEM_LIBDIR}/sample/public/dispatch.rb
${GEM_LIBDIR}/sample/public/favicon.ico
${GEM_LIBDIR}/sample/public/images/rails.png
${GEM_LIBDIR}/sample/public/javascripts/application.js
${GEM_LIBDIR}/sample/public/javascripts/controls.js
${GEM_LIBDIR}/sample/public/javascripts/dragdrop.js
${GEM_LIBDIR}/sample/public/javascripts/effects.js
${GEM_LIBDIR}/sample/public/javascripts/prototype.js
${GEM_LIBDIR}/sample/public/robots.txt
${GEM_LIBDIR}/sample/public/stylesheets/locale.css
${GEM_LIBDIR}/sample/public/stylesheets/scaffold.css
${GEM_LIBDIR}/sample/script/about
${GEM_LIBDIR}/sample/script/console
${GEM_LIBDIR}/sample/script/dbconsole
${GEM_LIBDIR}/sample/script/destroy
${GEM_LIBDIR}/sample/script/generate
${GEM_LIBDIR}/sample/script/performance/benchmarker
${GEM_LIBDIR}/sample/script/performance/profiler
${GEM_LIBDIR}/sample/script/performance/request
${GEM_LIBDIR}/sample/script/plugin
${GEM_LIBDIR}/sample/script/process/inspector
${GEM_LIBDIR}/sample/script/process/reaper
${GEM_LIBDIR}/sample/script/process/spawner
${GEM_LIBDIR}/sample/script/runner
${GEM_LIBDIR}/sample/script/server
${GEM_LIBDIR}/sample/test/performance/browsing_test.rb
${GEM_LIBDIR}/sample/test/test_helper.rb
${GEM_LIBDIR}/test/README
${GEM_LIBDIR}/test/Rakefile
${GEM_LIBDIR}/test/app/controllers/application_controller.rb
${GEM_LIBDIR}/test/app/controllers/articles_controller.rb
${GEM_LIBDIR}/test/app/helpers/application_helper.rb
${GEM_LIBDIR}/test/app/views/articles/index.html.erb
${GEM_LIBDIR}/test/app/views/articles/index_de.html.erb
${GEM_LIBDIR}/test/app/views/articles/index_fr_FR.html.erb
${GEM_LIBDIR}/test/app/views/articles/index_ja.html.erb
${GEM_LIBDIR}/test/app/views/articles/list.html.erb
${GEM_LIBDIR}/test/config/boot.rb
${GEM_LIBDIR}/test/config/database.yml
${GEM_LIBDIR}/test/config/environment.rb
${GEM_LIBDIR}/test/config/environments/development.rb
${GEM_LIBDIR}/test/config/environments/production.rb
${GEM_LIBDIR}/test/config/environments/test.rb
${GEM_LIBDIR}/test/config/initializers/backtrace_silencers.rb
${GEM_LIBDIR}/test/config/initializers/inflections.rb
${GEM_LIBDIR}/test/config/initializers/mime_types.rb
${GEM_LIBDIR}/test/config/initializers/new_rails_defaults.rb
${GEM_LIBDIR}/test/config/initializers/session_store.rb
${GEM_LIBDIR}/test/config/locales/en.yml
${GEM_LIBDIR}/test/config/routes.rb
${GEM_LIBDIR}/test/db/development.sqlite3
${GEM_LIBDIR}/test/db/schema.rb
${GEM_LIBDIR}/test/db/test.sqlite3
${GEM_LIBDIR}/test/doc/README_FOR_APP
${GEM_LIBDIR}/test/log/development.log
${GEM_LIBDIR}/test/log/test.log
${GEM_LIBDIR}/test/public/404.html
${GEM_LIBDIR}/test/public/422.html
${GEM_LIBDIR}/test/public/500.html
${GEM_LIBDIR}/test/public/favicon.ico
${GEM_LIBDIR}/test/public/images/rails.png
${GEM_LIBDIR}/test/public/index.html
${GEM_LIBDIR}/test/public/javascripts/application.js
${GEM_LIBDIR}/test/public/javascripts/controls.js
${GEM_LIBDIR}/test/public/javascripts/dragdrop.js
${GEM_LIBDIR}/test/public/javascripts/effects.js
${GEM_LIBDIR}/test/public/javascripts/prototype.js
${GEM_LIBDIR}/test/public/robots.txt
${GEM_LIBDIR}/test/script/about
${GEM_LIBDIR}/test/script/console
${GEM_LIBDIR}/test/script/dbconsole
${GEM_LIBDIR}/test/script/destroy
${GEM_LIBDIR}/test/script/generate
${GEM_LIBDIR}/test/script/performance/benchmarker
${GEM_LIBDIR}/test/script/performance/profiler
${GEM_LIBDIR}/test/script/plugin
${GEM_LIBDIR}/test/script/runner
${GEM_LIBDIR}/test/script/server
${GEM_LIBDIR}/test/test/functional/articles_controller_test.rb
${GEM_LIBDIR}/test/test/performance/browsing_test.rb
${GEM_LIBDIR}/test/test/test_helper.rb
${GEM_HOME}/specifications/locale_rails-${PKGVERSION}.gemspec