cocoapods-aqarahome 0.0.9 → 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 +38 -0
- data/lib/cocoapods-aqarahome/command.rb +1 -0
- data/lib/cocoapods-aqarahome/gem_version.rb +1 -1
- data/lib/cocoapods_plugin.rb +1 -0
- metadata +4 -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
@@ -0,0 +1,38 @@
|
|
1
|
+
|
2
|
+
module Pod
|
3
|
+
class Command
|
4
|
+
class Build < Command
|
5
|
+
self.summary = 'A custom build command'
|
6
|
+
self.description = 'Custom build with envs and plugin adjustments.'
|
7
|
+
|
8
|
+
def initialize(argv)
|
9
|
+
@envs = []
|
10
|
+
while (arg = argv.shift_argument)
|
11
|
+
@envs << "#{arg}=1"
|
12
|
+
end
|
13
|
+
super
|
14
|
+
end
|
15
|
+
|
16
|
+
def run
|
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'] = {}
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
data/lib/cocoapods_plugin.rb
CHANGED
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:
|
11
|
+
date: 2025-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -77,6 +77,7 @@ files:
|
|
77
77
|
- lib/cocoapods-aqarahome/command.rb
|
78
78
|
- lib/cocoapods-aqarahome/command/Podfile_Dev.rb
|
79
79
|
- lib/cocoapods-aqarahome/command/aqarahome.rb
|
80
|
+
- lib/cocoapods-aqarahome/command/build.rb
|
80
81
|
- lib/cocoapods-aqarahome/gem_version.rb
|
81
82
|
- lib/cocoapods_plugin.rb
|
82
83
|
- spec/command/aqarahome_spec.rb
|
@@ -100,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
100
101
|
- !ruby/object:Gem::Version
|
101
102
|
version: '0'
|
102
103
|
requirements: []
|
103
|
-
rubygems_version: 3.
|
104
|
+
rubygems_version: 3.2.22
|
104
105
|
signing_key:
|
105
106
|
specification_version: 4
|
106
107
|
summary: 私有库不需要每次更新都在主工程的podfile更新
|