spec_views 3.1.1 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dde0c8db1ced1e6283cd8a14a721b755a03bc1d31cb0241a085c586bb0599c2e
|
4
|
+
data.tar.gz: f69189b543569febf78eab2038da5663bbcaa177246a07f2942bdbec6ad88836
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61248141337e1c7cbf2dc79797a2096fa33b7236b8b87c28a9f2aab5eefdc1e6527d9beb2ea7c6f953369c5210f24d4cc01f34aae0f45c208ab00a0fba95b9c7
|
7
|
+
data.tar.gz: 55490980cf77efbeea95ff50d2af2b39c0902b74b00f3fcc97a5a67e028433c6622459d37ac01016a9b3abe9e6a53dc68343ab6b83607f466cebef44f1277bc1
|
@@ -23,8 +23,9 @@ module SpecViews
|
|
23
23
|
private
|
24
24
|
|
25
25
|
def response_status_match?(response, expected_status)
|
26
|
+
# Use "#{response.message}" to ensure local encoding
|
26
27
|
response.status == expected_status ||
|
27
|
-
response.message.parameterize.underscore == expected_status.to_s
|
28
|
+
"#{response.message}".parameterize.underscore == expected_status.to_s
|
28
29
|
end
|
29
30
|
end
|
30
31
|
end
|
@@ -111,7 +111,7 @@
|
|
111
111
|
display: flex;
|
112
112
|
}
|
113
113
|
|
114
|
-
|
114
|
+
[type=submit], .btn {
|
115
115
|
display: block;
|
116
116
|
padding: 0.5rem 0.5rem 0.4rem;
|
117
117
|
border: 0 solid var(--dark-bg-lighter);
|
@@ -125,25 +125,25 @@
|
|
125
125
|
min-width: 5rem;
|
126
126
|
text-align: center;
|
127
127
|
}
|
128
|
-
|
128
|
+
[type=submit]:hover, .btn:hover {
|
129
129
|
background: var(--dark-bg-lighter);
|
130
130
|
}
|
131
|
-
|
131
|
+
[type=submit].accept, .btn.accept {
|
132
132
|
border-color: var(--accept-bg);
|
133
133
|
color: var(--accept-text);
|
134
134
|
}
|
135
|
-
|
135
|
+
[type=submit].reject, .btn.reject {
|
136
136
|
border-color: var(--reject-bg);
|
137
137
|
color: var(--reject-text);
|
138
138
|
}
|
139
|
-
|
139
|
+
[type=submit].btn, .btn.btn {
|
140
140
|
border-color: var(--highlight);
|
141
141
|
}
|
142
|
-
|
142
|
+
[type=submit].disabled, .btn.disabled {
|
143
143
|
opacity: 0.5;
|
144
144
|
cursor: default;
|
145
145
|
}
|
146
|
-
|
146
|
+
[type=submit].disabled:hover, .btn.disabled:hover {
|
147
147
|
background: var(--dark-bg-light);
|
148
148
|
}
|
149
149
|
|
data/lib/spec_views/version.rb
CHANGED
metadata
CHANGED
@@ -1,43 +1,55 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spec_views
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Gaul
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '5.0'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '8.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '5.0'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '8.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: rspec-rails
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
30
36
|
requirements:
|
31
|
-
- - "
|
37
|
+
- - ">="
|
32
38
|
- !ruby/object:Gem::Version
|
33
39
|
version: '5.0'
|
40
|
+
- - "<"
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: '7.0'
|
34
43
|
type: :runtime
|
35
44
|
prerelease: false
|
36
45
|
version_requirements: !ruby/object:Gem::Requirement
|
37
46
|
requirements:
|
38
|
-
- - "
|
47
|
+
- - ">="
|
39
48
|
- !ruby/object:Gem::Version
|
40
49
|
version: '5.0'
|
50
|
+
- - "<"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '7.0'
|
41
53
|
- !ruby/object:Gem::Dependency
|
42
54
|
name: timecop
|
43
55
|
requirement: !ruby/object:Gem::Requirement
|