dev 1.0.90 → 1.0.91

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/dev/BoostBuild.rb +2 -2
  2. metadata +1 -1
@@ -15,7 +15,7 @@ class BoostBuild
15
15
  flags = flags + "-" + words[3] if words.length == 5
16
16
  result="<toolset>" + getToolset(words[1])
17
17
  link="static"
18
- link="shared" if filename.indexOf("lib") != 0
18
+ link="shared" if filename.index("lib") != 0
19
19
  link="shared" if filename.include?(".so")
20
20
  result = result + " <link>" + link + " "
21
21
  result = result + " <variant>release " if !flags.include?("d")
@@ -49,7 +49,7 @@ class BoostBuild
49
49
  def self.getJamfileLine(filename)
50
50
  words=filename.split('-')
51
51
  library = words[0]
52
- library = library[3,library.length-3] if library.indexOf("lib") == 0
52
+ library = library[3,library.length-3] if library.index("lib") == 0
53
53
  return "lib " + library + " : : <file>./" + filename + " " + getLibraryProperties(filename)
54
54
  end
55
55
 
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.90
4
+ version: 1.0.91
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: