cocoapods-ykutility 2.0.1 → 2.0.3

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: 2edfd4f3d874a31e6f45882f890a432edfad16942958f2eb3c4de451722180f7
4
- data.tar.gz: '0771699b838d9fbc3f9f202d31151551d2cca2b503bf5f9ad6e10549b9d10b0e'
3
+ metadata.gz: 1263c27bfc794451db4c0479d89b49f4ec8397e0bbff5f4c05f29566fb898c8c
4
+ data.tar.gz: 19d3426ac5f347149840c29c0c2b7bfd9f3862c0b2c95f0facbd98bbc7e75544
5
5
  SHA512:
6
- metadata.gz: d74de998d0da8726358d14bbcb9bdc47d8418f96ac5658e203e57d60a168bf01e416c980dbe1ca0f9d5f384051f3b870d48d3b3250ceb002405e2c153feba4c6
7
- data.tar.gz: 96b3510f35aaa538e2773b58cf51e145e9bdf851df59638f9643842456fba2acf19b0482b0a87ac9ccb8bbab6f679b765721f13fb3fa74604715af9d9a1a7243
6
+ metadata.gz: 367d9129c599ac9b6356a617f9633c4e2e1077a64326b75c6a80ff0028e46c4936ddfec8dcc197de250eb0070e1e0d197fa9919d6ac96e42bbf0043c2dca815f
7
+ data.tar.gz: 99b84dccb596e46cedd299a86e8d9aed648ba254ae89c55dd31afeb4aa1959e945acdb1ddf261af020543a2543c71765820682497b1bc68a621c0eceaff3cf33
@@ -12,10 +12,25 @@ inhibit_all_warnings!
12
12
  use_frameworks! :linkage => :static # 使用 framework形势的静态库, 注释可变为.a 静态库
13
13
  use_modular_headers! #此字段用于pod自动生成 swift module 伞文件
14
14
 
15
+
16
+ def st_installLocalPods(dir, arr)
17
+ arr.each do |onePod|
18
+ pod onePod, :path => File.join(dir, onePod)
19
+ end
20
+ end
21
+
22
+ def pod_develop
23
+ dir = '../'
24
+ arr = [
25
+ 'YKRPC_POD_NAME'
26
+ ]
27
+ st_installLocalPods(dir, arr)
28
+ end
29
+
15
30
  project 'YKRPC_POD_NAME_Example.xcodeproj'
16
31
  target 'YKRPC_POD_NAME_Example' do
17
32
  # Pods for YKRPC_POD_NAME_Example
18
- pod 'YKRPC_POD_NAME', :path => '../'
33
+ pod_develop
19
34
 
20
35
  end
21
36
 
@@ -50,4 +65,4 @@ post_install do |installer|
50
65
  config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
51
66
  end
52
67
  end
53
- end
68
+ end
@@ -1,5 +1,5 @@
1
1
  module CocoapodsYkPodUtility
2
- VERSION = '2.0.1'
2
+ VERSION = '2.0.3'
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
 
@@ -12,10 +12,24 @@ inhibit_all_warnings!
12
12
  use_frameworks! :linkage => :static # 使用 framework形势的静态库, 注释可变为.a 静态库
13
13
  use_modular_headers! #此字段用于pod自动生成 swift module 伞文件
14
14
 
15
+ def st_installLocalPods(dir, arr)
16
+ arr.each do |onePod|
17
+ pod onePod, :path => File.join(dir, onePod)
18
+ end
19
+ end
20
+
21
+ def pod_develop
22
+ dir = '../'
23
+ arr = [
24
+ 'YKRPC_POD_NAME'
25
+ ]
26
+ st_installLocalPods(dir, arr)
27
+ end
28
+
15
29
  project 'YKRPC_POD_NAME_Example.xcodeproj'
16
30
  target 'YKRPC_POD_NAME_Example' do
17
31
  # Pods for YKRPC_POD_NAME_Example
18
- pod 'YKRPC_POD_NAME', :path => '../'
32
+ pod_develop
19
33
 
20
34
  end
21
35
 
@@ -41,4 +55,4 @@ post_install do |installer|
41
55
  config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
42
56
  end
43
57
  end
44
- end
58
+ end
@@ -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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-ykutility
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - stephen.chen