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

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

Branch: CURRENT, Version: 5.18.0, Package name: ruby24-sequel-5.18.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: 2b410becd4a6ef1551bacb21c37718e8a85c7322
RMD160: 820777133f3a76b749dca8d1d868bf24190e5223
Filesize: 1207 KB

Version history: (Expand)

CVS history: (Expand)

   2019-03-03 16:24:03 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-sequel update to 5.18.0

=== 5.18.0 (2019-03-01)

* Use singleton .call methods on plain objects instead of procs/methods for \ 
faster type conversion (jeremyevans)

* Add Sequel::SQL::Blob.call to avoid indirection when converting values from \ 
the database (jeremyevans)

* Use while instead of each for inner loops in sqlite and jdbc adapters for \ 
better performance (jeremyevans)

* Make after_initialize plugin not make the argument to Model.call optional \ 

* Allow Dataset#paged_each to be called without a block in the postgres and \ 
mysql2 adapters (jeremyevans)

* Remove flow-control exceptions in connection_expiration and \ 
connection_validator extensions (jeremyevans)

* Add throw_failures plugin for throwing ValidationFailed and HookFailed \ 
exceptions instead of raising them, up to 10x performance increase on JRuby \ 

* Support tzinfo 2 in addition to tzinfo 1 in the named_timezones extension \ 
(jeremyevans) (#1596)
   2019-02-03 15:30:59 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-sequel: update to 5.17.0

=== 5.17.0 (2019-02-01)

* Support skip_auto_validations instance method in auto_validations plugin
  (oldgreen, jeremyevans) (#1592)

* Support :preconnect_extensions Database option for loading extensions before
  :preconnect option (jeremyevans)

* Avoid usage of Proc.new with implicit block as ruby 2.7+ deprecates this
  behavior (jeremyevans)

* Allow Sequel[].as to be used for constructing aliases with eager_graph
  (e.g. Model.eager_graph(Sequel[:a].as(:b))) (jeremyevans) (#1588)
   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)