Age | Commit message (Collapse) | Author | Files | Lines |
|
installed src/Makefile.global. Don't assume they all exist in ${PREFIX}.
|
|
databases/p5-BerkeleyDB from 0.50 to 0.51.
Upstream changes:
0.51 19th March 2012
* Rework FETCHSIZE
[RT #75691]
|
|
|
|
|
|
|
|
* Enhance the INSERT syntax to allow multiple rows to be inserted via
the VALUES clause.
* Enhance the CREATE VIRTUAL TABLE command to support the IF NOT EXISTS clause.
* Added the sqlite3_stricmp() interface as a counterpart to sqlite3_strnicmp().
* Added the sqlite3_db_readonly() interface.
* Added the SQLITE_FCNTL_PRAGMA file control, giving VFS implementations
the ability to add new PRAGMA statements or to override built-in PRAGMAs.
* Queries of the form: "SELECT max(x), y FROM table" returns the value of y on
the same row that contains the maximum x value.
* Added support for the FTS4 languageid option.
* Documented support for the FTS4 content option. This feature has actually
been in the code since version 3.7.9 but is only now considered to be
officially supported.
* Pending statements no longer block ROLLBACK. Instead, the pending statement
will return SQLITE_ABORT upon next access after the ROLLBACK.
* Improvements to the handling of CSV inputs in the command-line shell
* Fix a bug introduced in version 3.7.10 that might cause a LEFT JOIN to be
incorrectly converted into an INNER JOIN if the WHERE clause indexable terms
connected by OR.
|
|
Bump PKGREVISION.
|
|
* Restrict it to Ruby on Rails 3 instead of 31.
* Exact changes are unknown.
|
|
Exact changes are unknown.
|
|
by ruby-gettext_i18n_rails.
Bump PKGREVISION.
|
|
|
|
databases/ruby-activerecord
devel/ruby-activesupport
mail/ruby-actionmailer
www/ruby-actionpack
www/ruby-activeresource
www/ruby-rails
|
|
|
|
|
|
|
|
## Rails 3.2.1 (January 26, 2012) ##
* The threshold for auto EXPLAIN is ignored if there's no logger. *fxn*
* Call `to_s` on the value passed to `table_name=`, in particular symbols
are supported (regression). *Sergey Nartimov*
* Fix possible race condition when two threads try to define attribute
methods for the same class. *Jon Leighton*
## Rails 3.2.0 (January 20, 2012) ##
* Added a `with_lock` method to ActiveRecord objects, which starts
a transaction, locks the object (pessimistically) and yields to the block.
The method takes one (optional) parameter and passes it to `lock!`.
Before:
class Order < ActiveRecord::Base
def cancel!
transaction do
lock!
# ... cancelling logic
end
end
end
After:
class Order < ActiveRecord::Base
def cancel!
with_lock do
# ... cancelling logic
end
end
end
*Olek Janiszewski*
* 'on' and 'ON' boolean columns values are type casted to true
*Santiago Pastorino*
* Added ability to run migrations only for given scope, which allows
to run migrations only from one engine (for example to revert changes
from engine that you want to remove).
Example:
rake db:migrate SCOPE=blog
*Piotr Sarnacki*
* Migrations copied from engines are now scoped with engine's name,
for example 01_create_posts.blog.rb. *Piotr Sarnacki*
* Implements `AR::Base.silence_auto_explain`. This method allows the user to
selectively disable automatic EXPLAINs within a block. *fxn*
* Implements automatic EXPLAIN logging for slow queries.
A new configuration parameter `config.active_record.auto_explain_threshold_in_seconds`
determines what's to be considered a slow query. Setting that to `nil` disables
this feature. Defaults are 0.5 in development mode, and `nil` in test and production
modes.
As of this writing there's support for SQLite, MySQL (mysql2 adapter), and
PostgreSQL.
*fxn*
* Implemented ActiveRecord::Relation#pluck method
Method returns Array of column value from table under ActiveRecord model
Client.pluck(:id)
*Bogdan Gusiev*
* Automatic closure of connections in threads is deprecated. For example
the following code is deprecated:
Thread.new { Post.find(1) }.join
It should be changed to close the database connection at the end of
the thread:
Thread.new {
Post.find(1)
Post.connection.close
}.join
Only people who spawn threads in their application code need to worry
about this change.
* Deprecated:
* `set_table_name`
* `set_inheritance_column`
* `set_sequence_name`
* `set_primary_key`
* `set_locking_column`
Use an assignment method instead. For example, instead of `set_table_name`, use `self.table_name=`:
class Project < ActiveRecord::Base
self.table_name = "project"
end
Or define your own `self.table_name` method:
class Post < ActiveRecord::Base
def self.table_name
"special_" + super
end
end
Post.table_name # => "special_posts"
*Jon Leighton*
* Generated association methods are created within a separate module to allow overriding and
composition using `super`. For a class named `MyModel`, the module is named
`MyModel::GeneratedFeatureMethods`. It is included into the model class immediately after
the `generated_attributes_methods` module defined in ActiveModel, so association methods
override attribute methods of the same name. *Josh Susser*
* Implemented ActiveRecord::Relation#explain. *fxn*
* Add ActiveRecord::Relation#uniq for generating unique queries.
Before:
Client.select('DISTINCT name')
After:
Client.select(:name).uniq
This also allows you to revert the unqueness in a relation:
Client.select(:name).uniq.uniq(false)
*Jon Leighton*
* Support index sort order in sqlite, mysql and postgres adapters. *Vlad Jebelev*
* Allow the :class_name option for associations to take a symbol (:Client) in addition to
a string ('Client').
This is to avoid confusing newbies, and to be consistent with the fact that other options
like :foreign_key already allow a symbol or a string.
*Jon Leighton*
* In development mode the db:drop task also drops the test database. For symmetry with
the db:create task. *Dmitriy Kiriyenko*
* Added ActiveRecord::Base.store for declaring simple single-column key/value stores *DHH*
class User < ActiveRecord::Base
store :settings, accessors: [ :color, :homepage ]
end
u = User.new(color: 'black', homepage: '37signals.com')
u.color # Accessor stored attribute
u.settings[:country] = 'Denmark' # Any attribute, even if not specified with an accessor
* MySQL: case-insensitive uniqueness validation avoids calling LOWER when
the column already uses a case-insensitive collation. Fixes #561.
*Joseph Palermo*
* Transactional fixtures enlist all active database connections. You can test
models on different connections without disabling transactional fixtures.
*Jeremy Kemper*
* Add first_or_create, first_or_create!, first_or_initialize methods to Active Record. This is a
better approach over the old find_or_create_by dynamic methods because it's clearer which
arguments are used to find the record and which are used to create it:
User.where(:first_name => "Scarlett").first_or_create!(:last_name => "Johansson")
*Andrés Mejía*
* Fix nested attributes bug where _destroy parameter is taken into account
during :reject_if => :all_blank (fixes #2937)
*Aaron Christy*
* Add ActiveSupport::Cache::NullStore for use in development and testing.
*Brian Durand*
|
|
* Tweak HOMEPAGE and COMMENT.
Exact changes are unknown.
|
|
|
|
|
|
Tweak COMMENT.
## Rails 3.1.4 (unreleased) ##
* Fix a custom primary key regression *GH 3987*
*Jon Leighton*
* Perf fix (second try): don't load records for `has many :dependent =>
:delete_all` *GH 3672*
*Jon Leighton*
* Fix accessing `proxy_association` method from an association extension
where the calls are chained. *GH #3890*
(E.g. `post.comments.where(bla).my_proxy_method`)
*Jon Leighton*
* Perf fix: MySQL primary key lookup was still slow for very large
tables. *GH 3678*
*Kenny J*
* Perf fix: If a table has no primary key, don't repeatedly ask the database
for it.
*Julius de Bruijn*
|
|
pkgsrc change:
* Tweak COMMENT.
No changes except version.
|
|
=== 3.33.0 (2012-03-01)
* Add ability to force or disable transactions completely in the migrators
using the :use_transactions option (jeremyevans)
* Add ability to turn off transactions for migrations by calling
no_transaction inside the Sequel.migration block (jeremyevans)
* Allow specifically choosing which migrator to use via
TimestampMigrator.apply or IntegerMigrator.apply (jeremyevans)
* Add arbitrary_servers extension to allow the use of arbitrary servers/shards
by providing a hash of options as the server (jeremyevans)
* Add server_block extension to scope database access inside the block to a
specific default server/shard (jeremyevans)
* Respect :collate column option on MySQL (jeremyevans) (#445)
* Use Mysql2::Client::FOUND_ROWS to get accurate number of rows matched in the
mysql2 adapter (jeremyevans)
* Use Mysql#info to get accurate number of rows matched in the mysql adapter
(jeremyevans)
* Make mock adapter with specific SQL dialect use appropriate defaults for
quoting identifiers (jeremyevans)
* Make list plugin automatically set position field value on creation if not
already set (jeremyevans)
* Add Database#integer_booleans setting on SQLite to store booleans as
integers (jeremyevans)
* Typecast columns stored as integers/floats in the SQLite adapter (jeremyevans)
* In the instance_hooks plugin, (before|after)_*_hook instance methods now
return self (jeremyevans)
* Handle NaN, Infinity, and -Infinity floats on PostgreSQL (kf8a, jeremyevans)
(#444)
* Support an :sslmode option when using the postgres adapter with the pg
driver (jeremyevans)
* Add Database#create_schema and #drop_schema to the shared postgres adapter
(tkellen, jeremyevans) (#440)
* Add Database#supports_savepoints_in_prepared_transactions?, false on MySQL
>=5.5.12 (jeremyevans) (#437)
* Support an identifier output method in the mysql2 adapter (jeremyevans)
* Make foreign key creation work on MySQL with InnoDB engine without
specifying :key option (jeremyevans)
* Allow disabling use of sudo with SUDO='' when running the rake
install/uninstall tasks (jeremyevans) (#433)
|
|
## 0.10.8 2012-02-10
* Ruby 1.9.3 compatibility on Windows
* Fix issue with sqlite3_load_extension
|
|
Exacat changes are unknown.
|
|
## 0.10.8 2012-02-10
* Ruby 1.9.3 compatibility on Windows
|
|
## 0.10.8 2012-02-10
* Ruby 1.9.3 compatibility on Windows
* Don't display password in URI
|
|
|
|
There is postgresql.gem named 0.8.1 and its README.txt says:
This is an old, deprecated version of the Ruby PostgreSQL driver
that hasn't been maintained or supported since early 2008.
You should install/require 'pg' instead.
So, say good-by to databases/ruby-postgresql and use databases/ruby-pg.
|
|
* ldapobject.ReconnectLDAPObject.reconnect() now does kind of
an internal locking to pause other threads while reconnecting
is pending.
* Changes to bind- and startTLS-related operation methods of
class ReconnectLDAPObject for more robustness
* New constant ldap.OPT_NAMES_DICT contains mapping from
integer to variable name for all option-related constants.
|
|
|
|
|
|
bump PKGREVISION. Test built soprano
|
|
|
|
|
|
|
|
Bumpe PKGREVISION.
|
|
|
|
Fixed libldap socket polling for writes
Fixed liblutil string modifications
Fixed slapd crash when attrsOnly is true
Fixed slapd syncrepl delete handling
Fixed slapd-mdb slapadd with -q
Fixed slapd-mdb slapadd with -w
Fixed slapd-mdb slapindex with -q and -t
Fixed slapo-pcache time-to-refesh handling
Fixed slapo-syncprov loop detection
Build Environment
Fixed POSIX make support
Fixed slapd-mdb build on POSIX
Documentation
Added option "-o" to ldap*(1) pages
Fixed ldap*(1) page cleanup
Fixed ldap_modify(3) prototypes
|
|
|
|
|
|
|
|
outdated list of mirrors.
|
|
|
|
|
|
py-* not affected, since it built different versions depending on the
setting already.
|
|
Fixes PR pkg/44828.
|
|
|
|
Otherwise, with non-native kerberos, bdb.buildlink3.mk is included by
heimdal's bl3.mk before BDB_ACCEPTED is set, we get the wrong answer out,
and the package fails to build.
It's a good thing heimdal doesn't also need to set BDB_ACCEPTED I guess...
|
|
|
|
|