47f6a622ef
Notable changes since 3.2: - Add ActiveModel::ForbiddenAttributesProtection, a simple module to protect attributes from mass assignment when non-permitted attributes are passed. - Added ActiveModel::Model, a mixin to make Ruby objects work with Action Pack out of box. - Added new API methods reset_changes and changes_applied to ActiveModel::Dirty that control changes state. - Ability to specify multiple contexts when defining a validation. - attribute_changed? now accepts a hash to check if the attribute was changed :from and/or :to a given value. - Introduced validate as an alias for valid?. - Introduced the restore_attributes method in ActiveModel::Dirty to restore the changed (dirty) attributes to their previous values. - has_secure_password no longer disallows blank passwords (i.e. passwords that contains only spaces) by default. - has_secure_password now verifies that the given password is less than 72 characters if validations are enabled.
41 lines
1.9 KiB
Text
41 lines
1.9 KiB
Text
@comment $NetBSD: PLIST,v 1.1 2017/04/18 02:05:27 minskim 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/forbidden_attributes_protection.rb
|
|
${GEM_LIBDIR}/lib/active_model/gem_version.rb
|
|
${GEM_LIBDIR}/lib/active_model/lint.rb
|
|
${GEM_LIBDIR}/lib/active_model/locale/en.yml
|
|
${GEM_LIBDIR}/lib/active_model/model.rb
|
|
${GEM_LIBDIR}/lib/active_model/naming.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/absence.rb
|
|
${GEM_LIBDIR}/lib/active_model/validations/acceptance.rb
|
|
${GEM_LIBDIR}/lib/active_model/validations/callbacks.rb
|
|
${GEM_LIBDIR}/lib/active_model/validations/clusivity.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
|