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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/big_keeper/util/pod_operator.rb +17 -5
- data/lib/big_keeper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 210e43f5a2e17e8284e5ff34e33ed6245459562f
|
4
|
+
data.tar.gz: aaa8c7f3ba7bda0882febfc1b0c9e548ef5f8512
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf8770b19b1a77de386b654504e918c84d64e4cba7f4ddfc2ff42be27991365b7fae547f7fbf1143e183b826bdc29afb829be7f3b61d0934573b4ab14e7f927a
|
7
|
+
data.tar.gz: 10634e889660abeb0d0dbf49ea18e4773034677b1a3f6bacfb01d7a0ac12f0fe7ddd1443875bb5982261ded895a36d22cb1b835e047cfe2864d6fbcf3f5da8db
|
data/Gemfile.lock
CHANGED
@@ -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
|
-
|
10
|
-
|
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
|
data/lib/big_keeper/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2018-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gli
|