sequel-batches 2.0.0 → 2.0.1
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.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/sequel/extensions/batches/yielder.rb +1 -1
- data/sequel-batches.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d8af97c53f8431d8fc6318af40c5f42e00ad83f177dc663fbdd5c0a18f7c90d
|
|
4
|
+
data.tar.gz: 1f5d637fff098d001694c62a4e397801a5077217ba2174533a8c87975edc8fb7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
data/sequel-batches.gemspec
CHANGED
|
@@ -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.
|
|
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.
|
|
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-
|
|
12
|
+
date: 2022-08-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: sequel
|