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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cocoapods-aqarahome/command/build.rb +21 -5
- data/lib/cocoapods-aqarahome/gem_version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b03b65f7bf7d80230d487db6aa9ca017b27d46aba765d024c9cde1e837cf4bcd
|
4
|
+
data.tar.gz: 4c9226132e45b49e80f8f61f3159075ff5c1d3469d00282abba43029226267b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87eed7145e7937ca82b2300489cf7d09559212fc00b129dcb487d966f719bcc3e18c552ad782f90b12fbced8df909114c81e03104a52a57869cd718ca8d53894
|
7
|
+
data.tar.gz: c96809a565db7a6b37764785c127fe8658298214a611671d2a341f4fd09a7c247499e6ac8814e201a8491e374977dc01d244c8270baac20f3712e024b2cddc23
|
data/Gemfile.lock
CHANGED
@@ -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 = '
|
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}=
|
11
|
+
@envs << "#{arg}=1"
|
13
12
|
end
|
14
13
|
super
|
15
14
|
end
|
16
15
|
|
17
16
|
def run
|
18
|
-
|
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
|
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.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-
|
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.
|
104
|
+
rubygems_version: 3.2.22
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: 私有库不需要每次更新都在主工程的podfile更新
|