cocoapods-ykutility 0.0.12

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.
Files changed (43) hide show
  1. checksums.yaml +7 -0
  2. data/lib/cocoapods-ykutility/command/Ykutility.rb +33 -0
  3. data/lib/cocoapods-ykutility/command/ykutility/create.rb +74 -0
  4. data/lib/cocoapods-ykutility/command.rb +1 -0
  5. data/lib/cocoapods-ykutility/function/yk_create_pod_action.rb +117 -0
  6. data/lib/cocoapods-ykutility/function/yk_create_pod_config.rb +22 -0
  7. data/lib/cocoapods-ykutility/function/yk_exchange_tool.rb +45 -0
  8. data/lib/cocoapods-ykutility/function/yk_log_tool.rb +21 -0
  9. data/lib/cocoapods-ykutility/gem_version.rb +4 -0
  10. data/lib/cocoapods-ykutility.rb +1 -0
  11. data/lib/cocoapods_plugin.rb +1 -0
  12. data/podTemplate/example/Podfile +44 -0
  13. data/podTemplate/example/Podfile.lock +16 -0
  14. data/podTemplate/example/YKRPC_POD_NAME_Example/AppDelegate.swift +36 -0
  15. data/podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/AccentColor.colorset/Contents.json +11 -0
  16. data/podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/AppIcon.appiconset/Contents.json +13 -0
  17. data/podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/Contents.json +6 -0
  18. data/podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/icon.imageset/Contents.json +21 -0
  19. data/podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/icon.imageset/icon.png +0 -0
  20. data/podTemplate/example/YKRPC_POD_NAME_Example/Base.lproj/LaunchScreen.storyboard +55 -0
  21. data/podTemplate/example/YKRPC_POD_NAME_Example/Base.lproj/Main.storyboard +65 -0
  22. data/podTemplate/example/YKRPC_POD_NAME_Example/Info.plist +25 -0
  23. data/podTemplate/example/YKRPC_POD_NAME_Example/SceneDelegate.swift +52 -0
  24. data/podTemplate/example/YKRPC_POD_NAME_Example/ViewController.swift +20 -0
  25. data/podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/project.pbxproj +362 -0
  26. data/podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  27. data/podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  28. data/podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/project.xcworkspace/xcuserdata/imac24inch.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  29. data/podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/xcuserdata/imac24inch.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  30. data/podTemplate/objc/LICENSE +19 -0
  31. data/podTemplate/objc/README.md +60 -0
  32. data/podTemplate/objc/YKRPC_POD_NAME/Assets/Images.xcassets/.gitkeep +0 -0
  33. data/podTemplate/objc/YKRPC_POD_NAME/Private/.gitkeep +0 -0
  34. data/podTemplate/objc/YKRPC_POD_NAME/Public/YKRPC_POD_NAME.h +16 -0
  35. data/podTemplate/objc/YKRPC_POD_NAME/Public/YKRPC_POD_NAME.m +12 -0
  36. data/podTemplate/objc/YKRPC_POD_NAME.podspec +61 -0
  37. data/podTemplate/swift/LICENSE +19 -0
  38. data/podTemplate/swift/README.md +60 -0
  39. data/podTemplate/swift/YKRPC_POD_NAME/Assets/Images.xcassets/.gitkeep +0 -0
  40. data/podTemplate/swift/YKRPC_POD_NAME/Private/.gitkeep +0 -0
  41. data/podTemplate/swift/YKRPC_POD_NAME/Public/YKRPC_POD_NAME.swift +6 -0
  42. data/podTemplate/swift/YKRPC_POD_NAME.podspec +61 -0
  43. metadata +84 -0
