lib/big_keeper/util/pod_operator.rb in kookeeper-3.0.4 vs lib/big_keeper/util/pod_operator.rb in kookeeper-3.0.5

- old
+ new

@@ -6,18 +6,18 @@ def self.pod_install(path, repo_update) # pod install if repo_update PodOperator.pod_update_private_repos(true) end - Logger.highlight('Start pod install, waiting...') - cmd = "pod install --project-directory='#{path}'" + Logger.highlight('Start pod update, waiting...') + cmd = "pod update --project-directory='#{path}'" Open3.popen3(cmd) do |stdin, stdout, stderr, wait_thr| while line = stdout.gets p line end end - Logger.highlight('Finish pod install.') + Logger.highlight('Finish pod update.') end def self.pod_repo_push(path, module_name, source, version) Logger.highlight(%Q(Start Pod repo push #{module_name})) Dir.chdir(path) do @@ -45,9 +45,10 @@ end end def self.pod_update_private_repos(update_private) if update_private + p "BigkeeperParser.sources = #{BigkeeperParser.sources}" BigkeeperParser.sources.map { |spec| Logger.highlight('Start pod repo update, waiting...') cmd = "pod repo update #{spec}" cmd(cmd) }