cocoapods-core 1.8.1 → 1.8.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: 3cf9e2e21fe32f46da807fcbb286b9c25b2a0255551d99b7f19164b676e1d1f2
4
- data.tar.gz: 3af75e3226856606062ea46d19c93e300ae299a44832419fbdb51f6e0d330f59
3
+ metadata.gz: c99cc632b8e3dd44cdba2ed50a73bd2ba15d08cfda222911bbc737c14738c1a1
4
+ data.tar.gz: 11cd4092487a87860d6ef3ff4d111583d2f6d7239fca9291580f65efd0017cd7
5
5
  SHA512:
6
- metadata.gz: 72505123addc767e37450298daf178ce9493988dbd723a3f2c46226280012cd941eefe8bfb8091dd3393002c54f7f168b5ff5bcdb05d8315965700ee2b0071db
7
- data.tar.gz: d72804f787844b2441c1be7e23c36ad1702440febeb1af17003c3795e99eea97e43afadd342daa78f9e32498afada8aa0106df4acb34314244136c5bbdd93629
6
+ metadata.gz: 1d33174f5aef081a6768d8b56eef62b58e2bdef79d80a136ef0b9eaa73f100e331024e32f2cb7e4feec7f3ccacedf0bc6638cd059670fbcd61595bd334112b08
7
+ data.tar.gz: 3b8f4413ad0b79f5b986728ae144cd0249c2d26b7991c16f849f9f261995ca9be8f14743fbd7d40c5ba2b1ba99bc68472b295b5dddf911e836d84bf96b3a4959
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods-core.
3
3
  #
4
- CORE_VERSION = '1.8.1'.freeze unless defined? Pod::CORE_VERSION
4
+ CORE_VERSION = '1.8.2'.freeze unless defined? Pod::CORE_VERSION
5
5
  end
@@ -22,6 +22,7 @@ module Pod
22
22
  #
23
23
  def to_hash
24
24
  hash = attributes_hash.dup
25
+ hash.delete('platforms')
25
26
  if root? || available_platforms != parent.available_platforms
26
27
  platforms = Hash[available_platforms.map { |p| [p.name.to_s, p.deployment_target && p.deployment_target.to_s] }]
27
28
  hash['platforms'] = platforms
@@ -31,13 +32,17 @@ module Pod
31
32
  all_testspecs = specs_by_type[:test] || []
32
33
  all_subspecs = specs_by_type[:library] || []
33
34
 
35
+ hash.delete('testspecs')
34
36
  hash['testspecs'] = all_testspecs.map(&:to_hash) unless all_testspecs.empty?
37
+ hash.delete('appspecs')
35
38
  hash['appspecs'] = all_appspecs.map(&:to_hash) unless all_appspecs.empty?
39
+ hash.delete('subspecs')
36
40
  hash['subspecs'] = all_subspecs.map(&:to_hash) unless all_subspecs.empty?
37
41
 
38
42
  # Since CocoaPods 1.7 version the DSL has changed to be pluralized. When we serialize a podspec to JSON with
39
43
  # 1.7, ensure that we also include the singular version in the hash to maintain backwards compatibility with
40
44
  # < 1.7 versions.
45
+ hash.delete('swift_version')
41
46
  hash['swift_version'] = swift_version.to_s unless swift_version.nil?
42
47
 
43
48
  hash
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.8.1
4
+ version: 1.8.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-09-27 00:00:00.000000000 Z
12
+ date: 2019-10-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport