ceedling 0.9.0 → 0.9.2

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.
@@ -66,5 +66,6 @@
66
66
  - vendor/ceedling/plugins
67
67
  :enabled:
68
68
  - stdout_pretty_tests_report
69
+ - module_generator
69
70
 
70
71
  ...
@@ -2,10 +2,10 @@
2
2
  module Ceedling
3
3
  module Version
4
4
  # @private
5
- GEM = "0.9.0"
5
+ GEM = "0.9.2"
6
6
 
7
7
  # @private
8
- CEEDLING = "0.9.215"
8
+ CEEDLING = "0.9.216"
9
9
  # @private
10
10
  CEXCEPTION = "1.2.17"
11
11
  # @private
@@ -2,7 +2,7 @@
2
2
  module Ceedling
3
3
  module Version
4
4
  # @private
5
- GEM = "0.9.0"
5
+ GEM = "0.9.2"
6
6
 
7
7
  # @private
8
8
  CEEDLING = "<%= versions["CEEDLING"] %>"
@@ -11,7 +11,7 @@
11
11
  :use_auxiliary_dependencies: TRUE
12
12
  :build_root: build
13
13
  # :release_build: TRUE
14
- :test_file_prefix: Test
14
+ :test_file_prefix: test_
15
15
 
16
16
  #:release_build:
17
17
  # :output: MyApp.out
@@ -62,4 +62,5 @@
62
62
  - vendor/ceedling/plugins
63
63
  :enabled:
64
64
  - stdout_pretty_tests_report
65
+ - module_generator
65
66
  ...
@@ -95,8 +95,7 @@ class ModuleGenerator < Plugin
95
95
  @ceedling[:streaminator].stdout_puts "Destroying '#{path}'..."
96
96
  @files.each do |file|
97
97
  if File.exist?(file[:path])
98
- @ceedling[:tool_executor].exec("svn delete \"#{file[:path]}\" --force")
99
- @ceedling[:streaminator].stdout_puts "File #{file[:path]} deleted and removed from source control"
98
+ @ceedling[:streaminator].stdout_puts "File #{file[:path]} deleted"
100
99
  else
101
100
  @ceedling[:streaminator].stdout_puts "File #{file[:path]} does not exist!"
102
101
  end
@@ -108,7 +107,6 @@ class ModuleGenerator < Plugin
108
107
 
109
108
  [File.dirname(@files[0][:path]), File.dirname(@files[1][:path])].each do |dir|
110
109
  makedirs(dir, {:verbose => true})
111
- @ceedling[:tool_executor].exec("svn add \"#{dir}\"")
112
110
  end
113
111
 
114
112
  # define_name = headername.gsub(/\.h$/, '_H').upcase
@@ -124,12 +122,7 @@ class ModuleGenerator < Plugin
124
122
  File.open(file[:path], 'w') do |new_file|
125
123
  new_file << ERB.new(file[:template], 0, "<>").result(binding)
126
124
  end
127
- @ceedling[:tool_executor].exec("svn add \"#{file[:path]}\"")
128
- if $?.exitstatus == 0
129
- @ceedling[:streaminator].stdout_puts "File #{file[:path]} created and added to source control"
130
- else
131
- @ceedling[:streaminator].stdout_puts "File #{file[:path]} created but FAILED adding to source control!"
132
- end
125
+ @ceedling[:streaminator].stdout_puts "File #{file[:path]} created"
133
126
  end
134
127
  end
135
128
 
@@ -1 +1 @@
1
- 215
1
+ 216
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ceedling
3
3
  version: !ruby/object:Gem::Version
4
- hash: 59
4
+ hash: 63
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 0
10
- version: 0.9.0
9
+ - 2
10
+ version: 0.9.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mike Karlesky, Mark VanderVoord