codeclimate 0.89.0 → 0.91.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/engines.yml +2 -0
- data/lib/cc/engine_registry.rb +3 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc03d6b231030fe5171ab85e3460c557a2eda0f56f4f735c83f479ad81773b23
|
4
|
+
data.tar.gz: fb2e2f25ad81a45daf024a726e9d3f83ae9523a2c8d48d6da4f75186adbef77b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab697184983992667e6604fde86c8755c80d9fa2a3a9edb26f7e22e7770a34f31bbb3eb483dde715657a83f6a10afc662d008c16f55d58cb73fcd6a09f3af12b
|
7
|
+
data.tar.gz: 633e221b1787bf28a6f7cdea1be4352c06dbb96fab8c7aba9c2175ec38f47f765be58f4ded66af2b37d0ab5c22e276e65b7e3b9c2bdea70482791c9521b8f811
|
data/config/engines.yml
CHANGED
@@ -89,6 +89,8 @@ eslint:
|
|
89
89
|
flog:
|
90
90
|
channels:
|
91
91
|
stable: codeclimate/codeclimate-flog
|
92
|
+
beta: codeclimate/codeclimate-flog:beta
|
93
|
+
flog-4-6-6: codeclimate/codeclimate-flog:flog-4-6-6
|
92
94
|
description: Easy to read reporting of complexity/pain for Ruby code.
|
93
95
|
git-legal:
|
94
96
|
channels:
|
data/lib/cc/engine_registry.rb
CHANGED
@@ -6,7 +6,7 @@ module CC
|
|
6
6
|
DEFAULT_COMMAND = nil
|
7
7
|
DEFAULT_MANIFEST_PATH = File.expand_path("../../../config/engines.yml", __FILE__)
|
8
8
|
|
9
|
-
EngineDetails = Struct.new(:image, :command, :description, :memory)
|
9
|
+
EngineDetails = Struct.new(:image, :command, :description, :memory, :source_library, :channel_versions)
|
10
10
|
EngineDetailsNotFoundError = Class.new(StandardError)
|
11
11
|
|
12
12
|
def initialize(path = DEFAULT_MANIFEST_PATH, prefix = nil)
|
@@ -38,6 +38,8 @@ module CC
|
|
38
38
|
metadata.fetch("command", DEFAULT_COMMAND),
|
39
39
|
metadata.fetch("description", "(No description available)"),
|
40
40
|
memory_limit(metadata["minimum_memory_limit"]),
|
41
|
+
metadata.fetch("source-library", {}),
|
42
|
+
metadata.fetch("channel-versions", {}),
|
41
43
|
)
|
42
44
|
end
|
43
45
|
rescue KeyError
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codeclimate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.91.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code Climate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|