Skip to content

Commit 64cabbc

Browse files
authored
feat(cocoapods): cocoapods 1.12.0 compatibility (#26)
1 parent ffc847d commit 64cabbc

File tree

5 files changed

+39
-29
lines changed

5 files changed

+39
-29
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,16 @@ To install or update cocoapods-patch see [README](https://github.com/DoubleSymme
1212

1313
* None.
1414

15+
## 1.0.3 (3.3.23)
16+
17+
##### Enhancements
18+
19+
* cocoapods 1.12.0 compatibility.
20+
21+
##### Bug Fixes
22+
23+
* None.
24+
1525
## 1.0.2 (6.12.21)
1626

1727
##### Enhancements

Gemfile.lock

Lines changed: 25 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,46 @@
11
PATH
22
remote: .
33
specs:
4-
cocoapods-patch (1.0.0)
5-
cocoapods (~> 1.11.0)
4+
cocoapods-patch (1.0.3)
5+
cocoapods (~> 1.12.0)
66

77
GEM
88
remote: https://rubygems.org/
99
specs:
10-
CFPropertyList (3.0.4)
10+
CFPropertyList (3.0.6)
1111
rexml
12-
activesupport (6.1.4.1)
12+
activesupport (7.0.4.2)
1313
concurrent-ruby (~> 1.0, >= 1.0.2)
1414
i18n (>= 1.6, < 2)
1515
minitest (>= 5.1)
1616
tzinfo (~> 2.0)
17-
zeitwerk (~> 2.3)
18-
addressable (2.8.0)
19-
public_suffix (>= 2.0.2, < 5.0)
17+
addressable (2.8.1)
18+
public_suffix (>= 2.0.2, < 6.0)
2019
algoliasearch (1.27.5)
2120
httpclient (~> 2.8, >= 2.8.3)
2221
json (>= 1.5.1)
2322
atomos (0.1.3)
24-
claide (1.0.3)
25-
cocoapods (1.11.2)
23+
claide (1.1.0)
24+
cocoapods (1.12.0)
2625
addressable (~> 2.8)
2726
claide (>= 1.0.2, < 2.0)
28-
cocoapods-core (= 1.11.2)
27+
cocoapods-core (= 1.12.0)
2928
cocoapods-deintegrate (>= 1.0.3, < 2.0)
30-
cocoapods-downloader (>= 1.4.0, < 2.0)
29+
cocoapods-downloader (>= 1.6.0, < 2.0)
3130
cocoapods-plugins (>= 1.0.0, < 2.0)
3231
cocoapods-search (>= 1.0.0, < 2.0)
33-
cocoapods-trunk (>= 1.4.0, < 2.0)
32+
cocoapods-trunk (>= 1.6.0, < 2.0)
3433
cocoapods-try (>= 1.1.0, < 2.0)
3534
colored2 (~> 3.1)
3635
escape (~> 0.0.4)
3736
fourflusher (>= 2.3.0, < 3.0)
3837
gh_inspector (~> 1.0)
3938
molinillo (~> 0.8.0)
4039
nap (~> 1.0)
41-
ruby-macho (>= 1.0, < 3.0)
40+
ruby-macho (>= 2.3.0, < 3.0)
4241
xcodeproj (>= 1.21.0, < 2.0)
43-
cocoapods-core (1.11.2)
44-
activesupport (>= 5.0, < 7)
42+
cocoapods-core (1.12.0)
43+
activesupport (>= 5.0, < 8)
4544
addressable (~> 2.8)
4645
algoliasearch (~> 1.0)
4746
concurrent-ruby (~> 1.1)
@@ -51,7 +50,7 @@ GEM
5150
public_suffix (~> 4.0)
5251
typhoeus (~> 1.0)
5352
cocoapods-deintegrate (1.0.5)
54-
cocoapods-downloader (1.5.1)
53+
cocoapods-downloader (1.6.3)
5554
cocoapods-plugins (1.0.0)
5655
nap
5756
cocoapods-search (1.0.1)
@@ -60,25 +59,25 @@ GEM
6059
netrc (~> 0.11)
6160
cocoapods-try (1.2.0)
6261
colored2 (3.1.2)
63-
concurrent-ruby (1.1.9)
62+
concurrent-ruby (1.2.2)
6463
diff-lcs (1.4.4)
6564
escape (0.0.4)
66-
ethon (0.15.0)
65+
ethon (0.16.0)
6766
ffi (>= 1.15.0)
68-
ffi (1.15.4)
67+
ffi (1.15.5)
6968
fourflusher (2.3.1)
7069
fuzzy_match (2.0.4)
7170
gh_inspector (1.1.3)
7271
httpclient (2.8.3)
73-
i18n (1.8.10)
72+
i18n (1.12.0)
7473
concurrent-ruby (~> 1.0)
75-
json (2.6.1)
76-
minitest (5.14.4)
74+
json (2.6.3)
75+
minitest (5.17.0)
7776
molinillo (0.8.0)
7877
nanaimo (0.3.0)
7978
nap (1.1.0)
8079
netrc (0.11.0)
81-
public_suffix (4.0.6)
80+
public_suffix (4.0.7)
8281
rake (13.0.3)
8382
rexml (3.2.5)
8483
rspec (3.10.0)
@@ -97,18 +96,18 @@ GEM
9796
ruby-macho (2.5.1)
9897
typhoeus (1.4.0)
9998
ethon (>= 0.9.0)
100-
tzinfo (2.0.4)
99+
tzinfo (2.0.6)
101100
concurrent-ruby (~> 1.0)
102-
xcodeproj (1.21.0)
101+
xcodeproj (1.22.0)
103102
CFPropertyList (>= 2.3.3, < 4.0)
104103
atomos (~> 0.1.3)
105104
claide (>= 1.0.2, < 2.0)
106105
colored2 (~> 3.1)
107106
nanaimo (~> 0.3.0)
108107
rexml (~> 3.2.4)
109-
zeitwerk (2.5.1)
110108

111109
PLATFORMS
110+
ruby
112111
x86_64-darwin-19
113112
x86_64-linux
114113

cocoapods-patch.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
1616
spec.files = Dir['*.md', 'lib/**/*', 'LICENSE']
1717
spec.require_paths = ['lib']
1818

19-
spec.add_runtime_dependency "cocoapods", "~> 1.11.0"
19+
spec.add_runtime_dependency "cocoapods", "~> 1.12.0"
2020

2121
spec.add_development_dependency 'bundler', '~> 2.0'
2222
spec.add_development_dependency 'rake', '~> 13.0'

lib/cocoapods_patch.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module CocoapodsPatch
2-
VERSION = "1.0.2"
2+
VERSION = "1.0.3"
33
end

lib/pod/hook.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ module Hooks
1111
patches = patches_dir.each_child.select { |c| c.to_s.end_with?('.diff') }
1212
patches.each do |p|
1313
pod_name = File.basename(p, ".diff")
14-
context.sandbox.clean_pod(pod_name)
14+
pod_dir = context.sandbox.pod_dir(pod_name)
15+
context.sandbox.clean_pod(pod_name, pod_dir)
1516
end
1617
end
1718
end

0 commit comments

Comments
 (0)