cocoapods-dongjia 1.0.0 → 1.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: 5dfc12406ccf455caff9872718d6232b31dd307edf285deb3db7300c04cd0eb5
4
- data.tar.gz: b2dc7168c84132d9d2e5672feae570fbdf5fee8e0284609be2155723aed16362
3
+ metadata.gz: 2f058eeb279bb4d5dd289e40603e490e3d53e59e34f2f83cb5c43ebe0bcb8479
4
+ data.tar.gz: 3d08fd738481fc88bc165772fc800aed48547b65dea27732d083f86f1b06b4cf
5
5
  SHA512:
6
- metadata.gz: 19aa24af73395918ea42bd312cb0e761e18c9ccf7bf1f73c57557797626bbcfa6b9ace46ae4153ea68dbcee381145bae553c57657e743d1c7631e2c65de94dc9
7
- data.tar.gz: a208806a65968c9fa265373db9396274dd9b952a3c1893819c997bfcedffcdd24b634f79d8fac30a02d13705025b0e59e8c791aff866c6d5e01117310276717b
6
+ metadata.gz: 74689cf1250bd97272fc9605a257544039f737f3ded014856a2cf03583a3d13b6f27d56fce5880fbbb601bda87376d21358fef5fdce43a0a9c44d7fb97b0fdbd
7
+ data.tar.gz: 6ee0bf4a3048313fd4fd67a8c24715427b5b84907fe1aac4e76570b070e34c8de02ca822c941e8693570cf91f1b9335a14e7aebe69381956a2536fd516bfbe53
@@ -1,3 +1,3 @@
1
1
  module CocoapodsDongjia
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -18,10 +18,13 @@ module Dongjia
18
18
 
19
19
  end
20
20
 
21
- Pod::HooksManager.register('cocoapods-dongjia', :post_install) do |ctx|
22
-
21
+ Pod::HooksManager.register('cocoapods-dongjia', :post_install) do |ctx, params|
22
+
23
23
  # 关闭一些警告
24
- DongjiaWarningManager.turn_off_warnings(true, ctx.sandbox_root)
24
+ DongjiaWarningManager.turn_off_warnings(
25
+ params[:turn_off_warnings],
26
+ ctx.sandbox_root
27
+ )
25
28
 
26
29
  end
27
30
 
@@ -6,7 +6,7 @@ module Dongjia
6
6
 
7
7
  def self.turn_off_warnings(turn_off, sandbox_root)
8
8
 
9
- return if !turn_off
9
+ return if (turn_off != true)
10
10
 
11
11
  Dir.foreach(sandbox_root).select{|f| f.end_with?('xcodeproj')}.each do |name|
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-dongjia
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - jiangzhuoyi