insertica 0.0.1 → 0.0.3
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/bin/insertica +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91fff507002a724e6af7976d50d88ff88d5cfbfd
|
|
4
|
+
data.tar.gz: 68d46f93dd833039d2a9a4a82a5f253418646a92
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5603c7b55f5af01db66c2fe8e879dc83333ac1e373a033b94716d1b847a2276709d8364e9903679c0db781430fb8e1b43d6d9b06c58a38a9f2183185d150a313
|
|
7
|
+
data.tar.gz: 84bfdfb2ca945e8075e1fc26f876c57b253cf95a7df4b71446787c16a03128c19a07b64cb4417ec8c51f896f87cced8cfc1ca8d9b3eec7d24b44787983f09f42
|
data/bin/insertica
CHANGED
|
@@ -11,8 +11,9 @@ class InserticaExecutable < Thor
|
|
|
11
11
|
method_option :password, aliases: "-p", required: true, type: :string, desc: "Specifies the password to use with Vertica."
|
|
12
12
|
method_option :host, aliases: "-h", default: 'localhost', desc: "Specifies the host of the Vertica database."
|
|
13
13
|
method_option :port, aliases: "-p", default: 5433, desc: "Specifies the port of the Vertica database."
|
|
14
|
+
method_option :schema, aliases: "-s", desc: "Specifies which schema to use."
|
|
14
15
|
def load(filename)
|
|
15
|
-
table = Insertica::Table.new(filename)
|
|
16
|
+
table = Insertica::Table.new(options[:schema], filename)
|
|
16
17
|
table.insert(options)
|
|
17
18
|
end
|
|
18
19
|
end
|