cocoapods-ykutility 1.0.2 → 2.0.0

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: cef97d3e56c2f2731b6f72df8b51404344c6b19436e8b07aeeffb90d78f20b07
4
- data.tar.gz: e4dc506bede873274e5d52ca4094bc9e801fc9559111d3318a757018e2332cc1
3
+ metadata.gz: 60ff05c2b35fb097b1e4180d1adb1b425ef97a61eb0d342702f3a658ad8d95a2
4
+ data.tar.gz: b1beca616224f4333f3a927efb3cb0aacd0f1f1b23c381a4f39e4f73e65cd3d2
5
5
  SHA512:
6
- metadata.gz: a30fbc00095f720e24726dc9979119a3ed2ac44a20e04518964a1dd7151c80e27e812d07edfc4f460ec279a802c7052790087a8f377c273e18ad269a16111362
7
- data.tar.gz: 2ef798a71e349627f4c79115ba1420236f684358bf4b78fdc32897f137db276e6f8dfafed503a687f9a6e041958c4f805b7f44b8e401b485d3370d8e5bee2939
6
+ metadata.gz: e4bbd170262c206a2494fffc589bfe8f3ff64680879c267f72a5165ab6767ba8aed0316011fbb16bc2b8b16b4578c8e913ea94adc59e1d7606051c9a16665b9d
7
+ data.tar.gz: 0ff1a1f6f0c8ff85b9f2a27e87e5a7db7290b4f2c1af10fb60a5537b0fb27cdb7eaa03c04f68acef85628bb5d4495d4c6a4904e5856081d4bc4b48d4b98b82ef
@@ -6,20 +6,20 @@
6
6
  //
7
7
 
8
8
  #import "YKRPC_POD_NAMERegisterRouter.h"
9
- #import <YKRouterComponent/YKRouterComponentHeader.h>
9
+ #import <STComponentTools/STRouterHeader.h>
10
10
 
11
- @interface YKRPC_POD_NAMERegisterRouter()<YKRouterComponentRegisterProtocol>
11
+ @interface YKRPC_POD_NAMERegisterRouter()<STRouterRegisterProtocol>
12
12
 
13
13
  @end
14
14
 
15
15
  @implementation YKRPC_POD_NAMERegisterRouter
16
16
 
