codeclimate 0.0.15 → 0.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cc/analyzer/engine.rb +7 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bb9250dcfb31dcaad504a925af74ec1c570eb95b
4
- data.tar.gz: 223ac43fb3ac77417af83c81647ad398a1edd66e
3
+ metadata.gz: 8705ead47b838010c6b383a5b61e64c8874c9f00
4
+ data.tar.gz: 62b359de31721437f1aca2f9223cbd96aecafa7a
5
5
  SHA512:
6
- metadata.gz: d1c90859c0241d86b386b4ac9efc0e896d724faf8770b8b2238869131ff015539cd15de891c8c315e3931ca0e59d0b7073c3ac1842327d8f9d63c8a2c5d563ec
7
- data.tar.gz: 9eb9c054257d80fbefe5c0ee1e8b3f1bea27d6927ad9e64ec0746f884bdb78d78b103999792042468ee8cef77acd92d785a4bd8475b67f53ecd333ca481ee300
6
+ metadata.gz: 64527cc50b7953f1e352cd14117ebd5fc09db320402346073353ba9492aaf36b6e83ccc0b800264c60d190e5a813c39465de4a863c1732df2d6e690d7105ae15
7
+ data.tar.gz: 596f576534d23d8ca60055827ca3a2fd0b2135e07e0e4a068bc92b228f24591878ce47fd575ee90d3c7da17a73f7a95307cb9a6414cb45b670562105fa740554
@@ -63,8 +63,13 @@ module CC
63
63
  ensure
64
64
  t_timeout.kill if t_timeout
65
65
 
66
- t_out.join if t_out
67
- t_err.join if t_err
66
+ if timed_out
67
+ t_out.kill if t_out
68
+ t_err.kill if t_err
69
+ else
70
+ t_out.join if t_out
71
+ t_err.join if t_err
72
+ end
68
73
  end
69
74
 
70
75
  private
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.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code Climate
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-30 00:00:00.000000000 Z
11
+ date: 2015-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport