cocoapods-ppbuild 1.0.9 → 1.1.2

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: 3ac0e31d2d6cbd8691015c999a3da3c6ca97dbbabb0d39f4d7c6c241d16b429d
4
- data.tar.gz: 1d858576f678be812ebe2d2f46f8853e949a5b7a89ec2c0160baa3f3533a1dfb
3
+ metadata.gz: 5eed134c4ecd34aa82e1a32417b3e58c56148831952cc66c66aeb8c670674c62
4
+ data.tar.gz: 62a2a6aa9b00af679d0dd8e5dbe803c6f7b26c453f490e3323021e7f1c211a6c
5
5
  SHA512:
6
- metadata.gz: e28e687b5a3d94e940ee96e23f372c3f53c76814e44ec8be9f03e85ed9c61dec531821c4e04a2825e0d949545df73bbb4a7a8d4e19305376fd6778742b441b3f
7
- data.tar.gz: 1c5bc9a497db026b4bea8502512b4973606e59ed46a9fb23b8b09332b5c526252a21e13451fa0f551d9828b4fde80576ece00868378f631c6daa39ec7cb3c742
6
+ metadata.gz: ae8b5ef66ef18ac899239d4e634c169b360bcbef0490cf3f0207fb2f77bfaa5be8b26bfa595467d95e4399e20abba1eda1ab0362d0e35eaf702e04e6ad324d71
7
+ data.tar.gz: 0c6c6b0cba73447d124d2e65b60c4648116c8a32bdb8d461962f5ab5854a948858e37e94808cfae092a005e64e9f79a72cb224d3d137afabd0a7333875cfb8cf
@@ -364,19 +364,17 @@ module Pod
364
364
  script = old_method.bind(self).()
365
365
  if not Pod::is_prebuild_stage
366
366
  patch = <<-SH.strip_heredoc
367
- #!/bin/sh
368
-
369
367
  # ---- this is added by cocoapods-ppbuild ---
370
- # Readlink cannot handle relative symlink well, so we override it to a new one
371
- # If the path isn't an absolute path, we add a realtive prefix.
372
- old_read_link=`which readlink`
368
+ # If -f appears anywhere, path is the last arg (handles readlink -f path, readlink -f -n path, readlink -n -f path).
373
369
  readlink () {
374
- path=`$old_read_link "$1"`;
375
- if [ $(echo "$path" | cut -c 1-1) = '/' ]; then
376
- echo $path;
377
- else
378
- echo "`dirname $1`/$path";
379
- fi
370
+ for _r_arg in "\$@"; do
371
+ if [ "\$_r_arg" = "-f" ]; then
372
+ for _r_arg in "\$@"; do _r_path="\$_r_arg"; done
373
+ [ -n "\$_r_path" ] && ruby -e "puts File.realpath(ARGV[0])" "\$_r_path"
374
+ return
375
+ fi
376
+ done
377
+ /usr/bin/readlink "\$@"
380
378
  }
381
379
  # ---
382
380
  SH
@@ -1,3 +1,3 @@
1
1
  module CocoapodsPpbuild
2
- VERSION = "1.0.9"
2
+ VERSION = "1.1.2"
3
3
  end
@@ -12,7 +12,7 @@ module Pod
12
12
  tn = "Pods-#{target.name}"
13
13
  dir = Pathname.new(File.join(installer_context.sandbox.root,"Target Support Files", tn))
14
14
  sh_path = File.join(dir, "#{tn}-resources.sh")
15
- if File.exists?(sh_path)
15
+ if File.exist?(sh_path)
16
16
  list.each do |tarname|
17
17
  replace_content_file sh_path, tarname
18
18
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-ppbuild
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - 彭懂
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-06 00:00:00.000000000 Z
11
+ date: 2026-03-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '1.3'
19
+ version: '0'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '1.3'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -49,6 +49,7 @@ files:
49
49
  - lib/cocoapods-ppbuild/Integration.rb
50
50
  - lib/cocoapods-ppbuild/Main.rb
51
51
  - lib/cocoapods-ppbuild/Prebuild.rb
52
+ - lib/cocoapods-ppbuild/Reference/reference_source_code.rb
52
53
  - lib/cocoapods-ppbuild/command.rb
53
54
  - lib/cocoapods-ppbuild/command/ppbuild.rb
54
55
  - lib/cocoapods-ppbuild/gem_version.rb
@@ -58,15 +59,15 @@ files:
58
59
  - lib/cocoapods-ppbuild/helper/podfile_options.rb
59
60
  - lib/cocoapods-ppbuild/helper/prebuild_sandbox.rb
60
61
  - lib/cocoapods-ppbuild/helper/target_checker.rb
61
- - lib/cocoapods-ppbuild/reference/reference_source_code.rb
62
62
  - lib/cocoapods-ppbuild/rome/build_framework.rb
63
63
  - lib/cocoapods-ppbuild/tool/tool.rb
64
64
  - lib/cocoapods_plugin.rb
65
65
  homepage: https://github.com/pdcodeunder/cocoapods-ppbuild.git
66
66
  licenses:
67
67
  - MIT
68
- metadata: {}
69
- post_install_message:
68
+ metadata:
69
+ cocoapods_plugin: 'true'
70
+ post_install_message:
70
71
  rdoc_options: []
71
72
  require_paths:
72
73
  - lib
@@ -81,8 +82,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
81
82
  - !ruby/object:Gem::Version
82
83
  version: '0'
83
84
  requirements: []
84
- rubygems_version: 3.0.3.1
85
- signing_key:
85
+ rubygems_version: 3.4.10
86
+ signing_key:
86
87
  specification_version: 4
87
88
  summary: 工程静态库编译,提高编译速度.
88
89
  test_files: []