17
- + (void)ykRouterRegisterExecute {
18
- [[YKRouterComponent shareInstance] ykRegisterUrlPartterns:@"XXXRouterStr" error:nil action:^(YKRouterUrlRequest * _Nonnull urlRequest, YKRouterUrlCompletion _Nonnull completetion) {
17
+ + (void)stRouterRegisterExecute {
18
+ // [[STRouter shareInstance] stRegisterUrlPartterns:@"XXXRouterStr" error:nil action:^(STRouterUrlRequest * _Nonnull urlRequest, STRouterUrlCompletion _Nonnull completetion) {
19
19
  // xxxVC *vc = [[xxxVC alloc] init];
20
20
  // UIViewController *topVC = urlRequest.fromVC ? urlRequest.fromVC : [UIViewController topController];
21
21
  // [topVC.navigationController pushViewController:vc animated:YES];
22
- }];
22
+ // }];
23
23
  }
24
24
 
25
25
 
@@ -6,14 +6,14 @@
6
6
  //
7
7
 
8
8
  #import "YKRPC_POD_NAMERegisterService.h"
9
- #import <YKModuleServiceComponent/YKModuleServiceComponentHeader.h>
9
+ #import <STComponentTools/STModuleServiceHeader.h>
10
10
 
11
- @interface YKRPC_POD_NAMERegisterService()<YKModuleServiceRegisterProtocol, SUAdvertisementServiceProtocol>
11
+ @interface YKRPC_POD_NAMERegisterService()<STModuleServiceRegisterProtocol> //xxxxServiceProtocol
12
12
  @end
13
13
  @implementation SUAdvertisementServiceRegister
14
14
 
15
- + (void)ykModuleServiceRegistAction {
16
- YKModuleServiceRegisterExecute(SUAdvertisementServiceRegister.class, @protocol(SUAdvertisementServiceProtocol), nil);
15
+ + (void)stModuleServiceRegistAction {
16
+ // stModuleServiceRegisterExecute(SUAdvertisementServiceRegister.class, @protocol(SUAdvertisementServiceProtocol), nil);
17
17
  }
18
18
 
19
19
  @end
@@ -5,11 +5,11 @@
5
5
  // Created by YKRPC_AUTHOR_NAME on YKRPC_CREATE_DATE.
6
6
  //
7
7
 
8
- import YKRouterComponent
8
+ import STComponentTools.STRouter
9
9
 
10
- private class YKRPC_POD_NAMERegisterRouter: NSObject, YKRouterComponentRegisterProtocol {
11
- public static func ykRouterRegisterExecute() {
12
- // YKRouterRegisterUrlParttern("xxxxxxRouterString", nil) { (req: YKRouterUrlRequest, com: YKRouterUrlCompletion?) in
10
+ private class YKRPC_POD_NAMERegisterRouter: NSObject, STRouterRegisterProtocol {
11
+ public static func stRouterRegisterExecute() {
12
+ // stRouterRegisterUrlParttern("xxxxxxRouterString", nil) { (req: STRouterUrlRequest, com: STRouterUrlCompletion?) in
13
13
  // let topVC = req.fromVC ?? UIViewController.getTopVC()
14
14
  // let vc = REUserProfileVC()
15
15
  // topVC?.navigationController?.pushViewController(vc, animated: true)
@@ -4,11 +4,12 @@
4
4
  //
5
5
  // Created by YKRPC_AUTHOR_NAME on YKRPC_CREATE_DATE.
6
6
  //
7
- import YKModuleServiceComponentSwift
7
+ import STModuleServiceSwift
8
8
 
9
- private class YKRPC_POD_NAMERegisterService: NSObject, YKModuleServiceRegisterProtocol {
10
- static func ykModuleServiceRegistAction() {
11
- // YKModuleServiceComponent().ykRegistModule(REHomeServiceRegist.self, protocol: XXXXProtocol.self, err: nil)
9
+ private class YKRPC_POD_NAMERegisterService: NSObject, STModuleServiceRegisterProtocol {
10
+ static func stModuleServiceRegistAction() {
11
+ //注册服务 NSObject --> NSObjectProtocol NSObjectProtocol为 swift 协议
12
+ // STModuleService().stRegistModule(YKRPC_POD_NAMERegisterService.self, protocol: NSObjectProtocol.self, err: nil)
12
13
  }
13
14
  }
14
15
 
@@ -94,14 +94,12 @@ module YKPod
94
94
  spec_file_path = File.join(pod_dir_cache, "YKRPC_POD_NAME.podspec")
95
95
 
96
96
  # 在倒数第二行插入新语句
97
- # s.dependency "YKRouterComponent"
98
- # s.dependency "YKModuleServiceComponent.swift" #swift 服务中间件, 如果是纯oc组件,请注释此中间件
99
- de_router = "spec.dependency \"YKRouterComponent\"\n"
100
- de_service = "spec.dependency \"YKModuleServiceComponent"
97
+ # s.dependency "STComponentTools/STRouter"
98
+ # s.dependency "STModuleService.swift" #swift 服务中间件, 如果是纯oc组件,请注释此中间件
99
+ de_router = "spec.dependency \"STComponentTools/STRouter\"\n"
100
+ de_service = "spec.dependency \"STComponentTools/STModuleService\" #oc 服务中间件\n"
101
101
  if @config.language == "swift"
102
- de_service += ".swift\" #swift 服务中间件\n"
103
- else
104
- de_service += "\" #oc 服务中间件\n"
102
+ de_service = "spec.dependency \"STModuleService.swift\" #swift 服务中间件\n"
105
103
  end
106
104
 
107
105
  lines = File.readlines(spec_file_path)
@@ -136,7 +134,7 @@ module YKPod
136
134
 
137
135
 
138
136
  # 在第二行插入新语句
139
- source_pri = "http://gitlab.y" + "ea" + "hk" + "a.com/App/iOS/YeahkaNativeComSpecsIndex.git"
137
+ source_pri = "https://github.com/STTechnology5652/STSpecs.git"
140
138
  lines = File.readlines(pod_file_cache)
141
139
  lines.insert(2, "source \"#{source_pri}\"\n")
142
140
  File.open(pod_file_cache, 'w') { |file| file.puts(lines.join) }
@@ -16,7 +16,7 @@ module YKPod
16
16
  user_email = user_email.blank? ? 'xxx@xxx.com' : user_email
17
17
  @author = user_name.strip.gsub('.', '')
18
18
  @author_email = user_email.strip
19
- @prefix = 'YK'
19
+ @prefix = 'ST'
20
20
  @path = File.expand_path(Dir.getwd.to_s)
21
21
  end
22
22
 
@@ -96,14 +96,12 @@ module YKPod
96
96
  spec_file_path = File.join(pod_dir_cache, "YKRPC_POD_NAME.podspec")
97
97
 
98
98
  # 在倒数第二行插入新语句
99
- # s.dependency "YKRouterComponent"
100
- # s.dependency "YKModuleServiceComponent.swift" #swift 服务中间件, 如果是纯oc组件,请注释此中间件
101
- de_router = " spec.dependency \"YKRouterComponent\"\n"
102
- de_service = " spec.dependency \"YKModuleServiceComponent"
99
+ # s.dependency "STComponentTools/STRouter"
100
+ # s.dependency "STModuleService.swift" #swift 服务中间件, 如果是纯oc组件,请注释此中间件
101
+ de_router = "spec.dependency \"STComponentTools/STRouter\"\n"
102
+ de_service = "spec.dependency \"STComponentTools/STModuleService\" #oc 服务中间件\n"
103
103
  if @config.language == "swift"
104
- de_service += ".swift\" #swift 服务中间件\n"
105
- else
106
- de_service += "\" #oc 服务中间件\n"
104
+ de_service = "spec.dependency \"STModuleService.swift\" #swift 服务中间件\n"
107
105
  end
108
106
 
109
107
  lines = File.readlines(spec_file_path)
@@ -141,7 +139,7 @@ module YKPod
141
139
 
142
140
 
143
141
  # 在第二行插入新语句
144
- source_pri = "http://gitlab.y" + "ea" + "hk" + "a.com/App/iOS/YeahkaNativeComSpecsIndex.git"
142
+ source_pri = "https://github.com/STTechnology5652/STSpecs.git"
145
143
  lines = File.readlines(pod_file_cache)
146
144
  lines.insert(2, "source \"#{source_pri}\"\n")
147
145
  File.open(pod_file_cache, 'w') { |file| file.puts(lines.join) }
@@ -1,5 +1,5 @@
1
1
  module CocoapodsYkPodUtility
2
- VERSION = '1.0.2'
2
+ VERSION = '2.0.0'
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,16 +6,16 @@
6
6
  //
7
7
 
8
8
  #import "YKRPC_POD_NAMERegisterRouter.h"
9
- #import <YKRouterComponent/YKRouterComponentHeader.h>
9
+ #import <STComponentTools/STRouterHeader.h>
10
10
 
11
- @interface YKRPC_POD_NAMERegisterRouter()<YKRouterComponentRegisterProtocol>
11
+ @interface YKRPC_POD_NAMERegisterRouter()<STRouterRegisterProtocol>
12
12
 
13
13
  @end
14
14
 
15
15
  @implementation YKRPC_POD_NAMERegisterRouter
16
16
 
17
- + (void)ykRouterRegisterExecute {
18
- [[YKRouterComponent shareInstance] ykRegisterUrlPartterns:@"XXXRouterStr" error:nil action:^(YKRouterUrlRequest * _Nonnull urlRequest, YKRouterUrlCompletion _Nonnull completetion) {
17
+ + (void)stRouterRegisterExecute {
18
+ [[STRouterComponent shareInstance] ykRegisterUrlPartterns:@"XXXRouterStr" error:nil action:^(STRouterUrlRequest * _Nonnull urlRequest, STRouterUrlCompletion _Nonnull completetion) {
19
19
  // xxxVC *vc = [[xxxVC alloc] init];
20
20
  // UIViewController *topVC = urlRequest.fromVC ? urlRequest.fromVC : [UIViewController topController];
21
21
  // [topVC.navigationController pushViewController:vc animated:YES];
@@ -6,14 +6,14 @@
6
6
  //
7
7
 
8
8
  #import "YKRPC_POD_NAMERegisterService.h"
9
- #import <YKModuleServiceComponent/YKModuleServiceComponentHeader.h>
9
+ #import <STComponentTools/STModuleServiceHeader.h>
10
10
 
11
- @interface YKRPC_POD_NAMERegisterService()<YKModuleServiceRegisterProtocol, SUAdvertisementServiceProtocol>
11
+ @interface YKRPC_POD_NAMERegisterService()<STModuleServiceRegisterProtocol> //xxxxServiceProtocol
12
12
  @end
13
13
  @implementation SUAdvertisementServiceRegister
14
14
 
15
- + (void)ykModuleServiceRegistAction {
16
- YKModuleServiceRegisterExecute(SUAdvertisementServiceRegister.class, @protocol(SUAdvertisementServiceProtocol), nil);
15
+ + (void)stModuleServiceRegistAction {
16
+ // stModuleServiceRegisterExecute(SUAdvertisementServiceRegister.class, @protocol(SUAdvertisementServiceProtocol), nil);
17
17
  }
18
18
 
19
19
  @end
@@ -5,11 +5,11 @@
5
5
  // Created by YKRPC_AUTHOR_NAME on YKRPC_CREATE_DATE.
6
6
  //
7
7
 
8
- import YKRouterComponent
8
+ import STComponentTools.STRouter
9
9
 
10
- private class YKRPC_POD_NAMERegisterRouter: NSObject, YKRouterComponentRegisterProtocol {
11
- public static func ykRouterRegisterExecute() {
12
- // YKRouterRegisterUrlParttern("xxxxxxRouterString", nil) { (req: YKRouterUrlRequest, com: YKRouterUrlCompletion?) in
10
+ private class YKRPC_POD_NAMERegisterRouter: NSObject, STRouterRegisterProtocol {
11
+ public static func stRouterRegisterExecute() {
12
+ // stRouterRegisterUrlParttern("xxxxxxRouterString", nil) { (req: STRouterUrlRequest, com: STRouterUrlCompletion?) in
13
13
  // let topVC = req.fromVC ?? UIViewController.getTopVC()
14
14
  // let vc = REUserProfileVC()
15
15
  // topVC?.navigationController?.pushViewController(vc, animated: true)
@@ -4,11 +4,12 @@
4
4
  //
5
5
  // Created by YKRPC_AUTHOR_NAME on YKRPC_CREATE_DATE.
6
6
  //
7
- import YKModuleServiceComponentSwift
7
+ import STModuleServiceSwift
8
8
 
9
- private class YKRPC_POD_NAMERegisterService: NSObject, YKModuleServiceRegisterProtocol {
10
- static func ykModuleServiceRegistAction() {
11
- // YKModuleServiceComponent().ykRegistModule(REHomeServiceRegist.self, protocol: XXXXProtocol.self, err: nil)
9
+ private class YKRPC_POD_NAMERegisterService: NSObject, STModuleServiceProtocol {
10
+ static func stModuleServiceRegistAction() {
11
+ //注册服务 NSObject --> NSObjectProtocol NSObjectProtocol为 swift 协议
12
+ // STModuleService().stRegistModule(YKRPC_POD_NAMERegisterService.self, protocol: NSObjectProtocol.self, err: nil)
12
13
  }
13
14
  }
14
15
 
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: 1.0.2
4
+ version: 2.0.0
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-12 00:00:00.000000000 Z
11
+ date: 2024-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jazzy