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: 90655cea1dd324831fb7570558ba3e3415794f7fc1732c53d77eff02e922ec17
4
- data.tar.gz: b0fa6dbb7f95e303a0cffdbbe7ed6633768842681b4ed86a8b029cc4d4655fe6
3
+ metadata.gz: 7ab34a7ac5fc663d1c96770326fdac1f4a5f3d8f3d179417d4e00c4500f0204c
4
+ data.tar.gz: 9f3d0d732a9781f44412c6849a9db1a2b3984d80ab70af5c613bf43f3c432604
5
5
  SHA512:
6
- metadata.gz: 55ba77801d768ce25a1d1980de755669284c0b2147e623a8228e6dc80ac7b6054d9c28738537ebc0c20ca613518c94733f69e0190da5f1cfee260985def21aee
7
- data.tar.gz: e88c9fe50f1fc8588fca9d6992e12f5815cbdc3a5e4a47faab49cad43403be4b8bd84a61d9f189c25f2d65563f26ec151c091fe5f2cf9cfca0323f361b6c4f2d
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
- ['--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
@@ -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.7'
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,7 +1,7 @@
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.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - stephen.chen