ann-flavor-cocoapods 0.4.7 → 0.4.8

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: 0d456b989981f0e9a376250a86ef9938ae916032e121b89fd4117232303d0ece
4
- data.tar.gz: f02019d7919198b23a805c0104912e106537dd9b136bd15c9d3c4f0f498dd109
3
+ metadata.gz: aff1352b1941f286bf48211651f7d74e20dbd6d94b742f227e976dac89acd99c
4
+ data.tar.gz: 831a50cad9203e1e6de772f003811cc80706966a703828d3a7eb7d368ad7074e
5
5
  SHA512:
6
- metadata.gz: fd843dc2cea6f16e286dc7a33c24bc88eb6993f44d0816e40f7eeac307075ef86766538ed29d51a1b922e01bedef9ee29403e3157d9eb923c76e22a475befdee
7
- data.tar.gz: 1a193d4841e2968798c94e09704175cf45be1643a15a03038dbba4643eca7486a2fd5d071e431b5cdb836665a82a086fe8e7cccc6f4d5011cb75184a3572724d
6
+ metadata.gz: '03298333bdecae955091e319384152064a6879310e685de17ad84f1f855014f1b87acdaa05c0ec2673dfbd655b6da5286f177884d26f51e17471949f810186c1'
7
+ data.tar.gz: ec773a56164d425e9edf554b2a3ded9b7ae364a53a6a91c15e6527a1f3da3c5309e9aa9d40f0173770715c807f4b6565c7bbaa5e7ebe0ed0c8d7b6961d19df98
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.8
4
+
5
+ ### Changed
6
+ - Version-only release, published alongside `ann-flavor-gradle` 2.3.16,
7
+ `ann-flavor-flutter` 1.7.2, and `ann-flavor-fastlane` 1.0.2 for version
8
+ parity across the suite. No functional changes.
9
+
3
10
  ## 0.4.7
4
11
 
5
12
  ### Added
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.4.8
4
+
5
+ **Changed:** Version-only release, published alongside the other plugins for parity. No functional changes.
6
+
3
7
  ## 0.4.7
4
8
 
5
9
  **Added:** Support for merging plugin-contributed permission text and entitlements correctly (paired with `ann_flutter_flavor` 1.7.1), so a plugin's defaults land in the right place without affecting your final build output.
@@ -7,9 +7,6 @@ require 'fileutils'
7
7
 
8
8
  module AnnFlavorCocoapods
9
9
  module PodfileHelper
10
- # System `plutil` tool -- used to read plist files as JSON (see
11
- # read_plist below); ships with Xcode/macOS.
12
- PLUTIL = '/usr/bin/plutil'
13
10
  # Call inside your Podfile's post_integrate hook to wire per-flavor Firebase
14
11
  # GoogleService-Info.plist into the Xcode build. Must be post_integrate, not
15
12
  # post_install (DEF-061, #61): post_install fires before CocoaPods has
@@ -915,18 +912,14 @@ module AnnFlavorCocoapods
915
912
  relative_out_path
916
913
  end
917
914
 
918
- # Reads a plist file as a plain Ruby Hash. Uses `plutil -convert json`
919
- # (a system tool, ships with Xcode/macOS), NOT Xcodeproj::Plist
920
- # .read_from_path -- that method's pure-Ruby CFPropertyList fallback path
921
- # is broken under Ruby 3.4 in this environment (missing stdlib 'kconv',
922
- # confirmed live) -- same workaround already established in this repo's
923
- # own spec suite (merge_entitlements_script_spec.rb/
924
- # merge_info_plist_script_spec.rb).
915
+ # Reads a plist file as a plain Ruby Hash via Xcodeproj's own pure-Ruby
916
+ # parser (Nanaimo/CFPropertyList) -- this used to shell out to the
917
+ # macOS-only `plutil` CLI, which broke this method (and every caller:
918
+ # merge_info_plist, merge_entitlements) on Linux CI runners.
925
919
  def self.read_plist(path)
926
- json = `#{PLUTIL} -convert json -o - "#{path}"`
927
- raise "[ann-flavor-cocoapods] plutil failed to read #{path}" unless $?.success?
928
-
929
- JSON.parse(json)
920
+ Xcodeproj::Plist.read_from_path(path)
921
+ rescue StandardError => e
922
+ raise "[ann-flavor-cocoapods] failed to read plist #{path}: #{e.message}"
930
923
  end
