54 commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
taca
|
ca8a24da47 |
Update ruby-sequel to 4.42.1.
=== 4.42.1 (2017-01-12) * Make dataset_module inherited to subclasses when using the single_table_inheritance plugin (jeremyevans) (#1284) === 4.42.0 (2017-01-01) * Handle eager load callbacks correctly for one_to_one associations with orders or offsets when window functions are not supported (jeremyevans) * Raise Sequel::Error if using an :eager_limit dataset option when eager loading a singular association (jeremyevans) * Replace internal uses of Dataset#select_more with #select_append to save a method call (jeremyevans) * Make Dataset#order_append the primary method, and #order_more the alias, for similarity to #select_append and #select_more (jeremyevans) * Replace internal uses of Dataset#filter with #where to save a method call (jeremyevans) * Do not set :auto_increment in the schema information for integer columns that are part of a composite primary key on SQLite (jeremyevans) * Use autoincrement setting on integer primary key columns when emulating table modification methods on SQLite (thenrio, jeremyevans) (#1277, #1278) * Make the pagination extension work on frozen datasets (jeremyevans) * Make Dataset#server work for frozen model datasets using the sharding plugin (jeremyevans) * Make Dataset#nullify in the null_dataset extension work on frozen datasets (jeremyevans) * Make Model#set_server work when using a frozen model dataset (jeremyevans) * Make Dataset#ungraphed work on a frozen model dataset (jeremyevans) * Add Dataset#with_{autoid,fetch,numrows} to the mock adapter, returning cloned datasets with the setting changed (jeremyevans) * Make looser_typecasting extension handle the strict BigDecimal parsing introduced in ruby 2.4rc1 (jeremyevans) * Make Database#{db,opts}= in the sequel_3_dataset_methods extension raise for frozen datasets (jeremyevans) * Speed up repeated calls to Dataset#{interval,range} for frozen datasets using a cached placeholder literalizer (jeremyevans) * Speed up repeated calls to Dataset#get with a single argument for frozen datasets using a cached placeholder literalizer (jeremyevans) * Speed up repeated calls to Dataset#{first,last} with arguments/blocks for frozen datasets using a cached placeholder literalizer (jeremyevans) * Speed up repeated calls to Dataset#{avg,min,max,sum} for frozen datasets using a cached placeholder literalizer (jeremyevans) * Cache dataset returned by Dataset#skip_locked for frozen datasets (jeremyevans) * Cache dataset returned by Dataset#for_update for frozen datasets (jeremyevans) * Cache dataset returned by Dataset#un{filtered,grouped,limited,ordered} for frozen datasets (jeremyevans) * Cache dataset returned by Dataset#reverse (no args) for frozen datasets (jeremyevans) * Cache dataset returned by Dataset#invert for frozen datasets (jeremyevans) * Speed up repeated calls to Dataset#count with an argument or block for frozen datasets using a cached placeholder literalizer (jeremyevans) * Using :on_duplicate_columns=>:warn Database option with duplicate_columns_handler now prepends file/line to the warning message (jeremyevans) * Move identifier mangling code to identifier_mangling extension, load by default unless using :identifier_mangling=>false Database option (jeremyevans) * Allow Dataset#with_extend to accept a block and create a module with that block that the object is extended with (jeremyevans) * Speed up repeated calls to with_pk on the same frozen model dataset using a cached placeholder literalizer (jeremyevans) * Add dataset_module methods such as select and order that define dataset methods which support caching for frozen datasets (jeremyevans) * Cache subset datasets if they don't use blocks or procs for frozen model datasets (jeremyevans) * Cache intermediate dataset used in Dataset#{last,paged_each} for frozen model datasets without an order (jeremyevans) * Cache dataset returned by Dataset#naked for frozen datasets (jeremyevans) * Cache intermediate dataset used in Dataset#last (no args) for frozen datasets (jeremyevans) * Cache intermediate dataset used in Dataset#first (no args) and #single_record for frozen datasets (jeremyevans) * Cache intermediate dataset used in Dataset#empty? for frozen datasets (jeremyevans) * Cache intermediate dataset used in Dataset#count (no args) for frozen datasets (jeremyevans) * Warn if :conditions option may be unexpectedly ignored during eager_graph/association_join (jeremyevans) (#1272) * Cache SELECT and DELETE SQL for most frozen datasets (jeremyevans) * Freeze most SQL::Expression objects and internal state by default (jeremyevans) * Freeze Dataset::PlaceholderLiteralizer and Dataset::PlaceholderLiteralizer::Argument instances (jeremyevans) * Freeze most dataset opts values to avoid unintentional modification (jeremyevans) * Add Dataset#with_convert_smallint_to_bool on DB2, returning a clone with convert_smallint_to_bool set (jeremyevans) * Make Dataset#freeze actually freeze the dataset on ruby 2.4+ (jeremyevans) * Avoid using instance variables other than @opts for dataset data storage (jeremyevans) * Add freeze_datasets extension, making all datasets for a given Database frozen (jeremyevans) * Refactor prepared statement internals, using opts instead of instance variables (jeremyevans) * Model.set_dataset now operates on a clone of the dataset given instead of modifying it, so it works with frozen datasets (jeremyevans) === 4.41.0 (2016-12-01) * Add Dataset#with_mssql_unicode_strings on Microsoft SQL Server, returning a clone with mssql_unicode_strings set (jeremyevans) * Add Dataset#with_identifier_output_method, returning a clone with identifier_output_method set (jeremyevans) * Add Dataset#with_identifier_input_method, returning a clone with identifier_input_method set (jeremyevans) * Add Dataset#with_quote_identifiers, returning a clone with quote_identifiers set (jeremyevans) * Add Dataset#with_extend, returning a clone extended with given modules (jeremyevans) * Add Dataset#with_row_proc, returning a clone with row_proc set (jeremyevans) * Support use of SQL::AliasedExpressions as Model#to_json :include option keys in the json_serializer plugin (sensadrome) (#1269) * Major improvements to type conversion in the ado adapter (vais, jeremyevans) (#1265) * Avoid memory leak in ado adapter by closing result sets after yielding them (vais, jeremyevans) (#1259) * Fix hook_class_methods plugin handling of commit hooks (jeremyevans) * Make association dataset method correctly handle cases where key fields are nil (jeremyevans) * Handle pure java exceptions that don't support message= when reraising the exception in the jdbc adapter (jeremyevans) * Add support for :offset_strategy Database option on DB2, with :limit_offset and :offset_fetch values, to disable OFFSET emulation (#1254) (jeremyevans) * Remove deprecated support for using Bignum class as a generic type (jeremyevans) |
||
taca
|
3fd5e5da2d |
Update ruby-sequel to 4.40.0.
=== 4.40.0 (2016-10-28) * Make column_select plugin not raise an exception if the model's table does not exist (jeremyevans) * Make dataset_associations plugin correctly handle (many|one)_through_many associations with single join table (jeremyevans) (#1253) * Add s extension, with adds Sequel::S module that includes private #S method for calling Sequel.expr, including use as refinement (jeremyevans) * Add symbol_as and symbol_as_refinement extensions so that :column.as(:alias) is treated as Sequel.as(:column, :alias) (jeremyevans) * Add symbol_aref and symbol_aref_refinement extensions so that :table[:column] is treated as Sequel.qualify(:table, :column) (jeremyevans) * Add Sequel.split_symbols=, to support the disabling of splitting symbols with double/triple underscores (jeremyevans) * Make SQL::QualifiedIdentifier convert SQL::Identifier arguments to strings, fixing Sequel[:schema][:table] usage in schema methods (jeremyevans) * Do not attempt to combine non-associative operators (jeremyevans) (#1246) * Automatically add NOT NULL to columns when adding primary keys if the database doesn't handle it (jeremyevans) * Make prepared_statements plugin correctly handle lookup on joined datasets (jeremyevans) (#1244) * Make Database#tables with :qualify=>true option handle table names with double underscores correctly (jeremyevans) (#1241) * Add SQL::Identifier#[] and SQL::QualifiedIdentifier#[] for creating qualified identifiers (jeremyevans) * Add support for Dataset#insert_conflict :conflict_where option, for a predicate to use in ON CONFLICT clauses (chanks) (#1240) * Freeze Dataset::NON_SQL_OPTIONS, add private Dataset#non_sql_options, fixing thread safety issues during require (jeremyevans) * Make the callable returned by Database#rollback_checker thread safe (jeremyevans) * Make lazy_attributes and dataset_associations plugins work if insert_returning_select plugin is loaded before on model with no dataset (jeremyevans) |
||
taca
|
3d9541dab4 |
Update ruby-sequel to 4.39.0.
=== 4.39.0 (2016-10-01) * Make active_model plugin use rollback_checker instead of after_rollback hook (jeremyevans) * Add Database#rollback_checker, which returns a proc that returns whether the in progress transaction is rolled back (jeremyevans) * Add Sequel::Database.set_shared_adapter_scheme to allow external adapters to support the mock adapter (jeremyevans) * Make hook_class_methods plugin not use after commit/rollback model hooks (jeremyevans) * Support add_column :after and :first options on MySQL (AnthonyBobsin, jeremyevans) (#1234) * Support ActiveSupport 5 in pg_interval extension when weeks/hours are used in ActiveSupport::Duration objects (chanks) (#1233) * Support IntegerMigrator :relative option, for running only the specified number of migrations up or down (jeremyevans) * Make the touch plugin also touch associations on create in addition to update and delete (jeremyevans) * Add :allow_manual_update timestamps plugin option for not overriding a manually set update timestamp (jeremyevans) * Add Sequel.[] as an alias to Sequel.expr, for easier expression creation (jeremyevans) * Add PostgreSQL full_text_search :to_tsquery=>:phrase option, for using PostgreSQL 9.6+ full text search phrase searching (jeremyevans) * Add JSONBOp#insert in pg_json_ops extension, for jsonb_insert support on PostgreSQL 9.6+ (jeremyevans) * Support add_column :if_not_exists option on PostgreSQL 9.6+ (jeremyevans) |
||
taca
|
2e50199d78 |
Update ruby-sequel to 4.38.0.
=== 4.38.0 (2016-09-01) * Support :driver_options option when using the postgres adapter with pg driver (jeremyevans) * Don't use after commit/rollback database hooks if the model instance methods are not overridden (jeremyevans) * Add SQL::NumericMethods#coerce, allowing code such as Sequel.expr{1 - x} (jeremyevans) * Support ** operator for exponentiation on expressions, similar to +, -, *, and / (jeremyevans) * Add Sequel::SQLTime.date= to set the date used for SQLTime instances (jeremyevans) |
||
taca
|
00bd3a5948 |
Update ruby-sequel to 4.37.0.
=== 4.37.0 (2016-08-01) * Add support for regular expression matching on Oracle 10g+ using REGEXP_LIKE (johndcaldwell) (#1221) * Recognize an additional disconnect error in the postgres adapter (jeremyevans) * Make connection pool remove connections for disconnect errors not raised as DatabaseDisconnectError (jeremyevans) * Support mysql2 0.4+ native prepared statements and bound variables (jeremyevans) * Add Database#values for VALUES support on SQLite 3.8.3+ (jeremyevans) * Support create_view :columns option on SQLite 3.9.0+ (jeremyevans) * Make migration reverser handle alter_table add_constraint using a hash as the first argument (soupmatt) (#1215) * Make ASTTransformer handle Sequel.extract (jeremyevans) (#1213) |
||
taca
|
8845419ab3 |
Update ruby-sequel to 4.36.0.
=== 4.36.0 (2016-07-01) * Deprecate use of Bignum class as generic type, since the behavior will change in ruby 2.4 (jeremyevans) * Don't hold connection pool mutex while disconnecting connections (jeremyevans) * Don't hold references to disconnected connections in the connection_validator extension (jeremyevans) * Don't overwrite existing connection_validation_timeout when loading connection_validator extension multiple times (jeremyevans) * Add connection_expiration extension, for automatically removing connections open for too long (pdrakeweb) (#1208, #1209) * Handle disconnection errors raised during string literalization in mysql2 and postgres adapters (jeremyevans) * Add string_agg extension for aggregate string concatenation support on many databases (jeremyevans) * Add SQL::Function#order for ordered aggregate functions (jeremyevans) * Support operator validation in constraint_validations for <, <=, >, and >= operators with string and integer arguments (jeremyevans) * Make validates_operator validation consider nil values invalid unless :allow_nil or similar option is used (jeremyevans) * Close cursors for non-SELECT queries in the oracle adapter after execution, instead of waiting until GC (jeremyevans) (#1203) * Add :class_namespace association option for setting default namespace for :class option given as symbol/string (jeremyevans) * Add Sequel::Model.cache_anonymous_models accessor for changing caching on a per-model basis (jeremyevans) * Add Sequel::Model.def_Model for adding a Model() method to a module, for easier use of namespaced models (jeremyevans) * Add Sequel::Model::Model() for creating subclasses of Sequel::Model subclasses, instead of just Sequel::Model itself (jeremyevans) === 4.35.0 (2016-06-01) * Add :headline option to PostgreSQL Dataset#full_text_search for adding an extract of the matched text to the SELECT list (jeremyevans) * Make :rollback=>:always inside a transaction use a savepoint automatically if supported (jeremyevans) (#1193) * Recognize bool type as boolean in the schema dumper (jeremyevans) (#1192) * Make Dataset#to_hash and #to_hash_groups work correctly for model datasets doing eager loading (jeremyevans) * Make delay_add_association plugin handle hashes and primary keys passed to add_* association methods (jeremyevans) (#1187) * Treat :Bignum as a generic type, to support 64-bit integers on ruby 2.4+, where Bignum == Integer (jeremyevans) * Add server_logging extension for including server/shard information when logging queries (jeremyevans) * Add Database#log_connection_info, for including connection information when logging queries (jeremyevans) * Add Dataset#skip_locked for skipping locked rows on PostgreSQL 9.5+, MSSQL, and Oracle (jeremyevans) * Allow Sequel::Model#lock! to accept an optional lock style (petedmarsh) (#1183) * Add sql_comments extension for setting SQL comments on queries (jeremyevans) * Make Postgres::PGRange#cover? handle empty, unbounded, and exclusive beginning ranges (jeremyevans) * Fix frozen string literal issues on JRuby 9.1.0.0 (jeremyevans) * Allow json_serializer :include option with cascaded values to work correctly when used with association_proxies (jeremyevans) === 4.34.0 (2016-05-01) * Add support for :dataset_associations_join association option to dataset_associations plugin, for making resulting datasets have appropriate joins (jeremyevans) * Log server connection was attempted to in PoolTimeout exception messages in sharded connection pool (jeremyevans) * Log Database :name option in PoolTimeout exception messages (bigkevmcd, jeremyevans) (#1176) * Add duplicate_columns_handler extension, for raising or warning if a dataset returns multiple columns with the same name (TSMMark, jeremyevans) (#1175) * Support registering per-Database custom range types in the pg_range extension (steveh) (#1174) * Support :preconnect=>:concurrently Database option for preconnecting in separate threads (kch, jeremyevans) (#1172) * Make prepared_statements_safe plugin work correctly with CURRENT_DATE/CURRENT_TIMESTAMP defaults (jeremyevans) (#1168) * Add validates_operator validation helper (petedmarsh) (#1170) * Recognize additional unique constraint violation on Microsoft SQL Server (jeremyevans) * Add :hash option to Dataset#(select|to)_hash(_groups)? methods for choosing object to populate (mwpastore) (#1167) |
||
wen
|
b73b9246b7 |
Update to 4.33.0
Upstream changes: 4.33.0.txt doc/release_notes/4.33.0.txt Last Update: 2016-04-01 07:24:12 -0700 New Features A Sequel::Model.require_valid_table accessor has been added. This setting is false for backwards compatibility, but if set to true, will raise an error you try to create a model class where an invalid table name is used or the schema or columns cannot be determined. This makes it easier to catch bugs, as things will fail fast, but it means that you must change code like: class Foo < Sequel::Model set_dataset :my_foos end to: class Foo < Sequel::Model(:my_foos) end as otherwise Foo will attempt to use the foos table by default when creating the class, which will raise an error as it is not the correct table name. Sequel::Database#transaction now supports a :savepoint=>:only option, which will create a savepoint if already inside a transaction, but will yield without creating a transaction if not inside a transaction. The use case for this is when you are running code that may raise an exception, and you don't want to invalidate the current transaction state. Other Improvements The graph_each extension now splits results into subhashes when using Sequel::Dataset#first, as it did before Sequel 4.27.0. On PostgreSQL, Dataset#insert_conflict now accepts an array of columns as the value for the :target option. You can now pass a Sequel::SQL::Identifier or a Sequel::SQL::QualifiedIdentifer as the table argument when creating a foreign key. Previously, only symbols were supported, and using other values required specifying the :table option. So this will now work to reference a table that includes a double underscore: foreign_key :foo_id, Sequel.identifier(:fo__oo) Creating model classes inside a transaction on PostgreSQL where the implicit table name isn't correct no longer causes the transaction to fail. Similar issues were also fixed in the boolean_readers, boolean_subsets, and class_table_inheritance plugins. On PostgreSQL, You can now use the :qualify=>true option in the schema dumper, to dump using schema-qualified table names. On Microsoft SQL Server, the set_column_allow_null and set_column_not_null alter table methods now work on varchar(max), text, and similar columns. On Oracle, Sequel::Database#sequence_for_table now returns nil if given a table that doesn't exist or that the user does not have access to. Passing arbitrary objects to a model association method now indicates that the association should be reloaded, which was used to work but was broken in Sequel 4.32.0. It is now possible to raise Sequel::ValidationFailed and Sequel::HookFailed without an argument. Backwards Compatibility Sequel::Model no longer swallows many errors when subclassing or setting datasets. While this should hopefully not affect backwards compatibility, it may break things where the methods were raising exceptions. If this does break backwards compatibility, it is most likely because it is no longer hiding another bug that should be fixed. Specific changes include: Model.inherited no longer rescues exceptions raised by set_dataset When subclassing a model that has a dataset, the columns and schema are just copied from the superclass Only Sequel::Error is rescued in calls to columns and schema, before it would rescue StandardError. The Sequel.firebird and Sequel.informix adapter methods have been removed, they are no longer needed as the firebird and informix adapters were removed a few versions back. |
||
taca
|
671b3ba240 |
Update ruby-sequel to 4.32.0.
=== 4.32.0 (2016-03-01) * Use mutex for synchronizing access to association reflection cache on MRI (jeremyevans) * Add Dataset#delete_from on MySQL, allowing deletions from multiple tables in a single query (jeremyevans) (#1146) * Add no_auto_literal_strings extension, which makes SQL injection vulnerabilities less likely (jeremyevans) * Add Model.default_association_options, for setting option defaults for all future associations (jeremyevans) * Support :association_pks_nil association option in association_pks setter for determining how to handle nil (jeremyevans) * Make association_pks setter handle empty array correctly when :delay_pks is set (jeremyevans) * Add a setter method for one_through_one associations (jeremyevans) * Include :remarks entry in JDBC schema parsing output, containing comments on the column (olleolleolle) (#1143) * Support :eager_reload and :eager options to associations in tactical_eager_loading plugin (jeremyevans) * Make tactical_eager_loading not eager load if passing proc or block to association method (jeremyevans) * Make eager_each plugin handle eager loading for Dataset#first and similar methods (jeremyevans) |
||
taca
|
033a7cf519 |
Update ruby-sequel to 4.31.0.
= Improvements * Sequel now works with ruby 2.3's --enable-frozen-string-literal, and all of the library files are set to use frozen string literals by default. A couple adapters and extensions depend on libraries that have issues with frozen string literals. Pull requests have been sent to each of those dependencies. * The migrators will now raise an exception if a migration file contains no migrations or more than one migration. * The jdbc/postgresql adapter now supports using PostgreSQL specific types in bound variables. Note that the current version of jdbc-postgres (9.4.1204) has regressions that affect this, users who need this support should stick with jdbc-postgres 9.4.1200 or below. * The jdbc/postgresql adapter now works around a regression in Java method lookup in JRuby 9.0.5.0 * The setter methods added by the association_pks plugin now do type casting immediately, instead of right before the data will be used. This makes them more similar to column setter methods, and ensures that future calls to the getters that use cached values will return correctly typecast data. * The PostgreSQL array parser in the pg_array extension now handles arrays with explicit bounds. The explicit bounds are ignored, so such values do not round trip, and there is currently no support for creating arrays with explicit bounds. * Creating a table with a simple non-incrementing primary key and a self-referential foreign key now works correctly on MySQL: DB.create_table!(:table) do Integer :id, :primary_key=>true foreign_key :fk, :table end * Database#disconnect in the oracle adapter now works correctly on more recent versions of oci8 where #logoff can raise OCIException instead of OCIInvalidHandle. = Backwards Compatibility * The pg_array extension no longer defines Sequel::Postgres::PGArray::JSONCreator. This should only affect backwards compatibility if you were accessing the constant directly. The :parser option to Sequel::Postgres::PGArray.register is also no longer respected, but that should not affect backwards compatibility. * The Sequel::Model#convert_cpk_array private method that was added by the association_pks plugin has been removed. Sequel::Model#convert_pk_array handles both simple and composite primary keys now. |
||
taca
|
d46fe02afe |
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. |
||
taca
|
5a2ec0d3fe |
Update ruby-sequel to 4.29.0.
=== 4.29.0 (2015-12-01) * Add Model#json_serializer_opts method to json_serializer plugin, allowing for setting to_json defaults on per-instance basis (jeremyevans) * Add uuid plugin for automatically setting UUID column when creating a model object (pdrakeweb, jeremyevans) (#1106) * Allow the sqlanywhere adapter to work with sharding (jeremyevans) * Support blobs as bound variables in the oracle adapter (jeremyevans) (#1104) * Order by best results first when using the Database#full_text_search :rank option on PostgreSQL (chanks) (#1101) * Run Database#table_exists? inside a savepoint if currently in a transaction and the database supports savepoints (jeremyevans) (#1100) * Allow Database#transaction :retry_on option to work when using savepoints (jeremyevans) * Allow for external adapters to implement Dataset#date_add_sql_append to integrate with the date_arithmetic extension (jeremyevans) * Add Dataset#insert_empty_columns_values private method for easy overriding for databases that don't support INSERT with DEFAULT VALUES (jeremyevans) |
||
taca
|
9a79f3041d |
Update sequel to 4.28.0.
=== 4.28.0 (2015-11-02) * Add boolean_subsets plugin, which adds a subset for each boolean column (jeremyevans) * Add subset_conditions plugin, which adds a method for each subset returning the filter conditions for the subset (jeremyevans) * Make the list plugin work better with the auto_validations plugin when there is a validation on the position column (jeremyevans) * Make to_csv for model datasets call instance methods, just like Model#to_csv, in the csv_serializer plugin (skrobul) (#1088) * Raise Sequel::NoExistingObject instead of generic error if Model#refresh can't find the related row (jeremyevans) |
||
agc
|
d549bff9a5 |
Add SHA512 digests for distfiles for databases category
Problems found with existing distfiles: distfiles/D6.data.ros.gz distfiles/cstore0.2.tar.gz distfiles/data4.tar.gz distfiles/sphinx-2.2.7-release.tar.gz No changes made to the cstore or mariadb55-client distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail. |
||
taca
|
02c489c3e1 |
Update ruby-sequel to 4.27.0.
=== 4.27.0 (2015-10-01) * Don't stub Sequel.synchronize on MRI (YorickPeterse) (#1083) * Make bin/sequel warn if given arguments that it doesn't use (jeremyevans) * Fix the order of referenced composite keys returned by Database#foreign_key_list on PostgreSQL (jeremyevans) (#1081) * Recognize another disconnect error in the jdbc/postgresql adapter (jeremyevans) * In the active model plugin, make Model#persisted? return false if the transaction used for creation is rolled back (jeremyevans) (#1076) * Use primary_key :keep_order option in the schema dumper if the auto incrementing column is not the first column in the table (jeremyevans) * Set :auto_increment option correctly in the schema parser when the auto incrementing column is not the first column in the table (jeremyevans) * Support :keep_order option to primary_key in schema generator, to not automatically make the primary key the first column (jeremyevans) * Add new jsonb/json functions and operators supported in PostgreSQL 9.5+ (jeremyevans) * Add before_after_save plugin, for refreshing created objects and resetting modified flag before calling after_create/update/save hooks (jeremyevans) * Add Dataset#single_record! and #single_value! which don't require cloning the receiver (jeremyevans) * Dataset#with_sql_single_value now works correctly for model datasets (jeremyevans) * Optimize Dataset#single_value and #with_sql_single_value to not create an unnecessary array (jeremyevans) * Make postgres adapter work with postgres-pr 0.7.0 (jeremyevans) (#1074) |
||
taca
|
0a9c182acc |
Update HOMEPAGE.
Avoid using rubyforge.org since it stopped most of services. |
||
taca
|
135c7389c0 |
Upadte ruby-sequel to 4.26.0.
=== 4.26.0 (2015-09-01) * Make Dataset#== not consider frozen status in determining equality (jeremyevans) * Support :if_exists option to drop_column on PostgreSQL (jeremyevans) * Add Dataset#grouping_sets to support GROUP BY GROUPING SETS on PostgreSQL 9.5+, MSSQL 2008+, Oracle, DB2, and SQLAnywhere (jeremyevans) * Fix handling of Class.new(ModelClass){set_dataset :table} on ruby 1.8 (jeremyevans) * Use range function constructors instead of casts for known range types in pg_range (jeremyevans) (#1066) * Make class_table_inheritance plugin work without sti_key (jeremyevans) * Detect additional disconnect errors when using the tinytds adapter (jeremyevans) * Make offset emulation without order but with explicit selection handle ambiguous column names (jeremyevans) * Allow preparing already prepared statements when emulating limits and/or offsets (jeremyevans) * Have Sequel::NoMatchingRow exceptions record the dataset related to the exception (pedro, jeremyevans) (#1060) |
||
taca
|
1ae15f47da |
Update ruby-sequel to 4.25.0.
=== 4.25.0 (2015-08-01) * Add Dataset#insert_conflict on PostgreSQL 9.5+, for upsert/insert ignore support using INSERT ON CONFLICT (jeremyevans) * Support Dataset#group_rollup and #group_cube on PostgreSQL 9.5+ (jeremyevans) * Automatically REORG tables when altering when using jdbc/db2 (karlhe) (#1054) * Recognize constraint violation exceptions on swift/sqlite (jeremyevans) * Recognize another check constraint violation exception message on SQLite (jeremyevans) * Allow =~ and !~ to be used on ComplexExpressions (janko-m) (#1050) * Support case sensitive SQL Server 2012 in MSSQL metadata queries (knut2) (#1049) * Add Dataset#group_append, for appending to the existing GROUP BY clause (YorickPeterse) (#1047) * Add inverted_subsets plugin, for creating an inverted subset method for each subset (celsworth) (#1042) * Make Dataset#for_update not use the :read_only database when the dataset is executed (jeremyevans) (#1041) * Add singular_table_names plugin, for changing Sequel to not pluralize table names by default (jeremyevans) * PreparedStatement#prepare now raises an Error (jeremyevans) * Clear delayed association pks when refreshing an object (jeremyevans) * Add empty_array_consider_nulls extension to make Sequel consider NULL values when using IN/NOT IN with an empty array (jeremyevans) * Make Sequel default to ignoring NULL values when using IN/NOT IN with an empty array (jeremyevans) * Remove the deprecated firebird and informix adapters (jeremyevans) * Make :collate option when creating columns literalize non-String values on PostgreSQL (jeremyevans) (#1040) * Make dirty plugin notice when serialized column is changed (celsworth) (#1039) * Allow prepared statements to use RETURNING (jeremyevans) (#1036) === 4.24.0 (2015-07-01) * Allow class_table_inheritance plugin to support subclasses that don't add additional columns (QuinnHarris, jeremyevans) (#1030) * Add :columns option to update_refresh plugin, specifying the columns to include in the RETURNING clause (celsworth) (#1029) * Use column symbol key for auto validation unique errors if the unique index is on a single column (jeremyevans) * Allow :timeout option to Database#listen in the postgres adapter to be a callable object (celsworth) (#1028) * Add pg_inet_ops extension, for DSL support for PostgreSQL inet/cidr operators and functions (celsworth, jeremyevans) (#1024) * Support :*_opts options in auto_validations plugin, for setting options for the underlying validation methods (celsworth, jeremyevans) (#1026) * Support :delay_pks association option in association_pks to delay setting of associated_pks until after saving (jeremyevans) * Make jdbc subadapters work if they issue queries while the subadapter is being loaded (jeremyevans) (#1022) * Handle 64-bit auto incrementing primary keys in jdbc subadapters (DougEverly) (#1018, #1019) * Remove the deprecated db2 and dbi adapters (jeremyevans) * Make auto_validation plugin use :from=>:values option to setup validations on the underlying columns (jeremyevans) * Add :from=>:values option to validation_helpers methods, for getting values from the values hash instead of a method call (jeremyevans) |
||
taca
|
bd39d68aca |
Update ruby-sequel to 4.23.0.
=== 4.23.0 (2015-06-01) * Make dataset.call_sproc(:insert) work in the jdbc adapter (flash-gordon) (#1013) * Add update_refresh plugin, for refreshing a model instance when updating (jeremyevans) * Add delay_add_association plugin, for delaying add_* method calls on new objects until after saving the object (jeremyevans) * Add validate_associated plugin, for validating associated objects when validating the current object (jeremyevans) * Make Postgres::JSONBOp#[] and #get_text return JSONBOp instances (jeremyevans) (#1005) * Remove the fdbsql, jdbc/fdbsql, and openbase adapters (jeremyevans) * Database#transaction now returns block return value if :rollback=>:always is used (jeremyevans) * Allow postgresql:// connection strings as aliases to postgres://, for compatibility with libpq (jeremyevans) (#1004) * Make Model#move_to in the list plugin handle out-of-range targets without raising an exception (jeremyevans) (#1003) * Make Database#add_named_conversion_proc on PostgreSQL handle conversion procs for enum types (celsworth) (#1002) === 4.22.0 (2015-05-01) * Deprecate the db2, dbi, fdbsql, firebird, jdbc/fdbsql, informix, and openbase adapters (jeremyevans) * Avoid hash allocations and rehashes (jeremyevans) * Don't silently ignore :jdbc_properties Database option in jdbc adapter (jeremyevans) * Make tree plugin set reciprocal association for children association correctly (lpil, jeremyevans) (#995) * Add Sequel::MassAssignmentRestriction exception, raised for mass assignment errors in strict mode (jeremyevans) (#994) * Handle ODBC::SQL_BIT type as boolean in the odbc adapter, fixing boolean handling on odbc/mssql (jrgns) (#993) * Make :auto_validations plugin check :default entry instead of :ruby_default entry for checking existence of default value (jeremyevans) (#990) * Adapters should now set :default schema option to nil when adapter can determine that the value is nil (jeremyevans) * Do not add a schema :max_length entry for a varchar(max) column on MSSQL (jeremyevans) * Allow :default value for PostgreSQL array columns to be a ruby array when using the pg_array extension (jeremyevans) (#989) * Add csv_serializer plugin for serializing model objects to and from csv (bjmllr, jeremyevans) (#988) * Make Dataset#to_hash and #to_hash_groups handle single array argument for model datasets (jeremyevans) * Handle Model#cancel_action in association before hooks (jeremyevans) * Use a condition variable instead of busy waiting in the threaded connection pools on ruby 1.9+ (jeremyevans) * Use Symbol#to_proc instead of explicit blocks (jeremyevans) === 4.21.0 (2015-04-01) * Support :tsquery and :tsvector options in Dataset#full_text_search on PostgreSQL, for using existing tsquery/tsvector expressions (jeremyevans) * Fix TinyTds::Error being raised when trying to cancel a query on a closed connection in the tinytds adapter (jeremyevans) * Add GenericExpression#!~ for inverting =~ on ruby 1.9 (similar to inverting a hash) (jeremyevans) (#979) * Add GenericExpression#=~ for equality, inclusion, and pattern matching (similar to using a hash) (jeremyevans) (#979) * Add Database#add_named_conversion_proc on PostgreSQL to make it easier to add conversion procs for types by name (jeremyevans) * Make Sequel.pg_jsonb return JSONBOp instances instead of JSONOp instances when passed other than Array or Hash (jeremyevans) (#977) * Demodulize default root name in json_serializer plugin (janko-m) (#968) * Make Database#transaction work in after_commit/after_rollback blocks (jeremyevans) |
||
taca
|
66effefecd |
Update ruby-sequel to 4.20.0.
=== 4.20.0 (2015-03-03) * Restore the use of AUTOINCREMENT on SQLite (jeremyevans) (#965) * Duplicate the associations hash when duplicating a model object (jeremyevans) * Correctly apply association limit when eager loading with an eager block using default limit strategy on some databases (jeremyevans) * Fix eager loading when using the :window_function limit strategy with an eager block and cascaded associations (jeremyevans) * Add support for set_column_type :auto_increment=>true to add AUTO_INCREMENT to existing column on MySQL (jeremyevans) (#959) * Add support for overridding the :instance_specific association option (jeremyevans) * Recognize MSSQL bit type as boolean in the schema_dumper (jeremyevans) * Skip eager loading queries if there are no matching keys (jeremyevans) (#952) * Dataset#paged_each now returns an enumerator if not passed a block (jeremyevans) * Use to_json :root option with string value as the JSON object key in the json_serializer plugin (jeremyevans) * Allow create_enum in the pg_enum extension be reversible in migrations (celsworth) (#951) * Have swift adapter respect database and application timezone settings (asppsa, jeremyevans) (#946) * Don't have the static cache plugin attempt to validate objects (jeremyevans) * Make freeze not validate objects if their errors are already frozen (jeremyevans) * Only use prepared statements for associations if caching association metadata (jeremyevans) * Set parent association when loading descendants in the rcte_tree plugin (jeremyevans) * Add Database#transaction :before_retry option, specifying a proc to call before retrying (uhoh-itsmaciek) (#941) |
||
taca
|
dbd0f26786 | Add ALTERNATIVES file which should be commited with previous update. | ||
taca
|
f7ab591a9e |
Update ruby-sequel to 4.19.0.
=== 4.19.0 (2015-02-01) * Make jdbc/sqlanywhere correctly set :auto_increment entry in schema hashes (jeremyevans) * Add Model#cancel_action for canceling actions in before hooks, instead of having the hooks return false (jeremyevans) * Support not setting @@wait_timeout on MySQL via :timeout=>nil Database option (jeremyevans) * Add accessed_columns plugin, recording which columns have been accessed for a model instance (jeremyevans) * Use correct migration version when using IntegerMigrator with :allow_missing_migration_files (blerins) (#938) * Make Dataset#union, #intersect, and #except automatically handle datasets with raw SQL (jeremyevans) (#934) * Add column_conflicts plugin to automatically handle columns that conflict with method names (jeremyevans) (#929) * Add Model#get_column_value and #set_column_value to get/set column values (jeremyevans) (#929) |
||
taca
|
5f64fb1239 |
Update ruby-sequel to 4.18.0.
Changes are too many to write here, please refer CHANGELOG file. |
||
taca
|
63fde4736d |
Update ruby-sequel to 4.11.0.
Changes from 4.8.0 is too many to write here, please refer there files: ${GEM_LIBDIR}/doc/release_notes/4.9.0.txt ${GEM_LIBDIR}/doc/release_notes/4.10.0.txt ${GEM_LIBDIR}/doc/release_notes/4.11.0.txt |
||
taca
|
61b71c13ed |
Update ruby-sequel to 4.8.0.
=== 4.8.0 (2014-03-01) * Add SQL::AliasedExpression#alias alias for #aliaz (jeremyevans) * Handle SQL::Identifier, SQL::QualifiedIdentifier, and SQL::AliasedExpression objects as first argument to Dataset#graph (jeremyevans) * Respect qualification and aliases in symbols passed as first argument to Dataset#graph (dividedmind) (#769) * Recognize new constraint violation error messages in SQLite 3.8.2+ (itswindtw) (#766) * Use limit strategy to correctly handle limited associations in the dataset_associations plugin (jeremyevans) * Handle issues in dataset_associations plugin when dataset uses unqualified identifiers for associations requiring joins (jeremyevans) * Handle fractional seconds in input timestamps in the odbc/mssql adapter (Ross Attrill, jeremyevans) * Return fractional seconds in timestamps in the odbc adapter (jeremyevans) * Support :plain and :phrase options to Dataset#full_text_search on PostgreSQL (jeremyevans) * Use limit strategy to correctly handle filtering by limited associations (jeremyevans) * Simplify queries used for filtering by associations with conditions (jeremyevans) * Use an eager limit strategy by default for *_one associations with orders (jeremyevans) * Support :limit_strategy eager_graph option, for specifying strategy used for limited associations in that eager graph (jeremyevans) * Add eager_graph_with_options to model datasets, for specifying options specific to the eager_graph call (jeremyevans) * Handle offsets on *_many associations when eager graphing when there are no associated results (jeremyevans) * Make Database#register_array_type work without existing scalar conversion proc in the pg_array extension (jeremyevans) * Handle presence validations on foreign keys in associated objects when creating new associated objects in the nested_attributes plugin (jeremyevans) * Respect offsets when eager graphing *_one associations (jeremyevans) * Add association_join to model datasets, for setting up joins based on associations (jeremyevans) * Add one_through_many association to many_through_many plugin, for only returning a single record (jeremyevans) * Add :graph_order association option, useful when :order needs to contain qualified identifiers (jeremyevans) * Add one_through_one association, similar to many_to_many but only returning a single record (jeremyevans) === 4.7.0 (2014-02-01) * Don't swallow underlying exception if there is an exception closing the cursor on PostgreSQL (jeremyevans) (#761) * Recognize primary key unique constraint violations on MSSQL and SQLAnywhere (jeremyevans) * Recognize composite unique constraint violations on SQLite (timcraft) (#758) * Make #* method without arguments on SQL::Function return a Function with * prepended to the arguments (jeremyevans) * Add #function to SQL::Identifier and SQL::QualifiedIdentifier, allowing for easy use of schema qualified functions or functions names that need quoting (jeremyevans) * Add SQL::Function#distinct for easier creation of aggregate functions using DISTINCT (jeremyevans) * Add SQL::Function#over for easier creation of window functions (jeremyevans) * Don't clear validation instance_hooks until after a successful save (jeremyevans) * Support :raise_on_save_failure option for one_to_many, pg_array_to_many, and many_to_pg_array associations (jeremyevans) * Make SQLTime#to_s return a string in HH:MM:SS format, since it shouldn't include date information (jeremyevans) * Support the Database#tables :schema option in the jdbc adapter (robbiegill, jeremyevans) (#755) * Automatically rollback transactions in killed threads in ruby 2.0+ (chanks) (#752) * Add update_or_create plugin, for updating an object if it exists, or creating such an object if it does not (jeremyevans) * Make auto_validations uniqueness validations work correctly for STI subclasses (jeremyevans) * Support :dataset option to validates_unique vaildation (jeremyevans) === 4.6.0 (2014-01-02) * Add Database#call_mssql_sproc on MSSQL for calling stored procedures and handling output parameters (jrgns, jeremyevans) (#748) * Handle RuntimeErrors raised by oci8 in the oracle adapter (jeremyevans) * Support OFFSET/FETCH on Microsoft SQL Server 2012 (jeremyevans) * Support :server option for Database#{commit,rollback}_prepared_transaction on PostgreSQL, MySQL, and H2 (jeremyevans) (#743) * Do not attempt to eager load and raise an exception when doing Model.eager(...).naked.all (jeremyevans) * Recognize a couple additional disconnect errors in the jdbc/postgresql adapter (jeremyevans) (#742) |
||
taca
|
0d619646a6 |
Update ruby-sequel to 4.5.0.
=== 4.5.0 (2013-12-02) * Support :on_commit=>(:drop|:delete_rows|:preserve_rows) options when creating temp tables on PostgreSQL (rosenfeld) (#737) * Make Dataset#insert work on PostgreSQL if the table name is a SQL::PlaceholderLiteralString (jeremyevans) (#736) * Copy unique constraints when emulating alter_table operations on SQLite (jeremyevans) (#735) * Don't return clob column values as SQL::Blob instances in the db2 and ibmdb adapters unless use_clob_as_blob is true (jeremyevans) * Make use_clob_as_blob false by default on DB2 (jeremyevans) * Fix usage of Sequel::SQL::Blob objects as prepared statement arguments in jdbc/db2 adapter when use_clob_as_blob is false (jeremyevans) * Add mssql_optimistic_locking plugin, using a timestamp/rowversion column to protect against concurrent updates (pinx, jeremyevans) (#731) * Make Model.primary_key array immutable for composite keys (chanks) (#730) === 4.4.0 (2013-11-01) * Make Database#tables not show tables in the recycle bin on Oracle (jeremyevans) (#728) * Don't automatically order on all columns when emulating offsets for unordered datasets on DB2 (jeremyevans) * Improve PostgreSQL type support in the jdbc/postgresql adapter (jeremyevans) * Make offset emulation on Oracle work when using columns that can't be ordered (jeremyevans, sdeming) (#724, #725) * Make filter by associations support handle associations with :conditions or block (jeremyevans) * Make association cloning handle :block correctly for clones of clones (jeremyevans) * Make association cloning handle :eager_block option correctly (jeremyevans) * Make add_primary_key work on h2 (jeremyevans) * Add support for foreign key parsing on Oracle (jeremyevans) * Add support for foreign key parsing to the jdbc adapter (jeremyevans) * Make add_foreign_key work on HSQLDB (jeremyevans) * Add table_select plugin for selecting table.* instead of * for model datasets (jeremyevans) * Issue constraint_validation table deletes before inserts, so modifying constraint via drop/add in same alter_table block works (jeremyevans) * Support add_*/remove_*/remove_all_* pg_array_to_many association methods on unsaved model objects (jeremyevans) * Add Sybase SQLAnywhere support via new sqlanywhere and jdbc/sqlanywhere adapters (gditrick, jeremyevans) * Add Dataset#offset for setting the offset separately from the limit (Paul Henry, jeremyevans) (#717) === 4.3.0 (2013-10-02) * Fix literalization of empty blobs on MySQL (jeremyevans) (#715) * Ensure Dataset#page_count in pagination extension is at least one (jeremyevans) (#714) * Recognize another disconnect error in the jdbc/as400 adapter (jeremyevans) * Make Dataset#qualify and Sequel.delay work together (jeremyevans) * Recognize citext type as string on PostgreSQL (isc) (#710) * Support composite keys in the rcte_tree plugin (jeremyevans) * Support composite keys in the tree plugin (jeremyevans) * Make Migrator.migrator_class public (robertjpayne, jeremyevans) (#708) * Make PostgreSQL empty array literalization work correctly on PostgreSQL <8.4 (jeremyevans) * Add Sequel extensions guide (jeremyevans) * Add model plugins guide (jeremyevans) * Add error_sql Database extension, allowing DatabaseError#sql to return SQL query that caused underlying exception (jeremyevans) * Make Dataset#each_page in pagination extension return enumerator if no block is given (justinj) (#702) |
||
taca
|
07259ad249 |
Update ruby-sequel to 4.2.0.
Changes from 3.48.0 are too many to write here, please refer CHANGELOG file. |
||
taca
|
c70627de7a |
Update ruby-sequel to 3.48.0.
Changes are too many to write here, please refer CHANGELOG or release notes. |
||
taca
|
dce635abfb |
Update ruby-sequel to 3.45.0.
=== 3.45.0 (2013-03-01) * Remove bad model typecasting of money type on PostgreSQL (jeremyevans) (#624) * Use simplecov instead of rcov for coverage testing on 1.9+ (jeremyevans) * Make the Database#quote_identifier method public (jeremyevans) * Make PostgreSQL metadata parsing handle tables with the same name in multiple schemas (jeremyevans) * Switch query extension to use a proxy instead of Object#extend (chanks, jeremyevans) * Remove Dataset#def_mutiation_method instance method (jeremyevans) * Make foreign key parsing on MySQL not pick up foreign keys in other databases (jeremyevans) * Allow per-instance overrides of Postgres.force_standard_strings and .client_min_messages (jeremyevans) (#618) * Add Sequel.tzinfo_disambiguator= to the named_timezones plugin for automatically handling TZInfo::AmbiguousTime exceptions (jeremyevans) (#616) * Add Dataset#escape_like, for escaping LIKE metacharacters (jeremyevans) (#614) * The LIKE operators now use an explicit ESCAPE '\' clause for similar behavior across databases (jeremyevans) * Make Database#tables and #views accept a :qualify option on PostgreSQL to return qualified identifiers (jeremyevans) * Make json_serializer and xml_serializer plugins secure by default (jeremyevans) * Address JSON.parse vulnerabilities (jeremyevans) * Fix Dataset#from_self! to no longer create a self-referential dataset (jeremyevans) * Use SQLSTATE or database error codes if available instead of regexp parsing for more specific DatabaseErrors (jeremyevans) * Add unlimited_update plugin to work around MySQL warning in replicated environments (jeremyevans) * Add the :retry_on and :num_retries transaction options for automatically retrying transactions (jeremyevans) * Raise serialization failures/deadlocks as Sequel::SerializationFailure exceptions (jeremyevans) * Support transaction isolation levels on Oracle and DB2 (jeremyevans) * Support transaction isolation levels when using the JDBC transaction support (jeremyevans) |
||
taca
|
23ff8065a0 |
Update ruby-sequel to 3.44.0.
=== 3.44.0 (2013-02-04) * Speedup mysql2 adapter with identifier output method fetch speed by up to 50% (jeremyevans) * Speedup tinytds adapter fetch speed by up to 60% (jeremyevans) * Expand columns_introspection extension to consider cached schema values in the database (jeremyevans) * Expand columns_introspection extension to handle subselects (jeremyevans) * Have #last and #paged_each for model datasets order by the model's primary key by default (jeremyevans) * Improve emulated offset support to handle subqueries (jeremyevans) * Remove use of Object#extend from the eager_each plugin (jeremyevans) * Add support for temporary views on SQLite and PostgreSQL via the :temp option to create_view (chanks, jeremyevans) * Emulate Database#create_or_replace_view if not supported directly (jeremyevans) * Add Dataset#paged_each, for processing entire datasets without keeping all rows in memory (jeremyevans) * Add Sequel::ConstraintViolation exception class and subclasses for easier exception handling (jeremyevans) * Fix use of identity_map plugin with many_to_many associations with right composite keys (chanks) (#603) * Increase virtual row performance by using a shared VirtualRow instance (jeremyevans) * Allow the :dataset association option to accept the association reflection as an argument (jeremyevans) * Improve association method performance by caching intermediate dataset (jeremyevans) |
||
taca
|
fe86f66734 |
[>Update ruby-sequel to 3.43.0.
=== 3.43.0 (2013-01-08) * Move the #meta_def support for Database, Dataset, and Model to the meta_def extension (jeremyevans) * Fix Database#copy_into on jdbc/postgres when an exception is raised (jeremyevans) * Add core_refinements extension, providing refinement versions of Sequel's core extensions (jeremyevans) * Make Database#copy_into raise a DatabaseError if the database signals an error in the postgres adapter (jeremyevans) * Define respond_to_missing? where method_missing is defined and the object supports respond_to? (jeremyevans) * Allow lambda procs with 0 arity as virtual row blocks on ruby 1.9 (jeremyevans) * Handle schema-qualified row_types in the pg_array integration in the pg_row extension (jeremyevans) (#595) * Support default_schema when reseting primary key sequences on PostgreSQL (jeremyevans) (#596) * Allow treating tinyint(1) unsigned columns as booleans in the mysql adapters (jeremyevans) * Support the jdbc-hsqldb gem in the jdbc adapter, since it has been updated to 2.2.9 (jeremyevans) * Work with new jdbc-* gems that require manual driver loading (kares) (#598) * Cast blobs correctly on DB2 when use_clob_as_blob is false (mluu, jeremyevans) (#594) * Add date_arithmetic extension for database-independent date calculations (jeremyevans) * Make Database#schema handle [host.]database.schema.table qualified tables on Microsoft SQL Server (jeremyevans) * Add Dataset#split_qualifiers helper method for splitting a qualifier identifier into array of strings (jeremyevans) * Make Database#schema_and_table always return strings for the schema and table (jeremyevans) * Skip stripping of blob columns in the string_stripper plugin (jeremyevans) (#593) * Allow Dataset#get to take an array to return multiple values, similar to map/select_map (jeremyevans) * Default :prefetch_rows to 100 in the Oracle adapter (andrewhr) (#592) |
||
taca
|
6f7fcd889e |
Update ruby-sequel to 3.42.0.
=== 3.42.0 (2012-12-03) * If an exception occurs while committing a transaction, attempt to rollback (jeremyevans) * Support setting default string column sizes on a per-Database basis via default_string_column_size (jeremyevans) * Reset Model.instance_dataset when extending the model's dataset (jeremyevans) * Make the force_encoding plugin work with frozen strings (jeremyevans) * Add Database#do on PostgreSQL for using the DO anonymous code block execution statement (jeremyevans) * Remove Model.dataset_methods (jeremyevans) * Allow subset to be called inside a dataset_module block (jeremyevans) * Make Dataset#avg, #interval, #min, #max, #range, and #sum accept virtual row blocks (jeremyevans) * Make Dataset#count use a subselect when the dataset has an offset without a limit (jeremyevans) (#587) * Dump deferrable status of unique indexes on PostgreSQL (radford) (#583) * Extend deferrable constraint support to all types of constraints, not just foreign keys (radford, jeremyevans) (#583) * Support Database#copy_table and #copy_into on jdbc/postgres (bdon) (#580) * Make Dataset#update not use a limit (TOP) on Microsoft SQL Server 2000 (jeremyevans) (#578) === 3.41.0 (2012-11-01) * Add bin/sequel usage guide (jeremyevans) * Make Dataset#reverse and #reverse_order accept virtual row blocks (jeremyevans) * Add Sequel.delay for generic delayed evaluation (jeremyevans) * Make uniqueness validations correctly handle nil values (jeremyevans) * Support :unlogged option for create_table on PostgreSQL (JonathanTron) (#575) * Add ConnectionPool#pool_type to get the type of connection pool in use (jeremyevans) * Explicitly mark primary keys as NOT NULL on SQLite (jeremyevans) * Add support for renaming primary key columns on MySQL (jeremyevans) * Add connection_validator extension for automatically checking connections and transparently handling disconnects (jeremyevans) * Add Database#valid_connection? for checking whether a given connection is valid (jeremyevans) * Make dataset.limit(nil, nil) reset offset as well as limit (jeremyevans) (#571) * Support IMMEDIATE/EXCLUSIVE/DEFERRED transaction modes on SQLite (Eric Wong) * Major change in the Database <-> ConnectionPool interface (jeremyevans) * Make touch plugin handle touching of many_*_many associations (jeremyevans) * Make single_table_inheritance plugin handle non-bijective mappings (hannesg) (#567) * Support foreign key parsing on MSSQL (munkyboy) (#564) * Include SQL::AliasMethods in most pg_* extension objects (treydempsey, jeremyevans) (#563) * Handle failure to create a prepared statement better in the postgres, mysql, and mysql2 adapters (jeremyevans) (#560) * Treat clob columns as strings instead of blobs (jeremyevans) === 3.40.0 (2012-09-26) * Add a cubrid adapter for accessing CUBRID databases via the cubrid gem (jeremyevans) * Add a jdbc/cubrid adapter for accessing CUBRID databases via JDBC on JRuby (jeremyevans) * Return OCI8::CLOB values as ruby Strings in the Oracle adapter (jeremyevans) * Use clob for String :text=>true types on Oracle, DB2, HSQLDB, and Derby (jeremyevans) (#555) * Allowing marshalling of Sequel::Postgres::HStore (jeremyevans) (#556) * Quote channel identifier names when using LISTEN/NOTIFY on PostgreSQL (jeremyevans) * Handle nil values when formatting bound variable arguments in the pg_row extension (jeremyevans) (#548) * Handle nil values when parsing composite types in the pg_row extension (jeremyevans) (#548) * Add :disconnect=>:retry option to Database#transaction, for automatically retrying the transaction on disconnect (jeremyevans) * Greatly improved support on Microsoft Access (jeremyevans) * Support Database#{schema,tables,views,indexes,foreign_key_list} when using ado/access adapter (ericgj) (#545, #546) * Add ado/access adapter for accessing Microsoft Access via the ado adapter (jeremyevans) * Combine disconnect error detection for mysql and mysql2 adapters (jeremyevans) * Update the association_pks plugin to handle composite primary keys (chanks, jeremyevans) (#544) |
||
taca
|
465e9574b2 |
Update ruby-sequel to 3.39.0.
=== 3.39.0 (2012-09-01) * Fix defaults_setter to set false default values (jeremyevans) * Fix serial sequence query in Database#primary_key_sequence on PostgreSQL (jeremyevans) (#538) * Add Database#copy_into when using postgres adapter with pg driver, for very fast inserts into tables (jeremyevans) * Combine multiple alter_table operations into a single query where possible on MySQL and PostgreSQL (jeremyevans) * Handle sets of alter_table operations on MySQL and MSSQL where later operations depend on earlier ones (jeremyevans) * Add constraint_validations plugin for automatic validations of constaints defined by extension (jeremyevans) * Add constraint_validations extension for defining database constraints similar to validations (jeremyevans) * Add Database#supports_regexp? for checking for regular expression support (jeremyevans) * Add Sequel.trim for cross platform trim function (jeremyevans) * Add Sequel.char_length for cross platform char_length function (jeremyevans) * Fixing caching of MySQL server version (hannesg) (#536) * Allow overriding the convert_tinyint_to_bool setting on a per-Dataset basis in the mysql and mysql2 adapters (jeremyevans) * Make ValidationFailed and HookFailed exceptions have model method that returns the related model (jeremyevans) * Automatically wrap array arguments to most PGArrayOp methods in PGArrays (jeremyevans) * Add set_column_not_null to alter table generator for marking a column as not null (jeremyevans) * Default second argument of set_column_allow_null to true in alter table generator (jeremyevans) * Allow Dataset#count to take an argument or virtual row block (jeremyevans) * Attempt to recognize CURRENT_{DATE,TIMESTAMP} defaults and return them as Sequel::CURRENT_{DATE,TIMESTAMP} (jeremyevans) * Make dataset.insert(model) assume a single column if model uses the pg_row plugin (jeremyevans) * No longer handle model instances in plain (non-model) datasets when inserting (jeremyevans) * Use subselects for model classes as tables in join methods in model datasets if the model's dataset isn't a simple select (jeremyevans) * No longer handle model classes as tables in join/graph methods in plain (non-model) datasets (jeremyevans) * Make Time->DateTime and DateTime->Time typecasts retain fractional seconds on ruby 1.8 (jeremyevans) (#531) * Add bin/sequel -c support, for running code string instead of using an IRB prompt (jeremyevans) * Allow subclasses plugin to take a block, which is called with each subclasses created (jeremyevans) * Add :where option to validates_unique, for custom uniqueness filters (jeremyevans) * Add :connection_handling=>:disconnect option for threaded connection pools (jeremyevans) * Add Postgres::PGRowOp#* for referencing the members of the composite type as separate columns (jeremyevans) * Make identity_map plugin work with models lacking a primary key (jeremyevans) * Recognize MySQL set type and default value (jeremyevans) (#529) |
||
taca
|
c6a73c593a |
Update ruby-sequel to 3.38.0.
=== 3.38.0 (2012-08-01) * Sequel now recognizes the double(x, y) and double(x, y) unsigned MySQL types (Slike9, jeremyevans) (#528) * The swift subadapters now require swift-db-* instead of swift itself (deepfryed, jeremyevans) (#526) * Add :textsize option to tinytds adapter to override the default TEXTSIZE (jeremyevans, wardrop) (#525) * Support an output identifier method in the swift adapter (jeremyevans) * Add Model#to_hash as an alias to Model#values (jeremyevans) * When loading multiple pg_* extensions via Database#extension, only reset the conversion procs once (jeremyevans) * Don't allow model typecasting from string to postgres array, hstore, or composite types (jeremyevans) * Add pg_typecast_on_load plugin for converting advanced PostgreSQL types on load the {jdbc,do,swift}/postgres adapters (jeremyevans) * Make all adapters that connect to PostgreSQL store type conversion procs (jeremyevans) * Add type oid to column schema on PostgreSQL (jeremyevans) * Add pg_row plugin, for using Sequel::Model classes to represent PostgreSQL row-valued/composite types (jeremyevans) * Add pg_row_ops extension for DSL support for PostgreSQL row-valued/composite types (jeremyevans) * Add pg_row extension for dealing with PostgreSQL row-valued/composite types (jeremyevans) * Allow custom registered array types in the pg_array extension to be Database instance specific (jeremyevans) * Remove Sequel::SQL::IdentifierMethods (jeremyevans) * Don't have the schema_dumper extension produce code that relies on the core_extensions (jeremyevans) * Fix dropping of columns with constraints on Microsoft SQL Server (mluu, jeremyevans) (#515, #518) * Don't have pg_* extensions add methods to core classes unless the core_extensions extension is loaded (jeremyevans) * Use real boolean literals on derby 10.7+ (jeremyevans, matthauck) (#514) * Work around JRuby 1.6 ruby 1.9 mode bug in Time#nsec for Time prepared statement arguments on jdbc (jeremyevans) * Handle blob prepared statement arguments on jdbc/db2 and jdbc/oracle (jeremyevans) * Handle blob values in the swift adapter (jeremyevans) * Handle better nil prepared statement arguments on jdbc (jeremyevans) (#513) * Make SQL::Blob objects handle as, cast, and lit methods even if the core extensions are not loaded (jeremyevans) * Make #* with no arguments produce a ColumnAll for Identifier and QualifiedIdentifier (jeremyevans) * Sequel.expr(:symbol) now returns Identifier, QualifiedIdentifier, or AliasedExpression instead of Wrapper (jeremyevans) * Treat clob columns as string instead of blob on Derby (jeremyevans) (#509) |
||
taca
|
27c03c52c7 |
Update ruby-sequel to 3.37.0.
=== 3.37.0 (2012-07-02) * Allow specifying eager_graph alias base on a per-call basis using an AliasedExpression (jeremyevans) * Allow bin/sequel to respect multiple -l options for logging to multiple files (jeremyevans) * Correctly handle cases where SCOPE_IDENTITY is nil in the odbc/mssql adapter (stnoonan, jeremyevans) * Add pg_interval extension, for returning interval types as ActiveSupport::Duration instances (jeremyevans) * Save a new one_to_one associated object once instead of twice in the nested_attributes plugin (jeremyevans) * Don't add unnecessary filter condition when passing a new object to a one_to_one setter method (jeremyevans) * Differentiate between column references and method references in many_through_many associations (jeremyevans) * Use :qualify=>:deep option when joining tables in model association datasets (jeremyevans) * Support :qualify=>:deep option to Dataset#join_table to qualify subexpressions in the expression tree (jeremyevans) * Support :qualify=>false option to Dataset#join_table to not automatically qualify keys/values (jeremyevans) * Make filter by associations support use column references and method references correctly (jeremyevans) * Call super in list plugin before_create (jeremyevans) (#504) * Do not automatically cast String to text in pg_auto_parameterize extension (jeremyevans) * Support alter_table validate_constraint on PostgreSQL for validating constraints previously declared with NOT VALID (jeremyevans) * Support :not_valid option when adding foreign key constraints on PostgreSQL (jeremyevans) * Support exclusion constraints on PostgreSQL (jeremyevans) * Allow for overriding the create/alter table generators used per Database object (jeremyevans) * Make casting to Date/(Time/DateTime) use date/datetime functions on SQLite (jeremyevans) * Add pg_range_ops extension for DSL support for PostgreSQL range operators and functions (jeremyevans) * The json library is now required when running the plugin/extension specs (jeremyevans) * Use change migrations instead of up/down migrations in the schema_dumper (jeremyevans) * Dump unsigned integer columns with a check >= 0 constraint in the schema_dumper (stu314) * Switch the :key_hash entry to the association :eager_loader option to use the method symbol(s) instead of the column symbol(s) (jeremyevans) * Add :id_map entry to the hash passed to the association :eager_loader option, for easier custom eager loading (jeremyevans) * Fix dumping of non-integer foreign key columns in the schema_dumper (jeremyevans) (#502) * Add nested_attributes :fields option to be a proc that is called with the associated object (chanks) (#498) * Add split_array_nil extension, for compiling :col=>[1, nil] to col IN (1) OR col IS NULL (jeremyevans) * Add Database#extension and Dataset#extension for loading extension modules into objects automatically (jeremyevans) * Respect an existing dataset limit when updating on Microsoft SQL Server (jeremyevans) * Add pg_range extension, for dealing with PostgreSQL 9.2+ range types (jeremyevans) * Make pg_array extension convert array members when typecasting Array to PGArray (jeremyevans) * Make jdbc/postgres adapter convert array type elements (e.g. date[] arrays are returned as arrays of Date instances) (jeremyevans) * Make the pg_inet extension handle inet[]/cidr[]/macaddr[] types when used with the pg_array extension (jeremyevans) * Make the pg_json extension handle json[] type when used with the pg_array extension (jeremyevans) * Fix schema parsing of h2 clob types (jeremyevans) * Make the pg_array extension handle array types for scalar types handled by the native postgres adapter (jeremyevans) * Generalize handling of array types in the pg_array extension, allowing easy support of custom array types (jeremyevans) * Remove type conversion of int2vector and money types on PostgreSQL, since previous conversions were wrong (jeremyevans) * Add eval_inspect extension, which makes Sequel::SQL::Expression#inspect attempt to return a string suitable for eval (jeremyevans) * When emulating offset with ROW_NUMBER, default to ordering by all columns if no specific order is given (stnoonan, jeremyevans) (#490) * Work around JRuby 1.6 ruby 1.9 mode bug in Time -> SQLTime conversion (jeremyevans) === 3.36.1 (2012-06-01) * Fix jdbc adapter when DriverManager#getConnection fails (aportnov) (#488) |
||
taca
|
d3eb8e6c9e |
Update ruby-sequel to 3.36.0.
=== 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) |
||
taca
|
20b9181438 |
Update ruby-sequel to 3.35.0.
=== 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) |
||
taca
|
477ec9aeb0 |
Update ruby-sequel package to 3.34.1.
=== 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 |
||
taca
|
76386a59cb |
Update ruby-sequel package to 3.33.0.
=== 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) |
||
taca
|
57a62f9c7b |
Update databases/ruby-sequel package to 3.32.0.
=== 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) |
||
taca
|
5a656d878d |
Update ruby-sequel package to 3.30.0.
=== 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) |
||
taca
|
4adfe957d1 |
Update ruby-sequel package to 3.29.0.
Changes are too many to write here, pelase refer CHANGELOG file. |
||
taca
|
840093dd48 |
Update ruby-sequel pacakge to 3.27.0.
=== 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) |
||
taca
|
f7a6637202 |
Update databases/ruby-sequel package to 3.26.0.
=== 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) |
||
taca
|
185b9425cb |
Update ruby-sequel package to 3.24.1.
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) |
||
taca
|
85919eedfb |
Update ruby-sequel package to 3.21.0.
=== 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) |
||
taca
|
dd567e5166 |
Update databases/ruby-sequel 3.15.0.
* 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. |
||
joerg
|
0268c554bd | Remove @dirrm entries from PLISTs | ||
jlam
|
179de6284c |
Add a build dependency on ruby-rspec since the Rakefiles in the
distribution include spec/rake/spectask. |
||
jlam
|
259d5df11b | Update the dependency on sequel-core to match the version of sequel. | ||
jlam
|
e13a636136 |
Update databases/ruby-sequel to 1.5.1. Changes from version 1.5.0 include:
* 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). |