cocoapods-user-defined-build-types 0.0.6 → 0.0.7
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
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71f2fdc9a1dec7d5d96fbc13e5eca9726d2280b6e9d240f249327c0a176c0732
|
4
|
+
data.tar.gz: d33e1ae84757656b9cec680fde559aa05616e665f9af2ae712a82fb090b456dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6460207475805546add3057f91950f72f4eb944251ec84f448bb80de22fbb0ed973a46c82472fabbb29b35d10335aedf2dc01ee27219473251f7998ea51f0393
|
7
|
+
data.tar.gz: 00af423a20f09a2415a1db5aa397c5d326ca2880f5f998cfb4c9327d6d5a77b5ba545d2878afb1a23e9a5bdeb3d0efb0c3f6f9eb76f3ab3308f21d19f17bb32e
|
@@ -1,3 +1,8 @@
|
|
1
|
+
is_version_1_9_x = Pod.const_defined?(:BuildType) # CP v1.9.x
|
2
|
+
|
3
|
+
# Assign BuildType to proper module definition dependent on CP version.
|
4
|
+
BuildType = is_version_1_9_x ? Pod::BuildType : Pod::Target::BuildType
|
5
|
+
|
1
6
|
module Pod
|
2
7
|
class UserOption
|
3
8
|
|
@@ -8,10 +13,10 @@ module Pod
|
|
8
13
|
# [Hash{String, BuildType}] mapping of Podfile keyword to a BuildType
|
9
14
|
def self.keyword_mapping
|
10
15
|
{
|
11
|
-
:dynamic_framework =>
|
12
|
-
:dynamic_library =>
|
13
|
-
:static_framework =>
|
14
|
-
:static_library =>
|
16
|
+
:dynamic_framework => BuildType.dynamic_framework,
|
17
|
+
:dynamic_library => BuildType.dynamic_library,
|
18
|
+
:static_framework => BuildType.static_framework,
|
19
|
+
:static_library => BuildType.static_library
|
15
20
|
}
|
16
21
|
end
|
17
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-user-defined-build-types
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Cardasis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|