cocoapods-dependencies 0.0.1 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +3 -0
- data/lib/cocoapods_dependencies.rb +1 -1
- data/lib/pod/command/dependencies.rb +19 -5
- metadata +11 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c9c19bc3bf97c7d35f2e09189a3f5bab0bf4925
|
4
|
+
data.tar.gz: f75bcc3403b74a815d2fc83984759ff0911b8887
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad4920b1094fe247efea0cd3baa37f86d977a8788c3ece29a2023a002c7b32994ff7ec674b24fc8e4d665b82701027358f2afad5f517b725b61988d25479f2d6
|
7
|
+
data.tar.gz: 3bb0888f0226d4fa65d262b5194f4118ecf127ffc9dd392a413f1221d5645e6107605a0811bb4bfcfc5f48bc94ada80109d89ebbc503cc76786767c166488ce2
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# cocoapods-dependencies
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/cocoapods-dependencies.svg)](http://badge.fury.io/rb/cocoapods-dependencies)
|
4
|
+
[![Code Climate](https://codeclimate.com/github/segiddins/cocoapods-dependencies.png)](https://codeclimate.com/github/segiddins/cocoapods-dependencies)
|
5
|
+
|
3
6
|
Shows a project's CocoaPod dependency graph.
|
4
7
|
|
5
8
|
## Installation
|
@@ -7,8 +7,18 @@ module Pod
|
|
7
7
|
Shows the project's dependency graph.
|
8
8
|
DESC
|
9
9
|
|
10
|
+
def self.options
|
11
|
+
[
|
12
|
+
['--ignore-lockfile', 'whether the lockfile should be ignored when calculating the dependency graph'],
|
13
|
+
].concat(super)
|
14
|
+
end
|
15
|
+
|
16
|
+
def initialize(argv)
|
17
|
+
@ignore_lockfile = argv.flag?('ignore-lockfile', false)
|
18
|
+
super
|
19
|
+
end
|
20
|
+
|
10
21
|
def run
|
11
|
-
verify_podfile_exists!
|
12
22
|
UI.section 'Project Dependencies' do
|
13
23
|
STDOUT.puts dependencies.to_yaml
|
14
24
|
end
|
@@ -16,10 +26,14 @@ module Pod
|
|
16
26
|
|
17
27
|
def dependencies
|
18
28
|
@dependencies ||= begin
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
29
|
+
verify_podfile_exists!
|
30
|
+
analyzer = Installer::Analyzer.new(
|
31
|
+
config.sandbox,
|
32
|
+
config.podfile,
|
33
|
+
@ignore_lockfile ? nil : config.lockfile
|
34
|
+
)
|
35
|
+
specs = analyzer.analyze(false).specs_by_target.values.flatten(1)
|
36
|
+
lockfile = Lockfile.generate(config.podfile, specs)
|
23
37
|
pods = lockfile.to_hash['PODS']
|
24
38
|
end
|
25
39
|
end
|
metadata
CHANGED
@@ -1,41 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-dependencies
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.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: 2014-
|
11
|
+
date: 2014-10-09 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.3'
|
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.3'
|
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
|
description: Shows a project's CocoaPod dependency graph.
|
@@ -45,7 +45,7 @@ executables: []
|
|
45
45
|
extensions: []
|
46
46
|
extra_rdoc_files: []
|
47
47
|
files:
|
48
|
-
- .gitignore
|
48
|
+
- ".gitignore"
|
49
49
|
- Gemfile
|
50
50
|
- Gemfile.lock
|
51
51
|
- LICENSE.txt
|
@@ -65,18 +65,19 @@ require_paths:
|
|
65
65
|
- lib
|
66
66
|
required_ruby_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- -
|
68
|
+
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
requirements: []
|
77
77
|
rubyforge_project:
|
78
|
-
rubygems_version: 2.
|
78
|
+
rubygems_version: 2.2.2
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Shows a project's CocoaPod dependency graph.
|
82
82
|
test_files: []
|
83
|
+
has_rdoc:
|