cocoapods-fix-module 0.0.5 → 0.0.6

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
- SHA1:
3
- metadata.gz: c7c23b319d8524ea1e986fac6222acba692288de
4
- data.tar.gz: 7ca8dd68331536137f9dbfcda26558dc430630f3
2
+ SHA256:
3
+ metadata.gz: c21380854060c0604f4390ca3f13599068c93b8314e0d442af2a70666df60af0
4
+ data.tar.gz: 21356cb7eda94d9411b7e451864408f08237bd26140ae13e60f056856d25c674
5
5
  SHA512:
6
- metadata.gz: d9b52ab918ac476303a9c2272ad05ca77448d7995413e5293b8e008aa4b616382add50032c2147e877c857894a890da13d239e4ceaef9c3d2214b8ed06d57d27
7
- data.tar.gz: 9ec5e9ef4254ade75e657d1d98644097ab9fe953bc0bf0c13e911b59299cafb9585128f083cd6d0f2a6d28538471562e44bdb2be2789c8799d2f92301f11d81a
6
+ metadata.gz: 2f3977a7a6902688c509e6f5e4b907285b8260d606cde3dcae1c82071a972622cac6b58e508b67b17e18f6ad2b9e65b16cb56ef72aedc3d64ee328637b8f4da1
7
+ data.tar.gz: f2622571c1c08b14ecd1332d1ff43d89410b1e7d2468ae5dc1f25e833345386b7e266bc93c24e9b60fc6179d0e8f9d218f3f3582a82b1a58d1acc85ee8563365
@@ -1,3 +1,3 @@
1
1
  module CocoapodsFixModule
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -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? do |file_accessor|
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? do |file_accessor|
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.5
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-03-11 00:00:00.000000000 Z
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
- rubyforge_project:
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.