./databases/ruby-sequel, Model classes for the Sequel Database Toolkit

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 5.16.0, Package name: ruby24-sequel-5.16.0, Maintainer: pkgsrc-users

Sequel is a database access toolkit for Ruby. Sequel provides thread
safety, connection pooling, and a concise DSL for constructing queries
and table schemas.

Sequel makes it easy to deal with multiple records without having to
break your teeth on SQL.

This package contains model classes for Sequel that allow it to be used
as an object-relational mapping (ORM).

Required to run:

Required to build:

Master sites:

SHA1: 620ab2ddea2eae3505d78429e30cd1882ba2393f
RMD160: 72a9d70deac622ce4446c1a63bb873111f7e8fb7
Filesize: 1202.5 KB

Version history: (Expand)

CVS history: (Expand)

   2019-01-06 15:58:28 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-sequel: update to 5.16.0

=== 5.16.0 (2019-01-02)

* Convert integer columns to bigint columns when copying SQLite databases to \ 
other databases using bin/sequel -C (jeremyevans) (#1584)

* Use nicer error messages for missing or empty migration directories (Lavode) \ 

* Make alter table emulation work correctly in SQLite 3.26.0+ (jeremyevans) (#1582)

* Do not unset new one_to_one associated objects' reciprocal associations before \ 
saving associated objects in the nested_attributes plugin (jeremyevans)

* Do not validate new one_to_one associated objects twice when saving in the \ 
nested_attributes plugin (jeremyevans)

* Fix :qualify_tables option to class_table_inheritance plugin to work correctly \ 
with subclasses of subclasses (benalavi) (#1581)

* Make class_table_inheritance plugin use the schema cache instead of sending a \ 
query to get columns for tables (kenaniah) (#1580)

* Remove loading of mysqlplus in the mysql adapter (jeremyevans)

* Make mysql adapter work correctly on ruby 2.6+ (jeremyevans)

* Add Database#rollback_on_exit to rollback transactions instead of committing \ 
them when exiting the transaction block (jeremyevans)

* Enable window functions in SQLite 3.26.0+ (jeremyevans)

* Do not override existing methods when creating Sequel::Model attribute \ 
getter/setter methods (jeremyevans) (#1578)

* Use parentheses for expressions being subscripted (e.g. \ 
(array_agg(column))[1]) (jeremyevans)
   2018-12-02 07:36:52 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-sequel: update to 5.15.0

=== 5.15.0 (2018-12-01)

* Add :conn_str option in the postgres adapter for PostgreSQL connection \ 
strings, if the pg driver is used (graywolf) (#1572)

* Add :qualify_tables option to class_table_inheritance plugin to automatically \ 
qualify subclass tables with superclass qualifier (benalavi) (#1571)

* Access already allocated connections in a thread safe manner when checking out \ 
connections in the sharded threaded connection pool (jeremyevans)

* Automatically support datasets using qualified tables in the \ 
class_table_inheritance plugin without having to use the :alias option \ 
(benalavi) (#1565)

* Support rename_column without emulation on SQLite 3.25+ (jeremyevans)

* Do not remove currently cached many_to_one associated objects when changing \ 
the related foreign key value from nil to non-nil (jeremyevans)

* Do not validate new *_to_many associated objects twice when saving in the \ 
nested_attributes plugin (jeremyevans)

* Add Model#skip_validation_on_next_save! for skipping validation on next save \ 
call (jeremyevans)
   2018-11-01 17:21:49 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-sequel: update to 5.14.0

* pkgsrc change: make USE_LANGUAGES empty.

=== 5.14.0 (2018-11-01)

* Drop defaulting the :port option to 5432 in the postgres adapter, so that
  setting the :service option in :driver_options works (jeremyevans) (#1558)

* Do not cache values for columns without parseable defaults when using :cache
  option in defaults_setter plugin (jeremyevans)

* Emulate NULLS FIRST/LAST ordering on databases that do not natively support
  it (jeremyevans)

* Do not modify boolean expressions created from string or array if string or
  array is modified (jeremyevans)

* Make roots and roots_dataset dataset methods instead of class methods in the
  tree plugin (JelF) (#1554)

* Do not cache dataset SQL if dataset uses subquery that cannot cache SQL

* Make Model#=== work correctly for models with composite primary keys

* Add Model#pk_equal? as a more descriptive name for Model#=== (AlexWayfer)

* Do not push down expression inversion in cases where it may result in
  incorrect behavior (e.g. ANY/SOME/ALL operators) (jeremyevans) (#1549)
   2018-10-13 15:56:25 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-sequel: update to 5.13.0

=== 5.13.0 (2018-10-01)

* Support :single_value type in prepared statements (rintaun) (#1547)

* Make Model.all in static_cache plugin accept a block (AlexWayfer, jeremyevans) \ 

* Add constant_sql_override extension for overriding SQL used for constants such \ 
as CURRENT_TIMESTAMP (celsworth) (#1538)

* Do not cache from_self datasets if options are given (jeremyevans)
   2018-09-10 17:22:27 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-sequel: update to 5.12.0

=== 5.12.0 (2018-08-31)

* Make constraint_validations extension respect \ 
Database#constraint_validations_table setting (jeremyevans)

* Make Sequel.extension load files from gems (jeremyevans)

* Map clob prepared statement argument type to OCI8::CLOB in the oracle adapter \ 
(pipistrellka) (#1534)

* Make Model.load_cache public in the static_cache plugin (AlexWayfer) (#1533)

* Enable support for NOWAIT on MariaDB 10.3+ (jeremyevans)

* Enable support for INTERSECT and EXCEPT on MariaDB 10.3+ (jeremyevans)

* Make tactical_eager_loading plugin handle automatic eager loading for \ 
associated objects created by eager_graph (jeremyevans)

* Cache eager_graph loader to speed up subsequent loads from the same dataset \ 

* Add caller_logging database extension to log callers before queries, useful \ 
during development (jeremyevans)

* Add Database#call_procedure in the postgres adapter for calling PostgreSQL 11+ \ 
procedures (jeremyevans)

* Add eager_graph_eager plugin for chaining eager association loads after \ 
eager_graph association loads (jeremyevans)

* Support using Dataset#eager_graph in eager load callback for associations \ 
using join tables (jeremyevans)

* Make Dataset#graph handle existing selections without determinable aliases by \ 
forcing a subselect (jeremyevans)

* Freeze prepared statement arguments before returning the prepared statement \ 

* Refactor emulated prepared statement internals to use a placeholder \ 
literalizer (jeremyevans)

=== 5.11.0 (2018-08-01)

* Fix using the jdbc/sqlserver adapter on JRuby 9.2+ (jeremyevans)

* Fix dumping schema for numeric/decimal columns with default values, broken \ 
starting in 5.9.0 (jeremyevans)

* Recognize additional check constraint violations on certain versions of SQLite \ 

* Use cached model instances for Model.first calls without an argument or with a \ 
single integer argument in the static_cache plugin (AlexWayfer) (#1529)

* Support ON CONFLICT clause for INSERT on SQLite 3.24+ (jeremyevans)

* Support Dataset#window for WINDOW clause on MySQL 8 and SQLAnywhere (jeremyevans)

* Enable window function support on SQLAnywhere (jeremyevans)

* Support using a hash as a window function :frame option value, with support \ 
for ROWS/RANGE/GROUPS, numeric offsets, and EXCLUDE (jeremyevans)

* Allow using set_column_default with a nil value to remove the default value \ 
for a column on MySQL when the column is NOT NULL (jeremyevans)

=== 5.10.0 (2018-07-01)

* Use input type casts when using the postgres adapter with pg 0.18+ to reduce \ 
string allocations for some primitive types used as prepared statement arguments \ 

* Assume local time if database timezone not specified when handling BC \ 
timestamps on JRuby in the pg_extended_date_support extension \ 

* Fix parsing of timetz types in the jdbc/postgresql adapter (jeremyevans)

* Make SQLTime.parse respect SQLTime.date and Sequel.application_timezone \ 

* Add :top as an option in the list plugin (celsworth) (#1526)

* Fix Model#{ancestors,descendants,self_and_siblings} in the tree plugin when \ 
custom parent/children association names are used (jeremyevans) (#1525)

* Treat read-only mode error as disconnect error on mysql and mysql2 adapters, \ 
for better behavior on AWS Aurora cluster (jeremyevans)

* Don't use cached placeholder literalizers for in \ 
Dataset#{first,where_all,where_each,where_single_value} if argument is empty \ 
array or hash (jeremyevans)

* Support :tablespace option when adding tables, indexes, and materialized views \ 
on PostgreSQL (jeremyevans)

* Support :include option for indexes on PostgreSQL 11+ (jeremyevans)

* Allow the use of IN/NOT IN operators with set returning functions for \ 
Sequel::Model datasets (jeremyevans)

* Make many_to_pg_array associations in the pg_array_associations plugin work on \ 
PostgreSQL 11 (jeremyevans)

* Only load strscan library in pg_array extension if it is needed (jeremyevans)

* Don't remove related many_to_one associations from cache when setting column \ 
value to existing value for model instances that have not been persisted \ 
(jeremyevans) (#1521)

* Support ruby 2.6+ endless ranges in the pg_range extension (jeremyevans)

* Support ruby 2.6+ endless ranges in filters, using just a >= operator for \ 
them (jeremyevans)
   2018-06-06 06:44:51 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-sequel: Update to 5.9.0

=== 5.9.0 (2018-06-01)

* Support generated columns on MySQL 5.7+ and MariaDB 5.2+ (wjordan, \ 
jeremyevans) (#1517)

* Add escaped_like extension for creation of LIKE expressions with placeholders \ 
in the pattern without access to a dataset (jeremyevans)

* Modify jdbc adapter exception handling to work around ::NativeException \ 
deprecation in JRuby 9.2 (jeremyevans)

* Work around broken BC date handling in JRuby (jeremyevans)

* Switch use of BigDecimal.new() to BigDecimal(), since the former is deprecated \ 

* Add Sequel::VERSION_NUMBER for easier version comparisons (jeremyevans)

* Add Model.has_dataset? to determine if the model class has a dataset \ 
(AlexWayfer) (#1508)

* Support use of LIKE with ANY function on PostgreSQL by avoiding unnecessary \ 
use of ESCAPE syntax (jeremyevans)

* Disconnect connections left allocated by dead threads instead of returning the \ 
connections to the pool (jeremyevans)

* Make both threaded connection pools avoid disconnecting connections while \ 
holding the connection pool mutex (jeremyevans)

* Don't deadlock when disconnecting connections in the sharded_threaded \ 
connection pool when using connection_validator or connection_expiration \ 
extensions (jeremyevans)

* Don't modify hash argument passed in Model.nested_attributes in the \ 
nested_attributes plugin (jeremyevans)

* Avoid unnecessary hash creation in many places (jeremyevans)

* Fix duplicate objects in nested associations when eager_graphing cascaded \ 
many_to_one=>one_to_many associations (jeremyevans)
   2018-05-05 16:19:58 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-sequel: update to 5.8.0

=== 5.8.0 (2018-05-01)

* Don't mark SQLAnywhere as supporting WITH in INSERT statement (jeremyevans)

* Support :search_path as a shard option on PostgreSQL (jeremyevans)

* Add Dataset#nowait for raising a Sequel::DatabaseLockTimeout when a locked row \ 
is encountered, supported on PostgreSQL, MySQL 8+, MSSQL, and Oracle \ 

* Support Dataset#skip_locked on MySQL 8+ (jeremyevans)

* Make schema modification methods in the pg_enum extension work on a frozen \ 
Database object (jeremyevans)

* Support common table expressions and window functions on MySQL 8+ (jeremyevans)

* Ignore Dataset#explain :extended option on MySQL 5.7+, since extended output \ 
is then the MySQL default (jeremyevans)

* Work around REGEXP BINARY not working correctly on MySQL 8+ by using \ 
REGEXP_LIKE with the 'c' match_type (jeremyevans)

* Force correct column order in Database#foreign_key_list on MySQL (jeremyevans)

* Add ConnectionPool#connection_expiration_random_delay to connection_expiration \ 
extension, to avoid thundering herd if preallocating connections (hex2a, \ 
jeremyevans) (#1503)

* Emit deprecation warning in association_proxies plugin if using #filter on an \ 
association proxy, since behavior will change on ruby 2.6+ (utilum) (#1497)

* Handle multiple add_constraint calls and a set_column_null call in the same \ 
alter_table block on SQLite (jeremyevans) (#1498)

* Add Database#rename_enum to the pg_enum extension (AlexWayfer) (#1495)

* Make tactical_eager_loading plugin respect the :allow_eager association option \ 
(jeremyevans) (#1494)

* Add pg_auto_constraint_validations plugin, for automatically converting \ 
constraint violations to validation failures on PostgreSQL (jeremyevans)

* Don't make Model#_valid? public in the error_splitter plugin (jeremyevans)

* Support Database#indexes :include_partial option on PostgreSQL for including \ 
partial indexes (jeremyevans)

* Include more diagnostic information in Database#error_info on PostgreSQL \ 

* Support Database#foreign_key_list :reverse option on PostgreSQL for parsing \ 
foreign key constraints that reference a given table (jeremyevans)

* Add Database#check_constraints on PostgreSQL for parsing CHECK constraints \ 

* Don't use identity columns if :serial=>true or :type=>:serial|:bigserial \ 
column options are used (#1490) (jeremyevans)

* Cache Dataset#select_all datasets if no arguments are given (jeremyevans)

* Cache Dataset#returning datasets if no arguments are given (jeremyevans)

* Cache Dataset#qualify datasets if no argument is given (jeremyevans)

* Cache Dataset#lateral datasets (jeremyevans)

* Cache Dataset#from_self datasets if no options are given (jeremyevans)

* Cache Dataset#distinct datasets if no arguments or block is given (jeremyevans)

=== 5.7.0 (2018-04-01)

* Add Sequel.start_timer and .elapsed_seconds_since for more accurate elapsed \ 
time calculations on ruby 2.1+ (jeremyevans)

* Run Dataset#with_sql_{all,each,first,single_value} using a cached dataset to \ 
avoid clobbering the dataset's columns (jeremyevans)

* Add Database#convert_serial_to_identity on PostgreSQL 10.2+, which requires \ 
superuser access (jeremyevans)

* Fix Database#server_version when connecting to PostgreSQL 10.1+ in certain \ 
cases (jeremyevans)

* Free temporary clobs in the jdbc/oracle adapter to prevent a memory leak \ 
(jeremyevans) (#1482)

* Treat prepared statement errors due to changing types as disconnect errors in \ 
the postgres adapter (jeremyevans) (#1481)

* Add integer64 extension for treating Integer as a 64-bit integer when used as \ 
a generic type (jeremyevans)

* Allow many_to_pg_array remove_all_* method cast appropriately to work \ 
correctly for non-integer types (jeremyevans)

* Fix array_type for pg_array_to_many and many_to_pg_array associations in \ 
pg_array_associations plugin (jeremyevans)

* Use identity columns instead of serial columns for primary keys on PostgreSQL \ 
10.2+ (jeremyevans)

* Support :identity option when creating columns on PostgreSQL 10+ to create \ 
identity columns (jeremyevans)

* Add Dataset#overriding_{system,user}_value on PostgreSQL for use with \ 
PostgreSQL 10+ identity columns (jeremyevans)

* Set :auto_increment schema entry correctly for PostgreSQL 10+ identity columns \ 
   2018-03-09 15:15:23 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-sequel: update to 5.6.0

=== 5.6.0 (2018-03-01)

* Dedup :db_type strings in schema hashes on Ruby 2.5+ (jeremyevans)

* Make schema_caching extension work with :callable_default schema values \ 

* Freeze string valuse in hashes returned by Database#schema when using the \ 
schema_caching extension (jeremyevans)

* Protect migration file loading with a mutex to not break when multiple threads \ 
load migration files simultaneously (jeremyevans)

* Respect identifier mangling rules when renaming columns on Microsoft SQL \ 
Server (jeremyevans)