Importing ruby-activemodel32 version 3.2.2.

## Rails 3.2.1 (January 26, 2012) ##

*   No changes.


## Rails 3.2.0 (January 20, 2012) ##

*   Deprecated `define_attr_method` in `ActiveModel::AttributeMethods`, because this only existed to
    support methods like `set_table_name` in Active Record, which are themselves being deprecated. *Jon Leighton*

*   Add ActiveModel::Errors#added? to check if a specific error has been added *Martin Svalin*

*   Add ability to define strict validation(with :strict => true option) that always raises exception when fails *Bogdan Gusiev*

*   Deprecate "Model.model_name.partial_path" in favor of "model.to_partial_path" *Grant Hutchins, Peter Jaros*

*   Provide mass_assignment_sanitizer as an easy API to replace the sanitizer behavior. Also support both :logger (default) and :strict sanitizer behavior *Bogdan Gusiev*
This commit is contained in:
taca 2012-03-18 06:46:44 +00:00
parent 07328b6fb4
commit 5995eb8cf0
4 changed files with 67 additions and 0 deletions

View file

@ -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.

View file

@ -0,0 +1,17 @@
# $NetBSD: Makefile,v 1.1.1.1 2012/03/18 06:46:44 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.2)
LICENSE= mit
DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS}
DEPENDS+= ${RUBY_PKGPREFIX}-builder>=3.0.0<3.1:../../textproc/ruby-builder
RUBY_RAILS_SUPPORTED= 32
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,41 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2012/03/18 06:46:44 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

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2012/03/18 06:46:44 taca Exp $
SHA1 (activemodel-3.2.2.gem) = ddfaabc497a75b7588bff83ea4b3d9b6ddbd7c05
RMD160 (activemodel-3.2.2.gem) = 301e6f85acfb37a541cdbaebb11c1dafde97b852
Size (activemodel-3.2.2.gem) = 44544 bytes