zapnito-cli 0.1.0 → 0.1.1

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: 25206b27fef8d04dac567dfecdbb21a8519b36be
4
- data.tar.gz: 72ae77e87418272882a984f08066698527b79873
3
+ metadata.gz: 0dc8b4c2e9cb2977b650da1bf724d78fbb2e71a7
4
+ data.tar.gz: b74f18b9cbad111c2051c1de4ef5e3a52f524d94
5
5
  SHA512:
6
- metadata.gz: cce487c753dc22b1ea6aaf51a2203f7d4d884723e13c833eb63136201d44cde9d116f93bde272075a6a3c34e736620476da50f5df0fe10fc73d2c70a70520372
7
- data.tar.gz: 9a5b9b014a2b8797346698e26b64f171eed1f85e7b7a229289d5645ee45a82af4b6d2a04505ec2fc8b2f2b76196e41fced011546eba4679729eddc28c5b2f3d6
6
+ metadata.gz: d0e40f5c099ffa532a791eba3a05b94557f404483c94096afacfc0beab0709313ece57113a4be2c8fbb0312c6da3d674d00bd5b98a2358959daafee70cfab7e4
7
+ data.tar.gz: 2f9f02047a9173fb86acb0676b57b17208c46e1c9e696adfbb7bdc32f89c84e738509fa12f3e0f42ca6a464ef766a75a3b72172f48b89822e81d6754999479e4
@@ -29,6 +29,6 @@ begin
29
29
  end
30
30
  end
31
31
 
32
- configatron.restclient_proxy = config["proxy"]
33
- configatron.restclient_log = STDOUT if config["debug"]
32
+ configatron.restclient_proxy = config["proxy"] || false
33
+ configatron.restclient_log = config["debug"] ? STDOUT : false
34
34
  end
@@ -1,4 +1,4 @@
1
1
  require "restclient"
2
2
 
3
3
  RestClient.proxy = configatron.restclient_proxy if configatron.restclient_proxy
4
- RestClient.log = configatron.restclient_log
4
+ RestClient.log = configatron.restclient_log if configatron.restclient_log
@@ -1,5 +1,5 @@
1
1
  module Zapnito
2
2
  module Cli
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zapnito-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - opsb