From d8f2cf273ca432de966b9491c13177b0e7c3edfb Mon Sep 17 00:00:00 2001 From: claudio Date: Thu, 23 Dec 2010 14:01:17 +0000 Subject: [PATCH] PaperTrail lets you track changes to your models' data. It's good for auditing or versioning. You can see how a model looked at any stage in its lifecycle, revert it to any version, and even undelete it after it's been destroyed. OK jeremy@ jasper@ --- devel/ruby-paper_trail/Makefile | 22 +++++++++++++++++++ devel/ruby-paper_trail/distinfo | 5 +++++ devel/ruby-paper_trail/pkg/DESCR | 8 +++++++ devel/ruby-paper_trail/pkg/PLIST | 37 ++++++++++++++++++++++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 devel/ruby-paper_trail/Makefile create mode 100644 devel/ruby-paper_trail/distinfo create mode 100644 devel/ruby-paper_trail/pkg/DESCR create mode 100644 devel/ruby-paper_trail/pkg/PLIST diff --git a/devel/ruby-paper_trail/Makefile b/devel/ruby-paper_trail/Makefile new file mode 100644 index 00000000000..d6036678584 --- /dev/null +++ b/devel/ruby-paper_trail/Makefile @@ -0,0 +1,22 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2010/12/23 14:01:17 claudio Exp $ + +COMMENT = paper_trail lets you track changes to your models' data + +DISTNAME = paper_trail-1.6.4 +CATEGORIES = devel + +# MIT +PERMIT_PACKAGE_CDROM = Yes +PERMIT_PACKAGE_FTP = Yes +PERMIT_DISTFILES_CDROM = Yes +PERMIT_DISTFILES_FTP = Yes + +MODULES = lang/ruby + +CONFIGURE_STYLE = ruby gem + +BUILD_DEPENDS = ${RUN_DEPENDS} +RUN_DEPENDS = databases/ruby-activerecord,${MODRUBY_FLAVOR} \ + devel/ruby-actionpack,${MODRUBY_FLAVOR} + +.include diff --git a/devel/ruby-paper_trail/distinfo b/devel/ruby-paper_trail/distinfo new file mode 100644 index 00000000000..1f2364f25ed --- /dev/null +++ b/devel/ruby-paper_trail/distinfo @@ -0,0 +1,5 @@ +MD5 (paper_trail-1.6.4.gem) = ZvO2JfVKNsI5xpdeLA/Wkg== +RMD160 (paper_trail-1.6.4.gem) = NEUVn5RYZdORtHantMqoVnhzlG4= +SHA1 (paper_trail-1.6.4.gem) = Kfr1Zvs8vnc8qFBR0AQGWi+LeI0= +SHA256 (paper_trail-1.6.4.gem) = M89Tlkmlnk7Ah8UgIYuSl2Mol5M3eyKEDwGkdlat5sg= +SIZE (paper_trail-1.6.4.gem) = 21504 diff --git a/devel/ruby-paper_trail/pkg/DESCR b/devel/ruby-paper_trail/pkg/DESCR new file mode 100644 index 00000000000..b310e45f89e --- /dev/null +++ b/devel/ruby-paper_trail/pkg/DESCR @@ -0,0 +1,8 @@ +PaperTrail lets you track changes to your models' data. It's good for auditing +or versioning. You can see how a model looked at any stage in its lifecycle, +revert it to any version, and even undelete it after it's been destroyed. + +* Stores every create, update and destroy. +* Does not store updates which don't change anything +* Allows you to get at every version, including the original +* Stores everything in a single database table diff --git a/devel/ruby-paper_trail/pkg/PLIST b/devel/ruby-paper_trail/pkg/PLIST new file mode 100644 index 00000000000..02401d110bd --- /dev/null +++ b/devel/ruby-paper_trail/pkg/PLIST @@ -0,0 +1,37 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2010/12/23 14:01:17 claudio Exp $ +${GEM_LIB}/cache/${DISTNAME}.gem +${GEM_LIB}/gems/${DISTNAME}/ +${GEM_LIB}/gems/${DISTNAME}/README.md +${GEM_LIB}/gems/${DISTNAME}/Rakefile +${GEM_LIB}/gems/${DISTNAME}/generators/ +${GEM_LIB}/gems/${DISTNAME}/generators/paper_trail/ +${GEM_LIB}/gems/${DISTNAME}/generators/paper_trail/USAGE +${GEM_LIB}/gems/${DISTNAME}/generators/paper_trail/paper_trail_generator.rb +${GEM_LIB}/gems/${DISTNAME}/generators/paper_trail/templates/ +${GEM_LIB}/gems/${DISTNAME}/generators/paper_trail/templates/create_versions.rb +${GEM_LIB}/gems/${DISTNAME}/init.rb +${GEM_LIB}/gems/${DISTNAME}/install.rb +${GEM_LIB}/gems/${DISTNAME}/lib/ +${GEM_LIB}/gems/${DISTNAME}/lib/generators/ +${GEM_LIB}/gems/${DISTNAME}/lib/generators/paper_trail/ +${GEM_LIB}/gems/${DISTNAME}/lib/generators/paper_trail/USAGE +${GEM_LIB}/gems/${DISTNAME}/lib/generators/paper_trail/paper_trail_generator.rb +${GEM_LIB}/gems/${DISTNAME}/lib/generators/paper_trail/templates/ +${GEM_LIB}/gems/${DISTNAME}/lib/generators/paper_trail/templates/create_versions.rb +${GEM_LIB}/gems/${DISTNAME}/lib/paper_trail/ +${GEM_LIB}/gems/${DISTNAME}/lib/paper_trail.rb +${GEM_LIB}/gems/${DISTNAME}/lib/paper_trail/config.rb +${GEM_LIB}/gems/${DISTNAME}/lib/paper_trail/controller.rb +${GEM_LIB}/gems/${DISTNAME}/lib/paper_trail/has_paper_trail.rb +${GEM_LIB}/gems/${DISTNAME}/lib/paper_trail/version.rb +${GEM_LIB}/gems/${DISTNAME}/lib/paper_trail/version_number.rb +${GEM_LIB}/gems/${DISTNAME}/paper_trail.gemspec +${GEM_LIB}/gems/${DISTNAME}/test/ +${GEM_LIB}/gems/${DISTNAME}/test/paper_trail_controller_test.rb +${GEM_LIB}/gems/${DISTNAME}/test/paper_trail_model_test.rb +${GEM_LIB}/gems/${DISTNAME}/test/paper_trail_schema_test.rb +${GEM_LIB}/gems/${DISTNAME}/test/schema.rb +${GEM_LIB}/gems/${DISTNAME}/test/schema_change.rb +${GEM_LIB}/gems/${DISTNAME}/test/test_helper.rb +${GEM_LIB}/gems/${DISTNAME}/test/thread_safe_test.rb +${GEM_LIB}/specifications/${DISTNAME}.gemspec