cxxproject 0.6.13 → 0.6.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -105,8 +105,8 @@ module Cxxproject
105
105
  parts << @name
106
106
  end
107
107
 
108
- parts << sourceRel.chomp(File.extname(sourceRel))
109
- File.join(parts) + (Rake::application.preproFlags ? ".i" : ".o")
108
+ parts << sourceRel.chomp(File.extname(sourceRel)).gsub('..', '_')
109
+ res = File.join(parts) + (Rake::application.preproFlags ? ".i" : ".o")
110
110
  end
111
111
 
112
112
  def get_dep_file(object)
@@ -182,11 +182,6 @@ module Cxxproject
182
182
  files = Set.new # do not build the same file twice
183
183
 
184
184
  sources.each do |f|
185
- if f.include?("..")
186
- Printer.printError "Error: Source file '#{f}' must not include '..'"
187
- return nil
188
- end
189
-
190
185
  next if exclude_files.include?(f)
191
186
  next if files.include?(f)
192
187
  files << f
@@ -1,7 +1,7 @@
1
1
  module Cxxproject
2
2
  class Version
3
3
  def self.cxxproject
4
- '0.6.13'
4
+ '0.6.14'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cxxproject
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.13
5
+ version: 0.6.14
6
6
  platform: ruby
7
7
  authors:
8
8
  - oliver mueller
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-07-16 00:00:00 Z
13
+ date: 2012-07-17 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: colored
@@ -122,7 +122,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
122
122
  requirements:
123
123
  - - ">="
124
124
  - !ruby/object:Gem::Version
125
- hash: 1141907832559414132
125
+ hash: -2561757521723136284
126
126
  segments:
127
127
  - 0
128
128
  version: "0"