cocoapods-cafswitcher 0.0.20 → 0.0.21

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: 5893be4583d0d2bec84d74d9cd467b163906422d02b891c1e7c8fb8b6b73330d
4
- data.tar.gz: bbda926d1ad07d9484cce02f64ef95996735bf1ff15c533de1c0e9a3149e19fe
3
+ metadata.gz: 821d8a8f7afd9eccf112e31431767d800b90da349be378369d9cc4fa89f9e9c4
4
+ data.tar.gz: 0cb99e1a09f5cfd679e46411dd480c072c756f6d12a9660bb01a7b62e4f54f11
5
5
  SHA512:
6
- metadata.gz: b43c0b2d48c70d12d37f8a1c1da2edea472f9ef05a461d42b1ba4c89f1f69c6df3a858c70890065d0da9c3e371c1c3e0c7b93b24f064aae26cbbe601329d0f87
7
- data.tar.gz: 0154d20a5a3ae8f780402fb1be1c406c380dd2a2afb85801231ac7c34ec2b5cbd0b8f3b9ccf9d047b69dc63c8ed7765f0bc4ed0a2e1fcbcaaa094695c3bbc4cb
6
+ metadata.gz: 1407fef9362f8b49309359da0985acb400633caa3c6ed8de21c3edca399f77ac1b96259bcaa65efd41db3d1993e4c339a4a9aee6734e443cd345e7d0bbdf5f76
7
+ data.tar.gz: ab59a6109129f6fc71483af71436015cf4a0e24b3f77e19925a716bb8df23a503ecb7a89a7d84624790eac5435e3ec5c260702eec20e5b3ffe9b5b21f12fd05d
data/Gemfile CHANGED
@@ -10,4 +10,5 @@ group :development do
10
10
  gem 'bacon'
11
11
  gem 'mocha-on-bacon'
12
12
  gem 'prettybacon'
13
+ gem 'cocoapods-stats'
13
14
  end
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-cafswitcher (0.0.19)
4
+ cocoapods-cafswitcher (0.0.21)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  CFPropertyList (3.0.0)
10
- activesupport (4.2.10)
10
+ activesupport (4.2.11.1)
11
11
  i18n (~> 0.7)
12
12
  minitest (~> 5.1)
13
13
  thread_safe (~> 0.3, >= 0.3.4)
@@ -15,30 +15,30 @@ GEM
15
15
  atomos (0.1.3)
16
16
  bacon (1.2.0)
17
17
  claide (1.0.2)
18
- cocoapods (1.5.3)
18
+ cocoapods (1.6.1)
19
19
  activesupport (>= 4.0.2, < 5)
20
20
  claide (>= 1.0.2, < 2.0)
21
- cocoapods-core (= 1.5.3)
21
+ cocoapods-core (= 1.6.1)
22
22
  cocoapods-deintegrate (>= 1.0.2, < 2.0)
23
- cocoapods-downloader (>= 1.2.0, < 2.0)
23
+ cocoapods-downloader (>= 1.2.2, < 2.0)
24
24
  cocoapods-plugins (>= 1.0.0, < 2.0)
25
25
  cocoapods-search (>= 1.0.0, < 2.0)
26
26
  cocoapods-stats (>= 1.0.0, < 2.0)
27
- cocoapods-trunk (>= 1.3.0, < 2.0)
27
+ cocoapods-trunk (>= 1.3.1, < 2.0)
28
28
  cocoapods-try (>= 1.1.0, < 2.0)
29
29
  colored2 (~> 3.1)
30
30
  escape (~> 0.0.4)
31
- fourflusher (~> 2.0.1)
31
+ fourflusher (>= 2.2.0, < 3.0)
32
32
  gh_inspector (~> 1.0)
33
- molinillo (~> 0.6.5)
33
+ molinillo (~> 0.6.6)
34
34
  nap (~> 1.0)
35
- ruby-macho (~> 1.1)
36
- xcodeproj (>= 1.5.7, < 2.0)
37
- cocoapods-core (1.5.3)
35
+ ruby-macho (~> 1.4)
36
+ xcodeproj (>= 1.8.1, < 2.0)
37
+ cocoapods-core (1.6.1)
38
38
  activesupport (>= 4.0.2, < 6)
