cocoapods-modularization 0.2.3 → 0.2.4

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: d075ef12765876d72726f62eb5c16276f74015f694543aa91b6c41b5e1648c70
4
- data.tar.gz: f7042cc2fb5e875312bdf7fb845d558143e481c63a17ab29e982971a66d61703
3
+ metadata.gz: d885e65aa1597b77a043af9b5fad27146eb766c027067b09bf4cc8d56ccd10ef
4
+ data.tar.gz: f2250acad1b52d4312949a76b8bf6bb3c791576f9d90e7f989b4a80b75a3b5a6
5
5
  SHA512:
6
- metadata.gz: 55af9a46121004d21724544e50f8ac2111a8c400d565e9507447d360214e1b444fbb6ce2a603c49a0c28adc698da2d739547b5325ffebc0ba0479e90d8d23461
7
- data.tar.gz: 78b306721f37c53529643dab3f249ff5764d204c8ca5d790060367375f78f2d3dc58be46b4b23c075740c866751e4aff299466e665134b418780b6732390f2ec
6
+ metadata.gz: bd418bd56f0d2f7f4870ab7e67d631c3d893707a63ed69911b3c742f12033b4ba4014d3c3712d94315450885041a373ae3912e2ddc064e1be646c962a743d00d
7
+ data.tar.gz: 57530ff3f0b755400e3cc88eda7dc1c09ceb85f5a4af6c9630659838e29f76ce9a8984cab0e2fb17e9b9cff808b9f902d18176d5708aea3a301128b6a6f24003
@@ -1,3 +1,3 @@
1
1
  module CocoapodsModularization
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
@@ -180,8 +180,10 @@ module Pod
180
180
 
181
181
  private
182
182
  def repo_url(name, regex)
183
+ puts "name: #{name}"
183
184
  source = Config.instance.sources_manager.all.select { |e| e.name =~ /#{regex}/ }.find { |e| Dir.exists?("#{Pathname.new(File.expand_path('~'))}/.cocoapods/repos/#{e}/#{name}") }
184
- url = source.url if source.kind_of?(Source::Manager)
185
+ puts "source: #{source}, source:#{source.class}"
186
+ url = source.url if source.kind_of?(Source)
185
187
  url ||= 'https://github.com/CocoaPods/Specs.git'
186
188
  url
187
189
  end
@@ -218,9 +220,7 @@ module Pod
218
220
  end
219
221
 
220
222
  def locate_spec_in_search_path(repo_name)
221
- puts search_path
222
223
  matched = Dir.glob("#{search_path}/**/{*, */*, */*/*}/#{repo_name}", File::FNM_CASEFOLD).min_by { |folder| folder.split('/').count }
223
- puts matched
224
224
  return matched
225
225
  end
226
226
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-modularization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - lazy