cocoapods-core 1.15.0 → 1.15.1

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: b41aa3d6eda2f5a621fe1c92ab00de30bb9224df7b3fb61a54dcebbf2dcacf07
4
+ data.tar.gz: 9d974ef615d52d6c6a73c611a97ec217176ff29aebcab5f91e4e4dcb6a642d3d
5
5
  SHA512:
6
- metadata.gz: 6c5849ca11b74be284baf348a4c90e509503fa434818c1cda8727bacb1c1ce346f6cb6f63ecbe4a89673b0bfd9c427bc27d5e155372aefb6c5d284d057e3aeb0
7
- data.tar.gz: 8ec85b9291d7a2c3bf0b6a623cf517968704b533c7a30fc262ed12c5a32f275aaff8fa29963dce27004b65fbe632fab7c276eac648f1db13804da8e658f06a2c
6
+ metadata.gz: 0d277f4163a01d298eddd6f18d97726e41c38a98902567c1b741e64c8cea1ad9df0d9bcc6f0ec0ca3c7bf08a83d0a4f3785727bab4f1cba30378ca46f7381f2c
7
+ data.tar.gz: df2e1eadab0bf45ef9018713c0d04f54cc8504e477022f2a5233f9c4b5e0bcbe99b3e6baa90cc1b34cd61b12e0b2b22d043d11771a4e59f15acd2a15ab1cca5a
@@ -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.1'.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.1
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-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport