cocoapods-ykutility 2.0.0 → 2.0.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '092755c239fb4d2d23357d0227cbfbf79fddf8a06238593403d45984398cb48b'
|
|
4
|
+
data.tar.gz: ee8041a9503123681c8ed3c5e76a7d448e6b31ce9cba849403cbc9bf29fabce1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c94f7106e92c467d8ec0ae16a26b38c7451fd8b93e7684a26e9441826c975d159e489fe4586037d1013228d06b34f121c25dfa2a29ebe0fe80f44e1fc3a5e59a
|
|
7
|
+
data.tar.gz: 6eedee2d21fb72d9419727fc2573d7ed8ce43d2d435c5c8002853ad5036f53fffd1e3f9c7c35c0db6432c7d979ac4cf24e718d741ce7478185e178228706c199
|
|
@@ -38,9 +38,15 @@ module Pod
|
|
|
38
38
|
@config.language = (["objc", "oc"].include? argv.option('language', "swift").downcase) ? "objc" : "swift"
|
|
39
39
|
@config.with_demo = !argv.flag?('no-demo', false)
|
|
40
40
|
@config.with_register = argv.flag?('business', false)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
@config.
|
|
41
|
+
author = argv.option('author', open("|git config --global user.name").gets)
|
|
42
|
+
author = author.blank? ? "defualt_author" : author
|
|
43
|
+
@config.author = author.strip.gsub('.', '')
|
|
44
|
+
|
|
45
|
+
email = argv.option('email', open("|git config --global user.email").gets)
|
|
46
|
+
email = email.blank? ? "defualt_email" : email
|
|
47
|
+
@config.author_email = email.strip
|
|
48
|
+
|
|
49
|
+
@config.prefix = argv.option('prefix', "ST")
|
|
44
50
|
@config.path = File.expand_path(argv.option('pod-path', Dir.getwd.to_s))
|
|
45
51
|
super
|
|
46
52
|
@additional_args = argv.remainder!
|
|
@@ -73,4 +79,4 @@ module Pod
|
|
|
73
79
|
|
|
74
80
|
end
|
|
75
81
|
end
|
|
76
|
-
end
|
|
82
|
+
end
|
|
@@ -38,9 +38,16 @@ module Pod
|
|
|
38
38
|
@config.language = (["objc", "oc"].include? argv.option('language', "swift").downcase) ? "objc" : "swift"
|
|
39
39
|
@config.with_demo = !argv.flag?('no-demo', false)
|
|
40
40
|
@config.with_register = argv.flag?('business', false)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
|
|
42
|
+
author = argv.option('author', open("|git config --global user.name").gets)
|
|
43
|
+
author = author.blank? ? "defualt_author" : author
|
|
44
|
+
@config.author = author.strip.gsub('.', '')
|
|
45
|
+
|
|
46
|
+
email = argv.option('email', open("|git config --global user.email").gets)
|
|
47
|
+
email = email.blank? ? "defualt_email" : email
|
|
48
|
+
@config.author_email = email.strip
|
|
49
|
+
|
|
50
|
+
@config.prefix = argv.option('prefix', "ST")
|
|
44
51
|
@config.path = File.expand_path(argv.option('pod-path', Dir.getwd.to_s))
|
|
45
52
|
super
|
|
46
53
|
@additional_args = argv.remainder!
|
|
@@ -71,4 +78,4 @@ module Pod
|
|
|
71
78
|
|
|
72
79
|
end
|
|
73
80
|
end
|
|
74
|
-
end
|
|
81
|
+
end
|
data/podTemplate/register/swift/YKRPC_POD_NAME/Private/register/YKRPC_POD_NAMERegisterService.swift
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
//
|
|
7
7
|
import STModuleServiceSwift
|
|
8
8
|
|
|
9
|
-
private class YKRPC_POD_NAMERegisterService: NSObject,
|
|
9
|
+
private class YKRPC_POD_NAMERegisterService: NSObject, STModuleServiceRegisterProtocol {
|
|
10
10
|
static func stModuleServiceRegistAction() {
|
|
11
11
|
//注册服务 NSObject --> NSObjectProtocol NSObjectProtocol为 swift 协议
|
|
12
12
|
// STModuleService().stRegistModule(YKRPC_POD_NAMERegisterService.self, protocol: NSObjectProtocol.self, err: nil)
|
|
@@ -18,4 +18,4 @@ private class YKRPC_POD_NAMERegisterService: NSObject, STModuleServiceProtocol {
|
|
|
18
18
|
// static func xxxxx() -> xxxxxObjc {
|
|
19
19
|
// return XXXXX()
|
|
20
20
|
// }
|
|
21
|
-
// }
|
|
21
|
+
// }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocoapods-ykutility
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- stephen.chen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-01-
|
|
11
|
+
date: 2024-01-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jazzy
|
|
@@ -255,7 +255,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
255
255
|
- !ruby/object:Gem::Version
|
|
256
256
|
version: '0'
|
|
257
257
|
requirements: []
|
|
258
|
-
rubygems_version: 3.
|
|
258
|
+
rubygems_version: 3.2.3
|
|
259
259
|
signing_key:
|
|
260
260
|
specification_version: 4
|
|
261
261
|
summary: 一款cocoapods插件,用于创建定制化标准组件.
|