./devel/ruby-activemodel42, Toolkit for building modeling frameworks (part of Rails 4.2)

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.2.11, Package name: ruby24-activemodel42-4.2.11, Maintainer: pkgsrc-users

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.


Required to run:
[textproc/ruby-builder] [devel/ruby-activesupport42] [lang/ruby24-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 6530a82ecc0b4eb025236764a2f5d63958a82558
RMD160: 8b1ac25413b0d9d3d0db865c6e66f38ef4c0377b
Filesize: 44.5 KB

Version history: (Expand)


CVS history: (Expand)


   2018-11-29 14:50:39 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
devel/ruby-activejob42: update to 4.2.11

## Rails 4.2.11 (November 27, 2018) ##

*   Do not deserialize GlobalID objects that were not generated by Active Job.

    Trusting any GlobaID object when deserializing jobs can allow attackers to access
    information that should not be accessible to them.

    Fix CVE-2018-16476.

    *Rafael Mendonça França*
   2018-03-18 15:21:22 by Takahiro Kambe | Files touched by this commit (37)
Log message:
lang/ruby: replace RUBY_RAILS_SUPPORTED to RUBY_RAILS_ACCEPTED

Change RUBY_RAILS_SUPPORTED to RUBY_RAILS_ACCEPTED for better wording.
   2018-03-13 17:31:12 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
devel/ruby-activemodel42: update to 4.2.10

No change except version.
   2017-06-21 15:12:21 by Takahiro Kambe | Files touched by this commit (19) | Package updated
Log message:
Switch most of Ruby on Rails related packages to updated frame work.
   2017-04-18 04:05:27 by Min Sik Kim | Files touched by this commit (4)
Log message:
Import ruby-activemodel-4.2.8 as devel/ruby-activemodel42

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.