pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/ruby-activerecord Update ruby-activerecord t...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c7cdac020a29
branches: trunk
changeset: 538463:c7cdac020a29
user: minskim <minskim%pkgsrc.org@localhost>
date: Sat Feb 09 06:20:25 2008 +0000
description:
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
diffstat:
databases/ruby-activerecord/Makefile | 11 ++++-----
databases/ruby-activerecord/PLIST | 29 ++++++---------------------
databases/ruby-activerecord/distinfo | 10 +++++---
databases/ruby-activerecord/patches/patch-aa | 21 ++++++++++++++++++++
databases/ruby-activerecord/patches/patch-ab | 20 +++++++++++++++++++
5 files changed, 59 insertions(+), 32 deletions(-)
diffs (167 lines):
diff -r 82b88497c73d -r c7cdac020a29 databases/ruby-activerecord/Makefile
--- a/databases/ruby-activerecord/Makefile Sat Feb 09 06:18:27 2008 +0000
+++ b/databases/ruby-activerecord/Makefile Sat Feb 09 06:20:25 2008 +0000
@@ -1,22 +1,21 @@
-# $NetBSD: Makefile,v 1.10 2007/10/16 03:05:38 minskim Exp $
+# $NetBSD: Makefile,v 1.11 2008/02/09 06:20:25 minskim Exp $
-DISTNAME= activerecord-1.15.5
+DISTNAME= activerecord-2.0.2
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= databases ruby
-MASTER_SITES= http://rubyforge.org/frs/download.php/26551/
+MASTER_SITES= http://rubyforge.org/frs/download.php/29348/
EXTRACT_SUFX= .tgz
MAINTAINER= minskim%NetBSD.org@localhost
HOMEPAGE= http://rubyforge.org/projects/activerecord/
COMMENT= Object-relation mapping put on rails
-DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=1.4.4:../../devel/ruby-activesupport
+DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=2.0.2:../../devel/ruby-activesupport
NO_BUILD= yes
NO_CONFIGURE= yes
USE_RUBY_INSTALL= yes
-EXAMPLES= associations.png associations.rb shared_setup.rb \
- validation.rb
+EXAMPLES= associations.png
.include "../../lang/ruby/modules.mk"
diff -r 82b88497c73d -r c7cdac020a29 databases/ruby-activerecord/PLIST
--- a/databases/ruby-activerecord/PLIST Sat Feb 09 06:18:27 2008 +0000
+++ b/databases/ruby-activerecord/PLIST Sat Feb 09 06:20:25 2008 +0000
@@ -1,8 +1,5 @@
-@comment $NetBSD: PLIST,v 1.9 2007/03/17 11:05:15 minskim Exp $
+@comment $NetBSD: PLIST,v 1.10 2008/02/09 06:20:25 minskim Exp $
${RUBY_SITELIBDIR}/active_record.rb
-${RUBY_SITELIBDIR}/active_record/acts/list.rb
-${RUBY_SITELIBDIR}/active_record/acts/nested_set.rb
-${RUBY_SITELIBDIR}/active_record/acts/tree.rb
${RUBY_SITELIBDIR}/active_record/aggregations.rb
${RUBY_SITELIBDIR}/active_record/associations.rb
${RUBY_SITELIBDIR}/active_record/associations/association_collection.rb
@@ -19,22 +16,15 @@
${RUBY_SITELIBDIR}/active_record/callbacks.rb
${RUBY_SITELIBDIR}/active_record/connection_adapters/abstract/connection_specification.rb
${RUBY_SITELIBDIR}/active_record/connection_adapters/abstract/database_statements.rb
+${RUBY_SITELIBDIR}/active_record/connection_adapters/abstract/query_cache.rb
${RUBY_SITELIBDIR}/active_record/connection_adapters/abstract/quoting.rb
${RUBY_SITELIBDIR}/active_record/connection_adapters/abstract/schema_definitions.rb
${RUBY_SITELIBDIR}/active_record/connection_adapters/abstract/schema_statements.rb
${RUBY_SITELIBDIR}/active_record/connection_adapters/abstract_adapter.rb
-${RUBY_SITELIBDIR}/active_record/connection_adapters/db2_adapter.rb
-${RUBY_SITELIBDIR}/active_record/connection_adapters/firebird_adapter.rb
-${RUBY_SITELIBDIR}/active_record/connection_adapters/frontbase_adapter.rb
${RUBY_SITELIBDIR}/active_record/connection_adapters/mysql_adapter.rb
-${RUBY_SITELIBDIR}/active_record/connection_adapters/openbase_adapter.rb
-${RUBY_SITELIBDIR}/active_record/connection_adapters/oracle_adapter.rb
${RUBY_SITELIBDIR}/active_record/connection_adapters/postgresql_adapter.rb
+${RUBY_SITELIBDIR}/active_record/connection_adapters/sqlite3_adapter.rb
${RUBY_SITELIBDIR}/active_record/connection_adapters/sqlite_adapter.rb
-${RUBY_SITELIBDIR}/active_record/connection_adapters/sqlserver_adapter.rb
-${RUBY_SITELIBDIR}/active_record/connection_adapters/sybase_adapter.rb
-${RUBY_SITELIBDIR}/active_record/deprecated_associations.rb
-${RUBY_SITELIBDIR}/active_record/deprecated_finders.rb
${RUBY_SITELIBDIR}/active_record/fixtures.rb
${RUBY_SITELIBDIR}/active_record/locking/optimistic.rb
${RUBY_SITELIBDIR}/active_record/locking/pessimistic.rb
@@ -44,29 +34,24 @@
${RUBY_SITELIBDIR}/active_record/reflection.rb
${RUBY_SITELIBDIR}/active_record/schema.rb
${RUBY_SITELIBDIR}/active_record/schema_dumper.rb
+${RUBY_SITELIBDIR}/active_record/serialization.rb
+${RUBY_SITELIBDIR}/active_record/serializers/json_serializer.rb
+${RUBY_SITELIBDIR}/active_record/serializers/xml_serializer.rb
${RUBY_SITELIBDIR}/active_record/timestamp.rb
${RUBY_SITELIBDIR}/active_record/transactions.rb
${RUBY_SITELIBDIR}/active_record/validations.rb
${RUBY_SITELIBDIR}/active_record/vendor/db2.rb
${RUBY_SITELIBDIR}/active_record/vendor/mysql.rb
-${RUBY_SITELIBDIR}/active_record/vendor/simple.rb
${RUBY_SITELIBDIR}/active_record/version.rb
-${RUBY_SITELIBDIR}/active_record/wrappers/yaml_wrapper.rb
-${RUBY_SITELIBDIR}/active_record/wrappings.rb
-${RUBY_SITELIBDIR}/active_record/xml_serialization.rb
${RUBY_DOCDIR}/active_record/CHANGELOG
${RUBY_DOCDIR}/active_record/README
${RUBY_EXAMPLESDIR}/active_record/associations.png
-${RUBY_EXAMPLESDIR}/active_record/associations.rb
-${RUBY_EXAMPLESDIR}/active_record/shared_setup.rb
-${RUBY_EXAMPLESDIR}/active_record/validation.rb
@dirrm ${RUBY_EXAMPLESDIR}/active_record
@dirrm ${RUBY_DOCDIR}/active_record
-@dirrm ${RUBY_SITELIBDIR}/active_record/wrappers
@dirrm ${RUBY_SITELIBDIR}/active_record/vendor
+@dirrm ${RUBY_SITELIBDIR}/active_record/serializers
@dirrm ${RUBY_SITELIBDIR}/active_record/locking
@dirrm ${RUBY_SITELIBDIR}/active_record/connection_adapters/abstract
@dirrm ${RUBY_SITELIBDIR}/active_record/connection_adapters
@dirrm ${RUBY_SITELIBDIR}/active_record/associations
-@dirrm ${RUBY_SITELIBDIR}/active_record/acts
@dirrm ${RUBY_SITELIBDIR}/active_record
diff -r 82b88497c73d -r c7cdac020a29 databases/ruby-activerecord/distinfo
--- a/databases/ruby-activerecord/distinfo Sat Feb 09 06:18:27 2008 +0000
+++ b/databases/ruby-activerecord/distinfo Sat Feb 09 06:20:25 2008 +0000
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.10 2007/10/16 03:05:39 minskim Exp $
+$NetBSD: distinfo,v 1.11 2008/02/09 06:20:25 minskim Exp $
-SHA1 (activerecord-1.15.5.tgz) = ca59be0a54b83795f3e05253f06fe802ff9f2036
-RMD160 (activerecord-1.15.5.tgz) = b807365e653767c35c89a4b027d2e6db8660c5b7
-Size (activerecord-1.15.5.tgz) = 430076 bytes
+SHA1 (activerecord-2.0.2.tgz) = f16bc4332814c2dbb1f58b736aecd2950acaeb4b
+RMD160 (activerecord-2.0.2.tgz) = 80d6678e773d0c0cfcf4ca5529152e8a441a1fe1
+Size (activerecord-2.0.2.tgz) = 422583 bytes
+SHA1 (patch-aa) = 72ffb3910a719ed02daf90c9b80c24d9ebee6696
+SHA1 (patch-ab) = 1c195d73f21452ffe5d7ed51e09707332e78d06e
diff -r 82b88497c73d -r c7cdac020a29 databases/ruby-activerecord/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ruby-activerecord/patches/patch-aa Sat Feb 09 06:20:25 2008 +0000
@@ -0,0 +1,21 @@
+$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'
diff -r 82b88497c73d -r c7cdac020a29 databases/ruby-activerecord/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/ruby-activerecord/patches/patch-ab Sat Feb 09 06:20:25 2008 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 2008/02/09 06:20:25 minskim Exp $
+
+--- lib/active_record/connection_adapters/abstract/connection_specification.rb.orig 2008-02-08 21:48:27.000000000 -0800
++++ lib/active_record/connection_adapters/abstract/connection_specification.rb
+@@ -221,15 +221,7 @@ module ActiveRecord
+ unless spec.key?(:adapter) then raise AdapterNotSpecified, "database configuration does not specify adapter" end
+
+ begin
+- require 'rubygems'
+- gem "activerecord-#{spec[:adapter]}-adapter"
+ require "active_record/connection_adapters/#{spec[:adapter]}_adapter"
+- rescue LoadError
+- begin
+- require "active_record/connection_adapters/#{spec[:adapter]}_adapter"
+- rescue LoadError
+- raise "Please install the #{spec[:adapter]} adapter: `gem install activerecord-#{spec[:adapter]}-adapter` (#{$!})"
+- end
+ end
+
+ adapter_method = "#{spec[:adapter]}_connection"
Home |
Main Index |
Thread Index |
Old Index