cocoapods-aqarahome 0.0.9 → 0.0.10

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: 2356859fedd3067808eb5b892ea49e565ac7b568cad5fe3753520e843ba01b45
4
+ data.tar.gz: 29c5bd1670979fb4780fc3c6059deaca90505e6ca1a4efa8261b4373675481e7
5
5
  SHA512:
6
- metadata.gz: 6ffa109d43a08fe46f96364db4fa62194c4b7beec3847a570700897fac6aef35a2d9e823333dc03ffdfaa1e27ce476ad2db5726f6de9d6ac139dc2d4d803b820
7
- data.tar.gz: 72c92734afd566904d2c774d88b860c2516b65b2ee61ee59df44d538a5aa9d0013d34bc3d93198e0d8c50c248190f2706e4fa6736661bcb862de4f07aa305057
6
+ metadata.gz: dc5ec5175639144426b08b386d1d485e1e6410f073a7f4c39b2527d33a6feb99dc8673b90ca50acc5a6173e6871fa9cacc35b4f010ec898cf89442b6b1e161ae
7
+ data.tar.gz: ccba23cf0ed4061ac9637e4e7b4b2abf890bcc2c88d78f6f9a54c527596e9e2dbf6f0595936f6b95f50f3bcae6f4484993624c4385a7d181146e5d83b9f09c10
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.10)
5
5
  claide (>= 1.0.2, < 2.0)
6
6
 
7
7
  GEM
@@ -0,0 +1,22 @@
1
+
2
+ module Pod
3
+ class Command
4
+ class Build < Command
5
+ self.summary = 'A custom build command'
6
+ self.description = 'This is a custom build command to do something specific.'
7
+ def initialize(argv)
8
+ @envs = []
9
+
10
+ # 循环直到没有更多非选项参数
11
+ while (arg = argv.shift_argument)
12
+ @envs << "#{arg}=0"
13
+ end
14
+ super
15
+ end
16
+
17
+ def run
18
+ system("#{@envs.join(' ')} pod install")
19
+ end
20
+ end
21
+ end
22
+ 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.10"
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.10
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-03-26 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