diff options
author | taca <taca@pkgsrc.org> | 2011-12-16 12:21:23 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2011-12-16 12:21:23 +0000 |
commit | 8aa20249301c7fa6ac86c66778c9b6b21b244f7f (patch) | |
tree | a1a2d6cbc7e49b223ad2dba86179654483db6b84 /devel/ruby-activemodel31 | |
parent | 22e337f52bfb16b1992654c2f5a199243d874490 (diff) | |
download | pkgsrc-8aa20249301c7fa6ac86c66778c9b6b21b244f7f.tar.gz |
Importing devel/ruby-activemodel31 package version 3.1.3.
## Rails 3.1.1 (October 7, 2011) ##
* Remove hard dependency on bcrypt-ruby to avoid make ActiveModel dependent on a binary library.
You must add the gem explicitly to your Gemfile if you want use ActiveModel::SecurePassword:
gem 'bcrypt-ruby', '~> 3.0.0'
See GH #2687. *Guillermo Iguaran*
## Rails 3.1.0 (August 30, 2011) ##
* Alternate I18n namespace lookup is no longer supported.
Instead of "activerecord.models.admins.post", do "activerecord.models.admins/post" instead *José Valim*
* attr_accessible and friends now accepts :as as option to specify a role *Josh Kalderimis*
* Add support for proc or lambda as an option for InclusionValidator,
ExclusionValidator, and FormatValidator *Prem Sichanugrist*
You can now supply Proc, lambda, or anything that respond to #call in those
validations, and it will be called with current record as an argument.
That given proc or lambda must returns an object which respond to #include? for
InclusionValidator and ExclusionValidator, and returns a regular expression
object for FormatValidator.
* Added ActiveModel::SecurePassword to encapsulate dead-simple password usage with BCrypt encryption and salting *DHH*
* ActiveModel::AttributeMethods allows attributes to be defined on demand *Alexander Uvarov*
* Add support for selectively enabling/disabling observers *Myron Marston*
Diffstat (limited to 'devel/ruby-activemodel31')
-rw-r--r-- | devel/ruby-activemodel31/DESCR | 4 | ||||
-rw-r--r-- | devel/ruby-activemodel31/Makefile | 18 | ||||
-rw-r--r-- | devel/ruby-activemodel31/PLIST | 41 | ||||
-rw-r--r-- | devel/ruby-activemodel31/distinfo | 5 |
4 files changed, 68 insertions, 0 deletions
diff --git a/devel/ruby-activemodel31/DESCR b/devel/ruby-activemodel31/DESCR new file mode 100644 index 00000000000..fac04cb941a --- /dev/null +++ b/devel/ruby-activemodel31/DESCR @@ -0,0 +1,4 @@ +Active Model provides a known set of interfaces for usage in model classes. +They allow for Action Pack helpers to interact with non-ActiveRecord models, +for example. Active Model also helps building custom ORMs for use outside of +the Rails framework. diff --git a/devel/ruby-activemodel31/Makefile b/devel/ruby-activemodel31/Makefile new file mode 100644 index 00000000000..92e3067d0f7 --- /dev/null +++ b/devel/ruby-activemodel31/Makefile @@ -0,0 +1,18 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/12/16 12:21:23 taca Exp $ + +DISTNAME= activemodel-${RUBY_RAILS_VERSION} +CATEGORIES= devel + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.rubyonrails.org/ +COMMENT= Toolkit for building modeling frameworks (part of Rails 3.1) +LICENSE= mit + +DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS} +DEPENDS+= ${RUBY_PKGPREFIX}-builder>=3.0.0<3.1:../../textproc/ruby-builder +DEPENDS+= ${RUBY_PKGPREFIX}-i18n>=0.6<1:../../devel/ruby-i18n + +RUBY_RAILS_SUPPORTED= 31 + +.include "../../lang/ruby/gem.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/ruby-activemodel31/PLIST b/devel/ruby-activemodel31/PLIST new file mode 100644 index 00000000000..7337087c13d --- /dev/null +++ b/devel/ruby-activemodel31/PLIST @@ -0,0 +1,41 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/12/16 12:21:23 taca Exp $ +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/CHANGELOG.md +${GEM_LIBDIR}/MIT-LICENSE +${GEM_LIBDIR}/README.rdoc +${GEM_LIBDIR}/lib/active_model.rb +${GEM_LIBDIR}/lib/active_model/attribute_methods.rb +${GEM_LIBDIR}/lib/active_model/callbacks.rb +${GEM_LIBDIR}/lib/active_model/conversion.rb +${GEM_LIBDIR}/lib/active_model/dirty.rb +${GEM_LIBDIR}/lib/active_model/errors.rb +${GEM_LIBDIR}/lib/active_model/lint.rb +${GEM_LIBDIR}/lib/active_model/locale/en.yml +${GEM_LIBDIR}/lib/active_model/mass_assignment_security.rb +${GEM_LIBDIR}/lib/active_model/mass_assignment_security/permission_set.rb +${GEM_LIBDIR}/lib/active_model/mass_assignment_security/sanitizer.rb +${GEM_LIBDIR}/lib/active_model/naming.rb +${GEM_LIBDIR}/lib/active_model/observer_array.rb +${GEM_LIBDIR}/lib/active_model/observing.rb +${GEM_LIBDIR}/lib/active_model/railtie.rb +${GEM_LIBDIR}/lib/active_model/secure_password.rb +${GEM_LIBDIR}/lib/active_model/serialization.rb +${GEM_LIBDIR}/lib/active_model/serializers/json.rb +${GEM_LIBDIR}/lib/active_model/serializers/xml.rb +${GEM_LIBDIR}/lib/active_model/test_case.rb +${GEM_LIBDIR}/lib/active_model/translation.rb +${GEM_LIBDIR}/lib/active_model/validations.rb +${GEM_LIBDIR}/lib/active_model/validations/acceptance.rb +${GEM_LIBDIR}/lib/active_model/validations/callbacks.rb +${GEM_LIBDIR}/lib/active_model/validations/confirmation.rb +${GEM_LIBDIR}/lib/active_model/validations/exclusion.rb +${GEM_LIBDIR}/lib/active_model/validations/format.rb +${GEM_LIBDIR}/lib/active_model/validations/inclusion.rb +${GEM_LIBDIR}/lib/active_model/validations/length.rb +${GEM_LIBDIR}/lib/active_model/validations/numericality.rb +${GEM_LIBDIR}/lib/active_model/validations/presence.rb +${GEM_LIBDIR}/lib/active_model/validations/validates.rb +${GEM_LIBDIR}/lib/active_model/validations/with.rb +${GEM_LIBDIR}/lib/active_model/validator.rb +${GEM_LIBDIR}/lib/active_model/version.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/devel/ruby-activemodel31/distinfo b/devel/ruby-activemodel31/distinfo new file mode 100644 index 00000000000..f6ed75b50ee --- /dev/null +++ b/devel/ruby-activemodel31/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/12/16 12:21:23 taca Exp $ + +SHA1 (activemodel-3.1.3.gem) = 0ce2d382284ff4af9acd2c003de8eb18bca8077a +RMD160 (activemodel-3.1.3.gem) = 87b4326020eacf43ca6f071c22c53007cb9d6568 +Size (activemodel-3.1.3.gem) = 41472 bytes |