Up to [cvs.NetBSD.org] / pkgsrc / databases / ruby-activerecord3
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Remove ruby-activerecord3. It is part of Ruby on Rails 3.0 which isn't supported any more.
Pullup ticket #4073 - requested by taca databases/ruby-activerecord3: security patch devel/ruby-activemodel: security patch Revisions pulled up: - databases/ruby-activerecord3/Makefile 1.9 - databases/ruby-activerecord3/distinfo 1.19-1.20 - databases/ruby-activerecord3/patches/patch-lib_active__record_attribute__methods_write.rb 1.1-1.2 - devel/ruby-activemodel/Makefile 1.12 - devel/ruby-activemodel/distinfo 1.19-1.20 - devel/ruby-activemodel/patches/patch-lib_active__model_attribute__methods.rb 1.1-1.2 --- Module Name: pkgsrc Committed By: taca Date: Tue Feb 12 13:23:20 UTC 2013 Modified Files: pkgsrc/databases/ruby-activerecord3: Makefile distinfo Added Files: pkgsrc/databases/ruby-activerecord3/patches: patch-lib_active__record_attribute__methods_write.rb Log Message: Add fix for Fix for CVE-2013-0277. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: taca Date: Wed Feb 13 14:08:07 UTC 2013 Modified Files: pkgsrc/databases/ruby-activerecord3: distinfo pkgsrc/databases/ruby-activerecord3/patches: patch-lib_active__record_attribute__methods_write.rb Log Message: Correct comment in a patch file. This change dosen't fix CVE-2013-0276 but give workaround for it. No PKGREVISION bump. --- Module Name: pkgsrc Committed By: taca Date: Tue Feb 12 15:30:42 UTC 2013 Modified Files: pkgsrc/devel/ruby-activemodel: Makefile distinfo Added Files: pkgsrc/devel/ruby-activemodel/patches: patch-lib_active__model_attribute__methods.rb Log Message: Add fix for CVE-2013-0276. Bump PKGREVISION. --- Module Name: pkgsrc Committed By: taca Date: Wed Feb 13 14:07:31 UTC 2013 Modified Files: pkgsrc/devel/ruby-activemodel: distinfo pkgsrc/devel/ruby-activemodel/patches: patch-lib_active__model_attribute__methods.rb Log Message: Correct comment in a patch file. This change dosen't fix CVE-2013-0276 but give workaround for it. No PKGREVISION bump.
Add fix for Fix for CVE-2013-0277. Bump PKGREVISION.
Update ruby-activerecord3 to 3.0.14.
pkgsrc change: add RUBY_RAILS_STRICT_DEP which will be enabled later.
## Rails 3.0.14 (Jun 12, 2012)
* protect against the nesting of hashes changing the
table context in the next call to build_from_hash. This fix
covers this case as well.
CVE-2012-2695
Update ruby-activerecord3 to 3.0.12. pkgsrc change: * Tweak COMMENT. No changes except version.
* Switch to use RUBY_RAILS_SUPPORTED. * Correct some dependency. Bump PKGREVISION.
Update ruby-activerecord3 pacakge to 3.0.8. *Rails 3.0.8 (unreleased)* * Fix various problems with using :primary_key and :foreign_key options in conjunction with :through associations. [Jon Leighton] * Correctly handle inner joins on polymorphic relationships. * Fixed infinity and negative infinity cases in PG date columns. * Creating records with invalid associations via `create` or `save` will no longer raise exceptions.
Update ruby-activerecord3 package to 3.0.5.
*Rails 3.0.5 (unreleased)*
* Model.where(:column => 1).where(:column => 2) will always produce an
AND query.
[Aaron Patterson]
* Deprecated support for interpolated association conditions in the
form of :conditions => 'foo = #{bar}'.
Instead, you should use a proc, like so:
Before:
has_many :things, :conditions => 'foo = #{bar}'
After:
has_many :things, :conditions => proc { "foo = #{bar}" }
Inside the proc, 'self' is the object which is the owner of the
association, unless you are eager loading the association, in which
case 'self' is the class which the association is within.
You can have any "normal" conditions inside the proc, so the
following will work too:
has_many :things, :conditions => proc { ["foo = ?", bar] }
Previously :insert_sql and :delete_sql on has_and_belongs_to_many
association allowed you to call 'record' to get the record being
inserted or deleted. This is now passed as an argument to the proc.
[Jon Leighton]
Pullup ticket 3354 - requested by taca
security update
Revisions pulled up:
- pkgsrc/databases/ruby-activerecord3/Makefile 1.3
- pkgsrc/databases/ruby-activerecord3/distinfo 1.3
- pkgsrc/databases/ruby-activerecord3/PLIST 1.2
- pkgsrc/databases/ruby-arel/Makefile 1.2
- pkgsrc/databases/ruby-arel/PLIST 1.2
- pkgsrc/databases/ruby-arel/distinfo 1.2
- pkgsrc/devel/ruby-activemodel/Makefile 1.3
- pkgsrc/devel/ruby-activemodel/distinfo 1.3
- pkgsrc/devel/ruby-activesupport3/Makefile 1.3
- pkgsrc/devel/ruby-activesupport3/distinfo 1.3
- pkgsrc/devel/ruby-railties/Makefile 1.3
- pkgsrc/devel/ruby-railties/distinfo 1.3
- pkgsrc/devel/ruby-railties/PLIST 1.2
- pkgsrc/mail/ruby-actionmailer3/Makefile 1.4
- pkgsrc/mail/ruby-actionmailer3/distinfo 1.3
- pkgsrc/www/ruby-actionpack3/Makefile 1.3
- pkgsrc/www/ruby-actionpack3/distinfo 1.3
- pkgsrc/www/ruby-activeresource3/Makefile 1.3
- pkgsrc/www/ruby-activeresource3/distinfo 1.3
- pkgsrc/www/ruby-rack-test/Makefile 1.2
- pkgsrc/www/ruby-rack-test/PLIST 1.2
- pkgsrc/www/ruby-rack-test/distinfo 1.2
- pkgsrc/www/ruby-rails3/Makefile 1.3
- pkgsrc/www/ruby-rails3/distinfo 1.4
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 12:54:35 UTC 2011
Modified Files:
pkgsrc/www/ruby-rack-test: Makefile PLIST distinfo
Log Message:
Update ruby-rack-test package to 0.5.7.
== 0.5.7 / 2011-01-01
* Bug fixes
* If no URI is present, include all cookies (Pratik Naik)
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/www/ruby-rack-test/Makefile \
pkgsrc/www/ruby-rack-test/PLIST pkgsrc/www/ruby-rack-test/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 12:55:29 UTC 2011
Modified Files:
pkgsrc/databases/ruby-arel: Makefile PLIST distinfo
Log Message:
Update ruby-arel package to 2.0.8.
== 2.0.8 / 2010/02/08
* Bug Fixes
* Added set operation support
* Fixed problems with *_any / *_all methods.
== 2.0.7 (unreleased)
* Bug Fixes
* Limit members are visited
* Fixing MSSQL TOP support
== 2.0.6 12/01/2010
* Bug Fixes
* Rails 3.0.x does not like that Node is Enumerable, so removing for now.
== 2.0.5 11/30/2010
* Enhancements
* Arel::Visitors::DepthFirst can walk your AST depth first
* Arel::Nodes::Node is enumerable, depth first
* Bug fixes
* #lock will lock SELECT statements "FOR UPDATE" on mysql
* Nodes::Node#not factory method added for creating Nodes::Not nodes
* Added an As node
* Deprecations
* Support for Subclasses of core classes will be removed in ARel version
2.2.0
== 2.0.4
* Bug fixes
* Speed improvements for Range queries. Thanks Rolf Timmermans!
== 2.0.3
* Bug fixes
* Fixing Oracle support
* Added a visitor for "Class" objects
== 2.0.2
* Bug fixes
* MySQL selects from DUAL on empty FROM
* Visitor translates nil to NULL
* Visitor translates Bignum properly
== 2.0.1
* Bug fixes
== 2.0.0 / 2010-08-01
* Enhancements
* Recreate library using the Visitor pattern.
http://en.wikipedia.org/wiki/Visitor_pattern
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/databases/ruby-arel/Makefile \
pkgsrc/databases/ruby-arel/PLIST pkgsrc/databases/ruby-arel/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 12:56:49 UTC 2011
Modified Files:
pkgsrc/devel/ruby-activesupport3: Makefile distinfo
Log Message:
Update ruby-activesupport3 package to 3.0.4.
* 3.0.4 updates version only for Ruby on Rails 3.0.4 update.
*Rails 3.0.3 (November 16, 2010)*
* No changes.
*Rails 3.0.2 (November 15, 2010)*
* Added before_remove_const callback to ActiveSupport::Dependencies.remove_unloadable_constants! [Andrew White]
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ruby-activesupport3/Makefile \
pkgsrc/devel/ruby-activesupport3/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 12:57:47 UTC 2011
Modified Files:
pkgsrc/devel/ruby-activemodel: Makefile distinfo
Log Message:
Update ruby-activemodel package to 3.0.4.
* More strict dependency reflect gemspec's description.
* It is update of version only for Ruby on Rails 3.0.4 update.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ruby-activemodel/Makefile \
pkgsrc/devel/ruby-activemodel/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 12:58:53 UTC 2011
Modified Files:
pkgsrc/www/ruby-actionpack3: Makefile distinfo
Log Message:
Update ruby-actionpack3 package to 3.0.4.
* More strict dependency reflect gemspec's description.
*Rails 3.0.3 (November 16, 2010)*
* When ActiveRecord::Base objects are sent to predicate methods, the id of
the object should be sent to ARel, not the ActiveRecord::Base object.
* :constraints routing should only do sanity checks against regular
expressions. String arguments are OK.
*Rails 3.0.2 (November 15, 2010)*
* The helper number_to_currency accepts a new :negative_format option to be
able to configure how to render negative amounts. [Don Wilson]
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/ruby-actionpack3/Makefile \
pkgsrc/www/ruby-actionpack3/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 13:00:07 UTC 2011
Modified Files:
pkgsrc/databases/ruby-activerecord3: Makefile PLIST distinfo
Log Message:
Update ruby-activerecord3 package to 3.0.4.
* More strict dependency reflect gemspec's description.
*Rails 3.0.4 (unreleased)*
* Added deprecation warning for has_and_belongs_to_many associations where the join table has
additional attributes other than the keys. Access to these attributes is removed in 3.1.
Please use has_many :through instead. [Jon Leighton]
*Rails 3.0.3 (November 16, 2010)*
* Support find by class like this: Post.where(:name => Post)
*Rails 3.0.2 (November 15, 2010)*
* Dramatic speed increase (see: http://engineering.attinteractive.com/2010/10/arel-two-point-ohhhhh-yaaaaaa/) [Aaron Patterson]
* reorder is deprecated in favor of except(:order).order(...) [Santiago Pastorino]
* except is now AR public API
Model.order('name').except(:order).order('salary')
generates:
SELECT * FROM models ORDER BY salary
[Santiago Pastorino]
* The following code:
Model.limit(10).scoping { Model.count }
now generates the following SQL:
SELECT COUNT(*) FROM models LIMIT 10
This may not return what you want. Instead, you may with to do something
like this:
Model.limit(10).scoping { Model.all.size }
[Aaron Patterson]
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/ruby-activerecord3/Makefile \
pkgsrc/databases/ruby-activerecord3/distinfo
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/databases/ruby-activerecord3/PLIST
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 13:00:50 UTC 2011
Modified Files:
pkgsrc/www/ruby-activeresource3: Makefile distinfo
Log Message:
Update ruby-activeresource3 package to 3.0.4.
* More strict dependency reflect gemspec's description.
* It is update of version only for Ruby on Rails 3.0.4 update.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/ruby-activeresource3/Makefile \
pkgsrc/www/ruby-activeresource3/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 13:01:46 UTC 2011
Modified Files:
pkgsrc/mail/ruby-actionmailer3: Makefile distinfo
Log Message:
Update ruby-actionmailer3 package to 3.0.4.
* More strict dependency reflect gemspec's description.
* It is update of version only for Ruby on Rails 3.0.4 update.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/mail/ruby-actionmailer3/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/mail/ruby-actionmailer3/distinfo
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 13:04:29 UTC 2011
Modified Files:
pkgsrc/devel/ruby-railties: Makefile PLIST distinfo
Log Message:
Update ruby-railties package to 3.0.4.
* More strict dependency reflect gemspec's description.
Not documented but includes fix for security problem:
http://weblog.rubyonrails.org/2011/2/8/csrf-protection-bypass-in-ruby-on-rails
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/ruby-railties/Makefile \
pkgsrc/devel/ruby-railties/distinfo
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/devel/ruby-railties/PLIST
-----------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: taca
Date: Wed Feb 9 13:05:57 UTC 2011
Modified Files:
pkgsrc/www/ruby-rails3: Makefile distinfo
Log Message:
Update ruby-rails3 package to 3.0.4.
* More strict dependency reflect gemspec's description.
* It is update of version only for Ruby on Rails 3.0.4 update.
(This is meta gem.)
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/www/ruby-rails3/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/www/ruby-rails3/distinfo
Update ruby-activerecord3 package to 3.0.4.
* More strict dependency reflect gemspec's description.
*Rails 3.0.4 (unreleased)*
* Added deprecation warning for has_and_belongs_to_many associations where the join table has
additional attributes other than the keys. Access to these attributes is removed in 3.1.
Please use has_many :through instead. [Jon Leighton]
*Rails 3.0.3 (November 16, 2010)*
* Support find by class like this: Post.where(:name => Post)
*Rails 3.0.2 (November 15, 2010)*
* Dramatic speed increase (see: http://engineering.attinteractive.com/2010/10/arel-two-point-ohhhhh-yaaaaaa/) [Aaron Patterson]
* reorder is deprecated in favor of except(:order).order(...) [Santiago Pastorino]
* except is now AR public API
Model.order('name').except(:order).order('salary')
generates:
SELECT * FROM models ORDER BY salary
[Santiago Pastorino]
* The following code:
Model.limit(10).scoping { Model.count }
now generates the following SQL:
SELECT COUNT(*) FROM models LIMIT 10
This may not return what you want. Instead, you may with to do something
like this:
Model.limit(10).scoping { Model.all.size }
[Aaron Patterson]
Update databases/ruby-activerecord3 to 3.0.1. This release fixes CVE-2010-3933 security problem and it is part of Rails 3.0.1.
Importing databases/ruby-activerecord3 3.0.0. = Active Record -- Object-relational mapping put on rails Active Record connects classes to relational database tables to establish an almost zero-configuration persistence layer for applications. The library provides a base class that, when subclassed, sets up a mapping between the new class and an existing table in the database. In context of an application, these classes are commonly referred to as *models*. Models can also be connected to other models; this is done by defining *associations*. (This is part of Ruby on Rails 3.)
Initial revision