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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/insertica +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f9cfab140cfaee0294ccda564b13de12adc6841a
4
- data.tar.gz: ae3cab639e68a0967ca46eb27a74283d9d343e92
3
+ metadata.gz: 91fff507002a724e6af7976d50d88ff88d5cfbfd
4
+ data.tar.gz: 68d46f93dd833039d2a9a4a82a5f253418646a92
5
5
  SHA512:
6
- metadata.gz: 10b4ecf013350727c8de2c800725dd3542b54ca23848ab078f17c01c8020b4e5918f023407cb05d994837d8b24ece745093215dc5b99b575fde2635a2569d29f
7
- data.tar.gz: 8c77d2545e14e2e649aa7ac527e2bae2b8fd5ec25effc426be1e35ac1e2abea1f269a75852cb304706510d14dd77e5b6ac9c84e05b53620e33ab6f9d4bada9ed
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: insertica
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Evans