dev 1.0.125 → 1.0.126

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/dev/BoostBuild.rb +10 -6
  2. metadata +1 -1
@@ -1,12 +1,16 @@
1
1
  module Dev
2
2
  class BoostBuild
3
3
  def self.defaultToolset
4
- text=`b2 --debug-configuration`
5
- toolset=''
6
- text.scan(/<toolset>([\.\w-]+)/).each{ | var_match |
7
- toolset=var_match[0].to_s
8
- }
9
- return toolset
4
+ begin
5
+ text=`b2 --debug-configuration`
6
+ toolset=''
7
+ text.scan(/<toolset>([\.\w-]+)/).each{ | var_match |
8
+ toolset=var_match[0].to_s
9
+ }
10
+ return toolset
11
+ rescue
12
+ return nil
13
+ end
10
14
  end
11
15
 
12
16
  def self.getLibraryProperties(filename)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.125
4
+ version: 1.0.126
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: