xcresult 0.2.2 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2921dd40608732e79c8bb256a734378aec36dfb3bd3996cfbd9771167a0ed365
4
- data.tar.gz: 2c775b6af08a176f5dc9c4ed94a4b4eb99b712abb650c27d606a1951d5795198
3
+ metadata.gz: 1d2df19e4db1c1335a316a67e25e1902fdc4ec018b9933deec2d9c2134b7d03c
4
+ data.tar.gz: 9e33e023d183caba87ba49625bfd93f8f820219f998fd9d06224d6c91e44d544
5
5
  SHA512:
6
- metadata.gz: 7d2b6fbac41e64114e8f4acb29ae6960cf6968283a4feb4eee901a9ccebfa0598bccbc71739993799ecd519ac5d5f8f57b7c9833a7aa704ff69074ebf0dc768b
7
- data.tar.gz: 89a8f191f264e1946f0eae9ca91bd37186400744fc7613da740ead7a95f3ee24951877a0679da4ccd6bc780e5aaafe639b4422d117f83cae46bd48b70934c56d
6
+ metadata.gz: 37e6d1999642f4ea2f127ee9ef78a98d802d5c91adc26e59b801fd80c646cd038b2b3d54bf248ed70921f9a4eea7d9ce080a498f2715d02007c79d793ce19faf
7
+ data.tar.gz: 43c2ffe290fde684dcbe03bcfb4371e392dfc6616c7ea485519f024901729505bfe76b72272c4b6320de1bce19d00fcde14d6a945d2de93a0eefffd2ab56788e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xcresult (0.2.2)
4
+ xcresult (0.2.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -85,11 +85,13 @@ module XCResult
85
85
  def xcresulttool_command(subcommand, args)
86
86
  # Find the current xcresulttool version based on Fastlane's implementation
87
87
  # xcresulttool version 23024, format version 3.53 (current)
88
- match = `xcrun xcresulttool version`.match(/xcresulttool version (?<version>\d+),/)
88
+ # xcresulttool version 24051.1, schema version: 0.1.0 (legacy commands format version: 3.53)
89
+ match = `xcrun xcresulttool version`.match(/xcresulttool version (?<version>\d+(\.\d+)?),/)
89
90
 
90
- version = match[:version]&.to_f
91
+ version = match ? match[:version]&.to_f : nil
91
92
 
92
- requires_legacy = version >= 23_021.0
93
+ # If version string does not match expected format, assume legacy is required
94
+ requires_legacy = version.nil? || version >= 23_021.0
93
95
  legacy_flag = requires_legacy ? ' --legacy' : ''
94
96
 
95
97
  cmd = "xcrun xcresulttool #{subcommand}#{legacy_flag} #{args}"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module XCResult
4
- VERSION = '0.2.2'
4
+ VERSION = '0.2.4'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xcresult
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Holtz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-27 00:00:00.000000000 Z
11
+ date: 2025-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler