1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
Source: ruby-paranoia
Section: ruby
Priority: optional
Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers@lists.alioth.debian.org>
Uploaders: Pirate Praveen <praveen@debian.org>
Build-Depends: debhelper-compat (= 12),
gem2deb,
rake,
ruby-activerecord (>= 2:4.0~),
ruby-sqlite3
Standards-Version: 4.5.0
Vcs-Git: https://salsa.debian.org/ruby-team/ruby-paranoia.git
Vcs-Browser: https://salsa.debian.org/ruby-team/ruby-paranoia
Homepage: https://rubygems.org/gems/paranoia
Testsuite: autopkgtest-pkg-ruby
XS-Ruby-Versions: all
Package: ruby-paranoia
Architecture: all
XB-Ruby-Versions: ${ruby:Versions}
Depends: ruby | ruby-interpreter,
ruby-activerecord (>= 2:4.0~),
${misc:Depends},
${shlibs:Depends}
Description: re-implementation of acts_as_paranoid for Rails 3
Paranoia is a re-implementation of acts_as_paranoid for Rails 3, using much,
much, much less code. You would use either plugin / gem if you wished that
when you called destroy on an Active Record object that it didn't actually
destroy it, but just "hid" the record. Paranoia does this by setting a
deleted_at field to the current time when you destroy a record, and hides it
by scoping all queries on your model to only include records which do not have
a deleted_at field.
|