sambot 0.1.20 → 0.1.22

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c3c93b28b2ebb8bcedee4cf4b91137617b5ccb3
4
- data.tar.gz: e07f53a1a1c012faf7d0bc17771d3646fdc1021d
3
+ metadata.gz: 4b0222720c0f848ec45fc3996a3c13dd566331cf
4
+ data.tar.gz: 83eaa9cc55c7308147e6a126e13b8abd45355290
5
5
  SHA512:
6
- metadata.gz: a29367755d6c6a4fbd1dda3654d9b04a57c5b8f3aee02268f61c6c4607580d414bc3f43a92c1e246eb3a0837aa36cb4b28b7c2de3217aecd3c40d8118aea3040
7
- data.tar.gz: 7891a41e361527781962a26efd60aa25dc0befc978c7e19efe6f1ba40d23fb1a9fc12bc0ab65cde994701c8237ca7c6f9c6210886c59a215a33d7f6311a84cc9
6
+ metadata.gz: 2568a97d703f31a837a24e3765c7fc9b768ffb5424051dc5d55ff35659f47763fbed7bb4b43898573e419caa7f9fd88514e726346c6090bf0991cfae7cc30609
7
+ data.tar.gz: f4a401b0e53c79b1e8516d418474cf0961af3154da5410f7ba640d3058e51aff7dd7246a9323a2d7907cc81ac4e88f30e93b2a6dd5dbf2c84e11b03b99f1cd00
@@ -23,7 +23,7 @@ module Sambot
23
23
  modified_files.each {|file| debug("./#{file} has been removed.")}
24
24
  info('The cookbook has been successfully cleaned.')
25
25
  rescue Domain::Common::ApplicationException => e
26
- say(e.message, :red)
26
+ error(e.message)
27
27
  end
28
28
 
29
29
  desc 'build', 'Builds a cookbook from its configuration file'
@@ -39,7 +39,7 @@ module Sambot
39
39
  modified_files.each {|file| debug("./#{file} has been added to the cookbook.")}
40
40
  info('The cookbook has been successfully built.')
41
41
  rescue Domain::Common::ApplicationException => e
42
- say(e.message, :red)
42
+ error(e.message)
43
43
  end
44
44
 
45
45
  desc 'generate', 'Creates a new cookbook'
@@ -58,7 +58,7 @@ module Sambot
58
58
  Sambot::Domain::Cookbooks::AssistantChef.new.generate_cookbook(name, options[:platform], options[:type], ESSENTIAL_FILES, GENERATED_FILES)
59
59
  info('The cookbook has been successfully generated.')
60
60
  rescue Domain::Common::ApplicationException => e
61
- say(e.message, :red)
61
+ error(e.message)
62
62
  end
63
63
 
64
64
  private
@@ -6,6 +6,7 @@ module Sambot
6
6
  namespace 'teamcity'
7
7
 
8
8
  def keys
9
+ puts "not implemented"
9
10
  end
10
11
 
11
12
  end
@@ -11,6 +11,10 @@ module Sambot
11
11
  say(" info: #{msg}", :green)
12
12
  end
13
13
 
14
+ def error(msg)
15
+ say("error: #{msg}", :red)
16
+ end
17
+
14
18
  end
15
19
  end
16
20
  end
@@ -1,3 +1,3 @@
1
1
  module Sambot
2
- VERSION = '0.1.20'.freeze
2
+ VERSION = '0.1.22'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sambot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20
4
+ version: 0.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Kouame