cocoapods-dependency-graph 1.0.2 → 1.0.3

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
  SHA256:
3
- metadata.gz: f7e970165190f39fda0730defde8735b2adfb0ba85cc6a35add519dc0f3e55b6
4
- data.tar.gz: b4d5435fb27e0eab9b8fc747926aa5080f59c6f13a8f3bac857e01d92f739c82
3
+ metadata.gz: 4b795ce4341d5cc30fc57167deafbec4323b1ff562b00f25cc1eba9e09785c47
4
+ data.tar.gz: '092b460e63c15ce840fd8569f3c4b747ae6e3def09410378c56d2fed5b5a0d61'
5
5
  SHA512:
6
- metadata.gz: 0ead64f867b33a4bfa127574ee90672461b9c2e6ff6c1259a705168bd5e0c13b8790c18016b9200be7a6acb265b569c0be7512d626ba1b9569b84a4f95d1ea9f
7
- data.tar.gz: 9ae60778070e00ebb18f47b2ba87bec61881d899a8552b4000dae0304058e27d2b7513c68f9f85fa7cdeae28802d270fd71939c76c12de9eb701df5d060650e1
6
+ metadata.gz: e353877a103e258ee25cfd6e695a4fc5a68017f3a89ffeb5c9afb37932d9218831956582062f13fdbacac3e8ee1622814abd7e9357dad803b7b46476bd6e9325
7
+ data.tar.gz: 45b42ac435a71fe39ac68e693e6c3ce3878546b818d2394cc2a61fd8db3d0dfdf8f49949037dec236d38c00bbe528be46689b5e3db1df015d14b8a619b6486d8
data/Gemfile CHANGED
@@ -5,10 +5,6 @@ gemspec
5
5
 
6
6
  group :development do
7
7
  gem 'cocoapods'
8
-
9
- gem 'mocha'
10
- gem 'bacon'
11
- gem 'mocha-on-bacon'
12
- gem 'prettybacon'
8
+ gem 'rgl'
13
9
  gem 'fast_excel'
14
10
  end
data/README.md CHANGED
@@ -2,53 +2,12 @@
2
2
 
3
3
  A Cocoapods plugin to create the dependency graph and help you manage dependencies in your project.
4
4
 
5
-
6
- ## Installation
7
- ### Install Dependency
8
- $ gem install rgl
9
-
10
5
  ### Install
11
6
 
12
7
  ```
13
8
  $ gem install cocoapods-dependency-graph
14
9
  ```
15
10
 
16
- ### Build and Install Plugin
17
-
18
- $ git clone git@github.com:sueLan/cocoapods-dependency-graph.git
19
- $ cd cocoapods-dependency-graph
20
- $ gem build cocoapods-dependency-graph.gemspec && gem install cocoapods-dependency-graph --user-install
21
-
22
11
  ## Usage
23
12
 
24
- 1. add `plugin` in the `Podfile`
25
-
26
- ```
27
- plugin 'cocoapods-dependency-graph'
28
- ```
29
-
30
- 2. run `pod install`
31
- 3. output files in the project folder
32
-
33
- In the `Podfile`, you can define `dependency_output` to decide which kind of output file this plugin generates.
34
-
35
- ```
36
- dependency_output :json
37
- dependency_output :excel
38
- dependency_output :graph
39
- ```
40
- There are 3 symbols to control the output format. You can choose one of them. If you don't define `dependency_output`, by default, this plugin generates `graph.jpg` and `graph.dot`.
41
-
42
- The following are output files you can generate:
43
-
44
- - `dependency_json.json`: JSON file for dependencies. You can view the json in any JSON becauty tool you like.
45
-
46
- <img src="README.assets/image-20201007205410006.png" alt="image-20201007205410006" style="zoom:50%;" />
47
-
48
- - `graph.jpg`: A png picture shows the dependency graph
49
-
50
- ![image-20201007213841235](README.assets/image-20201007213841235.png)
51
-
52
- - `graph.dot`: A dot file which represents the dependency graph. [A site](https://dreampuf.github.io/GraphvizOnline/) that can process the dot language. Or you can use [Graphviz](https://www.graphviz.org/theory/)
53
-
54
- - `cocoapods-dependency-list.xlsx`: xlsx file for dependency list.
13
+ [See More](https://github.com/sueLan/cocoapods-dependency-graph)
@@ -1,3 +1,3 @@
1
1
  module CocoapodsDependencyGraph
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
3
3
  end
@@ -20,7 +20,6 @@ module Pod
20
20
  class Podfile
21
21
  module DSL
22
22
  def dependency_output(output_symbol)
23
- puts "read dependency_output #{output_symbol}"
24
23
  DSL.dependency_output_format = output_symbol
25
24
  end
26
25
 
@@ -60,20 +59,16 @@ module Dependency
60
59
 
61
60
  init_output_hash
62
61
  output_key = Pod::Podfile::DSL.dependency_output_format
63
- puts "#{output_key} key"
64
62
  output_key = Output::GRAPH unless output_key
65
63
 
66
- puts "output key #{output_key}, #{@output_class_hash}"
67
64
  generator_string = @output_class_hash[output_key]
68
65
 
69
- puts "gen #{generator_string}"
70
66
  unless generator_string
71
67
  puts "The dependency_output should be one of #{Output::GRAPH}, #{Output::JSON}, and #{Output::EXCEL}"
72
68
  return
73
69
  end
74
70
 
75
71
  generator_class = Object.const_get(generator_string)
76
- puts "gener class #{generator_class}"
77
72
  generator_class.new.generate(umbrella_target,module_spec_hash)
78
73
  end
79
74
  end
@@ -4,9 +4,6 @@ $:.unshift((ROOT + 'lib').to_s)
4
4
  $:.unshift((ROOT + 'spec').to_s)
5
5
 
6
6
  require 'bundler/setup'
7
- require 'bacon'
8
- require 'mocha-on-bacon'
9
- require 'pretty_bacon'
10
7
  require 'pathname'
11
8
  require 'cocoapods'
12
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-dependency-graph
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rongyan Zheng
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-22 00:00:00.000000000 Z
11
+ date: 2020-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler