pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/ruby-sequel Update ruby-sequel to 4.47.0.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08599dfe911c
branches:  trunk
changeset: 363185:08599dfe911c
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Jun 04 15:03:09 2017 +0000

description:
Update ruby-sequel to 4.47.0.

=== 4.47.0 (2017-06-01)

* Deprecate pg_typecast_on_load plugin, only useful on deprecated do and swift
  adapters (jeremyevans)
* Deprecate association_autoreloading and many_to_one_pk_lookup plugins, which
  were made the default model behavior in Sequel 4 (jeremyevans)
* Deprecate setting invalid datasets for models unless required_valid_table =
  false (jeremyevans)
* Make Model.require_valid_table = true not raise for datasets where
  Database#schema raises an error but Dataset#columns works (jeremyevans)
* Make Database#with_server in the server_block extension accept a second
  argument for a different read_only shard (jeremyevans) (#1355)
* Make schema_dumper extension handle Oracle 11g XE inclusion of not null in
  the db_type (StevenCregan, jeremyevans) (#1351)
* Add Model.default_association_type_options for changing default association
  options per association type (jeremyevans)
* Add :materialized option to Database#views on PostgreSQL to return
  materialized views (Blargel) (#1348)
* Make defaults_setter plugin inherit custom default values when subclassing
  (jeremyevans)

=== 4.46.0 (2017-05-01)

* Recognize additional disconnect error on MySQL (jeremyevans)
* Deconstantize dataset SQL generation, speeding up ruby 2.3+, slowing down
  earlier versions (jeremyevans)
* Deprecate calling Dataset#set_graph_aliases before Dataset#graph
  (jeremyevans)
* Don't swallow exception if there is an exception when rolling back a
  transaction when using :rollback=>:always option (jeremyevans)
* Deprecate passing 2 arguments to Database#alter_table (jeremyevans)
* Deprecate passing Schema::CreateTableGenerator instance as second argument
  to Database#create_table (jeremyevans)
* Deprecate Database::DatasetClass as a way for getting default dataset
  classes for datasets (jeremyevans)
* Deprecate SQLite pragma getting and setting methods (jeremyevans)
* Remove handling of EMULATED_FUNCTION_MAP from adapter dataset classes,
  overide Dataset#native_function_name instead (jeremyevans)
* Deprecate {Integer,Timestamp}Migrator::DEFAULT_SCHEMA_{COLUMN,TABLE}
  (jeremyevans)
* Deprecate Database#jdbc_* methods for jdbc/db2 adapter Database instances
  (jeremyevans)
* Remove addition of Database#jdbc_* to JDBC::Database in jdbc/db2 adapter
  (jeremyevans)
* Deprecate many internal Database and Dataset string/regexp constants in core
  and included adapters (jeremyevans)
* Remove use of Fixnum in sqlanywhere shared adapter (jeremyevans)
* Deprecate Sequel::Schema::Generator constant, use
  Sequel::Schema::CreateTableGenerator instead (jeremyevans)
* Deprecate Database#log_yield (jeremyevans)
* Deprecate the set_overrides extension (jeremyevans)
* If passing an empty array or hash and a block to a filtering method, ignore
  the array or hash and just use the block (jeremyevans)
* Deprecate ignoring explicit nil argument when there is no existing filter
  (jeremyevans)
* Deprecate ignoring explicit nil argument to filtering methods when passing a
  block (jeremyevans)
* Deprecate ignoring empty strings and other empty? arguments passed to the
  filtering methods without a block (jeremyevans)
* Deprecate calling filtering methods without an argument or a block
  (jeremyevans)
* Deprecate Sequel::VirtualRow#` to create literal SQL, use Sequel.lit instead
  (jeremyevans)
* Add auto_literal_strings extensions for treating plain strings passed to
  filtering/update methods as literal SQL (jeremyevans)
* Deprecate automatically treating plain strings passed to filtering/update
  methods as literal SQL (jeremyevans)
* Passing a PlaceholderLiteralString to a filtering method now uses
  parentheses around the expression (jeremyevans)
* Make Dataset#full_text_search work on Microsoft SQL Server when
  no_auto_literal_strings extension is used (jeremyevans)
* Fix Database#disconnect when using the single connection pool without an
  active connection (jeremyevans) (#1339)
* Handle conversion of datetimeoffset values when using the jdbc/sqlserver
  adapter in some configurations (iaddict, jeremyevans) (#1338)
* Fix conversion of some time values when using the jdbc/sqlserver adapter in
  some configurations (iaddict, jeremyevans) (#1337)
* Use microsecond precision for time values on Microsoft SQL Server, instead
  of millisecond precision (jeremyevans)
* Add Dataset#sqltime_precision private method for adapters to use different
  precision for Sequel::SQLTime than Time and Date (jeremyevans)
* Use utc timezone in Sequel::SQLTime.create if Sequel.application_timezone is
  :utc (jeremyevans) (#1336)
* Include migration filename in message about migration file without a single
  migration (jmettraux) (#1334)
* Deprecate conversion of - to _ in adapter schemes (jeremyevans)
* Don't quote function names that are SQL::Identifiers, unless
  SQL::Function#quoted is used (jeremyevans)
* Deprecate splitting virtual row method names (jeremyevans)
* Deprecate passing blocks to virtual row methods, move to
  virtual_row_method_block extension (jeremyevans)
* Deprecate Sequel::SQL::Expression#sql_literal and #lit (jeremyevans)
* Don't issue deprecation warnings on ruby 1.8.7, as Sequel 5 is dropping
  support for it (jeremyevans)
* Deprecate Sequel::BasicObject#remove_methods! (jeremyevans)
* Deprecate sequel/no_core_ext file (jeremyevans)
* Deprecate model dataset #insert_sql accepting model instances (jeremyevans)
* Deprecate model dataset #join_table and #graph accepting model classes
  (jeremyevans)
* Support :alias option to class_table_inheritance plugin, wrapping subclass
  datasets in a subquery to fix ambiguous column issues (jeremyevans)
* Deprecate Model.set_allowed_columns and
  Model#{set_all,set_only,update_all,update_only}, move to whitelist security
  plugin (jeremyevans)
* Do not raise MassAssignmentRestriction when setting nested attributes and
  using the :fields option, only check for fields given (jeremyevans)
* Do not add class methods for private methods definined in dataset_module
  (jeremyevans)
* Deprecate Model.def_dataset_method and Model.subset, move to
  def_dataset_method plugin (jeremyevans)
* Deprecate Model.finder and Model.prepared_finder, move to finder plugin
  (jeremyevans)
* Deprecate calling Model.db= on a model with a dataset (jeremyevans)
* Deprecate splitting symbols to look for qualified/aliased identifiers
  (e.g. :table__column) (jeremyevans)
* Allow optimized lookups and deletes for models using SQL::Identifier and
  SQL::QualifiedIdentifier values as the FROM table (jeremyevans)

diffstat:

 databases/ruby-sequel/Makefile |   4 ++--
 databases/ruby-sequel/PLIST    |  13 ++++++++++++-
 databases/ruby-sequel/distinfo |  10 +++++-----
 3 files changed, 19 insertions(+), 8 deletions(-)

diffs (115 lines):

diff -r f38ecf70b9a3 -r 08599dfe911c databases/ruby-sequel/Makefile
--- a/databases/ruby-sequel/Makefile    Sun Jun 04 15:02:03 2017 +0000
+++ b/databases/ruby-sequel/Makefile    Sun Jun 04 15:03:09 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.52 2017/04/22 16:18:39 taca Exp $
+# $NetBSD: Makefile,v 1.53 2017/06/04 15:03:09 taca Exp $
 
-DISTNAME=      sequel-4.45.0
+DISTNAME=      sequel-4.47.0
 CATEGORIES=    databases
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r f38ecf70b9a3 -r 08599dfe911c databases/ruby-sequel/PLIST
--- a/databases/ruby-sequel/PLIST       Sun Jun 04 15:02:03 2017 +0000
+++ b/databases/ruby-sequel/PLIST       Sun Jun 04 15:03:09 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.49 2017/04/22 16:18:39 taca Exp $
+@comment $NetBSD: PLIST,v 1.50 2017/06/04 15:03:09 taca Exp $
 bin/sequel${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/CHANGELOG
@@ -136,6 +136,8 @@
 ${GEM_LIBDIR}/doc/release_notes/4.43.0.txt
 ${GEM_LIBDIR}/doc/release_notes/4.44.0.txt
 ${GEM_LIBDIR}/doc/release_notes/4.45.0.txt
+${GEM_LIBDIR}/doc/release_notes/4.46.0.txt
+${GEM_LIBDIR}/doc/release_notes/4.47.0.txt
 ${GEM_LIBDIR}/doc/release_notes/4.5.0.txt
 ${GEM_LIBDIR}/doc/release_notes/4.6.0.txt
 ${GEM_LIBDIR}/doc/release_notes/4.7.0.txt
@@ -254,6 +256,7 @@
 ${GEM_LIBDIR}/lib/sequel/extensions/_model_pg_row.rb
 ${GEM_LIBDIR}/lib/sequel/extensions/_pretty_table.rb
 ${GEM_LIBDIR}/lib/sequel/extensions/arbitrary_servers.rb
+${GEM_LIBDIR}/lib/sequel/extensions/auto_literal_strings.rb
 ${GEM_LIBDIR}/lib/sequel/extensions/blank.rb
 ${GEM_LIBDIR}/lib/sequel/extensions/columns_introspection.rb
 ${GEM_LIBDIR}/lib/sequel/extensions/connection_expiration.rb
@@ -325,6 +328,7 @@
 ${GEM_LIBDIR}/lib/sequel/extensions/symbol_as_refinement.rb
 ${GEM_LIBDIR}/lib/sequel/extensions/thread_local_timezones.rb
 ${GEM_LIBDIR}/lib/sequel/extensions/to_dot.rb
+${GEM_LIBDIR}/lib/sequel/extensions/virtual_row_method_block.rb
 ${GEM_LIBDIR}/lib/sequel/model.rb
 ${GEM_LIBDIR}/lib/sequel/model/associations.rb
 ${GEM_LIBDIR}/lib/sequel/model/base.rb
@@ -356,11 +360,13 @@
 ${GEM_LIBDIR}/lib/sequel/plugins/constraint_validations.rb
 ${GEM_LIBDIR}/lib/sequel/plugins/csv_serializer.rb
 ${GEM_LIBDIR}/lib/sequel/plugins/dataset_associations.rb
+${GEM_LIBDIR}/lib/sequel/plugins/def_dataset_method.rb
 ${GEM_LIBDIR}/lib/sequel/plugins/defaults_setter.rb
 ${GEM_LIBDIR}/lib/sequel/plugins/delay_add_association.rb
 ${GEM_LIBDIR}/lib/sequel/plugins/dirty.rb
 ${GEM_LIBDIR}/lib/sequel/plugins/eager_each.rb
 ${GEM_LIBDIR}/lib/sequel/plugins/error_splitter.rb
+${GEM_LIBDIR}/lib/sequel/plugins/finder.rb
 ${GEM_LIBDIR}/lib/sequel/plugins/force_encoding.rb
 ${GEM_LIBDIR}/lib/sequel/plugins/hook_class_methods.rb
 ${GEM_LIBDIR}/lib/sequel/plugins/identifier_columns.rb
@@ -414,6 +420,7 @@
 ${GEM_LIBDIR}/lib/sequel/plugins/validation_class_methods.rb
 ${GEM_LIBDIR}/lib/sequel/plugins/validation_contexts.rb
 ${GEM_LIBDIR}/lib/sequel/plugins/validation_helpers.rb
+${GEM_LIBDIR}/lib/sequel/plugins/whitelist_security.rb
 ${GEM_LIBDIR}/lib/sequel/plugins/xml_serializer.rb
 ${GEM_LIBDIR}/lib/sequel/sql.rb
 ${GEM_LIBDIR}/lib/sequel/timezones.rb
@@ -455,6 +462,7 @@
 ${GEM_LIBDIR}/spec/extensions/association_dependencies_spec.rb
 ${GEM_LIBDIR}/spec/extensions/association_pks_spec.rb
 ${GEM_LIBDIR}/spec/extensions/association_proxies_spec.rb
+${GEM_LIBDIR}/spec/extensions/auto_literal_strings_spec.rb
 ${GEM_LIBDIR}/spec/extensions/auto_validations_spec.rb
 ${GEM_LIBDIR}/spec/extensions/before_after_save_spec.rb
 ${GEM_LIBDIR}/spec/extensions/blacklist_security_spec.rb
@@ -478,6 +486,7 @@
 ${GEM_LIBDIR}/spec/extensions/dataset_associations_spec.rb
 ${GEM_LIBDIR}/spec/extensions/dataset_source_alias_spec.rb
 ${GEM_LIBDIR}/spec/extensions/date_arithmetic_spec.rb
+${GEM_LIBDIR}/spec/extensions/def_dataset_method_spec.rb
 ${GEM_LIBDIR}/spec/extensions/defaults_setter_spec.rb
 ${GEM_LIBDIR}/spec/extensions/delay_add_association_spec.rb
 ${GEM_LIBDIR}/spec/extensions/dirty_spec.rb
@@ -488,6 +497,7 @@
 ${GEM_LIBDIR}/spec/extensions/error_sql_spec.rb
 ${GEM_LIBDIR}/spec/extensions/eval_inspect_spec.rb
 ${GEM_LIBDIR}/spec/extensions/filter_having_spec.rb
+${GEM_LIBDIR}/spec/extensions/finder_spec.rb
 ${GEM_LIBDIR}/spec/extensions/force_encoding_spec.rb
 ${GEM_LIBDIR}/spec/extensions/freeze_datasets_spec.rb
 ${GEM_LIBDIR}/spec/extensions/from_block_spec.rb
@@ -593,6 +603,7 @@
 ${GEM_LIBDIR}/spec/extensions/validation_class_methods_spec.rb
 ${GEM_LIBDIR}/spec/extensions/validation_contexts_spec.rb
 ${GEM_LIBDIR}/spec/extensions/validation_helpers_spec.rb
+${GEM_LIBDIR}/spec/extensions/whitelist_security_spec.rb
 ${GEM_LIBDIR}/spec/extensions/xml_serializer_spec.rb
 ${GEM_LIBDIR}/spec/files/bad_down_migration/001_create_alt_basic.rb
 ${GEM_LIBDIR}/spec/files/bad_down_migration/002_create_alt_advanced.rb
diff -r f38ecf70b9a3 -r 08599dfe911c databases/ruby-sequel/distinfo
--- a/databases/ruby-sequel/distinfo    Sun Jun 04 15:02:03 2017 +0000
+++ b/databases/ruby-sequel/distinfo    Sun Jun 04 15:03:09 2017 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.50 2017/04/22 16:18:39 taca Exp $
+$NetBSD: distinfo,v 1.51 2017/06/04 15:03:09 taca Exp $
 
-SHA1 (sequel-4.45.0.gem) = f4e4212ec3dacfb9fe31890988a2f449d27a27c5
-RMD160 (sequel-4.45.0.gem) = 205dcae802d2a560969b4983cce2359519a8cd8a
-SHA512 (sequel-4.45.0.gem) = 79eb6d329d5e939802a87e7bc8037420aa1b9bf079cb02c77269ed04716311d33a567ec090f52fc02057dfbaf458edea2844244ddb871441196565ff4eb1275c
-Size (sequel-4.45.0.gem) = 1438208 bytes
+SHA1 (sequel-4.47.0.gem) = 0dfa275e0a31d75eeb702f221982be41fff236c2
+RMD160 (sequel-4.47.0.gem) = 4a300fee78249b17798427f48474c7f32c7d0922
+SHA512 (sequel-4.47.0.gem) = 0b31d27222309c7e21ac84a59f983afbb6aba4a05d92a0fa0222b71d2782545da25ec6c1090258ceac1b56dc6ef035d072ca66813124e930c99c2f899fa74b31
+Size (sequel-4.47.0.gem) = 1470464 bytes



Home | Main Index | Thread Index | Old Index