cocoapods-soul-component-plugin 0.0.12 → 0.0.13

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: 80e8752bcf3e29fe0c8375f18b08be5f0d03ff7c5eb9e4ee673baf53704ff1b0
4
- data.tar.gz: 2e052340dc280c917ad61a14af622c2cedbc25b5802fc97290052a07dc6bcf99
3
+ metadata.gz: e24028ddd6eaf2842b42ec156eaa176c8e25979b027fe0bfc78b9de2d6b13aff
4
+ data.tar.gz: 9ce54967f87d00a17b6697ec228027fc3e0af35442981ade92f9a801cdead879
5
5
  SHA512:
6
- metadata.gz: 54077c1784559216a6403be52c660516e40c4620348dfbdaecfa3265efc7430f12d0a821b5b5606efa8519c63ceb663798695cdf7a992594f128a061459edcdf
7
- data.tar.gz: d00ace53cfd644d4a260cbfe6029d3948da91d06cc3b7f06d8c0367f51f66a5f4b94dda99e9e79a7c0d57dc18ba28470158b59a8fdbaadc18f8922e262841a1f
6
+ metadata.gz: a02b79d7921ede221a8cf9784f333ad29c5cf757c289a059457b2f21576aa9783fe6a9e81f6950ef90a9d0e24a4067900428b875b9302b59e21a7925fa81c006
7
+ data.tar.gz: 23d77f22305b4513bf2bc77fe0843d827aa0ec1b06c5dd8868d4327b86eb4a1531ccedbbd7c513590720ed5a19a8c04b56df193d3adce68d7be8fd9f49ad5d06
@@ -116,6 +116,7 @@ module CocoapodsSoulComponentPlugin
116
116
  group.set_source_tree('SOURCE_ROOT')
117
117
  # 向group中添加 文件引用
118
118
  file_ref = group.new_reference(component_file_path)
119
+ file_user_ref = group.new_reference(component_user_file_path)
119
120
  # podfile_local排序
120
121
  podfile_local_group = group.children.last
121
122
  group.children.pop
@@ -140,7 +141,7 @@ module CocoapodsSoulComponentPlugin
140
141
  component = Soul_Component.new(each[0], each[1]['local'], each[1]['submodule'], each[1]['version'], each[1]['git'],
141
142
  each[1]['branch'], each[1]['path'], each[1]['commit'])
142
143
  if dependencies_user && dependencies_user[component.name]
143
- component.local = dependencies_user[component.name]['local']
144
+ component.local = dependencies_user[component.name]['local'] if dependencies_user[component.name]['local']
144
145
  component.submodule = dependencies_user[component.name]['submodule'] if dependencies_user[component.name]['submodule']
145
146
  component.version = dependencies_user[component.name]['version']
146
147
  component.git = dependencies_user[component.name]['git'] if dependencies_user[component.name]['git']
@@ -164,7 +165,7 @@ module CocoapodsSoulComponentPlugin
164
165
  def self.checkValidComponents
165
166
  isValid = true
166
167
  @@components.each do |each|
167
- if each.name.nil? || each.git.nil? || each.local.nil? || each.submodule.nil!
168
+ if each.name.nil? || each.git.nil? || each.local.nil? || each.submodule.nil?
168
169
  Pod::UI.puts "缺少必要参数,name/git/local/submodule为必要参数:#{each.to_hash}".red
169
170
  isValid = false
170
171
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module CocoapodsSoulComponentPlugin
3
- VERSION = '0.0.12'
3
+ VERSION = '0.0.13'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-soul-component-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - fang