tapsoob 0.7.7 → 0.7.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 27060ba6872d5c43a5fa03f972562ecef65f762217eb51db2757a527a403a407
4
- data.tar.gz: 05447b9cda97c5f77c52520863ba949ce780f731b66883556d2b34b6479a5ac6
3
+ metadata.gz: 8f457ea6567a88cb17db0cec3be46b52442d69b649db311092370af258bfead4
4
+ data.tar.gz: e2280ec6a52db877689eb292a27a31bb2dbdb5b7c1d2031611f351d6c637821d
5
5
  SHA512:
6
- metadata.gz: eea4a49d3484dc687776b9b108a1334bc2fa77d485ba7a8f7875f5418254c0f077592f7631c419e992e9b50f47a2a60a629cf46bb786a73681b91753f4aa6c3e
7
- data.tar.gz: c661e5ae7eccbc18da7d7058457f55d380c80f107cac88ca7e8978e8df74f0ea92edff18a5ff92eaccb2b26d1a61b8acd8d53daa8202eea0be5b4dbef8191613
6
+ metadata.gz: 5c8e4bd03a2f55ba0594c48de850029bfcceffe82a421726fe2622bddf63e5f3253fafee4d3f747cad1aeb087877c882ef404159dda46c453c77dacd4d9ccf3f
7
+ data.tar.gz: 30f5b3000f161271665dd508a2d88b96c4bfe6917561f3d4e1706d1d80cc3ebab44d24b70a1e79b7062949e7460c67321e2a4311fb8ba52acccc8b65c639f500
@@ -23,6 +23,7 @@ module Tapsoob
23
23
  option :"indexes", type: :boolean, default: false
24
24
  option :"same-db", type: :boolean, default: false
25
25
  option :parallel, desc: "Number of parallel workers for table processing (default: 1)", default: 1, type: :numeric, aliases: "-j"
26
+ option :"no-split", desc: "Disable automatic intra-table parallelization", default: false, type: :boolean
26
27
  option :progress, desc: "Show progress", default: true, type: :boolean
27
28
  option :debug, desc: "Enable debug messages", default: false, type: :boolean
28
29
  def pull(dump_path, database_url)
@@ -92,6 +93,7 @@ module Tapsoob
92
93
  # Pull only options
93
94
  opts[:indexes] = options[:"indexes"] if options.key?(:"indexes")
94
95
  opts[:same_db] = options[:"same-db"] if options.key?(:"same-db")
96
+ opts[:no_split] = options[:"no-split"] if options.key?(:"no-split")
95
97
 
96
98
  # Push only options
97
99
  opts[:purge] = options[:purge] if options.key?(:purge)
@@ -154,6 +154,9 @@ module Tapsoob
154
154
  # (no dump_path means we're outputting JSON directly, which can't be safely parallelized)
155
155
  return 1 if dump_path.nil?
156
156
 
157
+ # Disable intra-table parallelization when --no-split is passed
158
+ return 1 if opts[:no_split]
159
+
157
160
  # TEMPORARILY RE-ENABLED for debugging
158
161
  # return 1 if self.is_a?(Tapsoob::Operation::Push)
159
162
 
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module Tapsoob
3
- VERSION = "0.7.7".freeze
3
+ VERSION = "0.7.8".freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tapsoob
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.7
4
+ version: 0.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Félix Bellanger
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2026-02-16 00:00:00.000000000 Z
12
+ date: 2026-04-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sequel