ruby-protected-attributes_1.1.3-1_all.deb


Advertisement

Description

ruby-protected-attributes - Protect attributes from mass assignment in Active Record models

Distribution: Ubuntu 16.04 LTS (Xenial Xerus)
Repository: Ubuntu Universe i386
Package name: ruby-protected-attributes
Package version: 1.1.3
Package release: 1
Package architecture: all
Package type: deb
Installed size: 79 B
Download size: 13.20 KB
Official Mirror: archive.ubuntu.com
This plugin adds the class methods `attr_accessible` and `attr_protected` to your models to be able to declare white or black lists of attributes, avoiding attacks by parameter injection against Rails applications.

Alternatives

Replaces

  • ruby-activemodel-3.2

    Download

    Source package: ruby-protected-attributes

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install ruby-protected-attributes deb package:
      # sudo apt-get install ruby-protected-attributes

    Files

    • /usr/lib/ruby/vendor_ruby/protected_attributes.rb
    • /usr/lib/ruby/vendor_ruby/action_controller/accessible_params_wrapper.rb
    • /usr/lib/ruby/vendor_ruby/active_model/mass_assignment_security.rb
    • /usr/lib/ruby/vendor_ruby/active_model/mass_assignment_security/permission_set.rb
    • /usr/lib/ruby/vendor_ruby/active_model/mass_assignment_security/sanitizer.rb
    • /usr/lib/ruby/vendor_ruby/active_record/mass_assignment_security.rb
    • /usr/lib/ruby/vendor_ruby/active_record/mass_assignment_security/associations.rb
    • /usr/lib/ruby/vendor_ruby/active_record/mass_assignment_security/attribute_assignment.rb
    • /usr/lib/ruby/vendor_ruby/active_record/mass_assignment_security/core.rb
    • /usr/lib/ruby/vendor_ruby/active_record/mass_assignment_security/inheritance.rb
    • /usr/lib/ruby/vendor_ruby/active_record/mass_assignment_security/nested_attributes.rb
    • /usr/lib/ruby/vendor_ruby/active_record/mass_assignment_security/persistence.rb
    • /usr/lib/ruby/vendor_ruby/active_record/mass_assignment_security/reflection.rb
    • /usr/lib/ruby/vendor_ruby/active_record/mass_assignment_security/relation.rb
    • /usr/lib/ruby/vendor_ruby/active_record/mass_assignment_security/validations.rb
    • /usr/lib/ruby/vendor_ruby/protected_attributes/railtie.rb
    • /usr/lib/ruby/vendor_ruby/protected_attributes/version.rb
    • /usr/share/doc/ruby-protected-attributes/README.md
    • /usr/share/doc/ruby-protected-attributes/changelog.Debian.gz
    • /usr/share/doc/ruby-protected-attributes/copyright
    • /usr/share/rubygems-integration/all/specifications/protected_attributes-1.1.3.gemspec

    Changelog

    2015-11-17 - Antonio Terceiro <terceiro@debian.org> ruby-protected-attributes (1.1.3-1) unstable; urgency=medium * debian/watch: point at github since tests are not distributed to rubygems.org * New upstream release * Update packaging with a new dh-make-ruby run * Add bundler and rails to Build-Depends: * Improve package description

    2014-10-08 - Antonio Terceiro <terceiro@debian.org> ruby-protected-attributes (1.0.8-2) unstable; urgency=medium * Replaces: ruby-activemodel-3.2 (Closes: #764440) - protected_attributes was extracted from activemodel as a separate library - ruby-activemodel-3.2 is actually deprecated and should be removed from unstable soon.

    2014-08-29 - Antonio Terceiro <terceiro@debian.org> ruby-protected-attributes (1.0.8-1) unstable; urgency=medium * Initial release

    Advertisement
    Advertisement