cocoapods-ykutility 2.0.2 → 2.0.3

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: '092755c239fb4d2d23357d0227cbfbf79fddf8a06238593403d45984398cb48b'
4
- data.tar.gz: ee8041a9503123681c8ed3c5e76a7d448e6b31ce9cba849403cbc9bf29fabce1
3
+ metadata.gz: 1263c27bfc794451db4c0479d89b49f4ec8397e0bbff5f4c05f29566fb898c8c
4
+ data.tar.gz: 19d3426ac5f347149840c29c0c2b7bfd9f3862c0b2c95f0facbd98bbc7e75544
5
5
  SHA512:
6
- metadata.gz: c94f7106e92c467d8ec0ae16a26b38c7451fd8b93e7684a26e9441826c975d159e489fe4586037d1013228d06b34f121c25dfa2a29ebe0fe80f44e1fc3a5e59a
7
- data.tar.gz: 6eedee2d21fb72d9419727fc2573d7ed8ce43d2d435c5c8002853ad5036f53fffd1e3f9c7c35c0db6432c7d979ac4cf24e718d741ce7478185e178228706c199
6
+ metadata.gz: 367d9129c599ac9b6356a617f9633c4e2e1077a64326b75c6a80ff0028e46c4936ddfec8dcc197de250eb0070e1e0d197fa9919d6ac96e42bbf0043c2dca815f
7
+ data.tar.gz: 99b84dccb596e46cedd299a86e8d9aed648ba254ae89c55dd31afeb4aa1959e945acdb1ddf261af020543a2543c71765820682497b1bc68a621c0eceaff3cf33
@@ -12,10 +12,25 @@ inhibit_all_warnings!
12
12
  use_frameworks! :linkage => :static # 使用 framework形势的静态库, 注释可变为.a 静态库
13
13
  use_modular_headers! #此字段用于pod自动生成 swift module 伞文件
14
14
 
15
+
16
+ def st_installLocalPods(dir, arr)
17
+ arr.each do |onePod|
18
+ pod onePod, :path => File.join(dir, onePod)
19
+ end
20
+ end
21
+
22
+ def pod_develop
23
+ dir = '../'
24
+ arr = [
25
+ 'YKRPC_POD_NAME'
26
+ ]
27
+ st_installLocalPods(dir, arr)
28
+ end
29
+
15
30
  project 'YKRPC_POD_NAME_Example.xcodeproj'
16
31
  target 'YKRPC_POD_NAME_Example' do
17
32
  # Pods for YKRPC_POD_NAME_Example
18
- pod 'YKRPC_POD_NAME', :path => '../'
33
+ pod_develop
19
34
 
20
35
  end
21
36
 
@@ -50,4 +65,4 @@ post_install do |installer|
50
65
  config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
51
66
  end
52
67
  end
53
- end
68
+ end
@@ -1,5 +1,5 @@
1
1
  module CocoapodsYkPodUtility
2
- VERSION = '2.0.2'
2
+ VERSION = '2.0.3'
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
 
@@ -12,10 +12,24 @@ inhibit_all_warnings!
12
12
  use_frameworks! :linkage => :static # 使用 framework形势的静态库, 注释可变为.a 静态库
13
13
  use_modular_headers! #此字段用于pod自动生成 swift module 伞文件
14
14
 
15
+ def st_installLocalPods(dir, arr)
16
+ arr.each do |onePod|
17
+ pod onePod, :path => File.join(dir, onePod)
18
+ end
19
+ end
20
+
21
+ def pod_develop
22
+ dir = '../'
23
+ arr = [
24
+ 'YKRPC_POD_NAME'
25
+ ]
26
+ st_installLocalPods(dir, arr)
27
+ end
28
+
15
29
  project 'YKRPC_POD_NAME_Example.xcodeproj'
16
30
  target 'YKRPC_POD_NAME_Example' do
17
31
  # Pods for YKRPC_POD_NAME_Example
18
- pod 'YKRPC_POD_NAME', :path => '../'
32
+ pod_develop
19
33
 
20
34
  end
21
35
 
@@ -41,4 +55,4 @@ post_install do |installer|
41
55
  config.build_settings['CODE_SIGNING_ALLOWED'] = "NO"
42
56
  end
43
57
  end
44
- end
58
+ end
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.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - stephen.chen