pixab 1.2.2 → 1.2.3
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 +4 -4
- data/lib/ComponentSynchronizer.rb +9 -4
- data/lib/pixab/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 75b41e526eaa8661b19aa105b30f54cde414045030fd7ce756dbe8957186ce08
|
4
|
+
data.tar.gz: 0f03c1ef21361608206c35a7a52e1e0ef8a78794e1e3f456cff546205377fea6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 112c92eaf0c27d607739db54617be7083cdf1c62720a5349007b7727bc4e9d1b647f3be57d0f339667a4a71171d04ce424e6820f6246def79cd5371e6556e473
|
7
|
+
data.tar.gz: acee40bab2f9b27eb2b89aa5151c6f3373eb0fc90e5bc2c45f5cad5c0894b5b1a25ce7a5b444f404a6531b86f58cdb3e98c3f2fcb6cfb59747293c5a6c6cdbdd
|
@@ -11,13 +11,14 @@ module Pixab
|
|
11
11
|
|
12
12
|
class ComponentSynchronizer
|
13
13
|
|
14
|
-
attr_accessor :is_need_build, :is_need_remote_repo
|
14
|
+
attr_accessor :is_need_build, :is_need_remote_repo, :is_need_pod_install
|
15
15
|
attr_reader :repo_manager, :repos, :main_repo_name, :updated_repo_names
|
16
16
|
|
17
17
|
def initialize(repo_manager = RepoManager.new, commands = nil)
|
18
18
|
@repo_manager = repo_manager
|
19
19
|
@is_need_build = false
|
20
20
|
@is_need_remote_repo = false
|
21
|
+
@is_need_pod_install = true
|
21
22
|
if commands.nil?
|
22
23
|
return
|
23
24
|
end
|
@@ -28,6 +29,8 @@ module Pixab
|
|
28
29
|
@is_need_build = true
|
29
30
|
when "--remote-repo"
|
30
31
|
@is_need_remote_repo = true
|
32
|
+
when "--no-pod-install"
|
33
|
+
@is_need_pod_install = false
|
31
34
|
else
|
32
35
|
end
|
33
36
|
end
|
@@ -145,9 +148,11 @@ module Pixab
|
|
145
148
|
end
|
146
149
|
end
|
147
150
|
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
+
if is_need_pod_install
|
152
|
+
system "mbox pod install --repo-update"
|
153
|
+
Utilities.check_shell_result("Error: execute `mbox pod install --repo-update` failed")
|
154
|
+
end
|
155
|
+
|
151
156
|
@updated_repo_names = updated_repo_names
|
152
157
|
end
|
153
158
|
|
data/lib/pixab/version.rb
CHANGED