holistics 0.0.9 → 0.0.10

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
  SHA1:
3
- metadata.gz: 694632de17ff6a4d706a21197413728263e71178
4
- data.tar.gz: 05ddb2871e3a2a6b7a37757f230e476c4ac2d2d8
3
+ metadata.gz: 6754ae8febe4d72c2e2f0384dae3af78461812e6
4
+ data.tar.gz: dfdb65c2adba480f9124b38c6c9d309706295bbd
5
5
  SHA512:
6
- metadata.gz: 6d6ba727e7fb095defcb5534d6c404d9ff1c1dc3478314ab15d8d77e02a834f588219dff356f549ad6a2c8e32f97bbd9164e7fdb1c2635e0987e017cf1945172
7
- data.tar.gz: e04d19e1179869bfde26a9fb86704da70ecab684e01d976021bcbf146ceb0480c1da583ed5909c4ae8e79a81c6b1e385684a507c37fd2ecabc7d1e06d6414ae2
6
+ metadata.gz: 0ee75e12713261a97f19f9a8be930536a9a5b7fa286c2e6649f2ba822960805a730380d9b4d3e20f3baaebb08d351de9eef048929a733babe683a6088a23e6e8
7
+ data.tar.gz: cfd1fb7874ebbab54099be452b298566f69ebabfe7d536546575d7d6fa5afcdca90466fbafec625fc0ae9aec072a3292ed26c55260f682c36a6d74506127a564
data/README.md CHANGED
@@ -32,14 +32,14 @@ Then perform authentication:
32
32
 
33
33
  ### To change remote server for testing purpose
34
34
 
35
- $ DEV=1 holistics ...
35
+ $ HOLISTICS_DEV=1 holistics ...
36
36
  # Will point to http://localhost:3000
37
37
 
38
- $ STAGING=1 holistics ...
38
+ $ HOLISTICS_STAGING=1 holistics ...
39
39
  # Will point to https://staging.holistics.io
40
40
 
41
41
  # or custom host
42
- $ HOST=https://blah.com holistics ...
42
+ $ HOLISTICS_HOST=https://blah.com holistics ...
43
43
 
44
44
 
45
45
  ## Data Transport commands
@@ -46,6 +46,8 @@ module Holistics
46
46
  method_option :from_table_name, aliases: '-t', type: :string, required: false, desc: 'The table to copy over'
47
47
  method_option :dest_table_name, aliases: '-n', type: :string, required: false, desc: '(optional) Rename destination table. Please specify fully qualified name'
48
48
  method_option :config_path, aliases: '-c', type: :string, required: false, desc: 'Path to transport config (JSON/YML)̄ file'
49
+ method_option :full, type: :boolean, default: true, required: false, desc: 'Full table transport'
50
+ method_option :incremental, type: :boolean, default: false, required: false, desc: 'Incremental table transport'
49
51
  desc 'transport', 'Submit a data transport job'
50
52
 
51
53
  def transport
@@ -61,4 +63,4 @@ module Holistics
61
63
  end
62
64
 
63
65
  end
64
- end
66
+ end
@@ -94,12 +94,12 @@ module Holistics
94
94
 
95
95
  def server_url
96
96
  host =
97
- if ENV['DEV'] || ENV['TEST']
97
+ if ENV['HOLISTICS_DEV'] || ENV['HOLISTICS_TEST']
98
98
  'http://localhost:3000'
99
- elsif ENV['STAGING']
99
+ elsif ENV['HOLISTICS_STAGING']
100
100
  'https://staging.holistics.io'
101
- elsif ENV['HOST']
102
- ENV['HOST']
101
+ elsif ENV['HOLISTICS_HOST']
102
+ ENV['HOLISTICS_HOST']
103
103
  else
104
104
  SERVER_URL
105
105
  end
@@ -1,3 +1,3 @@
1
1
  module Holistics
2
- VERSION = '0.0.9'
2
+ VERSION = '0.0.10'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: holistics
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thanh Dinh Khac