pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/ruby-sequel



Module Name:    pkgsrc
Committed By:   taca
Date:           Wed Jan  6 15:21:02 UTC 2016

Modified Files:
        pkgsrc/databases/ruby-sequel: Makefile PLIST distinfo

Log Message:
Update ruby-sequel to 4.30.0.

= New Features

* Overriding the :limit and :eager_limit_strategy association options
  can now be done on a per-call basis when eager loading, by using an
  eager block callback and setting the :eager_limit or
  :eager_limit_strategy dataset options. Example:

    Album.eager(:tracks=>proc{|ds| ds.clone(:eager_limit=>5)}).all

* Dataset#insert_conflict and #insert_ignore have been added on
  SQLite, adding support for the INSERT OR ... SQL syntax:

    DB[:table].insert_ignore.insert(:a=>1, :b=>2)
    # INSERT OR IGNORE INTO TABLE (a, b) VALUES (1, 2)

    DB[:table].insert_conflict(:replace).insert(:a=>1, :b=>2)
    # INSERT OR REPLACE INTO TABLE (a, b) VALUES (1, 2)

* An identifier_columns plugin has been added, which allows
  Sequel::Model#save to work when column names contain double
  underscores.

= Other Improvements

* IPv6 addresses can now be used in connection URLs when using
  ruby 1.9.3+.

* The :db_type entries in column schema hashes now include sizes
  for string and decimal types on DB2 and when using the jdbc
  adapter's generic schema parsing.

* Database#row_type in the pg_row extension now handles different
  formats of specifying schema qualified types.  So a row type
  registered via :schema__type can be found using
  Sequel.qualify(:schema, :type).

* Another disconnect error is recognized in the tinytds adapter.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/databases/ruby-sequel/Makefile
cvs rdiff -u -r1.37 -r1.38 pkgsrc/databases/ruby-sequel/PLIST
cvs rdiff -u -r1.38 -r1.39 pkgsrc/databases/ruby-sequel/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index