head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.18 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.16 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.14 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.12 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.10 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.8 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.6 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.4 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.2 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.3.0.2 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.2.0.20 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.18 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.16 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.14 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.12 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.10 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.8 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.6 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.4 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.2 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.1.1.1.0.2 pkgsrc-2005Q2-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2008.04.04.15.30.00; author jlam; state dead; branches; next 1.3; 1.3 date 2008.02.09.06.20.25; author minskim; state Exp; branches; next 1.2; 1.2 date 2005.09.04.14.00.05; author taca; state dead; branches; next 1.1; 1.1 date 2005.04.10.04.45.59; author minskim; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.04.10.04.45.59; author minskim; state Exp; branches; next ; desc @@ 1.4 log @Install as a gem using the pkgsrc rubygem.mk framework instead of directly into site_ruby. @ text @$NetBSD: patch-aa,v 1.3 2008/02/09 06:20:25 minskim Exp $ --- lib/active_record.rb.orig 2008-02-08 21:45:03.000000000 -0800 +++ lib/active_record.rb @@@@ -25,15 +25,7 @@@@ $:.unshift(File.dirname(__FILE__)) unles $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__))) unless defined? ActiveSupport - active_support_path = File.dirname(__FILE__) + "/../../activesupport/lib" - if File.exist?(active_support_path) - $:.unshift active_support_path - require 'active_support' - else - require 'rubygems' - gem 'activesupport' - require 'active_support' - end + require 'active_support' end require 'active_record/base' @ 1.3 log @Update ruby-activerecord to 2.0.2. There have been too many changes. Please see CHANGELOG for the complete list: http://dev.rubyonrails.org/browser/tags/rel_2-0-2/activerecord/CHANGELOG @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update ruby-activerecord to 1.11.1. Changes from 1.9.1 are too huge, please see web page: http://ar.rubyonrails.org/files/CHANGELOG.html. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2005/04/10 04:45:59 minskim Exp $ d3 19 a21 10 --- install.rb.orig Tue Feb 15 09:57:44 2005 +++ install.rb @@@@ -37,7 +37,6 @@@@ files = %w- active_record/connection_adapters/abstract_adapter.rb active_record/connection_adapters/db2_adapter.rb active_record/connection_adapters/mysql_adapter.rb - active_record/connection_adapters/oracle_adapter.rb active_record/connection_adapters/postgresql_adapter.rb active_record/connection_adapters/sqlite_adapter.rb active_record/connection_adapters/sqlserver_adapter.rb @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Import ruby-activerecord. Active Record connects business objects and database tables to create a persistable domain model where logic and data is presented in one wrapping. It is an implementation of the object-relational mapping (ORM) pattern by the same name as described by Martin Fowler: "An object that wraps a row in a database table or view, encapsulates the database access, and adds domain logic on that data." Active Records main contribution to the pattern is to relieve the original of two stunting problems: lack of associations and inheritance. By adding a simple domain language-like set of macros to describe the former and integrating the Single Table Inheritance pattern for the latter, Active Record narrows the gap of functionality between the data mapper and active record approach. @ text @@