visualize_inheritance 0.0.7 → 0.0.8

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: a2690bbd9c00b1e527d4226a5da3166d526089cf
4
- data.tar.gz: ba9b2e346394e8f23d0d7cac14c3e2a856a322e7
3
+ metadata.gz: 777416f39c0811f8d4d664dc40c3c09a0c085e2c
4
+ data.tar.gz: 2f86e76ea37a85f182b1ab47cdbc7099afe50519
5
5
  SHA512:
6
- metadata.gz: 89cccba189a5d6a3a7beee691e850d380fdf9a7edd743a86177ce6819d671a89a110178cd839911cb53bc4a5edae687517a618bc1303dd1b514bc86ac279d28b
7
- data.tar.gz: 74e5392537f7394888160f49b4e67e6444f2278e633763ca1dfd0ecafc84254d2f35b66a2a60466fe355a915ca60cbfb449f65ba5d401707c0bde8db41080e98
6
+ metadata.gz: ef72bdc3653e9aeacbbe71bdfe2fb33863d6dd2538d518b4610cffda27df939fe3fbad3563ca12476d3a74b4e8b6a8bdb8a971327ec89aacde12df9872137615
7
+ data.tar.gz: fd03e7bfa43b1dfe4884a807efa47d5b3214c02d9dd53f8d91c6df5ea1b626ce0b279d0572a420d3a993fbfdf28e511b55a827cba05ca35b00d092b72f70ba15
@@ -1,3 +1,3 @@
1
1
  module VisualizeInheritance
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
3
3
  end
@@ -2,16 +2,16 @@ require_relative "visualize_inheritance/version"
2
2
 
3
3
  module VisualizeInheritance
4
4
 
5
- def self.bin
6
- File.join root, 'bin'
5
+ def self.root
6
+ File.dirname __dir__
7
7
  end
8
8
 
9
- def self.lib
10
- File.join root, 'lib'
9
+ def self.bin
10
+ File.join root, 'bin'
11
11
  end
12
12
 
13
- def self.root
14
- File.dirname __dir__
13
+ def self.index
14
+ File.join root, 'lib', 'visualize_inheritance', 'templates', 'index.html'
15
15
  end
16
16
 
17
17
  def self.csv
@@ -20,7 +20,7 @@ module VisualizeInheritance
20
20
  end
21
21
 
22
22
  def self.write_index
23
- system("touch index.html")
23
+ system("cp #{index} ./")
24
24
  end
25
25
 
26
26
  def self.graph
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.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyrus Vandrevala