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:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: e24028ddd6eaf2842b42ec156eaa176c8e25979b027fe0bfc78b9de2d6b13aff
         | 
| 4 | 
            +
              data.tar.gz: 9ce54967f87d00a17b6697ec228027fc3e0af35442981ade92f9a801cdead879
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 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
         |