cocoapods-ykutility 2.0.0 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60ff05c2b35fb097b1e4180d1adb1b425ef97a61eb0d342702f3a658ad8d95a2
4
- data.tar.gz: b1beca616224f4333f3a927efb3cb0aacd0f1f1b23c381a4f39e4f73e65cd3d2
3
+ metadata.gz: '092755c239fb4d2d23357d0227cbfbf79fddf8a06238593403d45984398cb48b'
4
+ data.tar.gz: ee8041a9503123681c8ed3c5e76a7d448e6b31ce9cba849403cbc9bf29fabce1
5
5
  SHA512:
6
- metadata.gz: e4bbd170262c206a2494fffc589bfe8f3ff64680879c267f72a5165ab6767ba8aed0316011fbb16bc2b8b16b4578c8e913ea94adc59e1d7606051c9a16665b9d
7
- data.tar.gz: 0ff1a1f6f0c8ff85b9f2a27e87e5a7db7290b4f2c1af10fb60a5537b0fb27cdb7eaa03c04f68acef85628bb5d4495d4c6a4904e5856081d4bc4b48d4b98b82ef
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
- @config.author = argv.option('author', open("|git config --global user.name").gets).strip.gsub('.', '')
42
- @config.author_email = argv.option('email', open("|git config --global user.email").gets).strip
43
- @config.prefix = argv.option('prefix', "YK")
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
- @config.author = argv.option('author', open("|git config --global user.name").gets).strip.gsub('.', '')
42
- @config.author_email = argv.option('email', open("|git config --global user.email").gets).strip
43
- @config.prefix = argv.option('prefix', "YK")
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
@@ -1,5 +1,5 @@
1
1
  module CocoapodsYkPodUtility
2
- VERSION = '2.0.0'
2
+ VERSION = '2.0.2'
3
3
  YK_POD_TEMPLATE_PATH = File.expand_path(File.join(__FILE__, '../../../podTemplate'))
4
4
  YK_POD_BUSINESS_REGISTER_PATH = File.expand_path(File.join(__FILE__, '../../../podTemplate/register'))
5
5
 
@@ -6,7 +6,7 @@
6
6
  //
7
7
  import STModuleServiceSwift
8
8
 
9
- private class YKRPC_POD_NAMERegisterService: NSObject, STModuleServiceProtocol {
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.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-26 00:00:00.000000000 Z
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.1.6
258
+ rubygems_version: 3.2.3
259
259
  signing_key:
260
260
  specification_version: 4
261
261
  summary: 一款cocoapods插件,用于创建定制化标准组件.