cocoapods-core 1.15.0 → 1.15.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: bb431625f3bfcf990813dd0665ed5408dcbed85a61d88189a36eaca3b140a93c
4
- data.tar.gz: cf33c6973f820bf76ef6b6df7ddc979466a3979d2778223d2563ba61cb74612f
3
+ metadata.gz: 28b58aee1d429faed6b698b36263cc7e86e1ebe4540b2c7e03d1883e28e74f59
4
+ data.tar.gz: 81da93773c4f3cff54ae532ef20b3fd9b3190fbca1fc4d7fa89e57da4c840ab3
5
5
  SHA512:
6
- metadata.gz: 6c5849ca11b74be284baf348a4c90e509503fa434818c1cda8727bacb1c1ce346f6cb6f63ecbe4a89673b0bfd9c427bc27d5e155372aefb6c5d284d057e3aeb0
7
- data.tar.gz: 8ec85b9291d7a2c3bf0b6a623cf517968704b533c7a30fc262ed12c5a32f275aaff8fa29963dce27004b65fbe632fab7c276eac648f1db13804da8e658f06a2c
6
+ metadata.gz: 6ab7a1a1c329774e398f25080dd03f3fda96bc96be0c5582088010b317e2c64876f2d3b01e1ae4d0ea48f32839443ff907f90b9cd27aa681cf9a9e1c94eee43d
7
+ data.tar.gz: 7a82bc2bda4f3f2cf4f54bf70300bc5c633073696d5882cd282d302ec5b00d8a33072edd7cbaa60812b52525b51cce47ca10597dcefd1b82fb001c55e7852aa4
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  # The version of the cocoapods-core.
3
3
  #
4
- CORE_VERSION = '1.15.0'.freeze unless defined? Pod::CORE_VERSION
4
+ CORE_VERSION = '1.15.2'.freeze unless defined? Pod::CORE_VERSION
5
5
  end
@@ -45,17 +45,19 @@ module Pod
45
45
  @symbolic_name = input.name
46
46
  @deployment_target = input.deployment_target
47
47
  else
48
- # Allow `Platform.new('macos')` to be equivalent to `Platform.macos`
49
- if input == 'macos'
50
- input = 'osx'
51
- elsif input == 'xros'
52
- # To address the issue of the mismatch between the platform: xros in the XCFramework and the platform:
53
- # visionos in Cocoapods.
54
- #
55
- # This will ensure proper alignment between the platform information in the XCFramework and Cocoapods.
56
- input = 'visionos'
57
- end
58
- @symbolic_name = input.to_sym
48
+ input = input.to_s.downcase
49
+
50
+ name = case input
51
+ when 'macos'
52
+ # Allow `Platform.new('macos')` to be equivalent to `Platform.macos`
53
+ 'osx'
54
+ when 'xros'
55
+ # Compatibility with older references to 'xrOS'
56
+ 'visionos'
57
+ else
58
+ input
59
+ end
60
+ @symbolic_name = name.to_sym
59
61
  target = target[:deployment_target] if target.is_a?(Hash)
60
62
  @deployment_target = Version.create(target)
61
63
  end
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.15.0
4
+ version: 1.15.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: 2024-01-28 00:00:00.000000000 Z
12
+ date: 2024-02-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport