judges 0.39.0 → 0.39.2
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 +4 -4
- data/.rultor.yml +1 -1
- data/Gemfile.lock +3 -3
- data/assets/index.css +1 -0
- data/assets/index.xsl +11 -1
- data/judges.gemspec +1 -1
- data/lib/judges.rb +1 -1
- data/test/commands/test_print.rb +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db754fa765925d30406099d2d92dfb083fe139ef9104091b02743edd806171e6
|
4
|
+
data.tar.gz: b3be259ff2a50cf45b7ae42adbf20d99dad3b044bc22aeda400119932494158b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3670dae9c6a087f1503f48061f2b6b8dc78af48cc409cc3a9ff03c402962c1138c57548dbebdd648e3b2bad5adebdcaf758c036ca95250914a1546b1f98c3458
|
7
|
+
data.tar.gz: 34e6a1a03c67630a2cb548dea2613f4d05e4fd156ce8d9590b1f979f20de9f826b812bec9ac36ad051df475b4417f26aa8f860dcf33a9feeb2551d9647151c14
|
data/.rultor.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -176,7 +176,7 @@ GEM
|
|
176
176
|
regexp_parser (2.10.0)
|
177
177
|
retries (0.0.5)
|
178
178
|
rexml (3.4.1)
|
179
|
-
rubocop (1.75.
|
179
|
+
rubocop (1.75.2)
|
180
180
|
json (~> 2.3)
|
181
181
|
language_server-protocol (~> 3.17.0.2)
|
182
182
|
lint_roller (~> 1.1.0)
|
@@ -184,10 +184,10 @@ GEM
|
|
184
184
|
parser (>= 3.3.0.2)
|
185
185
|
rainbow (>= 2.2.2, < 4.0)
|
186
186
|
regexp_parser (>= 2.9.3, < 3.0)
|
187
|
-
rubocop-ast (>= 1.
|
187
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
188
188
|
ruby-progressbar (~> 1.7)
|
189
189
|
unicode-display_width (>= 2.4.0, < 4.0)
|
190
|
-
rubocop-ast (1.
|
190
|
+
rubocop-ast (1.44.0)
|
191
191
|
parser (>= 3.3.7.2)
|
192
192
|
prism (~> 1.4)
|
193
193
|
rubocop-minitest (0.38.0)
|
data/assets/index.css
CHANGED
data/assets/index.xsl
CHANGED
@@ -141,7 +141,17 @@
|
|
141
141
|
</tbody>
|
142
142
|
</table>
|
143
143
|
</xsl:template>
|
144
|
-
<xsl:template match="f">
|
144
|
+
<xsl:template match="f[not(*)]">
|
145
|
+
<tr>
|
146
|
+
<td class="empty">
|
147
|
+
<xsl:attribute name="colspan">
|
148
|
+
<xsl:value-of select="string-length($columns) - string-length(translate($columns, ',', '')) + 2"/>
|
149
|
+
</xsl:attribute>
|
150
|
+
<xsl:text>nothing</xsl:text>
|
151
|
+
</td>
|
152
|
+
</tr>
|
153
|
+
</xsl:template>
|
154
|
+
<xsl:template match="f[*]">
|
145
155
|
<tr>
|
146
156
|
<xsl:call-template name="td">
|
147
157
|
<xsl:with-param name="cols" select="$columns"/>
|
data/judges.gemspec
CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
|
10
10
|
s.required_ruby_version = '>=3.2'
|
11
11
|
s.name = 'judges'
|
12
|
-
s.version = '0.39.
|
12
|
+
s.version = '0.39.2'
|
13
13
|
s.license = 'MIT'
|
14
14
|
s.summary = 'Command-Line Tool for a Factbase'
|
15
15
|
s.description =
|
data/lib/judges.rb
CHANGED
data/test/commands/test_print.rb
CHANGED
@@ -39,6 +39,7 @@ class TestPrint < Minitest::Test
|
|
39
39
|
stub_request(:get, 'https://yegor256.github.io/judges/assets/index.css').to_return(body: 'nothing')
|
40
40
|
stub_request(:get, 'https://yegor256.github.io/judges/assets/index.js').to_return(body: 'nothing')
|
41
41
|
fb = Factbase.new
|
42
|
+
fb.insert
|
42
43
|
10.times do
|
43
44
|
f = fb.insert
|
44
45
|
f._id = 44
|