bake-toolkit 1.0.21 → 1.0.22

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 (3) hide show
  1. data/lib/bake/version.rb +1 -1
  2. data/lib/tocxx.rb +2 -2
  3. metadata +2 -2
data/lib/bake/version.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Cxxproject
2
2
  class Version
3
3
  def self.bake
4
- "1.0.21"
4
+ "1.0.22"
5
5
  end
6
6
  end
7
7
 
data/lib/tocxx.rb CHANGED
@@ -240,7 +240,7 @@ module Cxxproject
240
240
  potentialProjs.concat(Dir.glob(r+"/**{,/*/**}/Project.meta"))
241
241
  end
242
242
 
243
- potentialProjs.uniq!
243
+ potentialProjs.uniq!.sort!
244
244
 
245
245
  while project2config_pending.length > 0
246
246
 
@@ -252,7 +252,7 @@ module Cxxproject
252
252
  pmeta_filenames = []
253
253
 
254
254
  potentialProjs.each do |pp|
255
- if pp.include?(pname_toload + "/Project.meta")
255
+ if pp.include?("/" + pname_toload + "/Project.meta") or pp == pname_toload + "/Project.meta"
256
256
  pmeta_filenames << pp
257
257
  end
258
258
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bake-toolkit
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.21
5
+ version: 1.0.22
6
6
  platform: ruby
7
7
  authors:
8
8
  - Alexander Schaal
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2013-08-01 00:00:00 Z
13
+ date: 2013-08-21 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cxxproject