cocoapods-binary-artifactory-cache 0.0.6 → 0.0.7

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: b4cfc2fff39aee0f9265546c438f2aa6126ef39bfa1f1f0efe79306a8d62246a
4
- data.tar.gz: 4b3da62440e42f152100015119aa58f0298f359783ad909a4c754ef1380c84ff
3
+ metadata.gz: 36950b359fd58cf20b6961d93dbeaf5e35e2f77bd2a6c7a70becb43fde143b72
4
+ data.tar.gz: c662bf7cc890f0cf1714a6c7ebddb452f599ee949290b5f87c2a87dfd5d1ca9a
5
5
  SHA512:
6
- metadata.gz: 23da6af76fe38360a654ca34afc3041cd07f777f0d28b36b0d29c6ca1f2406bdb80ce9a3154ea0a5745c7a28bf16c2208894b98d4386c153cc3a226c465edf11
7
- data.tar.gz: ddab146341a0502353fbcf091ae21ea102458a6df055a8812499e53e12fe73d2376b15926a2bcbd34e23dccd7972347c7a4db4826ff2e95edc350462a8c59fcf
6
+ metadata.gz: 87e0388dc105be402cfa7e14c668322874b0acd63063db6f39d7c7f2ef10621730da0b80f58ffe91133e95403678aaddad0e4695a2b05ae5e14b309413128245
7
+ data.tar.gz: eaa69f3edd8eebcce84bd92f2fda7547d7c1b3f041994f9a9a5e7fcf91fcf349e650d25622cc995b36e3f4a8c08fbb4299de7229e8bb5981959f38d707fc4881
@@ -135,10 +135,13 @@ module PodPrebuild
135
135
  replaceString2 = "-e 's/\(#{escapedPod}\\./(/g'"
136
136
  replaceString3 = "-e 's/\\[#{escapedPod}\\./[/g'"
137
137
  replaceString4 = "-e 's/<#{escapedPod}\\./</g'"
138
+ Pod::UI.puts_indented "$ find '#{output_path(target)}/#{target.product_module_name}.xcframework' -name '*.swiftinterface' -exec sed -i -e #{replaceString1} #{replaceString2} #{replaceString3} #{replaceString4} {} \\\;"
138
139
  `find "#{output_path(target)}/#{target.product_module_name}.xcframework" -name '*.swiftinterface' -exec sed -i -e #{replaceString1} #{replaceString2} #{replaceString3} #{replaceString4} {} \\\;`
139
140
  end
140
141
  #remove dublication name in other frameworks
141
- replaceString = targets.map { |x| x.product_module_name }.uniq().map{ |x| x.gsub('/', '\/')}.map{|x| "-e 's/#{x}\\.#{x}/#{x}/g'"}.join(' ')
142
+ allDirTargets = Dir["#{@options[:output_path]}/*"].map { |x| x.gsub("#{@options[:output_path]}/", "") }
143
+ replaceString = allDirTargets.map { |x| x.product_module_name }.uniq().map{ |x| x.gsub('/', '\/')}.map{|x| "-e 's/#{x}\\.#{x}/#{x}/g'"}.join(' ')
144
+ Pod::UI.puts_indented "$ find #{@options[:output_path]} -name '*.swiftinterface' -exec sed -i -e #{replaceString} {} \\\;"
142
145
  `find #{@options[:output_path]} -name '*.swiftinterface' -exec sed -i -e #{replaceString} {} \\\;`
143
146
  end
144
147
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-binary-artifactory-cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugene Antropov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-19 00:00:00.000000000 Z
11
+ date: 2022-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods