weighflow_cli 0.2.9 → 0.2.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
  SHA256:
3
- metadata.gz: 887b156372e9da0e2c1197bed81c33979c7f569f31ab1974bf0e91102cebee68
4
- data.tar.gz: 9fd39ac96ddd1d9554e5e9016a1493457fdddc9adc2f1ceec5e0b22d933f368e
3
+ metadata.gz: 93ff8b4ee53a8072ca02fba4d89306b6fa79e267acf5cef3b1b19e7f3026b513
4
+ data.tar.gz: 852410b8061d467471b9115a50ce9e9314c4cada5be144f2f7dfce1e207a757c
5
5
  SHA512:
6
- metadata.gz: b3fd7f3a38e6d774e5358c74176c91398396dc8f91da377fb3caa10fa93cf0efa45dbacb5190929813d2119f7d21e75b55ab32f73a1533efc0010270fba05206
7
- data.tar.gz: 61b4f7891a25130061f7f6b6ec3b055e1592776c7ecdabf2feb4dc1304e2def846aef3614c0a7db51509ee8b5c99f739c8e7fb320b3fee8b98f1da2069698094
6
+ metadata.gz: 553708867bc04f2ffe9287be500c07c5c22e7baf5e2a44a4504637dbff7b62f758abb99c245a47a36c3c447342f1fcbc8f7d01981320f4d77d43ec82eb458e46
7
+ data.tar.gz: b7fb62070b2028f027e630574f0c1903ab64bb13fc0b3ccef2e2a183ea44c27566f4ad09cf52b049e302ca6bd9b8c26b0c89fb1c0d91109738d63641da71c00f
data/.byebug_history CHANGED
@@ -1,3 +1,10 @@
1
+ q
2
+ C
3
+ WeighflowCli::ROOT_PATH
4
+ c
5
+ WeighflowCli::_ROOT_PATH
6
+ WeighflowCli
7
+ _ROOT_PATH
1
8
  c
2
9
  ap result.first.keys
3
10
  ap keys
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- weighflow_cli (0.2.7)
4
+ weighflow_cli (0.2.9)
5
5
  httparty
6
6
  thor (~> 1.1.0)
7
7
 
data/lib/weighflow_cli.rb CHANGED
@@ -11,20 +11,21 @@ require_relative 'weighflow_cli/cli'
11
11
  require_relative 'weighflow_cli/credentials'
12
12
  require_relative 'weighflow_cli/order_handler'
13
13
 
14
+
14
15
 
15
16
  module WeighflowCli
16
17
 
17
18
  class Error < StandardError; end
18
19
  #
19
- _ROOT_PATH = File.expand_path('~/.weighflow_cli').freeze
20
+ ROOT_PATH = File.expand_path('~/.weighflow_cli').freeze
20
21
  #
21
- Dir.mkdir(_ROOT_PATH) unless Dir.exists?(_ROOT_PATH)
22
+ Dir.mkdir(ROOT_PATH) unless Dir.exists?(ROOT_PATH)
22
23
  #
23
24
 
24
25
  # Provide an override to relocate data directory
25
- def self.data_path
26
+ def self.data_path
26
27
  return @data_path if defined?(@data_path)
27
- @data_path ||= ENV.fetch('WEIGHFLOW_CLI_PATH') { File.join(_ROOT_PATH, 'data') }
28
+ @data_path ||= ENV.fetch('WEIGHFLOW_CLI_PATH') { File.join(WeighflowCli::ROOT_PATH, 'data') }
28
29
  ensure_data_path
29
30
  @data_path
30
31
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
  module WeighflowCli
6
- VERSION = "0.2.9"
6
+ VERSION = "0.2.10"
7
7
 
8
8
 
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weighflow_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.9
4
+ version: 0.2.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bruce Martin