cocoapods-ykutility 2.0.6 → 2.0.8

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: 90655cea1dd324831fb7570558ba3e3415794f7fc1732c53d77eff02e922ec17
4
- data.tar.gz: b0fa6dbb7f95e303a0cffdbbe7ed6633768842681b4ed86a8b029cc4d4655fe6
3
+ metadata.gz: b5a32ebcbd3aa90cd799b4ba2c645745c42dfb52fe9e1e15a09faaaa72faa810
4
+ data.tar.gz: f38851e03953bbed0e2e67aebbfc4ece4e405dc87c53e007ddff826db02954de
5
5
  SHA512:
6
- metadata.gz: 55ba77801d768ce25a1d1980de755669284c0b2147e623a8228e6dc80ac7b6054d9c28738537ebc0c20ca613518c94733f69e0190da5f1cfee260985def21aee
7
- data.tar.gz: e88c9fe50f1fc8588fca9d6992e12f5815cbdc3a5e4a47faab49cad43403be4b8bd84a61d9f189c25f2d65563f26ec151c091fe5f2cf9cfca0323f361b6c4f2d
6
+ metadata.gz: e3a7832bcf2380e2b0944cd093c859df63c39c885849b7e2e54077c56137a3cb3e41a1852f06e8cbe144753b4fca968e204e328fd1f31c0ee3947f6992cc5803
7
+ data.tar.gz: 5ca8ce59bb6c5c054df0e265b787fce5a2885b6863bae1c2f057bb01a32e3c252e2b1ac0ce162d3465eb8f84f5111b3758f179e1f3a998230d388243e3cf20f8
@@ -0,0 +1,64 @@
1
+ .DS_Store
2
+
3
+ # Xcode
4
+ #
5
+ # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
6
+
7
+ xcuserdata/
8
+ UserInterfaceState.xcuserstate
9
+ UserInterface.xcuserstate
10
+ *.xcuserstate
11
+ *.xcodeproj
12
+ *.xcworkspace
13
+
14
+ ## Build generated
15
+ build/
16
+ DerivedData/
17
+
18
+ ## Various settings
19
+
20
+ ## Obj-C/Swift specific
21
+ *.hmap
22
+ *.ipa
23
+ *.dSYM.zip
24
+ *.dSYM
25
+
26
+ # CocoaPods
27
+ Pods/
28
+
29
+ # BDSASR_lib
30
+ BDSASR_lib/
31
+ BDSASR_lib.zip
32
+ .idea
33
+
34
+ # Carthage
35
+ #
36
+ # Add this line if you want to avoid checking in source code from Carthage dependencies.
37
+ # Carthage/Checkouts
38
+
39
+ Carthage/Build
40
+
41
+ # fastlane
42
+ #
43
+ # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
44
+ # screenshots whenever they are needed.
45
+ # For more information about the recommended setup visit:
46
+ # https://docs.fastlane.tools/best-practices/source-control/#source-control
47
+
48
+ fastlane/report.xml
49
+ fastlane/Preview.html
50
+ fastlane/screenshots/**/*.png
51
+ fastlane/test_output
52
+
53
+ # Code Injection
54
+ #
55
+ # After new code Injection tools there's a generated folder /iOSInjectionProject
56
+ # https://github.com/johnno1962/injectionforxcode
57
+
58
+ ## Obj-C/Swift specific
59
+ *.hmap
60
+ *.ipa
61
+ *.dSYM.zip
62
+ *.dSYM
63
+
64
+
@@ -25,6 +25,7 @@ module YKPod
25
25
  @example_dir_dest = File.join(@project_dir_dest, "Example")
26
26
 
27
27
  @template_pod_path = File.join(CocoapodsYkPodUtility::YK_POD_TEMPLATE_PATH, @config.language)
28
+ @gitignore_file_path = File.join(CocoapodsYkPodUtility::YK_POD_TEMPLATE_PATH, "gitignore")
28
29
  @template_example_path = File.join(CocoapodsYkPodUtility::YK_POD_TEMPLATE_PATH, "example")
29
30
  @register_pod_path = File.join(CocoapodsYkPodUtility::YK_POD_BUSINESS_REGISTER_PATH, @config.language)
30
31
 
@@ -74,6 +75,8 @@ module YKPod
74
75
  pod_dir_cache = File.join(@project_dir_dest, "#{@config.prefix_name}_cache")
75
76
  pod_dir_dest = File.join(@project_dir_dest)
76
77
  FileUtils.copy_entry(@template_pod_path, pod_dir_cache)
78
+ FileUtils.copy_file(@gitignore_file_path, File.join(pod_dir_cache, ".gitignore"))
79
+
77
80
  prepare_business_pod_files(pod_dir_cache)
78
81
 
79
82
  # 改文件夹
@@ -22,7 +22,7 @@ module Pod
22
22
  def self.options
