rubrowser 2.2.0 → 2.3.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/Gemfile.lock +1 -1
- data/lib/rubrowser/version.rb +1 -1
- data/public/css/application.css +2 -50
- data/public/javascript/toolbox.js +1 -1
- data/views/index.erb +4 -1
- data/views/toolbox.erb +48 -24
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 8002d005fb557db7ff8facd9628eb9e2f372fe95c7f1249545fb26c0d799cb2e
|
|
4
|
+
data.tar.gz: b873c80165e6451aeacf02f7f4dee5ddfee53484ba817bc68e8f93311e82cfc2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e9b9ae14d515ce39948d9f5b6c4142a6fcf00177470c8147df5dce6561789c66b77dab9d8c642ace9c7e3c999ad4c2ea78d365910455908063840fb643b14829
|
|
7
|
+
data.tar.gz: dec79a4c9cd503c355264f0bfbd38d3f230c5fe36053e4cb936fcd0567eaf493acf5d4c36cef48f075a71015eeceae942be5e2d6158a9e970a0671ac77aa4993
|
data/Gemfile.lock
CHANGED
data/lib/rubrowser/version.rb
CHANGED
data/public/css/application.css
CHANGED
|
@@ -3,7 +3,7 @@ html, body, .dependency_graph, .dependency_graph svg{
|
|
|
3
3
|
height: 100%;
|
|
4
4
|
padding: 0px;
|
|
5
5
|
margin: 0px;
|
|
6
|
-
font:
|
|
6
|
+
font-size: 13px;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.link {
|
|
@@ -65,63 +65,15 @@ text.type{
|
|
|
65
65
|
top: 0px;
|
|
66
66
|
left: 0px;
|
|
67
67
|
max-height: 100%;
|
|
68
|
-
width:
|
|
68
|
+
width: 250px;
|
|
69
69
|
background: white;
|
|
70
|
-
border-right: 1px solid #ddd;
|
|
71
70
|
overflow: auto;
|
|
72
71
|
}
|
|
73
72
|
|
|
74
|
-
.panel .title{
|
|
75
|
-
padding: 10px;
|
|
76
|
-
font-weight: bold;
|
|
77
|
-
text-transform: uppercase;
|
|
78
|
-
cursor: pointer;
|
|
79
|
-
border-bottom: 1px solid #ddd;
|
|
80
|
-
-moz-user-select: none;
|
|
81
|
-
-khtml-user-select: none;
|
|
82
|
-
-webkit-user-select: none;
|
|
83
|
-
-ms-user-select: none;
|
|
84
|
-
user-select: none;
|
|
85
|
-
background: #eee;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.panel .title:hover{
|
|
89
|
-
background: #ddd;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.panel .content{
|
|
93
|
-
border-bottom: 1px solid #ddd;
|
|
94
|
-
padding: 5px;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.panel label{
|
|
98
|
-
display: block;
|
|
99
|
-
margin-top: 10px;
|
|
100
|
-
margin-bottom: 5px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.panel textarea{
|
|
104
|
-
display: block;
|
|
105
|
-
width: 100%;
|
|
106
|
-
max-width: 100%;
|
|
107
|
-
height: 100px;
|
|
108
|
-
padding: 0px;
|
|
109
|
-
border: 1px solid #ddd
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.panel input[type=button],
|
|
113
|
-
.panel input[type=range],
|
|
114
|
-
.panel button{
|
|
115
|
-
width: 100%;
|
|
116
|
-
max-width: 100%;
|
|
117
|
-
display: block;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
73
|
ul, ol{
|
|
121
74
|
list-style-position: inside;
|
|
122
75
|
white-space: nowrap;
|
|
123
76
|
margin: 0px;
|
|
124
77
|
padding-left: 0px;
|
|
125
|
-
max-width: 100%;
|
|
126
78
|
overflow: auto;
|
|
127
79
|
}
|
data/views/index.erb
CHANGED
|
@@ -4,15 +4,18 @@
|
|
|
4
4
|
<meta content='text/html; charset=UTF-8' http-equiv='Content-Type'>
|
|
5
5
|
<title>Rubrowser</title>
|
|
6
6
|
<link media='all' rel='stylesheet'>
|
|
7
|
+
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
|
7
8
|
<style><%= file('css/application.css') %></style>
|
|
8
9
|
</head>
|
|
9
10
|
<body>
|
|
10
11
|
<div class='dependency_graph'>
|
|
11
12
|
<svg></svg>
|
|
12
13
|
</div>
|
|
14
|
+
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
|
|
15
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
|
|
16
|
+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
|
|
13
17
|
<script src='https://unpkg.com/lodash@4.17.4/lodash.min.js' type='text/javascript'></script>
|
|
14
18
|
<script src='https://unpkg.com/d3@4.13.0/build/d3.min.js' type='text/javascript'></script>
|
|
15
|
-
<script src='https://unpkg.com/jquery@3.3.1/dist/jquery.min.js' type='text/javascript'></script>
|
|
16
19
|
<script type='text/javascript'>
|
|
17
20
|
var data = <%= data %>
|
|
18
21
|
</script>
|
data/views/toolbox.erb
CHANGED
|
@@ -1,36 +1,60 @@
|
|
|
1
1
|
<div class="toolbox">
|
|
2
|
-
<div class="
|
|
3
|
-
<div class="
|
|
4
|
-
<div class="
|
|
2
|
+
<div class="card mt-2">
|
|
3
|
+
<div class="card-header">Node Details</div>
|
|
4
|
+
<div class="card-body" id="information_panel">
|
|
5
5
|
Please click on any node.
|
|
6
6
|
</div>
|
|
7
7
|
</div>
|
|
8
|
-
<div class="
|
|
9
|
-
<div class="
|
|
10
|
-
<div class="
|
|
11
|
-
<label>Namespace</label>
|
|
12
|
-
<textarea id="highlight_by_namespace"></textarea>
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
<div class="card mt-2">
|
|
9
|
+
<div class="card-header">Search</div>
|
|
10
|
+
<div class="card-body">
|
|
11
|
+
<label class="form-label">Namespace</label>
|
|
12
|
+
<textarea id="highlight_by_namespace" class="form-control" rows="5"></textarea>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="card-body">
|
|
15
|
+
<div class="form-check">
|
|
16
|
+
<input type="checkbox" class="form-check-input" id="highlight_modules"/>
|
|
17
|
+
<label class="form-check-label">Modules</label>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="form-check">
|
|
20
|
+
<input type="checkbox" class="form-check-input" id="highlight_classes"/>
|
|
21
|
+
<label class="form-check-label">Classes</label>
|
|
22
|
+
</div>
|
|
15
23
|
</div>
|
|
16
24
|
</div>
|
|
17
|
-
<div class="
|
|
18
|
-
<div class="
|
|
19
|
-
<div class="
|
|
25
|
+
<div class="card mt-2">
|
|
26
|
+
<div class="card-header">Ignore</div>
|
|
27
|
+
<div class="card-body">
|
|
20
28
|
<label>Namespace</label>
|
|
21
|
-
<textarea id="ignore_by_namespace"></textarea>
|
|
22
|
-
|
|
23
|
-
|
|
29
|
+
<textarea id="ignore_by_namespace" class="form-control" rows="5"></textarea>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="card-body">
|
|
32
|
+
<div class="form-check">
|
|
33
|
+
<input type="checkbox" class="form-check-input" id="ignore_modules"/>
|
|
34
|
+
<label class="form-check-label">Modules</label>
|
|
35
|
+
</div>
|
|
36
|
+
<div class="form-check">
|
|
37
|
+
<input type="checkbox" class="form-check-input" id="ignore_classes"/>
|
|
38
|
+
<label class="form-check-label">Classes</label>
|
|
39
|
+
</div>
|
|
24
40
|
</div>
|
|
25
41
|
</div>
|
|
26
|
-
<div class="
|
|
27
|
-
<div class="
|
|
28
|
-
<div class="
|
|
29
|
-
<input type="button" id="pause_simulation" value="Pause animation"/>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<label
|
|
33
|
-
<
|
|
42
|
+
<div class="card mt-2">
|
|
43
|
+
<div class="card-header">Display</div>
|
|
44
|
+
<div class="card-body">
|
|
45
|
+
<input type="button" id="pause_simulation" class="btn btn-secondary btn-block" value="Pause animation"/>
|
|
46
|
+
</div>
|
|
47
|
+
<div class="card-body">
|
|
48
|
+
<label class="form-label">Force Collide</label>
|
|
49
|
+
<input id="force_collide" class="form-control" type="range" value="80" min="0" max="500"/>
|
|
50
|
+
<div class="form-check">
|
|
51
|
+
<input type="checkbox" class="form-check-input" id="hide_namespaces"/>
|
|
52
|
+
<label class="form-check-label">Hide namespaces</label>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="form-check">
|
|
55
|
+
<input type="checkbox" class="form-check-input" id="hide_relations"/>
|
|
56
|
+
<label class="form-check-label">Hide relations</label>
|
|
57
|
+
</div>
|
|
34
58
|
</div>
|
|
35
59
|
</div>
|
|
36
60
|
</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.3.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-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: parser
|
|
@@ -159,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
159
159
|
version: '0'
|
|
160
160
|
requirements: []
|
|
161
161
|
rubyforge_project:
|
|
162
|
-
rubygems_version: 2.
|
|
162
|
+
rubygems_version: 2.7.3
|
|
163
163
|
signing_key:
|
|
164
164
|
specification_version: 4
|
|
165
165
|
summary: A ruby interactive dependency graph visualizer
|