cocoapods-aqarahome 0.0.2 → 0.0.3
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/cocoapods-aqarahome/command/Podfile_Dev.rb +20 -2
- data/lib/cocoapods-aqarahome/gem_version.rb +1 -1
- 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: d4f69d32abe3b6bc0da838fc5ea10263ddbc6bc0d37c22ad7f0db637db0b9324
|
4
|
+
data.tar.gz: f8b6e892e51fe9e21f2488606ce1459b8106f46fbf7e1644ccfae5fa7d3ebb22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab3611fe5ea0e4d099ba9303feefa2626954f38d2f6b8e94890878257271c867a8c79a9fec9ab28780875ef294a560aaa81db954cc2ca0fe91c11aae0517e3eb
|
7
|
+
data.tar.gz: 13cf1a5ae86da1874f108fec2b9dce6fc8b63c73fd135b33b38514da5e919efd193fd1505a0bec18497e5322e85d8f54590490067417b8adc2fdc8bc70f57a3a
|
data/Gemfile.lock
CHANGED
@@ -10,6 +10,12 @@ module Pod
|
|
10
10
|
# pod name, :git => "https://xyz.com/ios/#{name}.git", :branch => "#{branch}"
|
11
11
|
# end
|
12
12
|
pull_latest_code_and_resolve_conflict(pods)
|
13
|
+
podStr = pods.join(", ")
|
14
|
+
puts "成功清除私有库".green + "#{podStr}".yellow + "的缓存数据".green
|
15
|
+
pods.each do |pod|
|
16
|
+
args = ['clean',pod]
|
17
|
+
Pod::Command::Cache.run(args)
|
18
|
+
end
|
13
19
|
# puts "lebbay: using remote pods with branch: #{branch}".green
|
14
20
|
else
|
15
21
|
# 自定义开发目录
|
@@ -30,17 +36,29 @@ module Pod
|
|
30
36
|
puts '|========================================================================|'.red
|
31
37
|
end
|
32
38
|
|
39
|
+
def code_signing_allow_no!
|
40
|
+
post_install do |installer|
|
41
|
+
installer.pods_project.targets.each do |target|
|
42
|
+
if target.respond_to?(:product_type) and target.product_type == "com.apple.product-type.bundle"
|
43
|
+
target.build_configurations.each do |config|
|
44
|
+
config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
33
51
|
#--------------------------------------#
|
34
52
|
|
35
53
|
private
|
36
54
|
|
37
55
|
def pull_latest_code_and_resolve_conflict(pods)
|
38
56
|
# 1、Podfile.lock
|
39
|
-
puts "正在清理Podfile.lock中私有库的commit信息..."
|
57
|
+
puts "正在清理Podfile.lock中私有库的commit信息..."
|
40
58
|
rewrite_lock_file(pods, Config.instance.lockfile_path)
|
41
59
|
puts "Podfile.lock中私有库的commit信息已清除!".green
|
42
60
|
# 2、Manifest.lock
|
43
|
-
puts "正在清理Manifest.lock中私有库的commit信息..."
|
61
|
+
puts "正在清理Manifest.lock中私有库的commit信息..."
|
44
62
|
rewrite_lock_file(pods, Config.instance.sandbox.manifest_path)
|
45
63
|
puts "Manifest.lock中私有库的commit信息已清除!".green
|
46
64
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-aqarahome
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zhaoxifan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|