nixenvironment 0.0.41 → 0.0.42

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: 1b7b2bf68f5539b3d113da0b6f811592842514e1
4
- data.tar.gz: 1e9f666802c308f847ba92a304ab0edd3567dfa6
3
+ metadata.gz: 60ff67420116bcca695c5042bae605ed43133cbb
4
+ data.tar.gz: ab3622522ac15e841ca76dc80d266c2bb05e2500
5
5
  SHA512:
6
- metadata.gz: 8d30b673c0c554de85d60b5f949acce3811e226808361dd3b414a63004b2ecfdf0e90e5fba5fd37ddd449c2ec697b0444d0d2348c9b4b177e7d896b9313e4110
7
- data.tar.gz: d56bc055aa4a913be4f6e9826cc1af450defd3acaf1a8eaa1b07b244e2016103f4820db572230c0ac64bf09e607a31e24f1da007369a3c9c2c239144406ab37d
6
+ metadata.gz: c750f0c1a9e5fe3913048bf197985de69199e96fc1b9e7e6e6cc9923fe2608cea86229c3dbbcb4ad1c822a8a48c58e91f94dd498bfc63937ea52f032069fb2bf
7
+ data.tar.gz: b176fce145ee6997e5e92c4377a635cf4f346dfd59dda649e356f8bd82cbf84fba4d8f96ff0d5643714a79e29a77ba0594bf2c49ea34d57caa15b7b20a4f070d
data/bin/nixenvironment CHANGED
@@ -628,9 +628,10 @@ def deploy(deliver_deploy)
628
628
  deploy_password = @config_settings['DEPLOY_PASSWORD'].nil? || @config_settings['DEPLOY_PASSWORD'].empty? ? ENV['DEPLOY_PASSWORD'] : @config_settings['DEPLOY_PASSWORD']
629
629
  deploy_itunesconnect_username = @config_settings['DEPLOY_ITUNESCONNECT_USERNAME'].nil? || @config_settings['DEPLOY_ITUNESCONNECT_USERNAME'].empty? ? ENV['DEPLOY_ITUNESCONNECT_USERNAME'] : @config_settings['DEPLOY_ITUNESCONNECT_USERNAME']
630
630
 
631
- deliver_deploy_value = deliver_deploy ? 1 : 0
631
+ deploy_itunesconnect_username ||= 'unknown'
632
+ deliver_deploy = deliver_deploy ? 1 : 0
632
633
 
633
- deploy_success = system("#{deploy} #{deploy_host} #{deploy_path} #{deploy_username} #{deploy_password} #{deploy_itunesconnect_username} #{deliver_deploy_value}")
634
+ deploy_success = system("#{deploy} #{deploy_host} #{deploy_path} #{deploy_username} #{deploy_password} #{deploy_itunesconnect_username} #{deliver_deploy}")
634
635
  abort('Deploy error!') unless deploy_success
635
636
  end
636
637
 
@@ -1,3 +1,3 @@
1
1
  module Nixenvironment
2
- VERSION = '0.0.41'
2
+ VERSION = '0.0.42'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nixenvironment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.41
4
+ version: 0.0.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Karen Arzumanian