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 +4 -4
- data/CHANGELOG-TECHNICAL.md +7 -0
- data/CHANGELOG.md +4 -0
- data/lib/ann_flavor_cocoapods/podfile_helper.rb +7 -14
- data/lib/ann_flavor_cocoapods/version.rb +1 -1
- data/lib/ann_flavor_cocoapods.rb +7 -0
- data/lib/compat/kconv.rb +11 -0
- metadata +8 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: aff1352b1941f286bf48211651f7d74e20dbd6d94b742f227e976dac89acd99c
|
|
4
|
+
data.tar.gz: 831a50cad9203e1e6de772f003811cc80706966a703828d3a7eb7d368ad7074e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '03298333bdecae955091e319384152064a6879310e685de17ad84f1f855014f1b87acdaa05c0ec2673dfbd655b6da5286f177884d26f51e17471949f810186c1'
|
|
7
|
+
data.tar.gz: ec773a56164d425e9edf554b2a3ded9b7ae364a53a6a91c15e6527a1f3da3c5309e9aa9d40f0173770715c807f4b6565c7bbaa5e7ebe0ed0c8d7b6961d19df98
|
data/CHANGELOG-TECHNICAL.md
CHANGED
|
@@ -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
|
|
919
|
-
# (
|
|
920
|
-
#
|
|
921
|
-
#
|
|
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
|
-
|
|
927
|
-
|
|
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 --
|
data/lib/ann_flavor_cocoapods.rb
CHANGED
|
@@ -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'
|
data/lib/compat/kconv.rb
ADDED
|
@@ -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.
|
|
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:
|
|
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.
|
|
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: []
|