23
23
  [
24
24
  ['--language=LANGUAGE', 'Language [ ObjC / Swift ]'],
25
- ['--no-demo', 'Without a demo application for your library'],
25
+ ['--nodemo', 'Without a demo application for your library'],
26
26
  ['--author=AUTHOR', 'Author'],
27
27
  ['--email=EMAIL', 'Email'],
28
28
  ['--prefix=PREFIX', 'Prefix header'],
@@ -36,7 +36,8 @@ module Pod
36
36
 
37
37
  @config.name = argv.shift_argument
38
38
  @config.language = (["objc", "oc"].include? argv.option('language', "swift").downcase) ? "objc" : "swift"
39
- @config.with_demo = !argv.flag?('no-demo', false)
39
+ nodemo = argv.flag?('nodemo', false)
40
+ @config.with_demo = !nodemo
40
41
  @config.with_register = argv.flag?('business', false)
41
42
  author = argv.option('author', open("|git config --global user.name").gets)
42
43
  author = author.blank? ? "defualt_author" : author
@@ -28,6 +28,7 @@ module YKPod
28
28
 
29
29
  @template_pod_path = File.join(CocoapodsYkPodUtility::YK_GEN_TEMPLATE_PATH, @config.language)
30
30
  @template_example_path = File.join(CocoapodsYkPodUtility::YK_GEN_TEMPLATE_PATH, "example")
31
+ @gitignore_file_path = File.join(CocoapodsYkPodUtility::YK_GEN_TEMPLATE_PATH, "gitignore")
31
32
  @register_pod_path = File.join(CocoapodsYkPodUtility::YK_GEN_BUSINESS_REGISTER_PATH, @config.language)
32
33
 
33
34
  time_str = Time.now.strftime("%Y/%m/%d")
@@ -76,6 +77,7 @@ module YKPod
76
77
  pod_dir_cache = File.join(@project_dir_dest, "#{@config.prefix_name}_cache")
77
78
  pod_dir_dest = File.join(@project_dir_dest)
78
79
  FileUtils.copy_entry(@template_pod_path, pod_dir_cache)
80
+ FileUtils.copy_file(@gitignore_file_path, File.join(pod_dir_cache, ".gitignore"))
79
81
  prepare_business_pod_files(pod_dir_cache)
80
82
 
81
83
  # 改文件夹
@@ -22,7 +22,7 @@ module Pod
22
22
  def self.options
23
23
  [
24
24
  ['--language=LANGUAGE', 'Language [ ObjC / Swift ]'],
25
- ['--no-demo', 'Without a demo application for your library'],
25
+ ['--nodemo', 'Without a demo application for your library'],
26
26
  ['--author=AUTHOR', 'Author'],
27
27
  ['--email=EMAIL', 'Email'],
28
28
  ['--prefix=PREFIX', 'Prefix header'],
@@ -36,7 +36,8 @@ module Pod
36
36
 
37
37
  @config.name = argv.shift_argument
38
38
  @config.language = (["objc", "oc"].include? argv.option('language', "swift").downcase) ? "objc" : "swift"
39
- @config.with_demo = !argv.flag?('no-demo', false)
39
+ nodemo = argv.flag?('nodemo', false)
40
+ @config.with_demo = !nodemo
40
41
  @config.with_register = argv.flag?('business', false)
41
42
 
42
43
  author = argv.option('author', open("|git config --global user.name").gets)
@@ -1,5 +1,5 @@
1
1
  module CocoapodsYkPodUtility
2
- VERSION = '2.0.6'
2
+ VERSION = '2.0.8'
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
 
@@ -0,0 +1,62 @@
1
+ .DS_Store
2
+
3
+ # Xcode
4
+ #
5
+ # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
6
+ xcuserdata/
7
+ UserInterfaceState.xcuserstate
8
+ UserInterface.xcuserstate
9
+ *.xcuserstate
10
+ # *.xcodeproj
11
+ # *.xcworkspace
12
+
13
+ ## Build generated
14
+ build/
15
+ DerivedData/
16
+
17
+ ## Various settings
18
+
19
+ ## Obj-C/Swift specific
20
+ *.hmap
21
+ *.ipa
22
+ *.dSYM.zip
23
+ *.dSYM
24
+
25
+ # CocoaPods
26
+ Pods/
27
+
28
+ # BDSASR_lib
29
+ BDSASR_lib/
30
+ BDSASR_lib.zip
31
+ .idea
32
+
33
+ # Carthage
34
+ #
35
+ # Add this line if you want to avoid checking in source code from Carthage dependencies.
36
+ # Carthage/Checkouts
37
+
38
+ Carthage/Build
39
+
40
+ # fastlane
41
+ #
42
+ # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
43
+ # screenshots whenever they are needed.
44
+ # For more information about the recommended setup visit:
45
+ # https://docs.fastlane.tools/best-practices/source-control/#source-control
46
+
47
+ fastlane/report.xml
48
+ fastlane/Preview.html
49
+ fastlane/screenshots/**/*.png
50
+ fastlane/test_output
51
+
52
+ # Code Injection
53
+ #
54
+ # After new code Injection tools there's a generated folder /iOSInjectionProject
55
+ # https://github.com/johnno1962/injectionforxcode
56
+
57
+ ## Obj-C/Swift specific
58
+ *.hmap
59
+ *.ipa
60
+ *.dSYM.zip
61
+ *.dSYM
62
+
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.6
4
+ version: 2.0.8
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-02-02 00:00:00.000000000 Z
11
+ date: 2024-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jazzy
@@ -164,6 +164,7 @@ files:
164
164
  - configPodTemplate/example/config/project-config/config-enterprise/debug.xcconfig
165
165
  - configPodTemplate/example/config/project-config/config-enterprise/release.xcconfig
166
166
  - configPodTemplate/example/project.yml
167
+ - configPodTemplate/gitignore
167
168
  - configPodTemplate/objc/LICENSE
168
169
  - configPodTemplate/objc/README.md
169
170
  - configPodTemplate/objc/YKRPC_POD_NAME.podspec
@@ -218,6 +219,7 @@ files:
218
219
  - podTemplate/example/YKRPC_POD_NAME_Example/Info.plist
219
220
  - podTemplate/example/YKRPC_POD_NAME_Example/SceneDelegate.swift
220
221
  - podTemplate/example/YKRPC_POD_NAME_Example/ViewController.swift
222
+ - podTemplate/gitignore
221
223
  - podTemplate/objc/LICENSE
222
224
  - podTemplate/objc/README.md
223
225
  - podTemplate/objc/YKRPC_POD_NAME.podspec