bake-toolkit 2.24.5 → 2.24.6

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: a395b4c252fbfdcbff155c86f56f2966bad3a1b0
4
- data.tar.gz: 9096b7e74589874abcf661d1953a34bfd449336e
3
+ metadata.gz: 6f2d7170b26cbdbc70b0088ff731af07ef3f623a
4
+ data.tar.gz: 30132e42d5dafcbc3dc047eb17021c9184bb9379
5
5
  SHA512:
6
- metadata.gz: 777d9794749f59ea3203cfe15139bb397745335613bff71b401c2a20aaf0da2c4ff8219e9fbabcc1e1058336dd36bfdf63fb4d5baeda90355315aa435cdd89dc
7
- data.tar.gz: 7a8149995b02f52963a02b8597215aeef9f719eba348b7b9d7a92e5982b7f26e71467e799e8129760c935007455c31018be7be0e1c2d8af1c805ec51bede57a9
6
+ metadata.gz: 6ecb9653e3655a6cbc0c454a0263925ea45f1686e81409fc45434445f632c55f5b044fb459463725413355c1dd8d5ca125ac72b01988d49eb125ffa52b1a7b5e
7
+ data.tar.gz: bdf1bcc8e32078aef69722152c11c37deb459191fa8bee2d9f76551737c65071ba39eeac737f9b9f71f11fbf889e3858ef3068fcbd71856b94d29fbe29b4be68
@@ -7,10 +7,16 @@ require 'bake/toolchain/errorparser/gcc_linker_error_parser'
7
7
  module Bake
8
8
  module Toolchain
9
9
 
10
+ def self.getGccRawVersionInfo
11
+ `g++ --version`
12
+ end
13
+
10
14
  def self.getGccVersion
11
- gccVersionStr = `g++ --version`
15
+ gccVersionStr = getGccRawVersionInfo()
12
16
  splitted = gccVersionStr.split("\n")[0].split(" ")
13
- return splitted[splitted.length-1].split(".").map { |v| v.to_i }
17
+ vSubstr = splitted[splitted.length-1]
18
+ vSubstr = splitted[splitted.length-2] if ((!vSubstr.include?".") && (splitted.length >= 2))
19
+ return vSubstr.split(".").map { |v| v.to_i }
14
20
  end
15
21
 
16
22
  def self.getGccPlatform
@@ -1,7 +1,7 @@
1
1
  module Bake
2
2
  class Version
3
3
  def self.number
4
- "2.24.5"
4
+ "2.24.6"
5
5
  end
6
6
 
7
7
  def self.printBakeVersion(ry = "")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bake-toolkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.24.5
4
+ version: 2.24.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Schaal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-05 00:00:00.000000000 Z
11
+ date: 2016-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rtext