cocoapods-aqarahome 0.0.2 → 0.0.4
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: a1d9d20211a076f5aa53877d9aec3af004ff54c00361068bf845d32bade58cd1
|
4
|
+
data.tar.gz: 17e23e5550e7fc29cb49a8ea7f994b6e09f301effcb19750d9e551dd95b032f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80b1fe03add7ca55880118b15fecffe82063ad25c8aa2eea9c6441864f124eb8b6fda201d4d285f2c31b233760f4df8429df5904ee26adadad56494379aceb51
|
7
|
+
data.tar.gz: dc9b4e3de636ee021b5a0fed02db99fcc151c00b844a34a4b5f7bdbe705b2bccff9b8be1c57832b14e5119b3810c3f77c2b86edd88bcd28d1522b0df727e1913
|
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, "--all"]
|
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.4
|
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-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|