rubrowser 2.5.0 → 2.6.0
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 +5 -5
- data/.travis.yml +8 -0
- data/Gemfile.lock +1 -1
- data/bin/rubrowser +11 -7
- data/lib/rubrowser/version.rb +1 -1
- data/public/css/application.css +32 -10
- data/readme.md +1 -1
- data/views/toolbox.erb +2 -6
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 0105f708ea3b97b023bb2be41d2d86eb7144083e
|
|
4
|
+
data.tar.gz: a44cc7253f7e810a2994ae801a8e2940f379bd38
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: baa24df653d21ed1c87ad867934fe0cf619adec9fec72dcbec1d12ea88b1d5163a5a6a985773f65d13f577f8149f441145da2e71f05c65b94e00f7ceb447f82f
|
|
7
|
+
data.tar.gz: 4ee9e2d15638d6cb2c24f39673c5ff515f10a2d6d4da7f135592823d1c717af0cdb6d176f4a342760e01ec921ec5dda3e0b46f3a5b332fe8441024d39603550d
|
data/.travis.yml
ADDED
data/Gemfile.lock
CHANGED
data/bin/rubrowser
CHANGED
|
@@ -14,13 +14,17 @@ options = {
|
|
|
14
14
|
OptionParser.new do |opts|
|
|
15
15
|
opts.banner = "Usage: #{__FILE__} [options] [file] ..."
|
|
16
16
|
|
|
17
|
-
opts.on(
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
opts.on(
|
|
18
|
+
'-oFILE',
|
|
19
|
+
'--output=FILE',
|
|
20
|
+
'output file page, if not specified output will be written to stdout'
|
|
21
|
+
) { |output| options[:output] = output }
|
|
22
|
+
|
|
23
|
+
opts.on(
|
|
24
|
+
'-lFILE',
|
|
25
|
+
'--layout=FILE',
|
|
26
|
+
'layout file to apply on the resulting graph'
|
|
27
|
+
) { |layout| options[:layout] = layout }
|
|
24
28
|
|
|
25
29
|
opts.on('-T', '--no-toolbox', 'Don\'t display toolbox on the page') do
|
|
26
30
|
options[:toolbox] = false
|
data/lib/rubrowser/version.rb
CHANGED
data/public/css/application.css
CHANGED
|
@@ -4,18 +4,19 @@ html, body, .dependency_graph, .dependency_graph svg{
|
|
|
4
4
|
padding: 0px;
|
|
5
5
|
margin: 0px;
|
|
6
6
|
font-size: 13px;
|
|
7
|
+
overflow: hidden;
|
|
7
8
|
}
|
|
8
9
|
|
|
9
10
|
.link {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
fill: none;
|
|
12
|
+
stroke: #666;
|
|
13
|
+
stroke-width: 1.5px;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
circle {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
fill: #fff;
|
|
18
|
+
stroke: #333;
|
|
19
|
+
stroke-width: 1.5px;
|
|
19
20
|
}
|
|
20
21
|
|
|
21
22
|
.circular {
|
|
@@ -23,13 +24,13 @@ circle {
|
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
.fixed circle {
|
|
26
|
-
|
|
27
|
+
stroke-width: 3px;
|
|
27
28
|
}
|
|
28
29
|
|
|
29
30
|
text {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
font: 10px sans-serif;
|
|
32
|
+
pointer-events: none;
|
|
33
|
+
text-shadow: 0 1px 0 #fff, 1px 0 0 #fff, 0 -1px 0 #fff, -1px 0 0 #fff;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
text.type{
|
|
@@ -83,3 +84,24 @@ ul, ol{
|
|
|
83
84
|
padding-left: 0px;
|
|
84
85
|
overflow: auto;
|
|
85
86
|
}
|
|
87
|
+
|
|
88
|
+
#information_panel{
|
|
89
|
+
position: fixed;
|
|
90
|
+
bottom: 0px;
|
|
91
|
+
left: 0px;
|
|
92
|
+
height: 5rem;
|
|
93
|
+
background: rgba(255,255,255,0.8);
|
|
94
|
+
width: 100%;
|
|
95
|
+
margin-left: 250px;
|
|
96
|
+
padding-right: 250px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
#information_panel div{
|
|
100
|
+
margin: 1rem;
|
|
101
|
+
display: inline-block;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
#information_panel:hover{
|
|
105
|
+
height: 33%;
|
|
106
|
+
overflow: auto;
|
|
107
|
+
}
|
data/readme.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Rubrowser
|
|
2
2
|
|
|
3
3
|
[](https://badge.fury.io/rb/rubrowser)
|
|
4
|
-
|
|
4
|
+
[](https://travis-ci.org/emad-elsaid/rubrowser)
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
a visualizer for ruby code (rails or otherwise), it analyze your code and
|
data/views/toolbox.erb
CHANGED
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
<div class="toolbox">
|
|
2
|
-
<div class="card ml-2 mt-2">
|
|
3
|
-
<div class="card-header">Node Details</div>
|
|
4
|
-
<div class="card-body" id="information_panel">
|
|
5
|
-
Please click on any node.
|
|
6
|
-
</div>
|
|
7
|
-
</div>
|
|
8
2
|
<div class="card ml-2 mt-2">
|
|
9
3
|
<div class="card-header">Search</div>
|
|
10
4
|
<div class="card-body">
|
|
@@ -69,3 +63,5 @@
|
|
|
69
63
|
</div>
|
|
70
64
|
</div>
|
|
71
65
|
</div>
|
|
66
|
+
|
|
67
|
+
<div id="information_panel" class="card"></div>
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubrowser
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Emad Elsaid
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-02-
|
|
11
|
+
date: 2018-02-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: parser
|
|
@@ -113,6 +113,7 @@ files:
|
|
|
113
113
|
- ".rspec"
|
|
114
114
|
- ".rubocop.yml"
|
|
115
115
|
- ".rubrowser"
|
|
116
|
+
- ".travis.yml"
|
|
116
117
|
- Gemfile
|
|
117
118
|
- Gemfile.lock
|
|
118
119
|
- MIT-LICENSE
|
|
@@ -160,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
160
161
|
version: '0'
|
|
161
162
|
requirements: []
|
|
162
163
|
rubyforge_project:
|
|
163
|
-
rubygems_version: 2.
|
|
164
|
+
rubygems_version: 2.6.10
|
|
164
165
|
signing_key:
|
|
165
166
|
specification_version: 4
|
|
166
167
|
summary: A ruby interactive dependency graph visualizer
|