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: cb68b94106cf6f1d02ab803bdcdbb9931a4c5664a7f81baefcda612787da6ee3
4
- data.tar.gz: 74adb496319597122afef2db55ea2961c5d4966d9997bd2af19b99d78b115929
3
+ metadata.gz: 17f06f9ced420aeb7d17c90b49336e7eff84d8856667380dd2948e8500c76045
4
+ data.tar.gz: 35304f93a216f888eacbce95fc72f7998b7072cda91a3c57acf4ff2faa77ef31
5
5
  SHA512:
6
- metadata.gz: af7a2b30f78d44e98ecdd18ff4b90883aea074564a37b254a53f5d243638e459d97886749cb317d722fade7074f4e78c5d7e779cff7019f0e2be613cc45aadb0
7
- data.tar.gz: 299e8b01620fd4bfca38b4cd3660ab293f38a74c62d7681922d7313f1a6cec3c47420ac3caadc161db08f8d7e0c71704637fccf32b697e7cc28dd121f9725b07
6
+ metadata.gz: 5b1a1adc6cb52433a0467a9ccbd9a9b76d142aac83eae845fb7dd1b176676b2646fe97dd287ab8a3733c637cfd4ff1fede29651113f78710f82661270ac0209c
7
+ data.tar.gz: 9653807791a8eccb72670b8a5a39b7a047806eb009e133fd00eaa558e01646b8c7a53112d639d62638735c75d8c2bea04142e8ed7683e1fbaf4697cfc3bf6e1c
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods-core.
3
3
  #
4
- CORE_VERSION = '1.7.0.rc.1'.freeze unless defined? Pod::CORE_VERSION
4
+ CORE_VERSION = '1.7.0.rc.2'.freeze unless defined? Pod::CORE_VERSION
5
5
  end
@@ -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
- valid_keys = attributes_keys + platform_keys
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.1
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-02 00:00:00.000000000 Z
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.1
149
+ rubygems_version: 3.0.3
150
150
  signing_key:
151
151
  specification_version: 3
152
152
  summary: The models of CocoaPods