cocoapods-dependencies 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/Gemfile.lock +2 -2
- data/Rakefile +4 -0
- data/cocoapods_dependencies.gemspec +0 -1
- data/lib/cocoapods_dependencies.rb +1 -1
- data/lib/pod/command/dependencies.rb +15 -10
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2976669ac6c0073c47f9aa8dc23682f96bc6094ce7e7ab085372d6cc447bfe6
|
4
|
+
data.tar.gz: b20351c49307f27fa098310a6563d1e086296c0c9753a1174331c9af377039c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e84343b21452464d23a188abecf79a2a8fb467ddaa6140380f9d4b038ecbab363c339d879b2087f5a1c289105f71fdf746561b5b3376cd52138f1ae558128ff
|
7
|
+
data.tar.gz: ac4cd22684755e411d083d6f90922c3c47e03cf929bf6d3d1809f2588842fdb4052041c5ed70e7a665ecc6cdaadaba0595f28ff1aadea73904e237a4cfcea35d
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,9 @@
|
|
1
|
+
# CocoaPods Dependencies Changelog
|
2
|
+
|
3
|
+
## 1.2.0 (2018-07-16)
|
4
|
+
|
5
|
+
##### Enhancements
|
6
|
+
|
7
|
+
* Skip going through the analyzer when it will just spit out the existing Lockfile.
|
8
|
+
[Samuel Giddins](https://github.com/segiddins)
|
9
|
+
[#16](https://github.com/segiddins/cocoapods-dependencies/issues/16)
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -8,7 +8,6 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.version = Pod::Dependencies::VERSION
|
9
9
|
spec.authors = ["Samuel E. Giddins"]
|
10
10
|
spec.email = ["segiddins@segiddins.me"]
|
11
|
-
spec.description = %q{Shows a project's CocoaPods dependency graph.}
|
12
11
|
spec.summary = %q{Shows a project's CocoaPods dependency graph.}
|
13
12
|
spec.homepage = "https://github.com/segiddins/cocoapods-dependencies"
|
14
13
|
spec.license = "MIT"
|
@@ -68,17 +68,22 @@ module Pod
|
|
68
68
|
|
69
69
|
def dependencies
|
70
70
|
@dependencies ||= begin
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
71
|
+
lockfile = config.lockfile unless @ignore_lockfile || @podspec
|
72
|
+
|
73
|
+
if !lockfile || @repo_update
|
74
|
+
analyzer = Installer::Analyzer.new(
|
75
|
+
sandbox,
|
76
|
+
podfile,
|
77
|
+
lockfile
|
78
|
+
)
|
79
|
+
|
80
|
+
specs = config.with_changes(skip_repo_update: !@repo_update) do
|
81
|
+
analyzer.analyze(@repo_update || @podspec).specs_by_target.values.flatten(1)
|
82
|
+
end
|
83
|
+
|
84
|
+
lockfile = Lockfile.generate(podfile, specs, {})
|
79
85
|
end
|
80
86
|
|
81
|
-
lockfile = Lockfile.generate(podfile, specs, {})
|
82
87
|
lockfile.to_hash['PODS']
|
83
88
|
end
|
84
89
|
end
|
@@ -161,7 +166,7 @@ module Pod
|
|
161
166
|
|
162
167
|
def yaml_output
|
163
168
|
UI.title 'Dependencies' do
|
164
|
-
UI.puts
|
169
|
+
UI.puts YAMLHelper.convert(dependencies)
|
165
170
|
end
|
166
171
|
end
|
167
172
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-dependencies
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samuel E. Giddins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.2'
|
55
|
-
description:
|
55
|
+
description:
|
56
56
|
email:
|
57
57
|
- segiddins@segiddins.me
|
58
58
|
executables: []
|
@@ -60,6 +60,7 @@ extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
62
|
- ".gitignore"
|
63
|
+
- CHANGELOG.md
|
63
64
|
- Gemfile
|
64
65
|
- Gemfile.lock
|
65
66
|
- LICENSE.txt
|
@@ -89,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
90
|
version: '0'
|
90
91
|
requirements: []
|
91
92
|
rubyforge_project:
|
92
|
-
rubygems_version: 2.
|
93
|
+
rubygems_version: 2.7.7
|
93
94
|
signing_key:
|
94
95
|
specification_version: 4
|
95
96
|
summary: Shows a project's CocoaPods dependency graph.
|