gcc-to-clang-analyzer 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4e97c34e2a83c84c514994b24292238f6b0d0a5c
4
- data.tar.gz: 9494d5d9d5d100f261b5ec5c4133b502d86e7c97
3
+ metadata.gz: c8710435833b45638f303fb97f7891831c92257a
4
+ data.tar.gz: fd0aaef73469568f9af236efb27b1f2d0cc9c2d8
5
5
  SHA512:
6
- metadata.gz: a52350c7deab021f86cc3e7cf941ea5c0e5870371a1661c471752630b8662467c240de9dbeec7baf9f6f6a46e78b4088cdb9c033b00e251cd11c04ff24a2762c
7
- data.tar.gz: 8cf431ea5a10f5a3918ca4b458ada5ca2df68f172dd5c46262a75d69838ec1a57413b44fc7bd91f084b73eabab8c98e3130dfdfe6b53b660ce5dca55559dea53
6
+ metadata.gz: c31c747f228b34625c546bd1c9a418cfe22533390a18f08178c14f9a4e7362049adf95f6328358770d693c8418f78c777fa9a26d15af11b025de5052b16c02f8
7
+ data.tar.gz: 0dc0300c7e4d0dac46d748c3b36985aee5042377fb1c8d458d0d5dbbbf018e424ca5830a8bb3441edf7d336b8cdfaf8c959eb169f37cc53f01af7a062e8c8b4f
data/bin/g++ CHANGED
@@ -13,12 +13,12 @@ cl = command_line.join(' ')
13
13
  logger.info("executing '#{cl}'")
14
14
 
15
15
  res = system(cl)
16
- if res != 0
16
+ unless res
17
17
  logger.warn("problems while executing #{cl}")
18
- return res
18
+ exit res
19
19
  end
20
20
 
21
- if res && output.length > 0
21
+ if output.length > 0
22
22
  workspace_path = File.absolute_path('..')
23
23
  prefix = File.absolute_path('.').gsub(workspace_path+'/', '')
24
24
  tmp_output = output + ".tmp"
@@ -28,4 +28,4 @@ if res && output.length > 0
28
28
  File.delete(output)
29
29
  File.rename(tmp_output, output)
30
30
  end
31
- return 0
31
+ exit 0
@@ -1,3 +1,3 @@
1
1
  module GccToClangAnalyzer
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gcc-to-clang-analyzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Köstlin