cook 2.0.2 → 2.0.3

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/cook.rb +1 -1
  2. data/lib/rake/config.rb +3 -0
  3. metadata +1 -1
@@ -1,3 +1,3 @@
1
1
  class Cook
2
- VERSION = '2.0.2'
2
+ VERSION = '2.0.3'
3
3
  end
@@ -8,6 +8,7 @@ end
8
8
  require 'construct';
9
9
  require 'yaml';
10
10
  require 'fileutils';
11
+ require 'cook';
11
12
  #require 'regexp';
12
13
 
13
14
  class Construct
@@ -259,6 +260,7 @@ class Conf
259
260
  end
260
261
 
261
262
  def self.add_cookbook(aCookbookPath)
263
+ Rake::Application.mesg "Loading cookbook: [#{aCookbookPath}]";
262
264
  $LOAD_PATH.unshift(aCookbookPath+'/lib');
263
265
  Conf.add_recipes_path(aCookbookPath+'/');
264
266
  Conf.add_recipes_path(aCookbookPath+'/recipes/');
@@ -389,6 +391,7 @@ module Rake
389
391
  FileUtils.mkdir_p('logs');
390
392
  Rake::Application.openLogger('logs/'+Conf.log_file_name.gsub(/\//,'_')+'-buildLog');
391
393
  Rake::Application.logger.level = Logger::DEBUG;
394
+ Rake::Application.mesg "Cook version: #{Cook::VERSION}";
392
395
  Conf.add_global_cookbooks();
393
396
  Rake::Application.mesg "Building in #{myCookbookDir}";
394
397
  Conf.add_cookbook(myCookbookDir);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cook
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: