cocoapods-timeconsuming 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-timeconsuming.rb +51 -33
- data/lib/cocoapods-timeconsuming/version.rb +1 -1
- data/lib/cocoapods_plugin.rb +1 -0
- metadata +12 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 311b76e5eb66f9e6f5deec04a429f7adfdb79002
|
4
|
+
data.tar.gz: 4b636b76af9077da7d3bc1eb26f79beb483ded9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f8ec3d094d5eff0eed3e51ce066f6c885606648136e4dd945738f07020c4da4b0f4af1f2cf8afdcda02b63c57324de26c7f00e68152f948966c56eb9f33c00c
|
7
|
+
data.tar.gz: b424ec58a1e5d55a0ebbe924237a99178af4c10c7616f3070a82b7524aa8cbd228c01c0c113b1ac8abbc8cfe02706de357edb1791c073b0ef5c594a82ae758ca
|
@@ -1,38 +1,56 @@
|
|
1
1
|
require "cocoapods-timeconsuming/version"
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
3
|
+
if Pod::VERSION=='1.0.0'
|
4
|
+
module Pod
|
5
|
+
class Installer
|
6
|
+
def install!
|
7
|
+
start_time = Time.new
|
8
|
+
prepare
|
9
|
+
cost_time = Time.new.to_i-start_time.to_i
|
10
|
+
p 'prepare cost: '+cost_time.to_s
|
11
|
+
end_time = Time.new
|
12
|
+
|
13
|
+
resolve_dependencies
|
14
|
+
cost_time = Time.new.to_i-end_time.to_i
|
15
|
+
p 'resolve_dependencies cost: '+cost_time.to_s
|
16
|
+
end_time = Time.new
|
17
|
+
|
18
|
+
download_dependencies
|
19
|
+
cost_time = Time.new.to_i-end_time.to_i
|
20
|
+
p 'download_dependencies cost: '+cost_time.to_s
|
21
|
+
end_time = Time.new
|
22
|
+
|
23
|
+
verify_no_duplicate_framework_names
|
24
|
+
cost_time = Time.new.to_i-end_time.to_i
|
25
|
+
p 'verify_no_duplicate_framework_names cost: '+cost_time.to_s
|
26
|
+
end_time = Time.new
|
27
|
+
|
28
|
+
verify_no_static_framework_transitive_dependencies
|
29
|
+
cost_time = Time.new.to_i-end_time.to_i
|
30
|
+
p 'verify_no_static_framework_transitive_dependencies cost: '+cost_time.to_s
|
31
|
+
end_time = Time.new
|
32
|
+
|
33
|
+
verify_framework_usage
|
34
|
+
cost_time = Time.new.to_i-end_time.to_i
|
35
|
+
p 'verify_framework_usage cost: '+cost_time.to_s
|
36
|
+
end_time = Time.new
|
37
|
+
|
38
|
+
generate_pods_project
|
39
|
+
cost_time = Time.new.to_i-end_time.to_i
|
40
|
+
p 'generate_pods_project cost: '+cost_time.to_s
|
41
|
+
end_time = Time.new
|
42
|
+
|
43
|
+
integrate_user_project if installation_options.integrate_targets?
|
44
|
+
cost_time = Time.new.to_i-end_time.to_i
|
45
|
+
p 'integrate_user_project cost: '+cost_time.to_s
|
46
|
+
end_time = Time.new
|
47
|
+
|
48
|
+
perform_post_install_actions
|
49
|
+
cost_time = Time.new.to_i-end_time.to_i
|
50
|
+
p 'perform_post_install_actions cost: '+cost_time.to_s
|
51
|
+
p 'total cost: '+(Time.new.to_i-start_time.to_i).to_s
|
52
|
+
end
|
36
53
|
end
|
37
54
|
end
|
38
55
|
end
|
56
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'cocoapods-timeconsuming.rb'
|
metadata
CHANGED
@@ -1,55 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-timeconsuming
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 晨燕
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-05-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.6'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: cocoapods
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
description: pod install 各阶段及总耗时统计
|
@@ -61,6 +61,7 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- lib/cocoapods-timeconsuming/version.rb
|
63
63
|
- lib/cocoapods-timeconsuming.rb
|
64
|
+
- lib/cocoapods_plugin.rb
|
64
65
|
homepage: https://github.com/mahaiyannn/cocoapods-timeconsuming
|
65
66
|
licenses:
|
66
67
|
- MIT
|
@@ -71,17 +72,17 @@ require_paths:
|
|
71
72
|
- lib
|
72
73
|
required_ruby_version: !ruby/object:Gem::Requirement
|
73
74
|
requirements:
|
74
|
-
- -
|
75
|
+
- - ">="
|
75
76
|
- !ruby/object:Gem::Version
|
76
77
|
version: '0'
|
77
78
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
79
|
requirements:
|
79
|
-
- -
|
80
|
+
- - ">="
|
80
81
|
- !ruby/object:Gem::Version
|
81
82
|
version: '0'
|
82
83
|
requirements: []
|
83
84
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.0.14
|
85
|
+
rubygems_version: 2.0.14.1
|
85
86
|
signing_key:
|
86
87
|
specification_version: 4
|
87
88
|
summary: pod install 耗时统计
|