dial 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/dial.gemspec +3 -3
- data/lib/dial/middleware/panel.rb +4 -4
- data/lib/dial/version.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4267ea5bc603e20d21e2cc7956154d210a7aad2441a4088c517adee6f9e630a5
|
4
|
+
data.tar.gz: 57de7d2c3bf2cd8055c3e180ff745b95b8541176f0e8aea6ec05a69f5d1175c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82995a0e0d7898af69ea939db4081214844e5b5de7f911be3c6e61ce51d9446d4abeda7dccd0be882c5efabd49267cdcfd2a042ae9c066b1c163f3e68ec1a0ee
|
7
|
+
data.tar.gz: f5b75425302efda23211c8a87ef94f543d9b253ccb5965d04067db2f81c05c9ad1d2432d222419ccd6ed08dfa90d7243f42452a695c3faaa79f7c5aa5d8bdab3
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
data/dial.gemspec
CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_dependency "railties", ">= 7", "< 8.2"
|
23
23
|
spec.add_dependency "activerecord", ">= 7", "< 8.2"
|
24
24
|
spec.add_dependency "actionpack", ">= 7", "< 8.2"
|
25
|
-
spec.add_dependency "vernier"
|
26
|
-
spec.add_dependency "prosopite"
|
27
|
-
spec.add_dependency "pg_query"
|
25
|
+
spec.add_dependency "vernier"
|
26
|
+
spec.add_dependency "prosopite"
|
27
|
+
spec.add_dependency "pg_query"
|
28
28
|
end
|
@@ -144,11 +144,11 @@ module Dial
|
|
144
144
|
|
145
145
|
def script
|
146
146
|
<<~JS
|
147
|
-
|
148
|
-
|
147
|
+
var dialPreview = document.getElementById("dial-preview");
|
148
|
+
var dialDetails = document.getElementById("dial-details");
|
149
149
|
|
150
150
|
dialPreview.addEventListener("click", () => {
|
151
|
-
|
151
|
+
var collapsed = ["", "none"].includes(dialDetails.style.display);
|
152
152
|
dialDetails.style.display = collapsed ? "block" : "none";
|
153
153
|
});
|
154
154
|
|
@@ -156,7 +156,7 @@ module Dial
|
|
156
156
|
if (!dialPreview.contains(event.target) && !dialDetails.contains(event.target)) {
|
157
157
|
dialDetails.style.display = "none";
|
158
158
|
|
159
|
-
|
159
|
+
var detailsElements = dialDetails.querySelectorAll("details");
|
160
160
|
detailsElements.forEach(detail => {
|
161
161
|
detail.removeAttribute("open");
|
162
162
|
});
|
data/lib/dial/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dial
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Young
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-01-
|
10
|
+
date: 2025-01-25 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: railties
|
@@ -73,44 +73,44 @@ dependencies:
|
|
73
73
|
name: vernier
|
74
74
|
requirement: !ruby/object:Gem::Requirement
|
75
75
|
requirements:
|
76
|
-
- - "
|
76
|
+
- - ">="
|
77
77
|
- !ruby/object:Gem::Version
|
78
|
-
version: '
|
78
|
+
version: '0'
|
79
79
|
type: :runtime
|
80
80
|
prerelease: false
|
81
81
|
version_requirements: !ruby/object:Gem::Requirement
|
82
82
|
requirements:
|
83
|
-
- - "
|
83
|
+
- - ">="
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version: '
|
85
|
+
version: '0'
|
86
86
|
- !ruby/object:Gem::Dependency
|
87
87
|
name: prosopite
|
88
88
|
requirement: !ruby/object:Gem::Requirement
|
89
89
|
requirements:
|
90
|
-
- - "
|
90
|
+
- - ">="
|
91
91
|
- !ruby/object:Gem::Version
|
92
|
-
version: '
|
92
|
+
version: '0'
|
93
93
|
type: :runtime
|
94
94
|
prerelease: false
|
95
95
|
version_requirements: !ruby/object:Gem::Requirement
|
96
96
|
requirements:
|
97
|
-
- - "
|
97
|
+
- - ">="
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: '
|
99
|
+
version: '0'
|
100
100
|
- !ruby/object:Gem::Dependency
|
101
101
|
name: pg_query
|
102
102
|
requirement: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
|
-
- - "
|
104
|
+
- - ">="
|
105
105
|
- !ruby/object:Gem::Version
|
106
|
-
version: '
|
106
|
+
version: '0'
|
107
107
|
type: :runtime
|
108
108
|
prerelease: false
|
109
109
|
version_requirements: !ruby/object:Gem::Requirement
|
110
110
|
requirements:
|
111
|
-
- - "
|
111
|
+
- - ">="
|
112
112
|
- !ruby/object:Gem::Version
|
113
|
-
version: '
|
113
|
+
version: '0'
|
114
114
|
email:
|
115
115
|
- djry1999@gmail.com
|
116
116
|
executables: []
|