visualize_inheritance 0.0.12 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e6b9a0df7c61e83058ea538b61a5bfaa6e99faaf
4
- data.tar.gz: 3a72edf40432dc25138f203c1e5503ad09067a63
3
+ metadata.gz: 075959c5cdbfdd536bcb46d24dffb2a76891d569
4
+ data.tar.gz: f68196e37f6bb42acf1ae27ceaf905723a9db9d8
5
5
  SHA512:
6
- metadata.gz: 5804b58c706f1a467e0257e6a45ec22396ef7f380ccbfdd9de7b5016c29d7d9f80b2fd447c487970fbe654a9047562b9ec255e788e3428390117e5c8b802d5e8
7
- data.tar.gz: 21f9a30f07239393b81d6602a0fdffe5f80d7fcf2bc6d223b40f27aa642b81b595cd5d20c268877867e2a3a101886a8068c69583ec9ae0a30be7b76d19aa58a3
6
+ metadata.gz: 3eebeeb37f89107d3fc012fcaeb5e227425a64c8dc4a554df60ad4cabf1c097863e2bf8f53301f08ad5e04f0f0708bd12c2b10c218ba4239d5bd94a733c7c89f
7
+ data.tar.gz: c2664fe66ec7ff1745374c4ab1e94fa4e57b2bb35e559c5a5924d0f802180747d4b94b61ba30770fce0ee2b839089da62a8577eea3e7e6f96e0563335a018cfc
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
 
2
2
  # VisualizeInheritance
3
3
 
4
- TODO: Write a gem description
4
+ VisualizeInheritance is a gem that creates a visualization of the class structure of an app. It couples a simple Bash script and a D3 force directed graph through Ruby.
5
5
 
6
6
  ## Installation
7
7
 
@@ -19,20 +19,18 @@ Or install it yourself as:
19
19
 
20
20
  ## Usage
21
21
 
22
- TODO: Write usage instructions here
22
+ In order to create a visualization of the class structure, first, create a ruby script in the home directory. Add the following lines to the script:
23
+
24
+ $ VisualizeInheritance.csv
25
+ $ VisualizeInheritance.write_index
26
+ $ VisualizeInheritance.graph
27
+
28
+ Then, run the ruby script. It will create a force directed graph in a new browser window.
23
29
 
24
30
  ## Contributing
25
31
 
26
- 1. Fork it ( https://github.com/[my-github-username]/visualize_inheritance/fork )
32
+ 1. Fork it ( https://github.com/cmvandrevala/visualize_inheritance/fork )
27
33
  2. Create your feature branch (`git checkout -b my-new-feature`)
28
34
  3. Commit your changes (`git commit -am 'Add some feature'`)
29
35
  4. Push to the branch (`git push origin my-new-feature`)
30
36
  5. Create a new Pull Request
31
-
32
-
33
- Visualizing Inheritance Structure in Ruby
34
- =========================================
35
-
36
- This code uses a simple Bash script combined with a force directed graph in D3 to visualize the inheritance structure of a Ruby project.
37
-
38
- Put this in the main folder of the project. Upon running the bash script create_graph.sh, it will scan the lib folder for all classes, and then create a force directed graph in a browser window using D3.
@@ -1,3 +1,3 @@
1
1
  module VisualizeInheritance
2
- VERSION = "0.0.12"
2
+ VERSION = "1.0.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visualize_inheritance
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyrus Vandrevala