cocoapods-util 0.0.11 → 0.0.12
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/lib/cocoapods-util/command/cocoapods-extend/extend.rb +3 -0
- data/lib/cocoapods-util/{cocoapods-extend → command/cocoapods-extend}/install/list.rb +22 -9
- data/lib/cocoapods-util/{cocoapods-extend → command/cocoapods-extend}/install.rb +1 -1
- data/lib/cocoapods-util/{cocoapods-extend → command/cocoapods-extend}/repo/push.rb +2 -2
- data/lib/cocoapods-util/{cocoapods-extend → command/cocoapods-extend}/repo/push_helper.rb +0 -0
- data/lib/cocoapods-util/{cocoapods-extend → command/cocoapods-extend}/repo.rb +1 -1
- data/lib/cocoapods-util/{libsource → command/libsource}/source.rb +1 -1
- data/lib/cocoapods-util/{libsource → command/libsource}/source_linker.rb +0 -0
- data/lib/cocoapods-util/{package → command/package}/helper/builder.rb +3 -3
- data/lib/cocoapods-util/{package → command/package}/helper/framework.rb +0 -0
- data/lib/cocoapods-util/{package → command/package}/helper/framework_builder.rb +0 -0
- data/lib/cocoapods-util/{package → command/package}/helper/library_builder.rb +0 -0
- data/lib/cocoapods-util/{package → command/package}/helper/pod_utils.rb +0 -0
- data/lib/cocoapods-util/{package → command/package}/package.rb +3 -3
- data/lib/cocoapods-util/{user_interface → command/user_interface}/build_failed_report.rb +0 -0
- data/lib/cocoapods-util/command/util.rb +4 -5
- data/lib/cocoapods-util/{xcframework → command/xcframework}/xcframework.rb +1 -1
- data/lib/cocoapods-util/{xcframework/xcramework_build.rb → command/xcframework/xcframework_build.rb} +0 -0
- data/lib/cocoapods-util/command.rb +1 -0
- data/lib/cocoapods-util/gem_version.rb +1 -1
- data/lib/cocoapods_plugin.rb +0 -1
- metadata +22 -22
- data/lib/cocoapods-util/cocoapods-extend/extend.rb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a288d0cd86146de6d734f9a0f292db9bdda764e4e95b21b9b8ed0af38544a93
|
4
|
+
data.tar.gz: a07465a12f9d5c800d9c6acb25c46394e59916349714d092140ccf874019aadc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba53816980be856b40546b803f22d5d1bf081efd1d42e587095e6f20402d5bca4c4f9342e8fe8df37fbcd3500afdd1094cbb37e90884eb467ed0fb3ad2d9360e
|
7
|
+
data.tar.gz: abf3a469e43499b1943ab01caf1620cd4e4067132936f9c5a6db98413d1e8eaf76a467e9df094692f0f6e98f602533509427d5e03d46d9fb70e9d3cc782565db
|
@@ -65,21 +65,25 @@ module Pod
|
|
65
65
|
UI.puts " - SPEC REPO: ".yellow "#{repo_name}".green unless repo_name.nil?
|
66
66
|
|
67
67
|
# external sources
|
68
|
-
|
69
|
-
|
68
|
+
external_dict = @lockfile.internal_data['EXTERNAL SOURCES']
|
69
|
+
unless external_dict.nil?
|
70
|
+
external = external_dict[name]
|
71
|
+
external.each { |key, value| UI.puts " - #{key}: ".yellow "#{value}".green } unless external.nil?
|
72
|
+
end
|
70
73
|
|
71
|
-
# subspecs、dependencies
|
74
|
+
# subspecs、dependencies、parents
|
72
75
|
show_moreinfo(name) if @showmore
|
73
76
|
end
|
74
77
|
|
75
78
|
def show_moreinfo(name)
|
76
|
-
subspecs =
|
77
|
-
dependencies =
|
79
|
+
subspecs = []
|
80
|
+
dependencies = []
|
81
|
+
parents = Array.new
|
78
82
|
@lockfile.internal_data["PODS"].each { |item|
|
79
|
-
|
80
|
-
|
81
|
-
if
|
82
|
-
subspecs.push(
|
83
|
+
pod_name = item.keys.first if item.is_a?(Hash) && item.count == 1
|
84
|
+
pod_name = item if item.is_a?(String)
|
85
|
+
if pod_name =~ /^#{name}.*$/
|
86
|
+
subspecs.push(pod_name.match(/^[^\s]*/).to_s) if pod_name =~ /^#{name}\/.*$/
|
83
87
|
if item.is_a?(Hash)
|
84
88
|
item.each_value do |value|
|
85
89
|
value.each {|dependency| dependencies.push(dependency.to_s) unless dependency =~ /^#{name}/ }
|
@@ -87,12 +91,21 @@ module Pod
|
|
87
91
|
elsif item.is_a?(String)
|
88
92
|
dependencies.push(item.to_s) unless item =~ /^#{name}/
|
89
93
|
end
|
94
|
+
else
|
95
|
+
next if pod_name.nil?
|
96
|
+
if item.is_a?(Hash)
|
97
|
+
item.each_value do |value|
|
98
|
+
value.each {|dependency| parents.push(pod_name.match(/^[^\s\/]*/).to_s) if dependency =~ /^#{name}/ }
|
99
|
+
end
|
100
|
+
end
|
90
101
|
end
|
91
102
|
}
|
92
103
|
subspecs.uniq!
|
93
104
|
dependencies.uniq!
|
105
|
+
parents.uniq!
|
94
106
|
UI.puts " - SUBSPEC: ".yellow "#{subspecs.join('、')}".green unless subspecs.empty?
|
95
107
|
UI.puts " - DEPENDENCIES: ".yellow "#{dependencies.join('、')}".green unless dependencies.empty?
|
108
|
+
UI.puts " - PARENTS: ".yellow "#{parents.join('、')}".green unless parents.empty?
|
96
109
|
end
|
97
110
|
|
98
111
|
def pod_tags_info
|
@@ -9,7 +9,7 @@ module Pod
|
|
9
9
|
DESC
|
10
10
|
self.arguments = Pod::Command::Repo::Push.arguments
|
11
11
|
def self.options
|
12
|
-
|
12
|
+
require_relative 'push_helper'
|
13
13
|
Pod::Command::Repo::Push.options
|
14
14
|
end
|
15
15
|
|
@@ -26,7 +26,7 @@ module Pod
|
|
26
26
|
end
|
27
27
|
|
28
28
|
def run
|
29
|
-
|
29
|
+
require_relative 'push_helper'
|
30
30
|
|
31
31
|
@target = Pod::Command::Repo::Push.new(CLAide::ARGV.new(@argvs))
|
32
32
|
@target.validate!
|
File without changes
|
File without changes
|
@@ -16,8 +16,8 @@ module Pod
|
|
16
16
|
end
|
17
17
|
|
18
18
|
def build(package_type)
|
19
|
-
|
20
|
-
|
19
|
+
require_relative 'framework_builder.rb'
|
20
|
+
require_relative 'library_builder.rb'
|
21
21
|
|
22
22
|
case package_type
|
23
23
|
when :static_library
|
@@ -56,7 +56,7 @@ module Pod
|
|
56
56
|
end
|
57
57
|
|
58
58
|
def build_static_xcframework
|
59
|
-
|
59
|
+
require_relative '../../xcframework/xcframework_build.rb'
|
60
60
|
UI.puts("Building #{@platform.name.to_s} static framework #{@spec} with configuration #{@config}")
|
61
61
|
|
62
62
|
defines = compile
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
require_relative 'helper/pod_utils'
|
2
|
+
require_relative 'helper/builder'
|
3
|
+
require_relative 'helper/framework'
|
4
4
|
|
5
5
|
require 'tmpdir'
|
6
6
|
require 'json'
|
File without changes
|
@@ -1,8 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
require 'cocoapods-util/cocoapods-extend/extend'
|
1
|
+
require_relative 'package/package'
|
2
|
+
require_relative 'xcframework/xcframework'
|
3
|
+
require_relative 'libsource/source'
|
4
|
+
require_relative 'cocoapods-extend/extend'
|
6
5
|
|
7
6
|
module Pod
|
8
7
|
class Command
|
data/lib/cocoapods-util/{xcframework/xcramework_build.rb → command/xcframework/xcframework_build.rb}
RENAMED
File without changes
|
data/lib/cocoapods_plugin.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-util
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- guojiashuang
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|
@@ -74,27 +74,27 @@ files:
|
|
74
74
|
- cocoapods-util.gemspec
|
75
75
|
- lib/cocoapods-util.rb
|
76
76
|
- lib/cocoapods-util/CocoapodsUtilHook.rb
|
77
|
-
- lib/cocoapods-util/cocoapods-extend/extend.rb
|
78
|
-
- lib/cocoapods-util/cocoapods-extend/install.rb
|
79
|
-
- lib/cocoapods-util/cocoapods-extend/install/list.rb
|
80
|
-
- lib/cocoapods-util/cocoapods-extend/repo.rb
|
81
|
-
- lib/cocoapods-util/cocoapods-extend/repo/push.rb
|
82
|
-
- lib/cocoapods-util/cocoapods-extend/repo/push_helper.rb
|
83
77
|
- lib/cocoapods-util/command.rb
|
78
|
+
- lib/cocoapods-util/command/cocoapods-extend/extend.rb
|
79
|
+
- lib/cocoapods-util/command/cocoapods-extend/install.rb
|
80
|
+
- lib/cocoapods-util/command/cocoapods-extend/install/list.rb
|
81
|
+
- lib/cocoapods-util/command/cocoapods-extend/repo.rb
|
82
|
+
- lib/cocoapods-util/command/cocoapods-extend/repo/push.rb
|
83
|
+
- lib/cocoapods-util/command/cocoapods-extend/repo/push_helper.rb
|
84
|
+
- lib/cocoapods-util/command/libsource/source.rb
|
85
|
+
- lib/cocoapods-util/command/libsource/source_linker.rb
|
86
|
+
- lib/cocoapods-util/command/package/helper/builder.rb
|
87
|
+
- lib/cocoapods-util/command/package/helper/framework.rb
|
88
|
+
- lib/cocoapods-util/command/package/helper/framework_builder.rb
|
89
|
+
- lib/cocoapods-util/command/package/helper/library_builder.rb
|
90
|
+
- lib/cocoapods-util/command/package/helper/pod_utils.rb
|
91
|
+
- lib/cocoapods-util/command/package/package.rb
|
92
|
+
- lib/cocoapods-util/command/user_interface/build_failed_report.rb
|
84
93
|
- lib/cocoapods-util/command/util.rb
|
94
|
+
- lib/cocoapods-util/command/xcframework/xcframework.rb
|
95
|
+
- lib/cocoapods-util/command/xcframework/xcframework_build.rb
|
85
96
|
- lib/cocoapods-util/gem_version.rb
|
86
97
|
- lib/cocoapods-util/hooks/installer.rb
|
87
|
-
- lib/cocoapods-util/libsource/source.rb
|
88
|
-
- lib/cocoapods-util/libsource/source_linker.rb
|
89
|
-
- lib/cocoapods-util/package/helper/builder.rb
|
90
|
-
- lib/cocoapods-util/package/helper/framework.rb
|
91
|
-
- lib/cocoapods-util/package/helper/framework_builder.rb
|
92
|
-
- lib/cocoapods-util/package/helper/library_builder.rb
|
93
|
-
- lib/cocoapods-util/package/helper/pod_utils.rb
|
94
|
-
- lib/cocoapods-util/package/package.rb
|
95
|
-
- lib/cocoapods-util/user_interface/build_failed_report.rb
|
96
|
-
- lib/cocoapods-util/xcframework/xcframework.rb
|
97
|
-
- lib/cocoapods-util/xcframework/xcramework_build.rb
|
98
98
|
- lib/cocoapods_plugin.rb
|
99
99
|
- spec/command/util_spec.rb
|
100
100
|
- spec/spec_helper.rb
|
@@ -102,7 +102,7 @@ homepage: https://github.com/CaryGo/cocoapods-util
|
|
102
102
|
licenses:
|
103
103
|
- MIT
|
104
104
|
metadata: {}
|
105
|
-
post_install_message:
|
105
|
+
post_install_message:
|
106
106
|
rdoc_options: []
|
107
107
|
require_paths:
|
108
108
|
- lib
|
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
version: '0'
|
119
119
|
requirements: []
|
120
120
|
rubygems_version: 3.1.2
|
121
|
-
signing_key:
|
121
|
+
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: 一个常用插件功能的集合,致力于解决日常开发中遇到的一些问题。
|
124
124
|
test_files:
|