cocoapods-ykutility 2.0.6 → 2.0.7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ab34a7ac5fc663d1c96770326fdac1f4a5f3d8f3d179417d4e00c4500f0204c
|
4
|
+
data.tar.gz: 9f3d0d732a9781f44412c6849a9db1a2b3984d80ab70af5c613bf43f3c432604
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4aaefc2b2f7c8a376ee8822399d1b01d7eda0d7a60336d6197be69fb898915d7d17101d2f3a7624694c8e67269ab5b8fd56145f33ea8149bdaf9d95ad79598b4
|
7
|
+
data.tar.gz: b8e3ff1c5069a11ee5fa0aee63bde5983879432132caf48439908113b07a6ac76e8966a873c1b536a7c487ced571142cbd961246cd292945f11d08ece61e5bc6
|
@@ -22,7 +22,7 @@ module Pod
|
|
22
22
|
def self.options
|
23
23
|
[
|
24
24
|
['--language=LANGUAGE', 'Language [ ObjC / Swift ]'],
|
25
|
-
['--
|
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
|
-
|
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
|
@@ -22,7 +22,7 @@ module Pod
|
|
22
22
|
def self.options
|
23
23
|
[
|
24
24
|
['--language=LANGUAGE', 'Language [ ObjC / Swift ]'],
|
25
|
-
['--
|
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
|
-
|
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)
|