sambot 0.1.29 → 0.1.33

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: 84edd114d1aa685282821d5deca7f21e00182f02
4
- data.tar.gz: 25ab0cfb134b7048d6b6862cbbaeb61c8f007eac
3
+ metadata.gz: 8aa32117021e5575c73c02b040ab8cc187139e47
4
+ data.tar.gz: 732934a50df755cb9c8b56db6cad51ad33b85b6a
5
5
  SHA512:
6
- metadata.gz: 9078fae2fba80c852161bc924c6a790b94a6734c90d0de1761809a43f448525fbc4de391999745e640946680026ac642c5722df3e7f01e19a06f98a1a07b071f
7
- data.tar.gz: f10bd0a345110e0687ece20ebad69d4051e6c0fd6d7f7c24b814d4641bf5fe71413b8a4b13cb4b719864c658992371d8abedf3a236c09e615234a2f5d80bb4f6
6
+ metadata.gz: 886630f22fbc72543aa169ed4c81df97070b2d5f52f22b21abf981f0d5d5b2a5d7234b678aa2e02c2aa71ca9a90bfa3fc3efa0c37e03e0a204756e49e257cb56
7
+ data.tar.gz: 09ae27cd2e3ac37dbb8302e892ffbd085e0572786c116e5bf7e716e21677a9dd1c09460d5199e39257028bef549b311c605bef2e262c340199866807a1a00fb8
@@ -11,11 +11,11 @@ module Sambot
11
11
  path ||= File.join(Dir.getwd, CONFIGURATION_FILENAME)
12
12
  raise ApplicationException, "The configuration file was not found at #{path}." unless File.exist?(path)
13
13
  config = YAML.load_file(path)
14
+ raise ApplicationException, 'Missing cookbook name in the .config.yml configuration file' unless config['name']
14
15
  raise ApplicationException, 'Missing platform in the .config.yml configuration file' unless config['platform']
15
16
  raise ApplicationException, 'Missing version in the .config.yml configuration file' unless config['version']
16
17
  raise ApplicationException, 'Missing list of suites in the .config.yml configuration file' unless config['suites']
17
18
  raise ApplicationException, 'Missing description in the .config.yml configuration file' unless config['description']
18
- config['name'] = File.basename(Dir.getwd)
19
19
  config
20
20
  end
21
21
 
@@ -1,3 +1,3 @@
1
1
  module Sambot
2
- VERSION = '0.1.29'.freeze
2
+ VERSION = '0.1.33'.freeze
3
3
  end
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.version = Sambot::VERSION
9
9
  spec.authors = ['Olivier Kouame']
10
10
  spec.email = ['olivier.kouame@gmail.com']
11
-
11
+ spec.description = IO.read(File.join(File.dirname(__FILE__), 'README.md'))
12
12
  spec.summary = 'Tooling for a DevOps workflow'
13
13
  spec.homepage = 'http://github.com/okouam/sambot'
14
14
 
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.29
4
+ version: 0.1.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Kouame
@@ -134,7 +134,14 @@ dependencies:
134
134
  - - "~>"
135
135
  - !ruby/object:Gem::Version
136
136
  version: '3.0'
137
- description:
137
+ description: "# Sambot\n\nSambot is our internal Platform Engineering gem to help
138
+ standardize and simplify our DevOps workflow.\n\nIt can be used both as a library
139
+ - to read secrets from Hashicorp Vault in a Chef cookbook for example - or as an\nexecutable
140
+ to guide tasks such as managing Chef cookbooks.\n\n## Usage\n\nTo install the gem,
141
+ simply run `gem install sambot`.\n\nRun `sambot` to be shown the help menu.\n\n##
142
+ Available Commands\n\nTo view the list of available commands and their descriptions,
143
+ refer to the files in lib/sambot/commands. \n\n## Contributing\n\nBug reports and
144
+ pull requests are welcome on GitHub at https://github.exacttarget.com/ads-devops/sambot.\n"
138
145
  email:
139
146
  - olivier.kouame@gmail.com
140
147
  executables: