sequel-batches 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ffd198d92d022335e38e2422ca6f31f790f3501ebc463b15f8f9cde318faea6
4
- data.tar.gz: 14d9cdbf89a5099136a586d2a468360524df0142b653c4908a86ba3c183fd1f9
3
+ metadata.gz: 0d8af97c53f8431d8fc6318af40c5f42e00ad83f177dc663fbdd5c0a18f7c90d
4
+ data.tar.gz: 1f5d637fff098d001694c62a4e397801a5077217ba2174533a8c87975edc8fb7
5
5
  SHA512:
6
- metadata.gz: cc23bb340fec3c041afdda7c1cb21d4dd9af5717d66149a9494f419b169e292c24074aa378dbfadc24a8d827a43aa52dcbafff3a2fc70c287c80d688d088769e
7
- data.tar.gz: faba27222e6b8d0a7a3efcfd7eedbf9d423c2f87aa837bd4173bb22cb58b9084369c0ae5de054461a64d8e419258d9f1ed04c3b97dd26294c0d271608b730dad
6
+ metadata.gz: f26a92d8573d15f3a264d606cce33eaeab69bdb0a791d9b98b4dc9cb8cfad8c4abddf0b04bd5ff9032fe80042da81cc81d1b8759b662c4459567d6720f2bfb7c
7
+ data.tar.gz: 237d285d2febaa6f896f4e7d727a0a36884c6889c348ef68815999ee10c766390f490888adf62eda75f2a41789e93bddd0dcb205279003eba46db6dba570ff42
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sequel-batches (2.0.0)
4
+ sequel-batches (2.0.1)
5
5
  sequel
6
6
 
7
7
  GEM
@@ -25,7 +25,7 @@ GEM
25
25
  method_source (1.0.0)
26
26
  minitest (5.16.2)
27
27
  parallel (1.22.1)
28
- parser (3.1.2.0)
28
+ parser (3.1.2.1)
29
29
  ast (~> 2.4.1)
30
30
  pg (1.4.2)
31
31
  pry (0.14.1)
@@ -58,7 +58,7 @@ GEM
58
58
  rubocop-ast (>= 1.18.0, < 2.0)
59
59
  ruby-progressbar (~> 1.7)
60
60
  unicode-display_width (>= 1.4.0, < 3.0)
61
- rubocop-ast (1.19.1)
61
+ rubocop-ast (1.21.0)
62
62
  parser (>= 3.1.1.0)
63
63
  rubocop-config-umbrellio (1.30.0.65)
64
64
  rubocop (~> 1.30.0)
@@ -31,7 +31,7 @@ module Sequel::Extensions::Batches
31
31
  base_ds
32
32
  end
33
33
 
34
- working_ds_pk = working_ds.select(*qualified_pk).order(order_by).limit(of)
34
+ working_ds_pk = working_ds.select(*qualified_pk).order(order_by(qualified: true)).limit(of)
35
35
  current_instance = db.from(working_ds_pk).select(*pk).order(order_by).last or break
36
36
  working_ds = working_ds.where(generate_conditions(current_instance.to_h, sign: sign_to_inclusive))
37
37
 
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "sequel-batches"
8
- spec.version = "2.0.0"
8
+ spec.version = "2.0.1"
9
9
  spec.authors = %w[fiscal-cliff umbrellio]
10
10
  spec.email = ["oss@umbrellio.biz"]
11
11
  spec.required_ruby_version = ">= 2.7"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sequel-batches
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - fiscal-cliff
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-08-05 00:00:00.000000000 Z
12
+ date: 2022-08-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sequel