cobench 0.0.45 → 0.0.46
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/assets/index.xsl +20 -1
- data/cobench.gemspec +1 -1
- data/lib/cobench/version.rb +1 -1
- metadata +16 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz: '
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09c46a63c36df91d581ad42a9f05df0ff842a99642173c8fe28255d14c6541b0'
|
4
|
+
data.tar.gz: bd35674d535c1d87e31fa5eadf78aafe05374342729422a9a4403ab6b967f400
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0a16d43937d9a5e5cb905ac4c1d08ab987325d7076d053920d402a40824db2159b9c33351afb11df4d1cca11a5c06e806201917f2a20889c5bf94834fff1b79
|
7
|
+
data.tar.gz: dbd9057ae67839cc2678b7e0ffd5cc2cd514f33ea6fc3884d282ce297af476cbae270df5751ddb42ebcf5af733fcf7b045393f0fac695152492d3b0149f5e37d
|
data/assets/index.xsl
CHANGED
@@ -44,7 +44,15 @@ SOFTWARE.
|
|
44
44
|
</script>
|
45
45
|
<script type="text/javascript">
|
46
46
|
$(function() {
|
47
|
-
$("#metrics").tablesorter(
|
47
|
+
$("#metrics").tablesorter({
|
48
|
+
textExtraction: function(node) {
|
49
|
+
var attr = $(node).attr('data-sort-value');
|
50
|
+
if (typeof attr !== 'undefined' && attr !== false) {
|
51
|
+
return attr;
|
52
|
+
}
|
53
|
+
return $(node).text();
|
54
|
+
}
|
55
|
+
});
|
48
56
|
});
|
49
57
|
$(function() {
|
50
58
|
let params = (new URL(document.location)).searchParams;
|
@@ -202,6 +210,7 @@ SOFTWARE.
|
|
202
210
|
<p>
|
203
211
|
<xsl:text>Score = </xsl:text>
|
204
212
|
<xsl:for-each select="cobench/weights/w[. != '0']">
|
213
|
+
<xsl:sort select="@id" data-type="number" order="descending"/>
|
205
214
|
<xsl:if test="position() > 1">
|
206
215
|
<xsl:text> + </xsl:text>
|
207
216
|
</xsl:if>
|
@@ -370,6 +379,16 @@ SOFTWARE.
|
|
370
379
|
</xsl:choose>
|
371
380
|
</xsl:variable>
|
372
381
|
<td class="num">
|
382
|
+
<xsl:attribute name="data-sort-value">
|
383
|
+
<xsl:choose>
|
384
|
+
<xsl:when test="@actual">
|
385
|
+
<xsl:value-of select="@actual"/>
|
386
|
+
</xsl:when>
|
387
|
+
<xsl:otherwise>
|
388
|
+
<xsl:copy-of select="$value"/>
|
389
|
+
</xsl:otherwise>
|
390
|
+
</xsl:choose>
|
391
|
+
</xsl:attribute>
|
373
392
|
<xsl:choose>
|
374
393
|
<xsl:when test="@actual">
|
375
394
|
<span class="firebrick">
|
data/cobench.gemspec
CHANGED
@@ -48,7 +48,6 @@ Gem::Specification.new do |s|
|
|
48
48
|
s.add_runtime_dependency 'octokit', '~>4.0'
|
49
49
|
s.add_runtime_dependency 'rainbow', '~>3.0'
|
50
50
|
s.add_runtime_dependency 'slop', '~>4.4'
|
51
|
-
s.add_runtime_dependency 'xcop', '~>0.6'
|
52
51
|
s.add_development_dependency 'codecov', '0.6.0'
|
53
52
|
s.add_development_dependency 'cucumber', '8.0.0'
|
54
53
|
s.add_development_dependency 'minitest', '5.15.0'
|
@@ -56,4 +55,5 @@ Gem::Specification.new do |s|
|
|
56
55
|
s.add_development_dependency 'rdoc', '6.4.0'
|
57
56
|
s.add_development_dependency 'rubocop', '1.32.0'
|
58
57
|
s.add_development_dependency 'rubocop-rspec', '2.11.1'
|
58
|
+
s.add_development_dependency 'xcop', '0.7.1'
|
59
59
|
end
|
data/lib/cobench/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cobench
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.46
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yegor Bugayenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backtrace
|
@@ -122,20 +122,6 @@ dependencies:
|
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
124
|
version: '4.4'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: xcop
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - "~>"
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0.6'
|
132
|
-
type: :runtime
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - "~>"
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0.6'
|
139
125
|
- !ruby/object:Gem::Dependency
|
140
126
|
name: codecov
|
141
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -234,6 +220,20 @@ dependencies:
|
|
234
220
|
- - '='
|
235
221
|
- !ruby/object:Gem::Version
|
236
222
|
version: 2.11.1
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: xcop
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - '='
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 0.7.1
|
230
|
+
type: :development
|
231
|
+
prerelease: false
|
232
|
+
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
requirements:
|
234
|
+
- - '='
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 0.7.1
|
237
237
|
description: Downloads statistics from GitHub and builds a nice HTML report
|
238
238
|
email: yegor256@gmail.com
|
239
239
|
executables:
|