931
924
 
932
925
  # Merges `layer` into `base` in place, one top-level key at a time --
@@ -1,3 +1,3 @@
1
1
  module AnnFlavorCocoapods
2
- VERSION = "0.4.7"
2
+ VERSION = "0.4.8"
3
3
  end
@@ -6,6 +6,13 @@ vendored_core_lib = File.expand_path('vendor/ann_flavor_core/lib', __dir__)
6
6
  $LOAD_PATH.unshift(vendored_core_lib) if File.directory?(vendored_core_lib) &&
7
7
  !$LOAD_PATH.include?(vendored_core_lib)
8
8
 
9
+ # See compat/kconv.rb -- Ruby 3.4 dropped kconv from the bundled default
10
+ # gems, but CFPropertyList (Xcodeproj::Plist's XML/binary plist backend)
11
+ # still requires it. Putting compat/ ahead of kconv's old stdlib location
12
+ # on the load path means `require 'kconv'` resolves to our empty stub.
13
+ compat_lib = File.expand_path('compat', __dir__)
14
+ $LOAD_PATH.unshift(compat_lib) unless $LOAD_PATH.include?(compat_lib)
15
+
9
16
  require_relative 'ann_flavor_cocoapods/version'
10
17
  require_relative 'ann_flavor_cocoapods/spec_loader'
11
18
  require_relative 'ann_flavor_cocoapods/podfile_helper'
@@ -0,0 +1,11 @@
1
+ # Ruby 3.4 dropped `kconv` from the default gems bundled with the
2
+ # interpreter (it's not published as a standalone gem, so it can't be added
3
+ # as a normal dependency either). CFPropertyList -- Xcodeproj::Plist's own
4
+ # plist-reading backend for XML/binary plists -- still unconditionally
5
+ # `require`s it at load time, even though it never actually calls any
6
+ # Kconv method. This empty stub satisfies that require so
7
+ # Xcodeproj::Plist.read_from_path keeps working, without depending on any
8
+ # macOS-only tool (previously: shelling out to `plutil`, which doesn't
9
+ # exist on Linux CI runners).
10
+ module Kconv
11
+ end
metadata CHANGED
@@ -1,13 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ann-flavor-cocoapods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - ANN Solutions
8
+ autorequire:
8
9
  bindir: exe
9
10
  cert_chain: []
10
- date: 1980-01-02 00:00:00.000000000 Z
11
+ date: 2026-09-03 00:00:00.000000000 Z
11
12
  dependencies:
12
13
  - !ruby/object:Gem::Dependency
13
14
  name: cocoapods
@@ -51,6 +52,7 @@ dependencies:
51
52
  - - "~>"
52
53
  - !ruby/object:Gem::Version
53
54
  version: '0.6'
55
+ description:
54
56
  email:
55
57
  - support@annaibrands.com
56
58
  executables:
@@ -71,6 +73,7 @@ files:
71
73
  - lib/ann_flavor_cocoapods/spec_loader.rb
72
74
  - lib/ann_flavor_cocoapods/version.rb
73
75
  - lib/annai-flutter-flavor.rb
76
+ - lib/compat/kconv.rb
74
77
  - lib/vendor/ann_flavor_core/lib/ann_flavor_core.rb
75
78
  - lib/vendor/ann_flavor_core/lib/ann_flavor_core/ios_resolution.rb
76
79
  - lib/vendor/ann_flavor_core/lib/ann_flavor_core/model.rb
@@ -82,6 +85,7 @@ homepage: https://anntech.dev/docs/ann-flutter-flavor-suite/cocoapods-overview
82
85
  licenses:
83
86
  - MIT
84
87
  metadata: {}
88
+ post_install_message:
85
89
  rdoc_options: []
86
90
  require_paths:
87
91
  - lib
@@ -96,7 +100,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
100
  - !ruby/object:Gem::Version
97
101
  version: '0'
98
102
  requirements: []
99
- rubygems_version: 3.6.9
103
+ rubygems_version: 3.4.19
104
+ signing_key:
100
105
  specification_version: 4
101
106
  summary: CocoaPods helper that reads annspec.yaml and configures iOS flavor settings.
102
107
  test_files: []