bigkeeper 0.7.7 → 0.7.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b02490a4482b21afea4b0b7c529e37d7d5cc14a
4
- data.tar.gz: 3b1581b1835064d928109eae24fe791e60d729ab
3
+ metadata.gz: 210e43f5a2e17e8284e5ff34e33ed6245459562f
4
+ data.tar.gz: aaa8c7f3ba7bda0882febfc1b0c9e548ef5f8512
5
5
  SHA512:
6
- metadata.gz: 35c3e7ef3c40003c7818f748c41ad8bf6c56132ce823fce9057514a0870e0d7d3bb81f99241f4d56550d96e4fa65eaaf922376f5e09ea6832a3342d6d5800889
7
- data.tar.gz: 30da0f0494391712d2e2736de23ec93e45f06e223848966b1dd67b08157b6b98f94eb45216b229fd102b448ab14a29aaf6f40dc8bb6bb5d0ce278451972fa554
6
+ metadata.gz: cf8770b19b1a77de386b654504e918c84d64e4cba7f4ddfc2ff42be27991365b7fae547f7fbf1143e183b826bdc29afb829be7f3b61d0934573b4ab14e7f927a
7
+ data.tar.gz: 10634e889660abeb0d0dbf49ea18e4773034677b1a3f6bacfb01d7a0ac12f0fe7ddd1443875bb5982261ded895a36d22cb1b835e047cfe2864d6fbcf3f5da8db
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bigkeeper (0.7.6)
4
+ bigkeeper (0.7.7)
5
5
  big_stash (~> 0.1)
6
6
  cocoapods
7
7
  colorize
@@ -1,14 +1,26 @@
1
1
  require 'big_keeper/util/logger'
2
+ require 'open3'
2
3
 
3
4
  module BigKeeper
4
5
  class PodOperator
5
6
  def self.pod_install(path, repo_update)
6
- Logger.highlight('Start pod install, waiting...')
7
-
8
7
  # pod install
9
- `pod repo update` if repo_update
10
- `pod install --project-directory=#{path}`
11
-
8
+ if repo_update
9
+ Logger.highlight('Start pod repo update, waiting...')
10
+ cmd = 'pod repo update'
11
+ Open3.popen3(cmd) do |stdin , stdout , stderr, wait_thr|
12
+ while line = stdout.gets
13
+ puts line
14
+ end
15
+ end
16
+ end
17
+ Logger.highlight('Start pod install, waiting...')
18
+ cmd = "pod install --project-directory=#{path}"
19
+ Open3.popen3(cmd) do |stdin , stdout , stderr, wait_thr|
20
+ while line = stdout.gets
21
+ puts line
22
+ end
23
+ end
12
24
  Logger.highlight('Finish pod install.')
13
25
  end
14
26
  end
@@ -1,3 +1,3 @@
1
1
  module BigKeeper
2
- VERSION = "0.7.7"
2
+ VERSION = "0.7.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bigkeeper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.7
4
+ version: 0.7.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - mmoaay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-06 00:00:00.000000000 Z
11
+ date: 2018-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gli