cocoapods-aqarahome 0.0.8 → 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: 5e90fe4adbedf4e25a6df012ccd072f76c3bf02eccf7e238dfc6d489845501f7
4
- data.tar.gz: 691355cd0ec6ca8606c28ef0b192bef3a43f3c065e728acbe7fa8e714fae0b9b
3
+ metadata.gz: 2356859fedd3067808eb5b892ea49e565ac7b568cad5fe3753520e843ba01b45
4
+ data.tar.gz: 29c5bd1670979fb4780fc3c6059deaca90505e6ca1a4efa8261b4373675481e7
5
5
  SHA512:
6
- metadata.gz: f84ffc810111f264e67951e598bc55d12d2fd78d296c2f3002c642637bf465cc9314409a8e94be9777bca68a70adb6cccfd2edd54cb4d06b42aef864be6e453d
7
- data.tar.gz: d031e883823ff63c9429f94de302599b26045339039622019eb6e5ad9ca2f54088f33c778237dbc059c35793d1a7b8f3509557ca407f9dac1fca4d9d9f2eb73c
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.8)
4
+ cocoapods-aqarahome (0.0.10)
5
5
  claide (>= 1.0.2, < 2.0)
6
6
 
7
7
  GEM
@@ -9,13 +9,13 @@ module Pod
9
9
  if git_pull
10
10
  pull_local_sdk_origin_source(pods)
11
11
  elsif
12
- pull_latest_code_and_resolve_conflict(pods)
13
12
  podStr = pods.join(", ")
14
13
  puts "成功清除私有库".green + "#{podStr}".yellow + "的缓存数据".green
15
14
  pods.each do |pod|
16
15
  args = ['clean',pod, "--all"]
17
16
  Pod::Command::Cache.run(args)
18
17
  end
18
+ pull_latest_code_and_resolve_conflict(pods)
19
19
  end
20
20
  # pods.each do |name|
21
21
  # pod name, :git => "https://xyz.com/ios/#{name}.git", :branch => "#{branch}"
@@ -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.8"
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.8
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-05-10 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