spec_views 3.1.1 → 3.2.1
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: 54310e0011e60f8a5484b9a8450101e0ae7ba804ccc2194f719cbf974b9eb500
|
4
|
+
data.tar.gz: 6451285b6a799ce30614e9c36d16e3bc633a8bdebdb5938a94549dad906378ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98f12c25bc8cde3f8f6a9aa21a3712b764dc55531299e4e7b883cb71593a19457922f8d84b30852a097bf22687fd1da1aaf9da0dcf1bf0b86b8073fa72e94350
|
7
|
+
data.tar.gz: e513e67cbed82c90b6acfab920ef547b17a7f7da92409f801f5658d2b0dd283fc66c5e3d708f32a7f783c77f9909b1027e7afcb0cee8cce274b4ad07dafcd066
|
@@ -83,8 +83,9 @@ module SpecViews
|
|
83
83
|
|
84
84
|
def directories
|
85
85
|
@directories ||= Pathname.new(directory_path).children.select(&:directory?).map do |path|
|
86
|
+
next unless File.file?("#{path}/meta.txt")
|
86
87
|
SpecViews::Directory.new(path)
|
87
|
-
end
|
88
|
+
end.compact
|
88
89
|
latest_run = @directories.map(&:last_run).max
|
89
90
|
|
90
91
|
@directories.sort_by! do |dir|
|
@@ -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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Gaul
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-20 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
|