sequel 5.44.0 → 5.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -66,16 +66,13 @@ module Sequel
66
66
  # integer: "is not a number"
67
67
  #
68
68
  # Note that if you want to support internationalization of Errors#full_messages,
69
- # you need to override the method. Here's an example:
69
+ # it is easiest to override Errors#full_message (note singular form and not plural form).
70
+ # Here's an example:
70
71
  #
71
72
  # class Sequel::Model::Errors
72
- # def full_messages
73
- # inject([]) do |m, kv|
74
- # att, errors = *kv
75
- # att.is_a?(Array) ? Array(att).map!{|v| I18n.t("attributes.#{v}")} : att = I18n.t("attributes.#{att}")
76
- # errors.each {|e| m << (e.is_a?(LiteralString) ? e : "#{Array(att).join(I18n.t('errors.joiner'))} #{e}")}
77
- # m
78
- # end
73
+ # private
74
+ # def full_message(attribute, error_msg)
75
+ # "#{Array(attribute).join(I18n.t('errors.joiner'))} #{error_msg}"
79
76
  # end
80
77
  # end
81
78
  module ValidationHelpers
@@ -6,7 +6,7 @@ module Sequel
6
6
 
7
7
  # The minor version of Sequel. Bumped for every non-patch level
8
8
  # release, generally around once a month.
9
- MINOR = 44
9
+ MINOR = 48
10
10
 
11
11
  # The tiny version of Sequel. Usually 0, only bumped for bugfix
12
12
  # releases that fix regressions from previous versions.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.44.0
4
+ version: 5.48.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Evans
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-01 00:00:00.000000000 Z
11
+ date: 2021-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest
@@ -188,6 +188,10 @@ extra_rdoc_files:
188
188
  - doc/release_notes/5.42.0.txt
189
189
  - doc/release_notes/5.43.0.txt
190
190
  - doc/release_notes/5.44.0.txt
191
+ - doc/release_notes/5.45.0.txt
192
+ - doc/release_notes/5.46.0.txt
193
+ - doc/release_notes/5.47.0.txt
194
+ - doc/release_notes/5.48.0.txt
191
195
  - doc/release_notes/5.5.0.txt
192
196
  - doc/release_notes/5.6.0.txt
193
197
  - doc/release_notes/5.7.0.txt
@@ -260,6 +264,10 @@ files:
260
264
  - doc/release_notes/5.42.0.txt
261
265
  - doc/release_notes/5.43.0.txt
262
266
  - doc/release_notes/5.44.0.txt
267
+ - doc/release_notes/5.45.0.txt
268
+ - doc/release_notes/5.46.0.txt
269
+ - doc/release_notes/5.47.0.txt
270
+ - doc/release_notes/5.48.0.txt
263
271
  - doc/release_notes/5.5.0.txt
264
272
  - doc/release_notes/5.6.0.txt
265
273
  - doc/release_notes/5.7.0.txt
@@ -456,6 +464,7 @@ files:
456
464
  - lib/sequel/plugins/association_proxies.rb
457
465
  - lib/sequel/plugins/async_thread_pool.rb
458
466
  - lib/sequel/plugins/auto_validations.rb
467
+ - lib/sequel/plugins/auto_validations_constraint_validations_presence_message.rb
459
468
  - lib/sequel/plugins/before_after_save.rb
460
469
  - lib/sequel/plugins/blacklist_security.rb
461
470
  - lib/sequel/plugins/boolean_readers.rb
@@ -525,6 +534,7 @@ files:
525
534
  - lib/sequel/plugins/tree.rb
526
535
  - lib/sequel/plugins/typecast_on_load.rb
527
536
  - lib/sequel/plugins/unlimited_update.rb
537
+ - lib/sequel/plugins/unused_associations.rb
528
538
  - lib/sequel/plugins/update_or_create.rb
529
539
  - lib/sequel/plugins/update_primary_key.rb
530
540
  - lib/sequel/plugins/update_refresh.rb
@@ -569,7 +579,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
569
579
  - !ruby/object:Gem::Version
570
580
  version: '0'
571
581
  requirements: []
572
- rubygems_version: 3.2.15
582
+ rubygems_version: 3.2.22
573
583
  signing_key:
574
584
  specification_version: 4
575
585
  summary: The Database Toolkit for Ruby