cocoapods-binary-cache 0.1.2 → 0.1.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/lib/cocoapods-binary-cache/cache/validation_result.rb +4 -0
- data/lib/cocoapods-binary-cache/cache/validator.rb +2 -3
- data/lib/cocoapods-binary-cache/cache/validator_base.rb +28 -8
- data/lib/cocoapods-binary-cache/cache/validator_dependencies_graph.rb +7 -2
- data/lib/cocoapods-binary-cache/cache/validator_dev_pods.rb +21 -13
- data/lib/cocoapods-binary-cache/cache/validator_non_dev_pods.rb +1 -1
- data/lib/cocoapods-binary-cache/dependencies_graph/dependencies_graph.rb +20 -25
- data/lib/cocoapods-binary-cache/dependencies_graph/graph_visualizer.rb +29 -38
- data/lib/cocoapods-binary-cache/diagnosis/base.rb +13 -0
- data/lib/cocoapods-binary-cache/diagnosis/diagnosis.rb +24 -0
- data/lib/cocoapods-binary-cache/diagnosis/integration.rb +23 -0
- data/lib/cocoapods-binary-cache/env.rb +32 -0
- data/lib/cocoapods-binary-cache/helper/checksum.rb +10 -4
- data/lib/cocoapods-binary-cache/helper/lockfile.rb +26 -3
- data/lib/cocoapods-binary-cache/helper/podspec.rb +5 -1
- data/lib/cocoapods-binary-cache/helper/prebuild_order.rb +12 -0
- data/lib/cocoapods-binary-cache/hooks/post_install.rb +20 -2
- data/lib/cocoapods-binary-cache/hooks/pre_install.rb +14 -44
- data/lib/cocoapods-binary-cache/main.rb +2 -1
- data/lib/cocoapods-binary-cache/pod-binary/helper/build.rb +40 -0
- data/lib/cocoapods-binary-cache/pod-binary/helper/detected_prebuilt_pods/installer.rb +2 -2
- data/lib/cocoapods-binary-cache/pod-binary/helper/detected_prebuilt_pods/target_definition.rb +3 -10
- data/lib/cocoapods-binary-cache/pod-binary/helper/names.rb +2 -11
- data/lib/cocoapods-binary-cache/pod-binary/helper/prebuild_sandbox.rb +15 -15
- data/lib/cocoapods-binary-cache/pod-binary/helper/target_checker.rb +7 -10
- data/lib/cocoapods-binary-cache/pod-binary/integration.rb +1 -3
- data/lib/cocoapods-binary-cache/pod-binary/integration/alter_specs.rb +4 -1
- data/lib/cocoapods-binary-cache/pod-binary/integration/patch/embed_framework_script.rb +1 -1
- data/lib/cocoapods-binary-cache/pod-binary/integration/patch/resolve_dependencies.rb +0 -3
- data/lib/cocoapods-binary-cache/pod-binary/integration/patch/sandbox_analyzer_state.rb +29 -0
- data/lib/cocoapods-binary-cache/pod-binary/integration/patch/source_installation.rb +6 -3
- data/lib/cocoapods-binary-cache/pod-binary/integration/source_installer.rb +42 -50
- data/lib/cocoapods-binary-cache/pod-binary/prebuild.rb +45 -110
- data/lib/cocoapods-binary-cache/pod-binary/prebuild_dsl.rb +2 -61
- data/lib/cocoapods-binary-cache/pod-binary/prebuild_hook.rb +0 -1
- data/lib/cocoapods-binary-cache/pod-rome/xcodebuild_command.rb +192 -0
- data/lib/cocoapods-binary-cache/pod-rome/xcodebuild_raw.rb +43 -0
- data/lib/cocoapods-binary-cache/prebuild_output/metadata.rb +16 -0
- data/lib/cocoapods-binary-cache/prebuild_output/output.rb +12 -39
- data/lib/cocoapods-binary-cache/scheme_editor.rb +17 -16
- data/lib/cocoapods-binary-cache/state_store.rb +16 -6
- data/lib/command/binary.rb +21 -2
- data/lib/command/config.rb +173 -10
- data/lib/command/executor/base.rb +7 -0
- data/lib/command/executor/fetcher.rb +4 -4
- data/lib/command/executor/prebuilder.rb +2 -2
- data/lib/command/executor/pusher.rb +1 -1
- data/lib/command/executor/visualizer.rb +3 -2
- data/lib/command/fetch.rb +0 -1
- data/lib/command/prebuild.rb +14 -2
- data/lib/command/push.rb +22 -0
- metadata +15 -11
- data/lib/cocoapods-binary-cache/pod-binary/helper/feature_switches.rb +0 -90
- data/lib/cocoapods-binary-cache/pod-binary/helper/passer.rb +0 -25
- data/lib/cocoapods-binary-cache/pod-binary/integration/remove_target_files.rb +0 -29
- data/lib/cocoapods-binary-cache/pod-binary/tool/tool.rb +0 -12
- data/lib/cocoapods-binary-cache/pod-rome/build_framework.rb +0 -247
- data/lib/cocoapods-binary-cache/prebuild_cache.rb +0 -49
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
module PodPrebuild
|
|
2
|
-
|
|
3
|
-
@
|
|
4
|
-
|
|
2
|
+
def self.state
|
|
3
|
+
@state ||= State.new
|
|
4
|
+
end
|
|
5
|
+
|
|
6
|
+
class State
|
|
7
|
+
def initialize
|
|
8
|
+
@store = {
|
|
9
|
+
:cache_validation => CacheValidationResult.new
|
|
10
|
+
}
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
def update(data)
|
|
14
|
+
@store.merge!(data)
|
|
15
|
+
end
|
|
5
16
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
attr_accessor :cache_validation
|
|
17
|
+
def cache_validation
|
|
18
|
+
@store[:cache_validation]
|
|
9
19
|
end
|
|
10
20
|
end
|
|
11
21
|
end
|
data/lib/command/binary.rb
CHANGED
|
@@ -2,16 +2,35 @@ require "fileutils"
|
|
|
2
2
|
require_relative "config"
|
|
3
3
|
require_relative "fetch"
|
|
4
4
|
require_relative "prebuild"
|
|
5
|
+
require_relative "push"
|
|
5
6
|
require_relative "visualize"
|
|
6
7
|
|
|
7
8
|
module Pod
|
|
8
9
|
class Command
|
|
9
10
|
class Binary < Command
|
|
10
11
|
self.abstract_command = true
|
|
11
|
-
self.
|
|
12
|
+
def self.options
|
|
13
|
+
[
|
|
14
|
+
["--repo", "Cache repo (in accordance with `cache_repo` in `config_cocoapods_binary_cache`)"]
|
|
15
|
+
]
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def initialize(argv)
|
|
19
|
+
super
|
|
20
|
+
load_podfile
|
|
21
|
+
update_cli_config(:repo => argv.option("repo"))
|
|
22
|
+
end
|
|
12
23
|
|
|
13
24
|
def prebuild_config
|
|
14
|
-
@prebuild_config ||= PodPrebuild
|
|
25
|
+
@prebuild_config ||= PodPrebuild.config
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def load_podfile
|
|
29
|
+
Pod::Config.instance.podfile
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def update_cli_config(options)
|
|
33
|
+
PodPrebuild.config.cli_config.merge!(options)
|
|
15
34
|
end
|
|
16
35
|
end
|
|
17
36
|
end
|
data/lib/command/config.rb
CHANGED
|
@@ -1,14 +1,44 @@
|
|
|
1
1
|
require_relative "../cocoapods-binary-cache/helper/json"
|
|
2
2
|
|
|
3
3
|
module PodPrebuild
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
def self.config
|
|
5
|
+
PodPrebuild::Config.instance
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class Config # rubocop:disable Metrics/ClassLength
|
|
9
|
+
attr_accessor :dsl_config, :cli_config
|
|
6
10
|
|
|
7
11
|
def initialize(path)
|
|
8
|
-
@
|
|
9
|
-
@
|
|
10
|
-
@
|
|
11
|
-
@
|
|
12
|
+
@deprecated_config = File.exist?(path) ? PodPrebuild::JSONFile.new(path).data : {}
|
|
13
|
+
@dsl_config = {}
|
|
14
|
+
@cli_config = {}
|
|
15
|
+
@detected_config = {}
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
def self.instance
|
|
19
|
+
@instance ||= new("PodBinaryCacheConfig.json")
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
def reset!
|
|
23
|
+
@deprecated_config = {}
|
|
24
|
+
@dsl_config = {}
|
|
25
|
+
@cli_config = {}
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def cache_repo
|
|
29
|
+
@cache_repo ||= cache_repo_config["remote"]
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
def cache_path
|
|
33
|
+
@cache_path ||= File.expand_path(cache_repo_config["local"])
|
|
34
|
+
end
|
|
35
|
+
|
|
36
|
+
def prebuild_sandbox_path
|
|
37
|
+
@dsl_config[:prebuild_sandbox_path] || @deprecated_config["prebuild_path"] || "_Prebuild"
|
|
38
|
+
end
|
|
39
|
+
|
|
40
|
+
def prebuild_delta_path
|
|
41
|
+
@dsl_config[:prebuild_delta_path] || @deprecated_config["prebuild_delta_path"] || "_Prebuild_delta/changes.json"
|
|
12
42
|
end
|
|
13
43
|
|
|
14
44
|
def manifest_path(in_cache: false)
|
|
@@ -16,16 +46,149 @@ module PodPrebuild
|
|
|
16
46
|
end
|
|
17
47
|
|
|
18
48
|
def root_dir(in_cache)
|
|
19
|
-
in_cache ?
|
|
49
|
+
in_cache ? cache_path : prebuild_sandbox_path
|
|
20
50
|
end
|
|
21
51
|
|
|
22
52
|
def generated_frameworks_dir(in_cache: false)
|
|
23
53
|
root_dir(in_cache) + "/GeneratedFrameworks"
|
|
24
54
|
end
|
|
25
55
|
|
|
26
|
-
def
|
|
27
|
-
|
|
28
|
-
|
|
56
|
+
def prebuilt_path(path: nil)
|
|
57
|
+
path.nil? ? "_Prebuilt" : "_Prebuilt/#{path}"
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
def validate_dsl_config
|
|
61
|
+
inapplicable_options = @dsl_config.keys - applicable_dsl_config
|
|
62
|
+
return if inapplicable_options.empty?
|
|
63
|
+
|
|
64
|
+
message = <<~HEREDOC
|
|
65
|
+
[WARNING] The following options (in `config_cocoapods_binary_cache`) are not correct: #{inapplicable_options}.
|
|
66
|
+
Available options: #{applicable_dsl_config}.
|
|
67
|
+
Check out the following doc for more details
|
|
68
|
+
https://github.com/grab/cocoapods-binary-cache/blob/master/docs/configure_cocoapods_binary_cache.md
|
|
69
|
+
HEREDOC
|
|
70
|
+
|
|
71
|
+
Pod::UI.puts message.yellow
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
def prebuild_config
|
|
75
|
+
@cli_config[:prebuild_config] || @dsl_config[:prebuild_config] || "Debug"
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
def prebuild_job?
|
|
79
|
+
@cli_config[:prebuild_job] || @dsl_config[:prebuild_job]
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
def prebuild_all_pods?
|
|
83
|
+
@cli_config[:prebuild_all_pods] || @dsl_config[:prebuild_all_pods]
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
def excluded_pods
|
|
87
|
+
((@dsl_config[:excluded_pods] || Set.new) + (@detected_config[:excluded_pods] || Set.new)).to_set
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
def dev_pods_enabled?
|
|
91
|
+
@dsl_config[:dev_pods_enabled]
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
def bitcode_enabled?
|
|
95
|
+
@dsl_config[:bitcode_enabled]
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
def device_build_enabled?
|
|
99
|
+
@dsl_config[:device_build_enabled]
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
def disable_dsym?
|
|
103
|
+
@dsl_config[:disable_dsym]
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
def dont_remove_source_code?
|
|
107
|
+
@dsl_config[:dont_remove_source_code]
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
def build_args
|
|
111
|
+
@dsl_config[:build_args]
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
def save_cache_validation_to
|
|
115
|
+
@dsl_config[:save_cache_validation_to]
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
def validate_prebuilt_settings
|
|
119
|
+
@dsl_config[:validate_prebuilt_settings]
|
|
120
|
+
end
|
|
121
|
+
|
|
122
|
+
def prebuild_code_gen
|
|
123
|
+
@dsl_config[:prebuild_code_gen]
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
def strict_diagnosis?
|
|
127
|
+
@dsl_config[:strict_diagnosis]
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
def targets_to_prebuild_from_cli
|
|
131
|
+
@cli_config[:prebuild_targets] || []
|
|
132
|
+
end
|
|
133
|
+
|
|
134
|
+
def update_detected_prebuilt_pod_names!(value)
|
|
135
|
+
@detected_config[:prebuilt_pod_names] = value
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
def update_detected_excluded_pods!(value)
|
|
139
|
+
@detected_config[:excluded_pods] = value
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
def prebuilt_pod_names
|
|
143
|
+
@detected_config[:prebuilt_pod_names] || Set.new
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
def tracked_prebuilt_pod_names
|
|
147
|
+
prebuilt_pod_names - excluded_pods
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
private
|
|
151
|
+
|
|
152
|
+
def applicable_dsl_config
|
|
153
|
+
[
|
|
154
|
+
:cache_repo,
|
|
155
|
+
:prebuild_sandbox_path,
|
|
156
|
+
:prebuild_delta_path,
|
|
157
|
+
:prebuild_config,
|
|
158
|
+
:prebuild_job,
|
|
159
|
+
:prebuild_all_pods,
|
|
160
|
+
:excluded_pods,
|
|
161
|
+
:dev_pods_enabled,
|
|
162
|
+
:bitcode_enabled,
|
|
163
|
+
:device_build_enabled,
|
|
164
|
+
:disable_dsym,
|
|
165
|
+
:dont_remove_source_code,
|
|
166
|
+
:build_args,
|
|
167
|
+
:save_cache_validation_to,
|
|
168
|
+
:validate_prebuilt_settings,
|
|
169
|
+
:prebuild_code_gen,
|
|
170
|
+
:strict_diagnosis
|
|
171
|
+
]
|
|
172
|
+
end
|
|
173
|
+
|
|
174
|
+
def cache_repo_config
|
|
175
|
+
@cache_repo_config ||= begin
|
|
176
|
+
repo = @cli_config[:repo] || "default"
|
|
177
|
+
config_ = @dsl_config[:cache_repo] || {}
|
|
178
|
+
if config_[repo].nil?
|
|
179
|
+
message = <<~HEREDOC
|
|
180
|
+
[Deprecated] Configs in `PodBinaryCacheConfig.json` are deprecated.
|
|
181
|
+
Declare option `cache_repo` in `config_cocoapods_binary_cache` instead.
|
|
182
|
+
Check out the following doc for more details
|
|
183
|
+
https://github.com/grab/cocoapods-binary-cache/blob/master/docs/configure_cocoapods_binary_cache.md
|
|
184
|
+
HEREDOC
|
|
185
|
+
Pod::UI.puts message.yellow
|
|
186
|
+
end
|
|
187
|
+
config_[repo] || {
|
|
188
|
+
"remote" => @deprecated_config["cache_repo"] || @deprecated_config["prebuilt_cache_repo"],
|
|
189
|
+
"local" => @deprecated_config["cache_path"] || "~/.cocoapods-binary-cache/prebuilt-frameworks"
|
|
190
|
+
}
|
|
191
|
+
end
|
|
29
192
|
end
|
|
30
193
|
end
|
|
31
194
|
end
|
|
@@ -4,6 +4,13 @@ module PodPrebuild
|
|
|
4
4
|
@config = options[:config]
|
|
5
5
|
end
|
|
6
6
|
|
|
7
|
+
def installer
|
|
8
|
+
@installer ||= begin
|
|
9
|
+
pod_config = Pod::Config.instance
|
|
10
|
+
Pod::Installer.new(pod_config.sandbox, pod_config.podfile, pod_config.lockfile)
|
|
11
|
+
end
|
|
12
|
+
end
|
|
13
|
+
|
|
7
14
|
def git(cmd, options = {})
|
|
8
15
|
comps = ["git"]
|
|
9
16
|
comps << "-C" << @config.cache_path unless options[:cache_repo] == false
|
|
@@ -22,7 +22,7 @@ module PodPrebuild
|
|
|
22
22
|
if Dir.exist?(dest_dir + "/.git")
|
|
23
23
|
git("fetch origin #{branch}")
|
|
24
24
|
git("checkout -f FETCH_HEAD", ignore_output: true)
|
|
25
|
-
git("branch -D #{branch}
|
|
25
|
+
git("branch -D #{branch}", ignore_output: true, can_fail: true)
|
|
26
26
|
git("checkout -b #{branch}")
|
|
27
27
|
else
|
|
28
28
|
FileUtils.rm_rf(dest_dir)
|
|
@@ -31,9 +31,9 @@ module PodPrebuild
|
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
def unzip_cache
|
|
34
|
-
Pod::UI.puts "Unzipping cache: #{@config.cache_path} -> #{@config.
|
|
35
|
-
FileUtils.rm_rf(@config.
|
|
36
|
-
FileUtils.mkdir_p(@config.
|
|
34
|
+
Pod::UI.puts "Unzipping cache: #{@config.cache_path} -> #{@config.prebuild_sandbox_path}".green
|
|
35
|
+
FileUtils.rm_rf(@config.prebuild_sandbox_path)
|
|
36
|
+
FileUtils.mkdir_p(@config.prebuild_sandbox_path)
|
|
37
37
|
|
|
38
38
|
if File.exist?(@config.manifest_path(in_cache: true))
|
|
39
39
|
FileUtils.cp(
|
|
@@ -15,7 +15,7 @@ module PodPrebuild
|
|
|
15
15
|
def run
|
|
16
16
|
@fetcher.run
|
|
17
17
|
prebuild
|
|
18
|
-
changes = PodPrebuild::JSONFile.new(@config.
|
|
18
|
+
changes = PodPrebuild::JSONFile.new(@config.prebuild_delta_path)
|
|
19
19
|
return if changes.empty?
|
|
20
20
|
|
|
21
21
|
sync_cache(changes)
|
|
@@ -26,7 +26,7 @@ module PodPrebuild
|
|
|
26
26
|
|
|
27
27
|
def prebuild
|
|
28
28
|
Pod::UI.step("Installation") do
|
|
29
|
-
|
|
29
|
+
installer.install!
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
|
|
@@ -13,8 +13,9 @@ module PodPrebuild
|
|
|
13
13
|
def run
|
|
14
14
|
FileUtils.mkdir_p(@output_dir)
|
|
15
15
|
graph = DependenciesGraph.new(@lockfile)
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
output_path = "#{@output_dir}/graph.png"
|
|
17
|
+
graph.write_graphic_file(output_path: output_path)
|
|
18
|
+
system("open #{@output_path}") if @open
|
|
18
19
|
end
|
|
19
20
|
end
|
|
20
21
|
end
|
data/lib/command/fetch.rb
CHANGED
data/lib/command/prebuild.rb
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
require_relative "executor/prebuilder"
|
|
2
|
+
require_relative "../cocoapods-binary-cache/pod-binary/prebuild_dsl"
|
|
2
3
|
|
|
3
4
|
module Pod
|
|
4
5
|
class Command
|
|
@@ -7,12 +8,23 @@ module Pod
|
|
|
7
8
|
self.arguments = [CLAide::Argument.new("CACHE-BRANCH", false)]
|
|
8
9
|
def self.options
|
|
9
10
|
[
|
|
10
|
-
["--
|
|
11
|
-
|
|
11
|
+
["--config", "Config (Debug, Test...) to prebuild"],
|
|
12
|
+
["--push", "Push cache to repo upon completion"],
|
|
13
|
+
["--all", "Prebuild all binary pods regardless of cache validation"],
|
|
14
|
+
["--targets", "Targets to prebuild. Use comma (,) to specify a list of targets"]
|
|
15
|
+
].concat(super)
|
|
12
16
|
end
|
|
13
17
|
|
|
14
18
|
def initialize(argv)
|
|
15
19
|
super
|
|
20
|
+
prebuild_all_pods = argv.flag?("all")
|
|
21
|
+
prebuild_targets = argv.option("targets", "").split(",")
|
|
22
|
+
update_cli_config(
|
|
23
|
+
:prebuild_job => true,
|
|
24
|
+
:prebuild_all_pods => prebuild_all_pods,
|
|
25
|
+
:prebuild_config => argv.option("config")
|
|
26
|
+
)
|
|
27
|
+
update_cli_config(:prebuild_targets => prebuild_targets) unless prebuild_all_pods
|
|
16
28
|
@prebuilder = PodPrebuild::CachePrebuilder.new(
|
|
17
29
|
config: prebuild_config,
|
|
18
30
|
cache_branch: argv.shift_argument || "master",
|
data/lib/command/push.rb
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
require_relative "executor/pusher"
|
|
2
|
+
|
|
3
|
+
module Pod
|
|
4
|
+
class Command
|
|
5
|
+
class Binary < Command
|
|
6
|
+
class Push < Binary
|
|
7
|
+
self.arguments = [CLAide::Argument.new("CACHE-BRANCH", false)]
|
|
8
|
+
def initialize(argv)
|
|
9
|
+
super
|
|
10
|
+
@pusher = PodPrebuild::CachePusher.new(
|
|
11
|
+
config: prebuild_config,
|
|
12
|
+
cache_branch: argv.shift_argument || "master"
|
|
13
|
+
)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
def run
|
|
17
|
+
@pusher.run
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
21
|
+
end
|
|
22
|
+
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-binary-cache
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bang Nguyen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-10-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cocoapods
|
|
@@ -70,14 +70,14 @@ dependencies:
|
|
|
70
70
|
name: bundler
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - "
|
|
73
|
+
- - ">="
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: '1.3'
|
|
76
76
|
type: :development
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- - "
|
|
80
|
+
- - ">="
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '1.3'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
@@ -115,21 +115,25 @@ files:
|
|
|
115
115
|
- lib/cocoapods-binary-cache/cache/validator_with_podfile.rb
|
|
116
116
|
- lib/cocoapods-binary-cache/dependencies_graph/dependencies_graph.rb
|
|
117
117
|
- lib/cocoapods-binary-cache/dependencies_graph/graph_visualizer.rb
|
|
118
|
+
- lib/cocoapods-binary-cache/diagnosis/base.rb
|
|
119
|
+
- lib/cocoapods-binary-cache/diagnosis/diagnosis.rb
|
|
120
|
+
- lib/cocoapods-binary-cache/diagnosis/integration.rb
|
|
121
|
+
- lib/cocoapods-binary-cache/env.rb
|
|
118
122
|
- lib/cocoapods-binary-cache/helper/benchmark_show.rb
|
|
119
123
|
- lib/cocoapods-binary-cache/helper/checksum.rb
|
|
120
124
|
- lib/cocoapods-binary-cache/helper/json.rb
|
|
121
125
|
- lib/cocoapods-binary-cache/helper/lockfile.rb
|
|
122
126
|
- lib/cocoapods-binary-cache/helper/path_utils.rb
|
|
123
127
|
- lib/cocoapods-binary-cache/helper/podspec.rb
|
|
128
|
+
- lib/cocoapods-binary-cache/helper/prebuild_order.rb
|
|
124
129
|
- lib/cocoapods-binary-cache/hooks/post_install.rb
|
|
125
130
|
- lib/cocoapods-binary-cache/hooks/pre_install.rb
|
|
126
131
|
- lib/cocoapods-binary-cache/main.rb
|
|
127
132
|
- lib/cocoapods-binary-cache/pod-binary/LICENSE.txt
|
|
133
|
+
- lib/cocoapods-binary-cache/pod-binary/helper/build.rb
|
|
128
134
|
- lib/cocoapods-binary-cache/pod-binary/helper/detected_prebuilt_pods/installer.rb
|
|
129
135
|
- lib/cocoapods-binary-cache/pod-binary/helper/detected_prebuilt_pods/target_definition.rb
|
|
130
|
-
- lib/cocoapods-binary-cache/pod-binary/helper/feature_switches.rb
|
|
131
136
|
- lib/cocoapods-binary-cache/pod-binary/helper/names.rb
|
|
132
|
-
- lib/cocoapods-binary-cache/pod-binary/helper/passer.rb
|
|
133
137
|
- lib/cocoapods-binary-cache/pod-binary/helper/podfile_options.rb
|
|
134
138
|
- lib/cocoapods-binary-cache/pod-binary/helper/prebuild_sandbox.rb
|
|
135
139
|
- lib/cocoapods-binary-cache/pod-binary/helper/target_checker.rb
|
|
@@ -137,17 +141,16 @@ files:
|
|
|
137
141
|
- lib/cocoapods-binary-cache/pod-binary/integration/alter_specs.rb
|
|
138
142
|
- lib/cocoapods-binary-cache/pod-binary/integration/patch/embed_framework_script.rb
|
|
139
143
|
- lib/cocoapods-binary-cache/pod-binary/integration/patch/resolve_dependencies.rb
|
|
144
|
+
- lib/cocoapods-binary-cache/pod-binary/integration/patch/sandbox_analyzer_state.rb
|
|
140
145
|
- lib/cocoapods-binary-cache/pod-binary/integration/patch/source_installation.rb
|
|
141
|
-
- lib/cocoapods-binary-cache/pod-binary/integration/remove_target_files.rb
|
|
142
146
|
- lib/cocoapods-binary-cache/pod-binary/integration/source_installer.rb
|
|
143
147
|
- lib/cocoapods-binary-cache/pod-binary/integration/validation.rb
|
|
144
148
|
- lib/cocoapods-binary-cache/pod-binary/prebuild.rb
|
|
145
149
|
- lib/cocoapods-binary-cache/pod-binary/prebuild_dsl.rb
|
|
146
150
|
- lib/cocoapods-binary-cache/pod-binary/prebuild_hook.rb
|
|
147
|
-
- lib/cocoapods-binary-cache/pod-binary/tool/tool.rb
|
|
148
151
|
- lib/cocoapods-binary-cache/pod-rome/LICENSE.txt
|
|
149
|
-
- lib/cocoapods-binary-cache/pod-rome/
|
|
150
|
-
- lib/cocoapods-binary-cache/
|
|
152
|
+
- lib/cocoapods-binary-cache/pod-rome/xcodebuild_command.rb
|
|
153
|
+
- lib/cocoapods-binary-cache/pod-rome/xcodebuild_raw.rb
|
|
151
154
|
- lib/cocoapods-binary-cache/prebuild_output/metadata.rb
|
|
152
155
|
- lib/cocoapods-binary-cache/prebuild_output/output.rb
|
|
153
156
|
- lib/cocoapods-binary-cache/scheme_editor.rb
|
|
@@ -164,6 +167,7 @@ files:
|
|
|
164
167
|
- lib/command/fetch.rb
|
|
165
168
|
- lib/command/helper/zip.rb
|
|
166
169
|
- lib/command/prebuild.rb
|
|
170
|
+
- lib/command/push.rb
|
|
167
171
|
- lib/command/visualize.rb
|
|
168
172
|
homepage: https://github.com/grab/cocoapods-binary-cache
|
|
169
173
|
licenses:
|
|
@@ -184,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
184
188
|
- !ruby/object:Gem::Version
|
|
185
189
|
version: '0'
|
|
186
190
|
requirements: []
|
|
187
|
-
rubygems_version: 3.0.
|
|
191
|
+
rubygems_version: 3.0.3
|
|
188
192
|
signing_key:
|
|
189
193
|
specification_version: 4
|
|
190
194
|
summary: Reduce build time by building pod frameworks and cache to remote storage,
|