codeclimate 0.21.2 → 0.21.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cc/analyzer/container.rb +3 -1
- data/lib/cc/analyzer/engine.rb +2 -0
- data/lib/cc/analyzer/raising_container_listener.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 223058f42f68c459fe705d3b397afa9ef427b690
|
4
|
+
data.tar.gz: 89559b49df562eec5b73e08ac4bb14ce16a1047a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6ee632006247e4bdcc26df9fdff8e373c40e0676b09466f2eaafed4a5752295d5d7950ea781b61c7a966278d5353aee09fb9fe6b76bd27b75049b3efd21db50
|
7
|
+
data.tar.gz: cf776954b2b37af4b9dbc5da353ec87f61da72582f1f6ed54fef0844ef9a85c1e70f4cfb18e4e75586956790a01762f9298d9c60407d710658184870af15ea9f
|
@@ -48,7 +48,9 @@ module CC
|
|
48
48
|
started = Time.now
|
49
49
|
@listener.started(container_data)
|
50
50
|
|
51
|
-
|
51
|
+
command = docker_run_command(options)
|
52
|
+
CLI.debug("docker run: #{command.inspect}")
|
53
|
+
pid, _, out, err = POSIX::Spawn.popen4(*command)
|
52
54
|
|
53
55
|
@t_out = read_stdout(out)
|
54
56
|
@t_err = read_stderr(err)
|
data/lib/cc/analyzer/engine.rb
CHANGED
@@ -34,6 +34,7 @@ module CC
|
|
34
34
|
)
|
35
35
|
|
36
36
|
container.on_output("\0") do |raw_output|
|
37
|
+
CLI.debug "engine output: #{raw_output.inspect}"
|
37
38
|
output = EngineOutput.new(raw_output)
|
38
39
|
|
39
40
|
unless output_filter.filter?(output)
|
@@ -42,6 +43,7 @@ module CC
|
|
42
43
|
end
|
43
44
|
|
44
45
|
write_config_file
|
46
|
+
CLI.debug "engine config: #{File.read(config_file).inspect}"
|
45
47
|
container.run(container_options)
|
46
48
|
ensure
|
47
49
|
delete_config_file
|
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.21.
|
4
|
+
version: 0.21.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code Climate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|