summaryrefslogtreecommitdiff
path: root/databases/ruby-sequel/Makefile
AgeCommit message (Collapse)AuthorFilesLines
2012-06-02Update ruby-sequel to 3.36.0.taca1-2/+2
=== 3.36.0 (2012-06-01) * Use Bignum generic type when dumping unsigned integer types that could potentially overflow 32-bit signed integer values (stu314) * Support :transform option in the nested_attributes plugin, for automatically preprocessing input hashes (chanks) * Support :unmatched_pk option in the nested_attributes plugin, can be set to :create for associated objects with natural keys (chanks) * Support composite primary keys in the nested_attributes plugin (chanks) * Allow Model#from_json in the json_serializer plugin to use set_fields if a :fields option is given (jeremyevans) * Support :using option to set_column_type on PostgreSQL, to force a specific conversion from the old value to the new value (jeremyevans) * Drop indexes in the reverse order that they were added in the schema dumper (jeremyevans) * Add :index_names option to schema dumper method, can be set to false or :namespace (stu314, jeremyevans) * Add Database#global_index_namespace? for checking if index namespace is global or per table (jeremyevans) * Fix typecasting of time columns on jdbc/postgres, before could be off by a millisecond (jeremyevans) * Add document explaining Sequel's object model (jeremyevans) * Attempt to detect more disconnect errors in the mysql2 adapter (jeremyevans) * Add is_current? and check_current to the migrators, for checking/raising if there are unapplied migrations (pvh, jeremyevans) (#487) * Add a jdbc subadapter for the Progress database (Michael Gliwinski, jeremyevans) * Add pg_inet extension, for working with PostgreSQL inet and cidr types (jeremyevans) * Fix bug in model column setters when passing an object that raises an exception for ==('') (jeremyevans) * Add eager_each plugin, which makes each on an eagerly loaded dataset do eager loading (jeremyevans) * Fix bugs when parsing foreign keys for tables with explicit schema on PostgreSQL (jeremyevans) * Remove Database#case_sensitive_like on SQLite (jeremyevans) * Remove Database#single_value in the native sqlite adapter (jeremyevans) * Make Dataset#get work with nil and false arguments (jeremyevans) * Make json_serializer plugin respect :root=>:collection and :root=>:instance options (jeremyevans) * Support savepoints in prepared transactions on MySQL 5.5.23+ (jeremyevans) * Add pg_json extension, for working with PostgreSQL 9.2's new json type (jeremyevans) * In the optimistic locking plugin, make refresh and save after a failed save work correctly (jeremyevans) * Support partial indexes on Microsoft SQL Server 2008 (jeremyevans) * Make Database#call pass blocks (jeremyevans) * Support :each when preparing statements, useful for iterating over large datasets (jeremyevans) * Support :if_exists and :cascade options when dropping indexes on PostgreSQL (jeremyevans) * Support :concurrently option when adding and dropping indexes on PostgreSQL (jeremyevans) * Make Database#transaction on PostgreSQL recognize :synchronous, :read_only, and :deferrable options (jeremyevans) * Support :sql_mode option when connecting to MySQL (jeremyevans) * Apply :timeout MySQL connection setting on do, jdbc, and swift adapters (jeremyevans) * Don't set Sequel::Model.db automatically when creating an anonymous class with an associated database object (jeremyevans) * Add :connection_handling=>:queue option to the threaded connection pools, may reduce chance of stale connections (jeremyevans) (#481) * Handle JRuby 1.7 exception handling changes when connecting in the jdbc adapter (jeremyevans) (#477) * Make *_to_one association setters be noops if you pass a value that is the same as the cached value (jeremyevans) * Make Model#refresh return self when using dirty plugin (jeremyevans)
2012-06-01Update ruby-sequel to 3.35.0.taca1-2/+2
=== 3.35.0 (2012-05-01) * Correctly handle parsing schema for tables in other databases on MySQL (jeremyevans) * Add DSL support for the modulus operator (%), similar to the bitwise operators (jeremyevans) * Fix possible thread-safety issues on non-GVL ruby implementations (jeremyevans) * Allow truncation of multiple tables at the same time on PostgreSQL (jeremyevans) * Allow truncate to take a :cascade, :only, and :restart options on PostgreSQL (hgimenez, jeremyevans) * Allow json and xml serializers to support :array option in class to_json method to serialize existing array of model instances (jeremyevans) * Add dirty plugin, which saves the initial value of the column when the value is changed (jeremyevans) * create_table now supports an :as option to create a table directly from the results of a query (jeremyevans) * The :index option when creating columns in the schema generator can now be a hash of options passed to index (jeremyevans) * Parsing the default column values in the oracle adapter no longer requires superuser privileges (Jason Hines) * Add Database#cache_schema to allow schema caching to be turned of, useful for development modes where models are reloaded (jeremyevans) * Correctly handle errors that occur when rolling back transactions (jeremyevans) * Recognize identity type in the schema dumper (jeremyevans) (#468) * Don't assign instance variables to Java objects, for future JRuby 2.0 support (jeremyevans) (#466) * Use date and timestamp formats that are multilanguage and not DATEFORMAT dependent on Microsoft SQL Server (jeremyevans) * Add Database#log_exception, which logs when a query raises an exception, for easier overriding (jeremyevans) (#465) * Make the migrators only use transactions by default if the database supports transactional DDL (jeremyevans) * Add Database#supports_transactional_ddl? for checking if DDL statements can be rolled back in transactions (jeremyevans) * Don't use auto parameterization when using cursors in the pg_auto_parameterize extension (jeremyevans) (#463) * No longer escape backslashes in strings by default, fixes doubled backslashes on some adapters (jeremyevans) * Escape blackslash-carriage return-line feed in strings on Microsoft SQL Server (mluu, jeremyevans) (#462, #461) * Remove Array#all_two_pairs? (jeremyevans) * Remove Dataset#disable_insert_returning on PostgreSQL (jeremyevans) * Remove support for PostgreSQL <8.2 (jeremyevans) * Remove support for Ruby <1.8.7 (jeremyevans)
2012-04-28Update ruby-sequel package to 3.34.1.taca1-2/+2
=== 3.34.1 (2012-04-02) * Fix bug in optimization of primary key lookup (jeremyevans) (#460) As for 3.34.0, changes are too many, please refer: http://sequel.rubyforge.org/rdoc/files/CHANGELOG.html
2012-03-17Update ruby-sequel package to 3.33.0.taca1-2/+2
=== 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)
2012-02-23Update databases/ruby-sequel package to 3.32.0.taca1-2/+2
=== 3.32.0 (2012-02-01) * Make serialization_modification_detection plugin work correctly with new objects and after saving existing objects (jeremyevans) (#432) * Make refreshes after model creation clear the deserialized values in the serialization plugin (jeremyevans) * Add Dataset#update_ignore on MySQL, for using UPDATE IGNORE in queries (danielb2) (#429) * Allow select_map/select_order_map to take both a column argument and a block (jeremyevans) * Fix virtual row block handling in select_map/select_order_map if block returns an array (jeremyevans) (#428) * Add Sequel.empty_array_handle_nulls setting, can be set to false for possible better performance on some databases (jeremyevans) * Change exclude(:b=>[]) to not return rows where b is NULL (jeremyevans) (#427) * Support ActiveModel 3.2 in the active_model plugin, by adding support for to_partial_path (jeremyevans) * Fix metadata methods (e.g. tables) on Oracle when custom identifier input methods are used (jeremyevans) * Fix Database#indexes on DB2 (jeremyevans) * Make DateTime/Time columns with Sequel::CURRENT_TIMESTAMP default values use timestamp column on MySQL (jeremyevans) * Wrap column default values in extra parens on SQLite, fixes some cases (jeremyevans) * Make Database#indexes not include primary key indexes on Derby, HSQLDB, Oracle, and DB2 using the jdbc adapter (jeremyevans) * Support Database#indexes in shared MSSQL adapter (jeremyevans) * Support :include option when creating indexes on MSSQL, for storing column values in the index (crawlik) (#426) * Make set_column_type not modify defaults and NULL/NOT NULL setting on MSSQL, H2, and SQLite (jeremyevans) * Qualify identifiers when filtering/excluding by associations (jeremyevans) * Make table_exists? better handle tables where you don't have permissions for all columns (jeremyevans) (#422) * Using new association options, support associations based on columns that clash with ruby method names (jeremyevans) (#417) * Add use_after_commit_rollback setting to models, can be turned off to allow model usage with prepared transactions (jeremyevans) * Fix alter table emulation on SQLite when foreign keys reference the table being altered (jeremyevans) * Fix progress shared adapter, broken since the dataset literalization refactoring (jeremyevans) (#414) * Support :map and :to_hash prepared statement types (jeremyevans) * Make Dataset#naked! work correctly (jeremyevans) * Remove Dataset#paginate!, as it was broken (jeremyevans) * Fix query extension to not break usage of #clone without arguments (jeremyevans) (#413) === 3.31.0 (2012-01-03) * Dataset#from no longer handles :a__b__c___d as a.b.c AS d (jeremyevans) * Support many_to_one associations with the same name as their column, using the :key_column option (jeremyevans) * Add Model.def_column_alias for defining alias methods for columns (jeremyevans) * Support :server option in Dataset#import and #multi_insert (jeremyevans) * Respect existing RETURNING/OUTPUT clauses in #import/#multi_insert on PostgreSQL/MSSQL (jeremyevans) * Support :return=>:primary_key option to Dataset#import and #multi_insert (jeremyevans) * Correctly handle return value for Dataset#insert with column array and value array on PostgreSQL <8.2 (jeremyevans) * Dataset#insert_multiple now returns an array of inserted primary keys (jeremyevans) (#408) * Support RETURNING with DELETE and UPDATE on PostgreSQL 8.2+ (funny-falcon) * Raise error if tables from two separate schema are detected when parsing the schema for a single table on PostgreSQL (jeremyevans) * Handle clob types as string instead of blob on H2 (jeremyevans) * Add database type support to the mock adapter, e.g. mock://postgres (jeremyevans) * Allow creation of full text indexes on Microsoft SQL Server, but you need to provide a :key_index option (jeremyevans) * Allow Dataset#full_text_search usage with prepared statements (jeremyevans) * Make Dataset#exists use a PlaceholderLiteralString so it works with prepared statements (jeremyevans) * Fix Dataset#empty? for datasets with offsets when offset support is emulated (jeremyevans) * Add Dataset#group_rollup and #group_cube methods for GROUP BY ROLLUP and CUBE support (jeremyevans) * Add support for custom serialization formats to the serialization plugin (jeremyevans) * Support a :login_timeout option in the jdbc adapter (glebpom) (#406)
2011-12-15Update ruby-sequel package to 3.30.0.taca1-2/+2
=== 3.30.0 (2011-12-01) * Handle usage of on_duplicate_key_update in MySQL prepared statements (jeremyevans) (#404) * Make after_commit and after_rollback respect :server option (jeremyevans) (#401) * Respect :connect_timeout option in the postgres adapter when using pg (glebpom, jeremyevans) (#402) * Make Dataset#destroy for model datasets respect dataset shard when using a transaction (jeremyevans) * Make :server option to Model#save set the shard to use (jeremyevans) * Move Model#set_server from the sharding plugin to the base plugin (jeremyevans) * Add :graph_alias_base association option for setting base name to use for table aliases when eager graphing (jeremyevans) * Make ILIKE work correctly on Microsoft SQL Server if database/column collation is case sensitive (jfirebaugh) (#398) * When starting a new dataset graph, assume existing selection is the columns to select from the current table (jeremyevans) * Allow specifying nanoseconds and offsets when converting a hash or array to a timestamp (jeremyevans, jfirebaugh) (#395) * Improve performance when converting Java types to ruby types in the jdbc adapter (jeremyevans, jfirebaugh) (#395) * Fix tinytds adapter if DB.identifier_output_method = nil (jeremyevans) * Explicitly order by the row number column when emulating offsets (jfirebaugh) (#393) * Fix Dataset#graph and #eager_graph modifying the receiver if the receiver is already graphed (jeremyevans) (#392) * Change dataset literalization to an append-only-all-the-way-down design (jeremyevans)
2011-12-13Update ruby-sequel package to 3.29.0.taca1-2/+2
Changes are too many to write here, pelase refer CHANGELOG file.
2011-09-12Update ruby-sequel pacakge to 3.27.0.taca1-2/+2
=== 3.27.0 (2011-09-01) * Add support for native prepared statements to the tinytds adapter (jeremyevans) * Add support for native prepared statements and stored procedures to the mysql2 adapter (jeremyevans) * Support dropping primary key, foreign key, and unique constraints on MySQL via the drop_constraint :type option (jeremyevans) * Add Sequel::SQLTime class for handling SQL time columns (jeremyevans) * Typecast DateTime objects to Date for date columns (jeremyevans) * When typecasting Date objects to timestamps, make the resulting objects always have no fractional date components (jeremyevans) * Add Model.dataset_module for simplifying many def_dataset_method calls (jeremyevans) * Make prepared_statements_safe plugin work on classes without datasets (jeremyevans) * Make Dataset#hash work correctly when referencing SQL::Expression instances (jeremyevans) * Handle allowed mass assignment methods correctly when including modules in classes or extending instances with modules (jeremyevans) * Fix Model#hash to work correctly with composite primary keys and with no primary key (jeremyevans) * Model#exists? now returns false without issuing a query for new model objects (jeremyevans)
2011-08-12Update databases/ruby-sequel package to 3.26.0.taca1-2/+2
=== 3.26.0 (2011-08-01) * Fix bug in default connection pool if a disconnect error is raised and the disconnection_proc also raises an error (jeremyevans) * Disallow eager loading via eager of many_*_many associations with :eager_graph option (jeremyevans) * Major speedup in dataset creation (jeremyevans) * Replace internal implementation of eager_graph with much faster version (jeremyevans) * Don't treat strings with leading zeros as octal format in the default typecasting (jeremyevans) * Fix literalization of Date, Time, and DateTime values on Microsoft Access (jeremyevans) * Fix handling of nil values with the pure-Java version of nokogiri in the xml_serializer plugin (jeremyevans) * Make identity_map plugin work with standard eager loading of many_to_many and many_through_many associations (jeremyevans) * Make create_table! only attempt to drop the table if it already exists (jeremyevans) * Remove custom table_exists? implementations in the oracle and postgres adapters (jeremyevans) * Handle another type of disconnection in the postgres adapter (jeremyevans) * Handle disconnections in the ado adapter and do postgres subadapter (jeremyevans) * Recognize disconnections when issuing BEGIN/ROLLBACK/COMMIT statements (jeremyevans) (#368) === 3.25.0 (2011-07-01) * Work with tiny_tds-0.4.5 in the tinytds adapter, older versions are no longer supported (jeremyevans) * Make association_pks plugin typecast provided values to integer if the primary key column type is integer (jeremyevans) * Model.set_dataset now accepts Identifier, QualifiedIdentifier, and AliasedExpression arguments (jeremyevans) * Fix handling of nil values in bound variables and prepared statement and stored procedure arguments in the jdbc adapter (jeremyevans, wei) * Allow treating Datasets as Expressions, e.g. DB[:table1].select(:column1) > DB[:table2].select(:column2) (jeremyevans) * No longer use CASCADE by default when dropping tables on PostgreSQL (jeremyevans) * Support :cascade option to #drop_table, #drop_view, #drop_column, and #drop_constraint for using CASCADE (jeremyevans) * If validation error messages are LiteralStrings, don't add the column name to them in Errors#full_messages (jeremyevans) * Fix bug loading plugins on 1.9 where ::ClassMethods, ::InstanceMethods, or ::DatasetMethods is defined (jeremyevans) * Add Dataset#exclude_where and Dataset#exclude_having methods, so you can force use of having or where clause (jeremyevans) * Allow Dataset#select_all to take table name arguments and select all columns from each given table (jeremyevans) * Add Dataset#select_group method, for selecting and grouping on the same columns (jeremyevans) * Allow Dataset#group and Dataset#group_and_count to accept a virtual row block (jeremyevans)
2011-06-17Update ruby-sequel package to 3.24.1.taca1-2/+2
3.24.1 (2011-06-03) * Ignore index creation errors if using create_table? with the IF NOT EXISTS syntax (jeremyevans) (362) 3.24.0 (2011-06-01) * Add prepared_statements_association plugin, for using prepared statements by default for regular association loading (jeremyevans) * Add prepared_statements_safe plugin, for making prepared statement use with models more safe (jeremyevans) * Add prepared_statements_with_pk plugin, for using prepared statements for dataset lookups by primary key (jeremyevans) * Fix bug in emulated prepared statement support not supporting nil or false as bound values (jeremyevans) * Add Dataset#unbind for unbinding values from a dataset, for use with creating prepared statements (jeremyevans) * Add prepared_statements plugin for using prepared statements for updates, inserts, deletes, and lookups by primary key (jeremyevans) * Make Dataset#[] for model datasets consider a single integer argument as a lookup by primary key (jeremyevans) * Add Dataset#with_pk for model datasets, for finding first record with matching primary key value (jeremyevans) * Add defaults_setter plugin for setting default values when initializing model instances (jeremyevans) * Add around hooks (e.g. around_save) to Sequel::Model (jeremyevans) * Add Model#initialize_set private method to ease extension writing (jeremyevans) * Only typecast bit fields to booleans on MSSQL, the MySQL bit type is a bitfield, not a boolean (jeremyevans) * Set SQL_AUTO_IS_NULL=0 by default when connecting to MySQL via the swift and jdbc adapters (jeremyevans) * Fix bug in multiple column IN/NOT IN emulation when a model dataset is used (jeremyevans) * Add support for filtering and excluding by association datasets (jeremyevans) * Fix literalization of boolean values in filters on SQLite and MSSQL (jeremyevans) * Add support for filtering and excluding by multiple associations (jeremyevans) * Add support for inverting some SQL::Constant instances such as TRUE, FALSE, NULL, and NOTNULL (jeremyevans) * Add support for excluding by associations to model datasets (jeremyevans) * The Sequel::Postgres.use_iso_date_format setting now only affects future Database objects (jeremyevans) * Add Sequel::Postgres::PG_NAMED_TYPES hash for extensions to register type conversions for non-standard types (jeremyevans, pvh) * Make create_table? use IF NOT EXISTS instead of using SELECT to determine existence, if supported (jeremyevans) * Fix bug in association_pks plugin when associated table has a different primary key column name (jfirebaugh) * Fix limiting rows when connecting to DB2 (semmons99) * Exclude columns from tables in the INFORMATION_SCHEMA when parsing table schema on JDBC (jeremyevans) * Fix limiting rows when connecting to Microsoft Access (jeremyevans) * Add Database#views for getting an array of symbols of view names for the database (jeremyevans, christian.michon) * Make Datbase#tables no longer include view names on MySQL (jeremyevans) * Convert Java CLOB objects to ruby strings when using the JDBC JTDS subadapter (christian.michon) * If Thread#kill is called on a thread with an open transaction, roll the transaction back on ruby 1.8 and rubinius (jeremyevans) * Split informix adapter into shared/specific parts, add JDBC informix subadapter (jeremyevans) 3.23.0 (2011-05-02) * Migrate issue tracker from Google Code to GitHub Issues (jeremyevans) * Add support for filtering by associations to model datasets (jeremyevans) * Don¡Çt call insert_select when saving a model that doesn¡Çt select all columns of the table (jeremyevans) * Fix bug when using :select=>[] option for a many_to_many association (jeremyevans) * Add a columns_introspection extension that attempts to skip database queries by introspecting selected columns (jeremyevans) * When combining old integer migrations and new timestamp migrations, make sure old integer migrations are all applied first (jeremyevans) * Support dynamic callbacks to customize regular association loading at query time (jeremyevans) * Support cascading of eager loading with dynamic callbacks for both eager and eager_graph (jeremyevans) * Make the xml_serializer plugin handle namespaced models by using __ instead of / as a separator (jeremyevans) * Allow the :eager_grapher association proc to accept a single hash instead of 3 arguments (jfirebaugh) * Support dynamic callbacks to customize eager loading at query time (jfirebaugh, jeremyevans) * Fix bug in the identity_map plugin for many_to_one associations when the association reflection hadn¡Çt been filled in yet (funny-falcon) * Add serialization_modification_detection plugin for detecting changes in serialized columns (jeremyevans) (333) 3.22.0 (2011-04-01) * Add disconnect detection to tinytds adapter, though correct behavior may require an update to tiny_tds (cult_hero) * Add Dataset/Database#mssql_unicode_strings accessor when connecting to MSSQL to control string literalization (semmons99, jeremyevans) * Fix ODBC::Time instance handling in the odbc adapter (jeremyevans) * Use Sequel.application_timezone when connecting in the oracle adapter to set the connection¡Çs session¡Çs timezone (jmthomas) * In the ADO adapter, assume access to SQL Server if a :conn_string option is given that doesn¡Çt indicate Access/Jet (damir.si) (332) * Use the correct class when loading instances for descendents of model classes that use single table inheritance (jeremyevans) * Support for COLLATE in column definitions (jfirebaugh) * Don¡Çt use a schema when creating a temporary table (jeremyevans) * Make migrator work correctly when a default_schema is set (jeremyevans) (331)
2011-03-23Update ruby-sequel package to 3.21.0.taca1-2/+2
=== 3.21.0 (2011-03-01) * Make symbol splitting (:table__column___alias) work correctly for identifiers that are not in the \w character class (authorNari) * Enable row locks in Oracle (authorNari) * Prefer cover? over include? for validates_includes/validates_inclusion_of (jeremyevans) * Make using NULL/NOT NULL, DEFAULT, and UNIQUE column options work correctly on H2 and possibly Oracle (jeremyevans) * Make bin/sequel accept file arguments and work correctly when $stdin is not a tty (jeremyevans) * Add support for -I and -r options to bin/sequel (jeremyevans) * Sequel::Model.plugin can now be overridden just like the other Model methods (jeremyevans) * Add tinytds adapter, the best way to connect to MSSQL from a C based ruby running on *nix (jeremyevans) * Recognize bigint unsigned as a Bignum type in the schema dumper (gamespy-tech) (#327) * Add Dataset#calc_found_rows for MySQL datasets (macks) * Add association_autoreloading plugin for clearing association cache when foreign key value changes (jfirebaugh, jeremyevans) * Fix join_table on MySQL ignoring the block (jfirebaugh) * Transfer CTE WITH clauses in subselect to main query when joining on MSSQL (jfirebaugh) * Make specs support both RSpec 1 and RSpec 2 (jeremyevans) * Work with ruby-informix versions >= 0.7.3 in the informix adapter (jeremyevans) (#326) === 3.20.0 (2011-02-01) * Allow a :partial option to Database#indexes on MySQL to include partial indexes (roland.swingler) (#324) * Add a SQLite subadapter to the swift adapter, now that swift supports it (jeremyevans) * Update swift adapter to support swift 0.8.1, older versions no longer supported (jeremyevans) * Allow setting arbitrary JDBC properties in the jdbc adapter with the :jdbc_properties option (jeremyevans) * Use a better error message if a validates_max_length validation is applied to a nil value (jeremyevans) (#322) * Add some basic Microsoft Access support to the ado adapter, autoincrementing primary keys now work (jeremyevans) * Make class_table_inheritance plugin handle subclass associations better (jeremyevans) (#320) === 3.19.0 (2011-01-03) * Handle Date and DateTime types in prepared statements when using the jdbc adapter (jeremyevans) * Handle Date, DateTime, Time, SQL::Blob, true, and false in prepared statements when using the SQLite adapter (jeremyevans) * Use varbinary(max) instead of image for the generic blob type on MSSQL (jeremyevans) * Close prepared statements when disconnecting when using SQLite (jeremyevans) * Allow reflecting on validations in the validation_class_methods plugin (jeremyevans) * Allow passing a primary key value to the add_* association method (gucki) * When typecasting model column values, check the classes of the new and existing values (jeremyevans) * Improve type translation performance in the postgres, mysql, and sqlite adapters by using methods instead of procs (jeremyevans) === 3.18.0 (2010-12-01) * Allow the user to control how the connection pool deals with attempts to access shards that aren't configured (jeremyevans) * Typecast columns when creating model objects from JSON in the json_serializer plugin (jeremyevans) * When parsing the schema for a model that uses an aliased table, use the unaliased table name (jeremyevans) * When emulating schema methods such as drop_column on SQLite, recreate applicable indexes on the recreated table (jeremyevans) * Only remove hook pairs that have been run successfully in the instance_hooks plugin (jeremyevans) * Add reversible migration support to the migration extension (jeremyevans) * Add to_dot extension, for producing visualizations of Dataset abstract syntax trees with Graphviz (jeremyevans) * Switch to using manual type translation in the SQLite adapter (jeremyevans) * Support :read_timeout option in the native mysql adapter (tmm1) * Support :connect_timeout option in the native mysql and mysql2 adapters (tmm1) === 3.17.0 (2010-11-05) * Ensure that the optimistic locking plugin increments the lock column when using Model#modified! (jfirebaugh) * Correctly handle nil values in the xml_serializer plugin, instead of converting them to empty strings (george.haff) (#313) * Use a default wait_timeout that's allowed on Windows for the mysql and mysql2 adapters (jeremyevans) (#314) * Add support for connecting to MySQL over SSL using the :sslca, :sslkey, and related options (jeremyevans) * Fix Database#each_server when used with jdbc or do connection strings without separate :adapter option (jeremyevans) (#312) * Much better support in the AS400 JDBC subadapter (bhauff) * Allow cloning of many_through_many associations (gucki, jeremyevans) * In the nested_attributes plugin, don't make unnecessary update calls to modify associated objects that are about to be deleted (jeremyevans, gucki) * Allow Dataset#(add|set)_graph_aliases to accept as hash values symbols and arrays with a single element (jeremyevans) * Add Databse#views and #view_exists? to the Oracle adapter (gpheruson) * Add Database#sql_log_level for changing the level at which SQL queries are logged (jeremyevans) * Remove unintended use of prepared statements in swift adapter (jeremyevans) * Fix logging in the swift PostgreSQL subadapter (jeremyevans) === 3.16.0 (2010-10-01) * Support composite foreign keys for associations in the identity_map plugin (harukizaemon, jeremyevans) (#310) * Handle INTERSECT and EXCEPT on Microsoft SQL Server 2005+ (jfirebaugh) * Add :replace option to Database#create_language in the postgresql adapter (jeremyevans) * Make rcte_tree plugin work when not all columns are selected (jeremyevans) * Add swift adapter (jeremyevans) * Fix literalization of DateTime objects on 1.9 for databases that support fractional seconds (jeremyevans)
2010-09-10Update databases/ruby-sequel 3.15.0.taca1-6/+5
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Add LICENSE. It is really renamed from ruby-sequel-core and changes are too may, please refer CHANGELOG file.
2008-05-01Add a build dependency on ruby-rspec since the Rakefiles in thejlam1-1/+2
distribution include spec/rake/spectask.
2008-05-01Update the dependency on sequel-core to match the version of sequel.jlam1-2/+2
2008-05-01Update databases/ruby-sequel to 1.5.1. Changes from version 1.5.0 include:jlam1-2/+2
* Fix Dataset#eager_graph when not all objects have associated objects. This changes how eager_graph handles missing records in associated tables (which occur because graph defaults to LEFT OUTER joins by design).
2008-04-29Update databases/ruby-sequel to 1.5.0. Changes from version 1.4.0 include:jlam1-9/+3
* No longer depend on the assistance gem, merge the Inflector and Validations code * Make the validation errors API compatible with Merb * Add validates_uniqueness_of, for protecting against duplicate entries in the database * Use reciprocal associations for all types of associations in the getter/setter/add_/remove_ methods * Fix many_to_one associations to cache negative lookups * Add eager loading of associations via new sequel_core object graphing * Fix many_to_many associations with classes inside modules without an explicit join table * Add the eager! and eager_graph! mutation methods to model datasets * Add Model.def_dataset_method, for defining methods on the model that reference methods on the dataset * Change Model#=== to always be false if the primary key is nil * Add Model#hash, which should be unique for a given class and primary key (or values if primary key is nil) * Make Model#reload clear any cached associations * Fix Model#destroy so that it returns self, not the result of after_destroy * Make Model#initialize, Model#set, and Model#update_with_params invulnerable to memory exhaustion * Add Model.str_columns, which gives a list of columns as frozen strings
2008-04-13Update databases/ruby-sequel to 1.4.0. Changes from version 1.3 include:jlam1-5/+10
+ Add patch-aa and patch-ab which are changes pulled from upstream to allow the creation of new records that don't have a primary key when the cache is on. * Merge ``sequel_model'' into ``sequel''. * Eager loading for all types of associations. * One-to-many associations now populate the corresponding many-to-one instance variable (even when eagerly loaded). * ActiveRecord style has_many :through associations are now supported via many_to_many. many_to_many will no longer select the entire result set, just the columns of the associated table (and not the join table), so it works for both has_and_belongs_to_many (simple join table) and has_many :through (join table model) scenarios.
2008-04-04Initial import of ruby18-sequel-1.3 as databases/ruby-sequel.jlam1-0/+15
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.