39
39
  fuzzy_match (~> 2.0.4)
40
40
  nap (~> 1.0)
41
- cocoapods-deintegrate (1.0.2)
41
+ cocoapods-deintegrate (1.0.4)
42
42
  cocoapods-downloader (1.2.2)
43
43
  cocoapods-plugins (1.0.0)
44
44
  nap
@@ -49,9 +49,9 @@ GEM
49
49
  netrc (~> 0.11)
50
50
  cocoapods-try (1.1.0)
51
51
  colored2 (3.1.2)
52
- concurrent-ruby (1.1.3)
52
+ concurrent-ruby (1.1.5)
53
53
  escape (0.0.4)
54
- fourflusher (2.0.1)
54
+ fourflusher (2.2.0)
55
55
  fuzzy_match (2.0.4)
56
56
  gh_inspector (1.1.3)
57
57
  i18n (0.9.5)
@@ -69,11 +69,11 @@ GEM
69
69
  prettybacon (0.0.2)
70
70
  bacon (~> 1.2)
71
71
  rake (12.3.1)
72
- ruby-macho (1.3.1)
72
+ ruby-macho (1.4.0)
73
73
  thread_safe (0.3.6)
74
74
  tzinfo (1.2.5)
75
75
  thread_safe (~> 0.1)
76
- xcodeproj (1.7.0)
76
+ xcodeproj (1.9.0)
77
77
  CFPropertyList (>= 2.3.3, < 4.0)
78
78
  atomos (~> 0.1.3)
79
79
  claide (>= 1.0.2, < 2.0)
@@ -89,6 +89,7 @@ DEPENDENCIES
89
89
  cocoapods
90
90
  cocoapods-cafswitcher!
91
91
  cocoapods-plugins
92
+ cocoapods-stats
92
93
  mocha
93
94
  mocha-on-bacon
94
95
  prettybacon
@@ -197,12 +197,12 @@ Pod::HooksManager.register('cocoapods-cafswitcher', :pre_install) do |installer_
197
197
 
198
198
  Pod::UI.puts "\nchanged sub Pod is:\n " + changedSubPods.to_s unless changedSubPods.empty?
199
199
  # changedPod 里是根据subspec来存的,需要进行合并,找到pod库而不是含有subspec的库
200
+ changedSubPods = changedSubPods | needUpdatePodList
200
201
  changedPods = []
201
202
  changedSubPods.each do |subPod|
202
203
  podName = subPod.split('/')[0]
203
204
  changedPods << podName
204
205
  end
205
- # changedPods = changedPods | needUpdatePodList
206
206
  changedPods.uniq!
207
207
  Pod::Podfile.changedPods.concat changedPods if changedPods
208
208
  Pod::Podfile.changedSubPods.concat changedSubPods if changedSubPods
@@ -1,3 +1,3 @@
1
1
  module CocoapodsCafswitcher
2
- VERSION = "0.0.20"
2
+ VERSION = "0.0.21"
3
3
  end
@@ -252,7 +252,7 @@ module Pod
252
252
  old_specification_from_file = method(:from_file)
253
253
  define_singleton_method(:from_file) do |path, subspec_name = nil|
254
254
  spec = old_specification_from_file.call(path, subspec_name)
255
- if (spec.name =~ /^(?i)LJ/ || spec.name =~ /^(?i)Lianjia/) && spec.subspecs
255
+ if spec.subspecs
256
256
  dependence_note =[]
257
257
  spec.subspecs.each do |subspec|
258
258
  next if Pod::Podfile.archiveList.include?(subspec.name)
@@ -278,6 +278,7 @@ module Pod
278
278
  setEnv note, '_SOURCE'
279
279
  end
280
280
  end
281
+ spec = old_specification_from_file.call(path, subspec_name)
281
282
  spec
282
283
  end
283
284
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-cafswitcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.20
4
+ version: 0.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - handa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-27 00:00:00.000000000 Z
11
+ date: 2019-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler