cocoapods-packing-cubes 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods_packing_cubes.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2049ce9f2aed4ed34fd3bf6038bcc8e280357c603db499f3bb48810d52aba372
|
4
|
+
data.tar.gz: d5ab345534507599ea76bc6a6b829338003bd279f711703e78d7ccd7b37e0b4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68f1b29bc6379809b9d0f77245927cb04effe3b6e039bcd5904901710d790da3ab6e384bd20f3f54d238553cf57ec2ea0c0c3e119677326e8a3db22fa4a5f956
|
7
|
+
data.tar.gz: 73c232da76e31a31fca6bf588f76ba2cc3a8eafaaf954b9abf116f36c05e5644fdfb027cedfd9e8869f9692ef5e949e334788d1cdfc74bbe9f9923fe62844e44
|
@@ -54,7 +54,7 @@ module CocoaPodsPackingCubes
|
|
54
54
|
host_requires_frameworks? ? :framework : :library
|
55
55
|
end.to_sym
|
56
56
|
linkage = packing_cube.fetch('linkage') do
|
57
|
-
!host_requires_frameworks? || static_framework
|
57
|
+
!host_requires_frameworks? || root_spec.static_framework ? :static : :dynamic
|
58
58
|
end.to_sym
|
59
59
|
|
60
60
|
@type = ::CocoaPodsPackingCubes::Type.new(linkage: linkage, packaging: packaging)
|
@@ -68,8 +68,8 @@ module CocoaPodsPackingCubes
|
|
68
68
|
# HACK: needed because CocoaPods, pre-introduction of the `type` type/attr,
|
69
69
|
# would check #requires_frameworks? instead of #host_requires_frameworks?
|
70
70
|
# for finding the PodTarget to set as a dependency of another PodTarget.
|
71
|
-
if !::CocoaPodsPackingCubes::NATIVE_TYPE_SUPPORT &&
|
72
|
-
caller_locations(1, 2).any? { |l| l.
|
71
|
+
if !::CocoaPodsPackingCubes::NATIVE_TYPE_SUPPORT && !packing_cube.empty? &&
|
72
|
+
caller_locations(1, 2).any? { |l| l.base_label == 'filter_dependencies' }
|
73
73
|
|
74
74
|
return super
|
75
75
|
end
|