cased-rails 0.5.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/cased/index.js +11 -0
- data/lib/cased/rails/railtie.rb +1 -0
- data/lib/cased/rails/version.rb +1 -1
- metadata +46 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f83e07d91751410673496fea04634a147736d1bbc2b4aec44dd018be8c49ea54
|
4
|
+
data.tar.gz: 1f0160bec6805185f337a088f6ef7dd1de867a92d84d0c84be088a0a7d40614f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61d8ac8812e70372d5ac1200e4c57410727a2807ae9553ae7b38e1a909524cc50cdc011c468278c8f178bb50614280512bf7eb167155110bbf69f0404364fdcd
|
7
|
+
data.tar.gz: 99df3ef94f912bf24658a21dfaca143ca33e3d4bed1853a36c52ac7b819136f01f0161d1c3d8c59b3ec9b0a0409923a24bc3155a198fc0458a70c0eeb82efd19
|
@@ -72,4 +72,15 @@ window.addEventListener("DOMContentLoaded", (event) => {
|
|
72
72
|
casedLoggedOutContainer.classList.remove("hidden");
|
73
73
|
});
|
74
74
|
}
|
75
|
+
|
76
|
+
const casedReasonFormContainer = document.getElementById("guard-reason-required-form");
|
77
|
+
if (casedReasonFormContainer) {
|
78
|
+
casedReasonFormContainer.addEventListener("submit", (event) => {
|
79
|
+
const submitButton = event.currentTarget.querySelector("button[type='submit']");
|
80
|
+
// Container will change after submission; no need to re-enable the button
|
81
|
+
if (submitButton) {
|
82
|
+
submitButton.disabled = true;
|
83
|
+
}
|
84
|
+
});
|
85
|
+
}
|
75
86
|
});
|
data/lib/cased/rails/railtie.rb
CHANGED
data/lib/cased/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cased-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garrett Bjerkhoel
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cased-ruby
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.7.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.7.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jbuilder
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,48 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 6.0.0
|
48
|
+
- - "<="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: '7.1'
|
48
51
|
type: :runtime
|
49
52
|
prerelease: false
|
50
53
|
version_requirements: !ruby/object:Gem::Requirement
|
51
54
|
requirements:
|
52
55
|
- - ">="
|
53
56
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
57
|
+
version: 6.0.0
|
58
|
+
- - "<="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '7.1'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: rexml
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 3.2.5
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 3.2.5
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: sprockets-rails
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 3.4.2
|
82
|
+
type: :runtime
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 3.4.2
|
55
89
|
- !ruby/object:Gem::Dependency
|
56
90
|
name: mocha
|
57
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,14 +120,14 @@ dependencies:
|
|
86
120
|
requirements:
|
87
121
|
- - '='
|
88
122
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
123
|
+
version: 0.93.1
|
90
124
|
type: :development
|
91
125
|
prerelease: false
|
92
126
|
version_requirements: !ruby/object:Gem::Requirement
|
93
127
|
requirements:
|
94
128
|
- - '='
|
95
129
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
130
|
+
version: 0.93.1
|
97
131
|
- !ruby/object:Gem::Dependency
|
98
132
|
name: webmock
|
99
133
|
requirement: !ruby/object:Gem::Requirement
|
@@ -152,7 +186,7 @@ homepage: https://github.com/cased/cased-rails
|
|
152
186
|
licenses:
|
153
187
|
- MIT
|
154
188
|
metadata: {}
|
155
|
-
post_install_message:
|
189
|
+
post_install_message:
|
156
190
|
rdoc_options: []
|
157
191
|
require_paths:
|
158
192
|
- lib
|
@@ -167,8 +201,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
201
|
- !ruby/object:Gem::Version
|
168
202
|
version: '0'
|
169
203
|
requirements: []
|
170
|
-
rubygems_version: 3.
|
171
|
-
signing_key:
|
204
|
+
rubygems_version: 3.2.15
|
205
|
+
signing_key:
|
172
206
|
specification_version: 4
|
173
207
|
summary: Ruby on Rails SDK/client library for Cased
|
174
208
|
test_files: []
|