cocoapods-bin 0.1.27 → 0.1.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f82281bd486151f620edd1630c0cfa01bac653349ad986bffbef9245bae9e935
4
- data.tar.gz: 8305e298048967f908d1ec1efdeeec762bc97b6b551971d70dd8acc0de5fa37d
3
+ metadata.gz: 41c80c875bb36b18ce1bd67d692ba8b6c8df45e5dafb5f2962aeddcd9010bdc8
4
+ data.tar.gz: 2d3057e1633ee8eb855969e2aa83d20ec1e4a75493c9bc2c4eac880358b2eb88
5
5
  SHA512:
6
- metadata.gz: e71deae9afb8219ee5fb034d1e92be12480a6fc1697fa0fae6212525c5cdd9d62b60eeaabd7e520a264fc9651d5fe3a04f12448bd2f96c0a8dfd1da8008f4830
7
- data.tar.gz: b3941f3a61d71a129d1350a073922b2fb1521d7aa898423cae1d462d0ae8a3e4c201080ba4ca2dddbe2733457dbdbecdab01ad8b5944f9f0977dde3cd3ce0277
6
+ metadata.gz: 8de1ce289ad7451bcdf1e6c3621320e84a65344a11fe2f16b3578cd53dd93c6b16f0383f85b176eb9630974ad9c5daaeb0cb4824147d04141e6f646da6ee6e98
7
+ data.tar.gz: ad04e274803aac12085a970011ecb6d0ed632967d6926dc1222f05859d3755c795b2caa813ec65b9cc394488efd99a52520ee64fa21254afe26a01f07ab791a2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-bin (0.1.25)
4
+ cocoapods-bin (0.1.28)
5
5
  cocoapods (~> 1.4)
6
6
  cocoapods-generate (~> 1.4)
7
7
  parallel
data/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ## 更新
10
10
 
11
- #### 0.1.27
11
+ #### 0.1.28
12
12
 
13
13
  新增本地组件依赖配置文件 BinPodfile ,
14
14
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CBin
4
- VERSION = '0.1.27'
4
+ VERSION = '0.1.28'
5
5
  end
6
6
 
7
7
  module Pod
@@ -9,22 +9,18 @@ Pod::HooksManager.register('cocoapods-bin', :pre_install) do |_context, _|
9
9
  project_root = Pod::Config.instance.project_root
10
10
  path = File.join(project_root.to_s, 'BinPodfile')
11
11
 
12
- return unless File.exist?(path)
12
+ next unless File.exist?(path)
13
13
 
14
14
  contents = File.open(path, 'r:utf-8', &:read)
15
15
 
16
16
  podfile = Pod::Config.instance.podfile
17
17
  podfile.instance_eval do
18
- # rubocop:disable Lint/RescueException
19
18
  begin
20
- # rubocop:disable Eval
21
19
  eval(contents, nil, path)
22
- # rubocop:enable Eval
23
20
  rescue Exception => e
24
21
  message = "Invalid `#{path}` file: #{e.message}"
25
22
  raise Pod::DSLError.new(message, path, e, contents)
26
23
  end
27
- # rubocop:disable Lint/RescueException
28
24
  end
29
25
  end
30
26
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.27
4
+ version: 0.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - tripleCC
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  - !ruby/object:Gem::Version
162
162
  version: '0'
163
163
  requirements: []
164
- rubygems_version: 3.0.4
164
+ rubygems_version: 3.1.2
165
165
  signing_key:
166
166
  specification_version: 4
167
167
  summary: cocoapods-bin is a plugin which helps develpers switching pods between source