@@ -0,0 +1,60 @@
1
+ # YKRPC_POD_NAME
2
+
3
+ [![CI Status](https://img.shields.io/travis/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME.svg?style=flat)](https://travis-ci.org/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME)
4
+ [![Version](https://img.shields.io/cocoapods/v/YKRPC_POD_NAME.svg?style=flat)](https://cocoapods.org/pods/YKRPC_POD_NAME)
5
+ [![License](https://img.shields.io/cocoapods/l/YKRPC_POD_NAME.svg?style=flat)](https://github.com/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME/blob/701ff106db3caa805f9dab12df7749c03c889c47/LICENSE)
6
+ [![Platform](https://img.shields.io/cocoapods/p/YKRPC_POD_NAME.svg?style=flat)](https://cocoapods.org/pods/YKRPC_POD_NAME)
7
+
8
+ ## 摘要
9
+
10
+ YKRPC_POD_NAME 组件主要用于:
11
+
12
+ - 1
13
+ - 2
14
+
15
+ ## 用法
16
+
17
+ ### 集成
18
+
19
+ pod 'YKRPC_POD_NAME', '~> x.x.x'
20
+
21
+ ## 调用
22
+
23
+ ### 引用
24
+
25
+ - objc
26
+
27
+ ```objc
28
+ #import <YKRPC_POD_NAME/YKRPC_POD_NAME-Swift.h>
29
+ ```
30
+
31
+ - swift
32
+
33
+ ```swift
34
+ import YKRPC_POD_NAME
35
+ ```
36
+
37
+ ### 调用接口
38
+
39
+ - objc
40
+ ```objc
41
+ //objc 代码
42
+ ```
43
+
44
+ - swift
45
+
46
+ ```swift
47
+ //siwft 代码
48
+ ```
49
+
50
+ ## 历史版本
51
+
52
+ - [1.0.0](http://github/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME/tag/1.0.0)
53
+
54
+ - 初始化版本
55
+ - 提供: xxx, xxx 功能
56
+
57
+ - - [1.0.1](http://github/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME/tag/1.0.1)
58
+
59
+ - 修复
60
+ - 提供: xxx, xxx 功能
File without changes
@@ -0,0 +1,6 @@
1
+ //
2
+ // YKRPC_POD_NAME.swift
3
+ // Pod
4
+ //
5
+ // Created by YKPRC_AUTHOR_NAME on YKPRC_CREATE_DATE.
6
+ //
@@ -0,0 +1,61 @@
1
+ Pod::Spec.new do |spec|
2
+
3
+ spec.name = "YKRPC_POD_NAME"
4
+ spec.version = "0.0.1"
5
+ spec.summary = "YKRPC_POD_NAME 说明."
6
+ spec.description = <<-DESC
7
+ YKRPC_POD_NAME long description of the pod here.
8
+ DESC
9
+
10
+ spec.homepage = 'http://github.com/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME'
11
+ spec.license = { :type => "MIT", :file => "FILE_LICENSE" }
12
+ spec.author = { "YKPRC_AUTHOR_NAME" => "YKPRC_AUTHOR_EMAIL" }
13
+ spec.ios.deployment_target = '9.0'
14
+
15
+ spec.source = { :git => "http://github/YKPRC_AUTHOR_NAME/YKRPC_POD_NAME.git", :tag => "#{spec.version}" }
16
+
17
+
18
+ # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
19
+ spec.source_files = 'YKRPC_POD_NAME/{Public,Private}/**/*.{h,m,mm,c,cpp,swift}'
20
+ # spec.exclude_files = "YKRPC_POD_NAME/Exclude" #排除文件
21
+
22
+ spec.project_header_files = 'YKRPC_POD_NAME/Private/**/*.{h}'
23
+ spec.public_header_files = 'YKRPC_POD_NAME/Public/**/*.h' #此处放置组件的对外暴漏的头文件
24
+
25
+ # ――― binary framework/lib ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
26
+ #spec.vendored_frameworks = 'YKRPC_POD_NAME/Private/**/*.framework'
27
+ #spec.vendored_libraries = 'YKRPC_POD_NAME/Private/**/*.a'
28
+
29
+ # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
30
+ # 放置 json,font,jpg,png等资源
31
+
32
+ # spec.resource_bundles = {
33
+ # 'YKRPC_POD_NAME' => ['YKRPC_POD_NAME/Assets/*.xcassets', "YKRPC_POD_NAME/{Public,Private}/**/*.{png,jpg,font,json,xib}"]
34
+ # }
35
+
36
+
37
+ # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
38
+ # spec.framework = "SomeFramework"
39
+ # spec.frameworks = "SomeFramework", "AnotherFramework"
40
+ # spec.library = "iconv"
41
+ # spec.libraries = "iconv", "xml2"
42
+
43
+
44
+ # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
45
+ # spec.requires_arc = true
46
+
47
+ # spec.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
48
+
49
+ # 其他依赖pod
50
+ # spec.dependency "XXXXXXXX"
51
+
52
+ # spec.subspec 'WithLoad' do |ss|
53
+ # ss.source_files = 'YKHawkeye/Src/MethodUseTime/**/*{.h,.m}'
54
+ # ss.pod_target_xcconfig = {
55
+ # 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) YKHawkeyeWithLoad'
56
+ # }
57
+ # ss.dependency 'YKHawkeye/Core'
58
+ # ss.vendored_frameworks = 'YKHawkeye/Framework/*.framework'
59
+ # end
60
+
61
+ end
metadata ADDED
@@ -0,0 +1,84 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: cocoapods-ykutility
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.12
5
+ platform: ruby
6
+ authors:
7
+ - stephen.chen
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-02-17 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: 创建定制化标准组件.
14
+ email:
15
+ - stephenchen@yeahka.com
16
+ executables: []
17
+ extensions: []
18
+ extra_rdoc_files: []
19
+ files:
20
+ - lib/cocoapods-ykutility.rb
21
+ - lib/cocoapods-ykutility/command.rb
22
+ - lib/cocoapods-ykutility/command/Ykutility.rb
23
+ - lib/cocoapods-ykutility/command/ykutility/create.rb
24
+ - lib/cocoapods-ykutility/function/yk_create_pod_action.rb
25
+ - lib/cocoapods-ykutility/function/yk_create_pod_config.rb
26
+ - lib/cocoapods-ykutility/function/yk_exchange_tool.rb
27
+ - lib/cocoapods-ykutility/function/yk_log_tool.rb
28
+ - lib/cocoapods-ykutility/gem_version.rb
29
+ - lib/cocoapods_plugin.rb
30
+ - podTemplate/example/Podfile
31
+ - podTemplate/example/Podfile.lock
32
+ - podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/project.pbxproj
33
+ - podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/project.xcworkspace/contents.xcworkspacedata
34
+ - podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
35
+ - podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/project.xcworkspace/xcuserdata/imac24inch.xcuserdatad/UserInterfaceState.xcuserstate
36
+ - podTemplate/example/YKRPC_POD_NAME_Example.xcodeproj/xcuserdata/imac24inch.xcuserdatad/xcschemes/xcschememanagement.plist
37
+ - podTemplate/example/YKRPC_POD_NAME_Example/AppDelegate.swift
38
+ - podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/AccentColor.colorset/Contents.json
39
+ - podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/AppIcon.appiconset/Contents.json
40
+ - podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/Contents.json
41
+ - podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/icon.imageset/Contents.json
42
+ - podTemplate/example/YKRPC_POD_NAME_Example/Assets.xcassets/icon.imageset/icon.png
43
+ - podTemplate/example/YKRPC_POD_NAME_Example/Base.lproj/LaunchScreen.storyboard
44
+ - podTemplate/example/YKRPC_POD_NAME_Example/Base.lproj/Main.storyboard
45
+ - podTemplate/example/YKRPC_POD_NAME_Example/Info.plist
46
+ - podTemplate/example/YKRPC_POD_NAME_Example/SceneDelegate.swift
47
+ - podTemplate/example/YKRPC_POD_NAME_Example/ViewController.swift
48
+ - podTemplate/objc/LICENSE
49
+ - podTemplate/objc/README.md
50
+ - podTemplate/objc/YKRPC_POD_NAME.podspec
51
+ - podTemplate/objc/YKRPC_POD_NAME/Assets/Images.xcassets/.gitkeep
52
+ - podTemplate/objc/YKRPC_POD_NAME/Private/.gitkeep
53
+ - podTemplate/objc/YKRPC_POD_NAME/Public/YKRPC_POD_NAME.h
54
+ - podTemplate/objc/YKRPC_POD_NAME/Public/YKRPC_POD_NAME.m
55
+ - podTemplate/swift/LICENSE
56
+ - podTemplate/swift/README.md
57
+ - podTemplate/swift/YKRPC_POD_NAME.podspec
58
+ - podTemplate/swift/YKRPC_POD_NAME/Assets/Images.xcassets/.gitkeep
59
+ - podTemplate/swift/YKRPC_POD_NAME/Private/.gitkeep
60
+ - podTemplate/swift/YKRPC_POD_NAME/Public/YKRPC_POD_NAME.swift
61
+ homepage: https://github.com/stephen5652/cocoapods-yk-pod-utility.git
62
+ licenses:
63
+ - MIT
64
+ metadata: {}
65
+ post_install_message:
66
+ rdoc_options: []
67
+ require_paths:
68
+ - lib
69
+ required_ruby_version: !ruby/object:Gem::Requirement
70
+ requirements:
71
+ - - ">="
72
+ - !ruby/object:Gem::Version
73
+ version: '0'
74
+ required_rubygems_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ requirements: []
80
+ rubygems_version: 3.2.3
81
+ signing_key:
82
+ specification_version: 4
83
+ summary: 一款cocoapods插件,用于创建定制化标准组件.
84
+ test_files: []