cocoapods-kwai 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +3 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +120 -0
- data/LICENSE.txt +22 -0
- data/README.md +28 -0
- data/Rakefile +13 -0
- data/cocoapods-kwai.gemspec +26 -0
- data/lib/cocoapods-kwai/command/brizo/build_setting.rb +45 -0
- data/lib/cocoapods-kwai/command/brizo/install.rb +39 -0
- data/lib/cocoapods-kwai/command/brizo.rb +14 -0
- data/lib/cocoapods-kwai/command/install.rb +30 -0
- data/lib/cocoapods-kwai/command/kwai.rb +33 -0
- data/lib/cocoapods-kwai/command/repo/update.rb +45 -0
- data/lib/cocoapods-kwai/command/repo.rb +13 -0
- data/lib/cocoapods-kwai/command.rb +3 -0
- data/lib/cocoapods-kwai/gem_version.rb +3 -0
- data/lib/cocoapods-kwai/native/sources_manager.rb +16 -0
- data/lib/cocoapods-kwai.rb +1 -0
- data/lib/cocoapods_plugin.rb +1 -0
- data/spec/command/kwai_spec.rb +12 -0
- data/spec/spec_helper.rb +50 -0
- metadata +122 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 467c528dde4aba342e9296d552785fe37b0fc680af1725bcb7c028b4e62d5fa5
|
4
|
+
data.tar.gz: 0daae25cd1ef5a2669b454a1425888d0defa3d1ea4ddf4279d9989864c4d65e8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 663643fb8311ac31f7d3fb976e2650972417312e3cf08c75be222a1d66ccdad81a59cc5ba6b3668f43c9b3b7079f489a61b70ee4cf22864d9c62c935d24d9cfd
|
7
|
+
data.tar.gz: 751660fc51951d932edf8418c6f2fd720cd5c82aedde235118f03595e364aa63f494790331b492d7767fe0faad37d61d3a6fcf31782527a3319fbe19d036a799
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,120 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
cocoapods-kwai (1.0.2)
|
5
|
+
kwai-install-lock
|
6
|
+
parallel
|
7
|
+
|
8
|
+
GEM
|
9
|
+
remote: https://rubygems.org/
|
10
|
+
specs:
|
11
|
+
CFPropertyList (3.0.5)
|
12
|
+
rexml
|
13
|
+
activesupport (6.1.6)
|
14
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
15
|
+
i18n (>= 1.6, < 2)
|
16
|
+
minitest (>= 5.1)
|
17
|
+
tzinfo (~> 2.0)
|
18
|
+
zeitwerk (~> 2.3)
|
19
|
+
addressable (2.8.0)
|
20
|
+
public_suffix (>= 2.0.2, < 5.0)
|
21
|
+
algoliasearch (1.27.5)
|
22
|
+
httpclient (~> 2.8, >= 2.8.3)
|
23
|
+
json (>= 1.5.1)
|
24
|
+
atomos (0.1.3)
|
25
|
+
bacon (1.2.0)
|
26
|
+
claide (1.1.0)
|
27
|
+
cocoapods (1.11.3)
|
28
|
+
addressable (~> 2.8)
|
29
|
+
claide (>= 1.0.2, < 2.0)
|
30
|
+
cocoapods-core (= 1.11.3)
|
31
|
+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
|
32
|
+
cocoapods-downloader (>= 1.4.0, < 2.0)
|
33
|
+
cocoapods-plugins (>= 1.0.0, < 2.0)
|
34
|
+
cocoapods-search (>= 1.0.0, < 2.0)
|
35
|
+
cocoapods-trunk (>= 1.4.0, < 2.0)
|
36
|
+
cocoapods-try (>= 1.1.0, < 2.0)
|
37
|
+
colored2 (~> 3.1)
|
38
|
+
escape (~> 0.0.4)
|
39
|
+
fourflusher (>= 2.3.0, < 3.0)
|
40
|
+
gh_inspector (~> 1.0)
|
41
|
+
molinillo (~> 0.8.0)
|
42
|
+
nap (~> 1.0)
|
43
|
+
ruby-macho (>= 1.0, < 3.0)
|
44
|
+
xcodeproj (>= 1.21.0, < 2.0)
|
45
|
+
cocoapods-core (1.11.3)
|
46
|
+
activesupport (>= 5.0, < 7)
|
47
|
+
addressable (~> 2.8)
|
48
|
+
algoliasearch (~> 1.0)
|
49
|
+
concurrent-ruby (~> 1.1)
|
50
|
+
fuzzy_match (~> 2.0.4)
|
51
|
+
nap (~> 1.0)
|
52
|
+
netrc (~> 0.11)
|
53
|
+
public_suffix (~> 4.0)
|
54
|
+
typhoeus (~> 1.0)
|
55
|
+
cocoapods-deintegrate (1.0.5)
|
56
|
+
cocoapods-downloader (1.6.3)
|
57
|
+
cocoapods-plugins (1.0.0)
|
58
|
+
nap
|
59
|
+
cocoapods-search (1.0.1)
|
60
|
+
cocoapods-trunk (1.6.0)
|
61
|
+
nap (>= 0.8, < 2.0)
|
62
|
+
netrc (~> 0.11)
|
63
|
+
cocoapods-try (1.2.0)
|
64
|
+
colored2 (3.1.2)
|
65
|
+
concurrent-ruby (1.1.10)
|
66
|
+
escape (0.0.4)
|
67
|
+
ethon (0.15.0)
|
68
|
+
ffi (>= 1.15.0)
|
69
|
+
ffi (1.15.5)
|
70
|
+
fourflusher (2.3.1)
|
71
|
+
fuzzy_match (2.0.4)
|
72
|
+
gh_inspector (1.1.3)
|
73
|
+
httpclient (2.8.3)
|
74
|
+
i18n (1.10.0)
|
75
|
+
concurrent-ruby (~> 1.0)
|
76
|
+
json (2.6.2)
|
77
|
+
kwai-install-lock (0.1.0)
|
78
|
+
minitest (5.15.0)
|
79
|
+
mocha (1.14.0)
|
80
|
+
mocha-on-bacon (0.2.3)
|
81
|
+
mocha (>= 0.13.0)
|
82
|
+
molinillo (0.8.0)
|
83
|
+
nanaimo (0.3.0)
|
84
|
+
nap (1.1.0)
|
85
|
+
netrc (0.11.0)
|
86
|
+
parallel (1.22.1)
|
87
|
+
prettybacon (0.0.2)
|
88
|
+
bacon (~> 1.2)
|
89
|
+
public_suffix (4.0.7)
|
90
|
+
rake (13.0.6)
|
91
|
+
rexml (3.2.5)
|
92
|
+
ruby-macho (2.5.1)
|
93
|
+
typhoeus (1.4.0)
|
94
|
+
ethon (>= 0.9.0)
|
95
|
+
tzinfo (2.0.4)
|
96
|
+
concurrent-ruby (~> 1.0)
|
97
|
+
xcodeproj (1.21.0)
|
98
|
+
CFPropertyList (>= 2.3.3, < 4.0)
|
99
|
+
atomos (~> 0.1.3)
|
100
|
+
claide (>= 1.0.2, < 2.0)
|
101
|
+
colored2 (~> 3.1)
|
102
|
+
nanaimo (~> 0.3.0)
|
103
|
+
rexml (~> 3.2.4)
|
104
|
+
zeitwerk (2.5.4)
|
105
|
+
|
106
|
+
PLATFORMS
|
107
|
+
x86_64-darwin-20
|
108
|
+
|
109
|
+
DEPENDENCIES
|
110
|
+
bacon
|
111
|
+
bundler
|
112
|
+
cocoapods
|
113
|
+
cocoapods-kwai!
|
114
|
+
mocha
|
115
|
+
mocha-on-bacon
|
116
|
+
prettybacon
|
117
|
+
rake
|
118
|
+
|
119
|
+
BUNDLED WITH
|
120
|
+
2.2.4
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2020 songruiwang <songruiwang@kuaishou.com>
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
# cocoapods-kwai
|
2
|
+
|
3
|
+
A description of cocoapods-kwai.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
$ gem install cocoapods-kwai
|
8
|
+
|
9
|
+
## Usage
|
10
|
+
|
11
|
+
```
|
12
|
+
Usage:
|
13
|
+
|
14
|
+
$ pod kwai COMMAND
|
15
|
+
|
16
|
+
快手 cocoapods 插件,提供内部便捷功能
|
17
|
+
|
18
|
+
Commands:
|
19
|
+
|
20
|
+
+ repo 管理 spec 仓库.
|
21
|
+
|
22
|
+
Options:
|
23
|
+
|
24
|
+
--silent Show nothing
|
25
|
+
--verbose Show more debugging information
|
26
|
+
--no-ansi Show output without ANSI codes
|
27
|
+
--help Show help banner of specified command
|
28
|
+
```
|
data/Rakefile
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'cocoapods-kwai/gem_version.rb'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'cocoapods-kwai'
|
8
|
+
spec.version = CocoapodsKwai::VERSION
|
9
|
+
spec.authors = ['songruiwang']
|
10
|
+
spec.email = ['songruiwang@kuaishou.com']
|
11
|
+
spec.description = %q{快手 cocoapods 插件,提供内部便捷功能.}
|
12
|
+
spec.summary = %q{快手 cocoapods 插件,提供内部便捷功能.}
|
13
|
+
spec.homepage = 'https://github.com/EXAMPLE/cocoapods-kwai'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ['lib']
|
20
|
+
|
21
|
+
spec.add_development_dependency 'bundler'
|
22
|
+
spec.add_development_dependency 'rake'
|
23
|
+
|
24
|
+
spec.add_dependency 'parallel'
|
25
|
+
spec.add_dependency 'kwai-install-lock'
|
26
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
module Pod
|
2
|
+
class Command
|
3
|
+
class Kwai < Command
|
4
|
+
class Brizo < Kwai
|
5
|
+
class BuildSetting < Brizo
|
6
|
+
self.summary = 'config build settings'
|
7
|
+
|
8
|
+
def self.options
|
9
|
+
[
|
10
|
+
['--project-directory=/project/dir/', 'The path to the root of the project directory'],
|
11
|
+
['--dwarf-with-dsym', 'dwarf with dsym file'],
|
12
|
+
['--dwarf', 'dwarf'],
|
13
|
+
['--targets=A,B', 'target names']
|
14
|
+
].concat(super)
|
15
|
+
end
|
16
|
+
|
17
|
+
def initialize(argv)
|
18
|
+
@project_directory = argv.option('project-directory', '.')
|
19
|
+
@dwarf_with_dsym = argv.flag?('dwarf-with-dsym')
|
20
|
+
@dwarf = argv.flag?('dwarf')
|
21
|
+
@targets = argv.option('targets')
|
22
|
+
if @targets
|
23
|
+
@targets = @targets.split(',').map(&:strip)
|
24
|
+
end
|
25
|
+
super
|
26
|
+
end
|
27
|
+
|
28
|
+
def run
|
29
|
+
proj = Dir.glob(File.join(@project_directory, '*.xcodeproj')).first
|
30
|
+
raise "没有找到 xcodeproj 文件, pwd: #{`pwd`}" unless proj
|
31
|
+
project = Xcodeproj::Project.open(proj)
|
32
|
+
project.targets.each do |target|
|
33
|
+
next if @targets && !@targets.include?(target.name)
|
34
|
+
target.build_configurations.map(&:build_settings).each do |setting|
|
35
|
+
setting['DEBUG_INFORMATION_FORMAT'] = 'dwarf' if @dwarf
|
36
|
+
setting['DEBUG_INFORMATION_FORMAT'] = 'dwarf-with-dsym' if @dwarf_with_dsym
|
37
|
+
end
|
38
|
+
end
|
39
|
+
project.save
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,39 @@
|
|
1
|
+
require 'kwai/install/lock'
|
2
|
+
|
3
|
+
module Pod
|
4
|
+
class Command
|
5
|
+
class Kwai < Command
|
6
|
+
class Brizo < Kwai
|
7
|
+
class Install < Brizo
|
8
|
+
include ::Kwai::Install::Lock
|
9
|
+
self.summary = 'pod install with lock'
|
10
|
+
|
11
|
+
def self.options
|
12
|
+
[
|
13
|
+
['--project-directory=/project/dir/', 'The path to the root of the project directory'],
|
14
|
+
['--use-source', '是否采用源码'],
|
15
|
+
['--use-local=path', '是否使用本地源码'],
|
16
|
+
].concat(super)
|
17
|
+
end
|
18
|
+
|
19
|
+
def initialize(argv)
|
20
|
+
@project_directory = argv.option('project-directory', '.')
|
21
|
+
@use_source = argv.flag?('use-source')
|
22
|
+
@use_local = argv.option('use-local')
|
23
|
+
super
|
24
|
+
end
|
25
|
+
|
26
|
+
def run
|
27
|
+
synchronized do
|
28
|
+
cmd = "pod install --project-directory=#{@project_directory}"
|
29
|
+
cmd = "BRIZO_DEBUG_USE_SOURCE=1 #{cmd}" if @use_source || @use_local
|
30
|
+
cmd = "BRIZO_DEBUG_USE_LOCAL='#{@use_local}' #{cmd}" if @use_local
|
31
|
+
system cmd
|
32
|
+
raise "执行 pod install 失败, pwd: #{`pwd`}" unless $?.success?
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module Pod
|
2
|
+
class Command
|
3
|
+
class Kwai < Command
|
4
|
+
class Brizo < Kwai
|
5
|
+
|
6
|
+
require 'cocoapods-kwai/command/brizo/install'
|
7
|
+
require 'cocoapods-kwai/command/brizo/build_setting'
|
8
|
+
|
9
|
+
self.abstract_command = true
|
10
|
+
self.summary = 'brizo 相关辅助命令.'
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'kwai/install/lock'
|
2
|
+
|
3
|
+
module Pod
|
4
|
+
class Command
|
5
|
+
class Kwai < Command
|
6
|
+
class Install < Kwai
|
7
|
+
include ::Kwai::Install::Lock
|
8
|
+
self.summary = 'pod install with lock'
|
9
|
+
|
10
|
+
def self.options
|
11
|
+
[
|
12
|
+
['--project-directory=/project/dir/', 'The path to the root of the project directory'],
|
13
|
+
].concat(super)
|
14
|
+
end
|
15
|
+
|
16
|
+
def initialize(argv)
|
17
|
+
@project_directory = argv.option('project-directory', '.')
|
18
|
+
super
|
19
|
+
end
|
20
|
+
|
21
|
+
def run
|
22
|
+
synchronized do
|
23
|
+
system "pod install --project-directory=#{@project_directory}"
|
24
|
+
raise "执行 pod install 失败, pwd: #{`pwd`}" unless $?.success?
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module Pod
|
2
|
+
class Command
|
3
|
+
# This is an example of a cocoapods plugin adding a top-level subcommand
|
4
|
+
# to the 'pod' command.
|
5
|
+
#
|
6
|
+
# You can also create subcommands of existing or new commands. Say you
|
7
|
+
# wanted to add a subcommand to `list` to show newly deprecated pods,
|
8
|
+
# (e.g. `pod list deprecated`), there are a few things that would need
|
9
|
+
# to change.
|
10
|
+
#
|
11
|
+
# - move this file to `lib/pod/command/list/deprecated.rb` and update
|
12
|
+
# the class to exist in the the Pod::Command::List namespace
|
13
|
+
# - change this class to extend from `List` instead of `Command`. This
|
14
|
+
# tells the plugin system that it is a subcommand of `list`.
|
15
|
+
# - edit `lib/cocoapods_plugins.rb` to require this file
|
16
|
+
#
|
17
|
+
# @todo Create a PR to add your plugin to CocoaPods/cocoapods.org
|
18
|
+
# in the `plugins.json` file, once your plugin is released.
|
19
|
+
#
|
20
|
+
class Kwai < Command
|
21
|
+
|
22
|
+
require 'cocoapods-kwai/command/repo'
|
23
|
+
|
24
|
+
self.summary = '快手 cocoapods 插件.'
|
25
|
+
|
26
|
+
self.description = <<-DESC
|
27
|
+
快手 cocoapods 插件,提供内部便捷功能
|
28
|
+
DESC
|
29
|
+
|
30
|
+
self.abstract_command = true
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,45 @@
|
|
1
|
+
require 'parallel'
|
2
|
+
require 'cocoapods-kwai/native/sources_manager'
|
3
|
+
|
4
|
+
module Pod
|
5
|
+
class Command
|
6
|
+
class Kwai < Command
|
7
|
+
class Repo < Kwai
|
8
|
+
class Update < Repo
|
9
|
+
self.summary = '更新私有源'
|
10
|
+
|
11
|
+
self.arguments = [
|
12
|
+
CLAide::Argument.new('NAME', false),
|
13
|
+
]
|
14
|
+
|
15
|
+
def self.options
|
16
|
+
[
|
17
|
+
['--all', '更新所有私有源,默认只更新快手内部私有源'],
|
18
|
+
].concat(super)
|
19
|
+
end
|
20
|
+
|
21
|
+
def initialize(argv)
|
22
|
+
@all = argv.flag?('all')
|
23
|
+
@name = argv.shift_argument
|
24
|
+
super
|
25
|
+
end
|
26
|
+
|
27
|
+
def run
|
28
|
+
show_output = !config.silent?
|
29
|
+
if @name || @all
|
30
|
+
config.sources_manager.update(@name, show_output)
|
31
|
+
else
|
32
|
+
Parallel.each(config.sources_manager.kwai_sources, in_threads: 4) do |source|
|
33
|
+
# begin
|
34
|
+
source.update(show_output)
|
35
|
+
# rescue => e
|
36
|
+
# UI.warn("更新私有源失败 #{source.url}")
|
37
|
+
# end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'cocoapods'
|
2
|
+
|
3
|
+
module Pod
|
4
|
+
class Source
|
5
|
+
class Manager
|
6
|
+
# 源码 source
|
7
|
+
def kwai_sources
|
8
|
+
sources = all.select do |source|
|
9
|
+
source.url&.include?('git.corp.kuaishou.com') || source.url&.include?('kcache.corp.kuaishou.com')
|
10
|
+
end
|
11
|
+
|
12
|
+
sources.any? ? sources : all
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'cocoapods-kwai/gem_version'
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'cocoapods-kwai/command'
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
require 'pathname'
|
2
|
+
ROOT = Pathname.new(File.expand_path('../../', __FILE__))
|
3
|
+
$:.unshift((ROOT + 'lib').to_s)
|
4
|
+
$:.unshift((ROOT + 'spec').to_s)
|
5
|
+
|
6
|
+
require 'bundler/setup'
|
7
|
+
require 'bacon'
|
8
|
+
require 'mocha-on-bacon'
|
9
|
+
require 'pretty_bacon'
|
10
|
+
require 'pathname'
|
11
|
+
require 'cocoapods'
|
12
|
+
|
13
|
+
Mocha::Configuration.prevent(:stubbing_non_existent_method)
|
14
|
+
|
15
|
+
require 'cocoapods_plugin'
|
16
|
+
|
17
|
+
#-----------------------------------------------------------------------------#
|
18
|
+
|
19
|
+
module Pod
|
20
|
+
|
21
|
+
# Disable the wrapping so the output is deterministic in the tests.
|
22
|
+
#
|
23
|
+
UI.disable_wrap = true
|
24
|
+
|
25
|
+
# Redirects the messages to an internal store.
|
26
|
+
#
|
27
|
+
module UI
|
28
|
+
@output = ''
|
29
|
+
@warnings = ''
|
30
|
+
|
31
|
+
class << self
|
32
|
+
attr_accessor :output
|
33
|
+
attr_accessor :warnings
|
34
|
+
|
35
|
+
def puts(message = '')
|
36
|
+
@output << "#{message}\n"
|
37
|
+
end
|
38
|
+
|
39
|
+
def warn(message = '', actions = [])
|
40
|
+
@warnings << "#{message}\n"
|
41
|
+
end
|
42
|
+
|
43
|
+
def print(message)
|
44
|
+
@output << message
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
#-----------------------------------------------------------------------------#
|
metadata
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: cocoapods-kwai
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- songruiwang
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-06-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: parallel
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: kwai-install-lock
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
description: 快手 cocoapods 插件,提供内部便捷功能.
|
70
|
+
email:
|
71
|
+
- songruiwang@kuaishou.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- Gemfile
|
78
|
+
- Gemfile.lock
|
79
|
+
- LICENSE.txt
|
80
|
+
- README.md
|
81
|
+
- Rakefile
|
82
|
+
- cocoapods-kwai.gemspec
|
83
|
+
- lib/cocoapods-kwai.rb
|
84
|
+
- lib/cocoapods-kwai/command.rb
|
85
|
+
- lib/cocoapods-kwai/command/brizo.rb
|
86
|
+
- lib/cocoapods-kwai/command/brizo/build_setting.rb
|
87
|
+
- lib/cocoapods-kwai/command/brizo/install.rb
|
88
|
+
- lib/cocoapods-kwai/command/install.rb
|
89
|
+
- lib/cocoapods-kwai/command/kwai.rb
|
90
|
+
- lib/cocoapods-kwai/command/repo.rb
|
91
|
+
- lib/cocoapods-kwai/command/repo/update.rb
|
92
|
+
- lib/cocoapods-kwai/gem_version.rb
|
93
|
+
- lib/cocoapods-kwai/native/sources_manager.rb
|
94
|
+
- lib/cocoapods_plugin.rb
|
95
|
+
- spec/command/kwai_spec.rb
|
96
|
+
- spec/spec_helper.rb
|
97
|
+
homepage: https://github.com/EXAMPLE/cocoapods-kwai
|
98
|
+
licenses:
|
99
|
+
- MIT
|
100
|
+
metadata: {}
|
101
|
+
post_install_message:
|
102
|
+
rdoc_options: []
|
103
|
+
require_paths:
|
104
|
+
- lib
|
105
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0'
|
115
|
+
requirements: []
|
116
|
+
rubygems_version: 3.2.4
|
117
|
+
signing_key:
|
118
|
+
specification_version: 4
|
119
|
+
summary: 快手 cocoapods 插件,提供内部便捷功能.
|
120
|
+
test_files:
|
121
|
+
- spec/command/kwai_spec.rb
|
122
|
+
- spec/spec_helper.rb
|