cocoapods-ykutility 2.0.0 → 2.0.1

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: 2edfd4f3d874a31e6f45882f890a432edfad16942958f2eb3c4de451722180f7
4
+ data.tar.gz: '0771699b838d9fbc3f9f202d31151551d2cca2b503bf5f9ad6e10549b9d10b0e'
5
5
  SHA512:
6
- metadata.gz: e4bbd170262c206a2494fffc589bfe8f3ff64680879c267f72a5165ab6767ba8aed0316011fbb16bc2b8b16b4578c8e913ea94adc59e1d7606051c9a16665b9d
7
- data.tar.gz: 0ff1a1f6f0c8ff85b9f2a27e87e5a7db7290b4f2c1af10fb60a5537b0fb27cdb7eaa03c04f68acef85628bb5d4495d4c6a4904e5856081d4bc4b48d4b98b82ef
6
+ metadata.gz: d74de998d0da8726358d14bbcb9bdc47d8418f96ac5658e203e57d60a168bf01e416c980dbe1ca0f9d5f384051f3b870d48d3b3250ceb002405e2c153feba4c6
7
+ data.tar.gz: 96b3510f35aaa538e2773b58cf51e145e9bdf851df59638f9643842456fba2acf19b0482b0a87ac9ccb8bbab6f679b765721f13fb3fa74604715af9d9a1a7243
@@ -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.1'
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
 
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.1
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插件,用于创建定制化标准组件.