cocoapods-dev-env 0.9.4 → 0.9.5
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/cocoapods/dev/env/version.rb +1 -1
- data/lib/cocoapods_plugin.rb +10 -9
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fd68a372c6dd4a725b88b5a9ec980e74dc08cf8a20f4548c04e5d339dbacec41
|
|
4
|
+
data.tar.gz: bf1e33191942fc5b085681fe39a943a99f6518ea052bf96e71b970d22bb637b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a711c3ca0d7bc6beee77bae2b6b2255b43f642de3aebe33a4c8f4c253f28c33c2c240e751e81f87603111b389fd93cb83218d551963a35e8931da97e4bbdf60
|
|
7
|
+
data.tar.gz: c98b59b570d976f4486c3e0bb5e53562cffbdacab07a10cf6de123415babbd71d1c35fce79ffe4285fedcedfbf5704d4ca914da904d63d57d8b4bf20441a69d1
|
data/lib/cocoapods_plugin.rb
CHANGED
|
@@ -111,6 +111,10 @@ class Podfile
|
|
|
111
111
|
end
|
|
112
112
|
|
|
113
113
|
def inputNeedJumpForReson(str)
|
|
114
|
+
if ARGV.include? '--silent'
|
|
115
|
+
return false
|
|
116
|
+
end
|
|
117
|
+
|
|
114
118
|
puts str.green
|
|
115
119
|
puts '是(Y), 任意其他输入或直接回车跳过'.green
|
|
116
120
|
input = STDIN.gets
|
|
@@ -200,24 +204,21 @@ class Podfile
|
|
|
200
204
|
end
|
|
201
205
|
UI.message "pod #{pod_name.green} enabled #{"subtree".green}-mode 🍺"
|
|
202
206
|
elsif dev_env == 'dev'
|
|
203
|
-
if ARGV.include? '--aaa'
|
|
204
|
-
UI.puts "XXXXXXXXXXX".yellow
|
|
205
|
-
end
|
|
206
207
|
# 开发模式,使用path方式引用本地的submodule git库
|
|
207
208
|
if !File.directory?(path)
|
|
208
209
|
UI.puts "add submodule for #{pod_name.green}".yellow
|
|
209
210
|
# TODO 这个命令要想办法展示实际报错信息
|
|
210
211
|
`git submodule add --force -b #{branch} #{git} #{path}`
|
|
211
|
-
if inputNeedJumpForReson("本地库#{pod_name} 开发模式加载完成,是否自动打开Example工程")
|
|
212
|
-
|
|
213
|
-
end
|
|
212
|
+
# if inputNeedJumpForReson("本地库#{pod_name} 开发模式加载完成,是否自动打开Example工程")
|
|
213
|
+
# searchAndOpenLocalExample(path)
|
|
214
|
+
# end
|
|
214
215
|
if !checkTagIsEqualToHead(tag, path) && !checkTagIsEqualToHead("#{tag}_beta", path)
|
|
215
216
|
raise "💔 #{pod_name.yellow} branch:#{branch.yellow} 与 tag:#{tag.yellow}[_beta] 内容不同步,请自行确认所用分支和tag后重新执行 pod install"
|
|
216
217
|
end
|
|
217
218
|
else
|
|
218
|
-
if inputNeedJumpForReson("本地库#{pod_name} 处于开发模式,是否自动打开Example工程")
|
|
219
|
-
|
|
220
|
-
end
|
|
219
|
+
# if inputNeedJumpForReson("本地库#{pod_name} 处于开发模式,是否自动打开Example工程")
|
|
220
|
+
# searchAndOpenLocalExample(path)
|
|
221
|
+
# end
|
|
221
222
|
end
|
|
222
223
|
options[:path] = path
|
|
223
224
|
if requirements.length >= 2
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-dev-env
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
4
|
+
version: 0.9.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- 吴锡苗
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-05-
|
|
11
|
+
date: 2020-05-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|