tapsoob 0.5.13 → 0.5.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tapsoob/cli/root.rb +4 -0
- data/lib/tapsoob/version.rb +1 -1
- data/tapsoob.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f66f2cafc229eb8bf6aaf9a158f985bee6b58d90849ee060fab94eed2dbcf75c
|
4
|
+
data.tar.gz: 109661e0446de0bf871add2556fa8bf58400e51c89cf49a9643099ea6b1070d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6907567fef3c04f633a433f09916c1b28b6bfed5754433a3d7d6071441daa3ccc2f90ab3b6f92bd65076d4e37f1f06254f40b1dedff2678f4ac283f35137c26b
|
7
|
+
data.tar.gz: 646c94325dfe49711a642ad85c96da8b06613ab44ff017f77491b7436e54fdd9d77ef30de8d9b32f5e5e11cc4be47956f4213d703476f6df4c4f6398f3216f8c
|
data/lib/tapsoob/cli/root.rb
CHANGED
@@ -40,6 +40,7 @@ module Tapsoob
|
|
40
40
|
option :tables, desc: "Shortcut to filter on a list of tables", type: :array, aliases: "-t"
|
41
41
|
option :"exclude-tables", desc: "Shortcut to exclude a list of tables", type: :array, aliases: "-e"
|
42
42
|
option :purge, desc: "Purge data in tables prior to performing the import", default: false, type: :boolean, aliases: "-p"
|
43
|
+
option :"same-db", type: :boolean, default: false
|
43
44
|
option :"skip-duplicates", desc: "Remove duplicates when loading data", default: false, type: :boolean
|
44
45
|
option :"discard-identity", desc: "Remove identity when pushing data (may result in creating duplicates)", default: false, type: :boolean
|
45
46
|
option :progress, desc: "Show progress", default: true, type: :boolean
|
@@ -78,6 +79,9 @@ module Tapsoob
|
|
78
79
|
debug: options[:debug]
|
79
80
|
}
|
80
81
|
|
82
|
+
# Pull only options
|
83
|
+
opts[:same_db] = options[:"same-db"] if options.key?(:"same-db")
|
84
|
+
|
81
85
|
# Push only options
|
82
86
|
opts[:purge] = options[:purge] if options.key?(:purge)
|
83
87
|
opts[:"skip-duplicates"] = options[:"skip-duplicates"] if options.key?(:"skip-duplicates")
|
data/lib/tapsoob/version.rb
CHANGED
data/tapsoob.gemspec
CHANGED
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.5.
|
4
|
+
version: 0.5.15
|
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:
|
12
|
+
date: 2023-02-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ripl
|
@@ -31,14 +31,14 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 5.
|
34
|
+
version: 5.65.0
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 5.
|
41
|
+
version: 5.65.0
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: thor
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|