cocoapods-aqarahome 0.0.10 → 0.0.11

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2356859fedd3067808eb5b892ea49e565ac7b568cad5fe3753520e843ba01b45
4
- data.tar.gz: 29c5bd1670979fb4780fc3c6059deaca90505e6ca1a4efa8261b4373675481e7
3
+ metadata.gz: b03b65f7bf7d80230d487db6aa9ca017b27d46aba765d024c9cde1e837cf4bcd
4
+ data.tar.gz: 4c9226132e45b49e80f8f61f3159075ff5c1d3469d00282abba43029226267b0
5
5
  SHA512:
6
- metadata.gz: dc5ec5175639144426b08b386d1d485e1e6410f073a7f4c39b2527d33a6feb99dc8673b90ca50acc5a6173e6871fa9cacc35b4f010ec898cf89442b6b1e161ae
7
- data.tar.gz: ccba23cf0ed4061ac9637e4e7b4b2abf890bcc2c88d78f6f9a54c527596e9e2dbf6f0595936f6b95f50f3bcae6f4484993624c4385a7d181146e5d83b9f09c10
6
+ metadata.gz: 87eed7145e7937ca82b2300489cf7d09559212fc00b129dcb487d966f719bcc3e18c552ad782f90b12fbced8df909114c81e03104a52a57869cd718ca8d53894
7
+ data.tar.gz: c96809a565db7a6b37764785c127fe8658298214a611671d2a341f4fd09a7c247499e6ac8814e201a8491e374977dc01d244c8270baac20f3712e024b2cddc23
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-aqarahome (0.0.10)
4
+ cocoapods-aqarahome (0.0.11)
5
5
  claide (>= 1.0.2, < 2.0)
6
6
 
7
7
  GEM
@@ -3,19 +3,35 @@ module Pod
3
3
  class Command
4
4
  class Build < Command
5
5
  self.summary = 'A custom build command'
6
- self.description = 'This is a custom build command to do something specific.'
6
+ self.description = 'Custom build with envs and plugin adjustments.'
7
+
7
8
  def initialize(argv)
8
9
  @envs = []
9
-
10
- # 循环直到没有更多非选项参数
11
10
  while (arg = argv.shift_argument)
12
- @envs << "#{arg}=0"
11
+ @envs << "#{arg}=1"
13
12
  end
14
13
  super
15
14
  end
16
15
 
17
16
  def run
18
- system("#{@envs.join(' ')} pod install")
17
+ # 设置环境变量
18
+ @envs.each do |env|
19
+ key, val = env.split('=')
20
+ ENV[key] = val
21
+ UI.puts "当前环境变量 #{key}=#{val}"
22
+ end
23
+
24
+ podfile = Pod::Config.instance.podfile
25
+
26
+ if podfile.plugins.key?('cocoapods-aqara-localzedLoader')
27
+ UI.puts "跳过多语言下载和更新过程".yellow
28
+ podfile.plugins.delete('cocoapods-aqara-localzedLoader')
29
+ end
30
+
31
+ install_cmd = Pod::Command::Install.new(CLAide::ARGV.new([]))
32
+ install_cmd.run
33
+
34
+ podfile.plugins['cocoapods-aqara-localzedLoader'] = {}
19
35
  end
20
36
  end
21
37
  end
@@ -1,3 +1,3 @@
1
1
  module CocoapodsAqarahome
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
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.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - zhaoxifan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-26 00:00:00.000000000 Z
11
+ date: 2025-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.3.26
104
+ rubygems_version: 3.2.22
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: 私有库不需要每次更新都在主工程的podfile更新