cocoapods-byte-csjm 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +8 -0
- data/LICENSE.txt +22 -0
- data/README.md +11 -0
- data/Rakefile +13 -0
- data/cocoapods-byte-csjm.gemspec +24 -0
- data/lib/cocoapods-byte-csjm/gem_version.rb +1 -1
- data/lib/cocoapods-byte-csjm/gm.rb +0 -3
- data/spec/command/csjm_spec.rb +12 -0
- data/spec/spec_helper.rb +50 -0
- metadata +34 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 374c780bde27274f76af08f94bf9dc0bc2697e37877c6f8a781b68a5368da3d5
|
4
|
+
data.tar.gz: d04034a4b6ed01528493a7a7f06498277f3a9ec41f26dc7c7b7e11a3743f6c07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 421a89a93612e67f18d0658801cf32a74c20d0262a01b17ece8b5daa25135e5451ef99175b519fe52131acb9a4c45efb07912d35f25d4b795d64f6d0ace9e14d
|
7
|
+
data.tar.gz: '08c8478bcce199997012f480098317d5979311932e7f0b7730639d014f628a342beab1ba465b612e9b956f80493764e33572b72f4a730c8a2ec2d401604222a5'
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2023 zhangtianhao.1230@bytedance.com <zhangtianhao.1230@bytedance.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
data/Rakefile
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'cocoapods-byte-csjm/gem_version.rb'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = 'cocoapods-byte-csjm'
|
8
|
+
spec.version = CocoapodsByteCsjm::VERSION
|
9
|
+
spec.authors = ['zhangtianhao.1230@bytedance.com']
|
10
|
+
spec.email = ['zhangtianhao.1230@bytedance.com']
|
11
|
+
spec.description = 'a plugin for csjm'
|
12
|
+
spec.summary ='a plugin for csjm'
|
13
|
+
spec.homepage = 'https://github.com/EXAMPLE/cocoapods-byte-csjm'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
# spec.files = Dir['lib/**/*']
|
18
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
|
+
spec.require_paths = ['lib']
|
21
|
+
spec.add_dependency "cocoapods", '>= 1.1.1', '< 2.0'
|
22
|
+
spec.add_development_dependency 'bundler', '~> 1.3'
|
23
|
+
spec.add_development_dependency 'rake'
|
24
|
+
end
|
@@ -698,11 +698,8 @@ module Pod
|
|
698
698
|
|
699
699
|
def use_gm_adapter_update!(option)
|
700
700
|
@global_gm_build_config = GM::Recorder.instance.find_global_note option
|
701
|
-
|
702
|
-
|
703
701
|
end
|
704
702
|
|
705
|
-
|
706
703
|
alias_method :original_parse_inhibit_warnings, :parse_inhibit_warnings
|
707
704
|
def parse_inhibit_warnings(name, requirements)
|
708
705
|
|
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
CHANGED
@@ -1,15 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-byte-csjm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zhangtianhao.1230@bytedance.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-08-
|
11
|
+
date: 2023-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: cocoapods
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.1.1
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '2.0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.1.1
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.0'
|
13
33
|
- !ruby/object:Gem::Dependency
|
14
34
|
name: bundler
|
15
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -38,13 +58,18 @@ dependencies:
|
|
38
58
|
- - ">="
|
39
59
|
- !ruby/object:Gem::Version
|
40
60
|
version: '0'
|
41
|
-
description:
|
61
|
+
description: a plugin for csjm
|
42
62
|
email:
|
43
63
|
- zhangtianhao.1230@bytedance.com
|
44
64
|
executables: []
|
45
65
|
extensions: []
|
46
66
|
extra_rdoc_files: []
|
47
67
|
files:
|
68
|
+
- Gemfile
|
69
|
+
- LICENSE.txt
|
70
|
+
- README.md
|
71
|
+
- Rakefile
|
72
|
+
- cocoapods-byte-csjm.gemspec
|
48
73
|
- lib/cocoapods-byte-csjm.rb
|
49
74
|
- lib/cocoapods-byte-csjm/config.rb
|
50
75
|
- lib/cocoapods-byte-csjm/csj.rb
|
@@ -52,6 +77,8 @@ files:
|
|
52
77
|
- lib/cocoapods-byte-csjm/gm.rb
|
53
78
|
- lib/cocoapods-byte-csjm/net.rb
|
54
79
|
- lib/cocoapods_plugin.rb
|
80
|
+
- spec/command/csjm_spec.rb
|
81
|
+
- spec/spec_helper.rb
|
55
82
|
homepage: https://github.com/EXAMPLE/cocoapods-byte-csjm
|
56
83
|
licenses:
|
57
84
|
- MIT
|
@@ -74,5 +101,7 @@ requirements: []
|
|
74
101
|
rubygems_version: 3.2.3
|
75
102
|
signing_key:
|
76
103
|
specification_version: 4
|
77
|
-
summary:
|
78
|
-
test_files:
|
104
|
+
summary: a plugin for csjm
|
105
|
+
test_files:
|
106
|
+
- spec/command/csjm_spec.rb
|
107
|
+
- spec/spec_helper.rb
|