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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2fde43812df0d08fc64c8a7b8fef03f1ad819d2e0e670bdc6f7e5c0383c8a54b
4
- data.tar.gz: 2b2ac777d8877afaddd65cb3794ae9f343250e7ab184c80065b9a7b3d86dd3de
3
+ metadata.gz: a1d9d20211a076f5aa53877d9aec3af004ff54c00361068bf845d32bade58cd1
4
+ data.tar.gz: 17e23e5550e7fc29cb49a8ea7f994b6e09f301effcb19750d9e551dd95b032f5
5
5
  SHA512:
6
- metadata.gz: 3f0fc1d6dd5176528637f30bd13c24a204eb83b30ce3d0df27b52c76ab219d613acfe9a262a9224174d826780830083f11f1bc4d4c42a088a13945544b0202ac
7
- data.tar.gz: b3d13861a18df847bf57d16943bd6b1af20bb9c8906a7085eb95f44a936a2d82ee9024b3fb3dc10185ec3d4536884299814742b404d6e95d05802e024c546a15
6
+ metadata.gz: 80b1fe03add7ca55880118b15fecffe82063ad25c8aa2eea9c6441864f124eb8b6fda201d4d285f2c31b233760f4df8429df5904ee26adadad56494379aceb51
7
+ data.tar.gz: dc9b4e3de636ee021b5a0fed02db99fcc151c00b844a34a4b5f7bdbe705b2bccff9b8be1c57832b14e5119b3810c3f77c2b86edd88bcd28d1522b0df727e1913
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-aqarahome (0.0.2)
4
+ cocoapods-aqarahome (0.0.4)
5
5
  claide (>= 1.0.2, < 2.0)
6
6
 
7
7
  GEM
@@ -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信息...".red
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信息...".red
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
@@ -1,3 +1,3 @@
1
1
  module CocoapodsAqarahome
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
3
3
  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.2
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-29 00:00:00.000000000 Z
11
+ date: 2022-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler