cxxproject 0.6.13 → 0.6.14
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.
|
@@ -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
|
data/lib/cxxproject/version.rb
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: cxxproject
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.6.
|
|
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-
|
|
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:
|
|
125
|
+
hash: -2561757521723136284
|
|
126
126
|
segments:
|
|
127
127
|
- 0
|
|
128
128
|
version: "0"
|