cocoapods-core 1.7.0.rc.1 → 1.7.0.rc.2
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: 17f06f9ced420aeb7d17c90b49336e7eff84d8856667380dd2948e8500c76045
|
4
|
+
data.tar.gz: 35304f93a216f888eacbce95fc72f7998b7072cda91a3c57acf4ff2faa77ef31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b1a1adc6cb52433a0467a9ccbd9a9b76d142aac83eae845fb7dd1b176676b2646fe97dd287ab8a3733c637cfd4ff1fede29651113f78710f82661270ac0209c
|
7
|
+
data.tar.gz: 9653807791a8eccb72670b8a5a39b7a047806eb009e133fd00eaa558e01646b8c7a53112d639d62638735c75d8c2bea04142e8ed7683e1fbaf4697cfc3bf6e1c
|
@@ -35,6 +35,11 @@ module Pod
|
|
35
35
|
hash['appspecs'] = all_appspecs.map(&:to_hash) unless all_appspecs.empty?
|
36
36
|
hash['subspecs'] = all_subspecs.map(&:to_hash) unless all_subspecs.empty?
|
37
37
|
|
38
|
+
# Since CocoaPods 1.7 version the DSL has changed to be pluralized. When we serialize a podspec to JSON with
|
39
|
+
# 1.7, ensure that we also include the singular version in the hash to maintain backwards compatibility with
|
40
|
+
# < 1.7 versions.
|
41
|
+
hash['swift_version'] = swift_version.to_s unless swift_version.nil?
|
42
|
+
|
38
43
|
hash
|
39
44
|
end
|
40
45
|
end
|
@@ -42,7 +42,8 @@ module Pod
|
|
42
42
|
def check_attributes
|
43
43
|
attributes_keys = Pod::Specification::DSL.attributes.keys.map(&:to_s)
|
44
44
|
platform_keys = Specification::DSL::PLATFORMS.map(&:to_s)
|
45
|
-
|
45
|
+
deprecated_keys = ['swift_version']
|
46
|
+
valid_keys = attributes_keys + platform_keys + deprecated_keys
|
46
47
|
attributes_hash = consumer.spec.attributes_hash
|
47
48
|
keys = attributes_hash.keys
|
48
49
|
Specification::DSL::PLATFORMS.each do |platform|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.0.rc.
|
4
|
+
version: 1.7.0.rc.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-05-
|
12
|
+
date: 2019-05-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
|
-
rubygems_version: 3.0.
|
149
|
+
rubygems_version: 3.0.3
|
150
150
|
signing_key:
|
151
151
|
specification_version: 3
|
152
152
|
summary: The models of CocoaPods
|