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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c02bcde380b2c40f7148bd98fc0676e714539711f937c049c2dd374849f1cd3
4
- data.tar.gz: 6840508979f9ec350b7e6c4938f23798cc08b185d09938c0f01a2d65ecdf2aba
3
+ metadata.gz: b03b65f7bf7d80230d487db6aa9ca017b27d46aba765d024c9cde1e837cf4bcd
4
+ data.tar.gz: 4c9226132e45b49e80f8f61f3159075ff5c1d3469d00282abba43029226267b0
5
5
  SHA512:
6
- metadata.gz: 6ffa109d43a08fe46f96364db4fa62194c4b7beec3847a570700897fac6aef35a2d9e823333dc03ffdfaa1e27ce476ad2db5726f6de9d6ac139dc2d4d803b820
7
- data.tar.gz: 72c92734afd566904d2c774d88b860c2516b65b2ee61ee59df44d538a5aa9d0013d34bc3d93198e0d8c50c248190f2706e4fa6736661bcb862de4f07aa305057
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.9)
4
+ cocoapods-aqarahome (0.0.11)
5
5
  claide (>= 1.0.2, < 2.0)
6
6
 
7
7
  GEM
@@ -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
@@ -5,6 +5,7 @@ module CocoapodsAqarahome
5
5
  # The primary Command for VFS.
6
6
  class Command < CLAide::Command
7
7
  require 'cocoapods-aqarahome/command/aqarahome'
8
+ require 'cocoapods-aqarahome/command/build'
8
9
 
9
10
  self.abstract_command = false
10
11
  self.command = 'aqarahome'
@@ -1,3 +1,3 @@
1
1
  module CocoapodsAqarahome
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.11"
3
3
  end
@@ -1,4 +1,5 @@
1
1
  require 'cocoapods-aqarahome'
2
+ require 'cocoapods-aqarahome/command/build'
2
3
  module Pod
3
4
  # hook
4
5
  @HooksManager = HooksManager
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.9
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: 2024-07-18 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
@@ -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.3.26
104
+ rubygems_version: 3.2.22
104
105
  signing_key:
105
106
  specification_version: 4
106
107
  summary: 私有库不需要每次更新都在主工程的podfile更新