cocoapods-dependencies 0.5.2 → 1.0.0.beta.1

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
  SHA1:
3
- metadata.gz: 85de1ea0bafc8d376a40b0e42f8c33ec3d4009f9
4
- data.tar.gz: 9f5602719ca68a3a4fd5931bd818fd6ed7d5274c
3
+ metadata.gz: 347673ab55b29116aa14da0c8c826cf2b264085a
4
+ data.tar.gz: 5505f1620492a01a72d52dc01c9c06c437887b68
5
5
  SHA512:
6
- metadata.gz: 3b6822d901b983ebb44f65ed505af2de9061cb7910f9d25a8da415a241f40e6acf045975313cc8007b8809b5ce641ec29b0d0dad7efa48ea11227c8dd906b345
7
- data.tar.gz: 4064905e67e009f89788e00f7cf3ba6a762322f1d00d192c82c7393089061fb83b3da984a75bc9f1e1763e9892a4c531bc2e3bb8b83d8b257c99d971a89f55ca
6
+ metadata.gz: 555a11f509a65e2cf1a12afa4739bc59ce7d906056420079d3a54adcdd000af3e7d2baa3351ed31c322fc585dbd17024bec109e3e2c10e62324adcf653d146a5
7
+ data.tar.gz: 8999e6ba623e003f4bb0660bfac6d421c3c2694faabc8e2106c472588a135980dada028fc53d9335f1bbfb096bab34dd987f03fa2c31cd6a6fd1490555b75b7a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocoapods-dependencies (0.5.2)
4
+ cocoapods-dependencies (1.0.0.beta.1)
5
5
  ruby-graphviz (~> 1.2)
6
6
 
7
7
  GEM
@@ -19,4 +19,4 @@ DEPENDENCIES
19
19
  rake
20
20
 
21
21
  BUNDLED WITH
22
- 1.10.6
22
+ 1.11.2
@@ -1,5 +1,5 @@
1
1
  module Pod
2
2
  module Dependencies
3
- VERSION = '0.5.2'
3
+ VERSION = '1.0.0.beta.1'
4
4
  end
5
5
  end
@@ -1,6 +1,8 @@
1
1
  module Pod
2
2
  class Command
3
3
  class Dependencies < Command
4
+ include Command::ProjectDirectory
5
+
4
6
  self.summary = "Show project's dependency graph."
5
7
 
6
8
  self.description = <<-DESC
@@ -66,13 +68,9 @@ module Pod
66
68
  @ignore_lockfile || @podspec ? nil : config.lockfile
67
69
  )
68
70
 
69
- integrate_targets = config.integrate_targets
70
- skip_repo_update = config.skip_repo_update?
71
- config.integrate_targets = false
72
- config.skip_repo_update = !@repo_update
73
- specs = analyzer.analyze(@repo_update || @podspec).specs_by_target.values.flatten(1)
74
- config.integrate_targets = integrate_targets
75
- config.skip_repo_update = skip_repo_update
71
+ specs = config.with_changes(skip_repo_update: !@repo_update) do
72
+ analyzer.analyze(@repo_update || @podspec).specs_by_target.values.flatten(1)
73
+ end
76
74
 
77
75
  lockfile = Lockfile.generate(podfile, specs, {})
78
76
  pods = lockfile.to_hash['PODS']
@@ -86,6 +84,7 @@ module Pod
86
84
  platform_name, platform_version = platform.name, platform.deployment_target.to_s
87
85
  sources = SourcesManager.all.map(&:url)
88
86
  Podfile.new do
87
+ install! :cocoapods, integrate_targets: false
89
88
  sources.each { |s| source s }
90
89
  platform platform_name, platform_version
91
90
  pod podspec.name, podspec: podspec.defined_in_file
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: 0.5.2
4
+ version: 1.0.0.beta.1
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: 2015-11-27 00:00:00.000000000 Z
11
+ date: 2016-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -84,12 +84,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  version: '0'
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - ">"
88
88
  - !ruby/object:Gem::Version
89
- version: '0'
89
+ version: 1.3.1
90
90
  requirements: []
91
91
  rubyforge_project:
92
- rubygems_version: 2.5.0
92
+ rubygems_version: 2.5.1
93
93
  signing_key:
94
94
  specification_version: 4
95
95
  summary: Shows a project's CocoaPods dependency graph.