cocoapods-fix-module 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c21380854060c0604f4390ca3f13599068c93b8314e0d442af2a70666df60af0
|
4
|
+
data.tar.gz: 21356cb7eda94d9411b7e451864408f08237bd26140ae13e60f056856d25c674
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f3977a7a6902688c509e6f5e4b907285b8260d606cde3dcae1c82071a972622cac6b58e508b67b17e18f6ad2b9e65b16cb56ef72aedc3d64ee328637b8f4da1
|
7
|
+
data.tar.gz: f2622571c1c08b14ecd1332d1ff43d89410b1e7d2468ae5dc1f25e833345386b7e266bc93c24e9b60fc6179d0e8f9d218f3f3582a82b1a58d1acc85ee8563365
|
@@ -22,9 +22,7 @@ module Pod
|
|
22
22
|
return @uses_libraries_no_frameworks if defined? @uses_libraries_no_frameworks
|
23
23
|
@uses_libraries_no_frameworks = begin
|
24
24
|
accessors = file_accessors.reject { |a| a.spec.test_specification? }
|
25
|
-
!accessors.empty? && accessors.all?
|
26
|
-
!file_accessor.vendored_libraries.blank? && file_accessor.vendored_frameworks.blank?
|
27
|
-
end
|
25
|
+
!accessors.empty? && accessors.all?{ |a| a.vendored_frameworks.blank? } && accessors.any?{ |a| not a.vendored_libraries.blank? }
|
28
26
|
end
|
29
27
|
end
|
30
28
|
|
@@ -47,7 +45,11 @@ module Pod
|
|
47
45
|
FIX_MODULE_OLD_install = instance_method(:install!)
|
48
46
|
define_method(:install!) do
|
49
47
|
|
48
|
+
if target.name == "BDWebImage"
|
49
|
+
p target.name, target.should_build?, target.send(:uses_modular_headers?), target.send(:contain_vendored_libraries_and_no_vendored_frameworks?)
|
50
|
+
end
|
50
51
|
if (not target.should_build?) && target.should_generate_module_map_for_a_pod_should_not_build?
|
52
|
+
p "HIT"
|
51
53
|
# special handling for pod with no source code
|
52
54
|
|
53
55
|
# Most code below are copied from original install! method
|
@@ -21,9 +21,7 @@ module Pod
|
|
21
21
|
return @uses_libraries_no_frameworks if defined? @uses_libraries_no_frameworks
|
22
22
|
@uses_libraries_no_frameworks = begin
|
23
23
|
accessors = file_accessors.reject { |a| a.spec.test_specification? }
|
24
|
-
!accessors.empty? && accessors.all?
|
25
|
-
!file_accessor.vendored_libraries.blank? && file_accessor.vendored_frameworks.blank?
|
26
|
-
end
|
24
|
+
!accessors.empty? && accessors.all?{ |a| a.vendored_frameworks.blank? } && accessors.any?{ |a| not a.vendored_libraries.blank? }
|
27
25
|
end
|
28
26
|
end
|
29
27
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-fix-module
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leavez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -91,8 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '0'
|
93
93
|
requirements: []
|
94
|
-
|
95
|
-
rubygems_version: 2.5.2.3
|
94
|
+
rubygems_version: 3.0.3
|
96
95
|
signing_key:
|
97
96
|
specification_version: 4
|
98
97
|
summary: A longer description of cocoapods-fix-module.
|