ceedling 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f080a37226ca2bad23bea2e314e7ac3828b4093
|
4
|
+
data.tar.gz: 37841e6f0c39ee415bb4607ecea0d5d8278ce8ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26397b81e50d88ba54f0d9cb8510ea4f164bd34392bdf5af85fb274d6ea03f83bcf22c6a2d236e1bab8f1a13d8aa29097dcfb12101b27d812fc831059cf26827
|
7
|
+
data.tar.gz: 26c57f493b4d8b378aa6c40e3df248a3422a00f7ae82e2b87f8daa55e81d4d8203862a44c899534b6e80ea17502d8c74ccfa88890a8133e83a0c8af93368dca2
|
@@ -170,20 +170,28 @@ class FilePathUtils
|
|
170
170
|
end
|
171
171
|
|
172
172
|
def form_preprocessed_mockable_headers_filelist(mocks)
|
173
|
-
|
174
|
-
|
173
|
+
list = @file_wrapper.instantiate_file_list(mocks)
|
174
|
+
headers = list.map do |file|
|
175
|
+
module_name = File.basename(file).sub(/^#{@configurator.cmock_mock_prefix}/, '').sub(/\.[a-zA-Z]+$/,'')
|
176
|
+
"#{@configurator.project_test_preprocess_files_path}/#{module_name}#{@configurator.extension_header}"
|
177
|
+
end
|
178
|
+
return headers
|
175
179
|
end
|
176
180
|
|
177
181
|
def form_mocks_source_filelist(mocks)
|
178
|
-
|
182
|
+
list = (@file_wrapper.instantiate_file_list(mocks))
|
183
|
+
sources = list.map{|file| "#{@configurator.cmock_mock_path}/#{file}#{@configurator.extension_source}"}
|
184
|
+
return sources
|
179
185
|
end
|
180
186
|
|
181
187
|
def form_test_dependencies_filelist(files)
|
182
|
-
|
188
|
+
list = @file_wrapper.instantiate_file_list(files)
|
189
|
+
return list.pathmap("#{@configurator.project_test_dependencies_path}/%n#{@configurator.extension_dependencies}")
|
183
190
|
end
|
184
191
|
|
185
192
|
def form_pass_results_filelist(path, files)
|
186
|
-
|
193
|
+
list = @file_wrapper.instantiate_file_list(files)
|
194
|
+
return list.pathmap("#{path}/%n#{@configurator.extension_testpass}")
|
187
195
|
end
|
188
196
|
|
189
197
|
end
|
data/lib/ceedling/version.rb
CHANGED
data/lib/ceedling/version.rb.erb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ceedling
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Karlesky, Mark VanderVoord
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2015-03-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thor
|