cocoapods-vbbuildsource 0.0.3 → 0.0.4

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: 0aef564596d34a0e5ade54a1d465e0672278b760ccf02f9502c9184432d1cfc8
4
- data.tar.gz: 1c1264bb6c7675660b172d35498c9cb4890a2c4353ecfda5df6f1790cd0953aa
3
+ metadata.gz: aa03f420636e55b7ef86a630b852eb412c481824d9ee86067ec1e3b05e64ccca
4
+ data.tar.gz: 67d427802db66e035f29e1ab4ae36e4701c4c80c2a6ee113e04593dab967906e
5
5
  SHA512:
6
- metadata.gz: 208b621a0d96418236bf4f98620d8466015de7fad0fb75a576581c56f8654fe977b567788d261c14b4c77e2f15878fe194299aab9ebca0d873fe80da7d240214
7
- data.tar.gz: a4d568f721d44dfba4bc0cab99f20cf49d78f065371fdc9794c0fd2d3043b4a3b952d029dd6b0fd9060615c86bee22f385fe29dfff83ac617881549fa135875d
6
+ metadata.gz: ab43c5e1a635bde0f39d0b87c910a05da207becbece6bb20d69c3f55c89150ab5c0b758876de9b78ddf0926da9670a2856cc6912a031d1aaa161fa67e561a84a
7
+ data.tar.gz: 6a6acf5f7462fc633cfddaafc42669ff38a54af516ee22dc996d2eccf0a16e994cb00074482e160ebeda9d93ec500576d9bae649432681cef8535984b608e63f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-vbbuildsource (0.0.3)
4
+ cocoapods-vbbuildsource (0.0.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
Binary file
@@ -51,11 +51,17 @@ module Pod
51
51
 
52
52
  help! "该pod库 #{@module_name} 未找到" unless pod_target
53
53
 
54
- framework_file_path = pod_target.all_files.first
55
-
56
- framework_file_path = Pathname.new(framework_file_path) if framework_file_path.is_a? String
54
+ file_list = Array.new(pod_target.all_files.count) { |index|
55
+ file = pod_target.all_files[index]
56
+ if file.is_a? String
57
+ Pathname.new(file)
58
+ else
59
+ file
60
+ end
61
+ }
62
+ framework_file_path = file_list.detect {|each| each.extname.end_with? 'framework'}
57
63
 
58
- help! "该pod库 #{@module_name} 不是一个framework" unless pod_target.all_files.count == 1 and framework_file_path.extname.end_with? 'framework'
64
+ help! "该pod库 #{@module_name} 不是一个framework" unless framework_file_path
59
65
 
60
66
  binary_build_path = find_binary_build_path framework_file_path
61
67
 
@@ -1,3 +1,3 @@
1
1
  module CocoapodsVbbuildsource
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-vbbuildsource
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - faliu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-10 00:00:00.000000000 Z
11
+ date: 2021-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -51,6 +51,7 @@ files:
51
51
  - LICENSE.txt
52
52
  - README.md
53
53
  - Rakefile
54
+ - cocoapods-vbbuildsource-0.0.3.gem
54
55
  - cocoapods-vbbuildsource.gemspec
55
56
  - image/filepath.png
56
57
  - image/image.gif