sambot 0.1.108 → 0.1.109
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 +4 -4
- data/README.md +21 -0
- data/lib/sambot/chef/metadata.rb +5 -0
- data/lib/sambot/version.rb +1 -1
- metadata +24 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9bb7cce88dae5558e1265ae98a66f49f90b0179e
|
|
4
|
+
data.tar.gz: 433096e93184f37add645923a5b9fa4d80c6a0b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e1dea184ec751fb0a44841184247f8a7993aba48af0d0ce4c52c6defae029756f15ece9c367407899ebbc3d8759068a11d2bc436d115017a9e2819a2a22dfee0
|
|
7
|
+
data.tar.gz: 346905f1eadaabb59f32a6c07b4b82a321e872c6dfe05337cbac9cc8d184a20ccdf143c3e19e1ab4963d81339888b7e4d9003887f82f4cb0a1a81873754b146e
|
data/README.md
CHANGED
|
@@ -15,3 +15,24 @@ cookbook management commands, run `chef exec sambot help cookbook` or `chef exec
|
|
|
15
15
|
## Contributing
|
|
16
16
|
|
|
17
17
|
Bug reports and pull requests are welcome on GitHub at https://github.exacttarget.com/ads-devops/sambot.
|
|
18
|
+
|
|
19
|
+
### Installation
|
|
20
|
+
|
|
21
|
+
Make sure you have `ruby >= 2.4.0` installed.
|
|
22
|
+
|
|
23
|
+
Install `bundler >= 1.15.1` by running `gem install bundler`
|
|
24
|
+
|
|
25
|
+
Run `bundle install` from the root of the project to install the required ruby gems.
|
|
26
|
+
|
|
27
|
+
### Running Sambot
|
|
28
|
+
|
|
29
|
+
If you want to test your changes locally, you can run `bundle exec bin/sambot`.
|
|
30
|
+
|
|
31
|
+
### Running Tests
|
|
32
|
+
|
|
33
|
+
Run `bundle exec rspec spec`
|
|
34
|
+
|
|
35
|
+
### Linting
|
|
36
|
+
|
|
37
|
+
There is nothing here yet
|
|
38
|
+
|
data/lib/sambot/chef/metadata.rb
CHANGED
|
@@ -9,6 +9,11 @@ module Sambot
|
|
|
9
9
|
TemplateProvider = FileManagement::TemplateProvider
|
|
10
10
|
|
|
11
11
|
def self.generate(name, platforms, version, description, dependencies = nil, gems = nil)
|
|
12
|
+
|
|
13
|
+
if dependencies
|
|
14
|
+
dependencies = dependencies.map { |x| x.is_a?(Hash) ? "#{x.keys.first}', '#{x.values.first}" : x }
|
|
15
|
+
end
|
|
16
|
+
|
|
12
17
|
context = {
|
|
13
18
|
'cookbook_name' => name,
|
|
14
19
|
'cookbook_platforms' => platforms,
|
data/lib/sambot/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sambot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.109
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Olivier Kouame
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-06-
|
|
11
|
+
date: 2017-06-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor-hollaback
|
|
@@ -358,7 +358,7 @@ dependencies:
|
|
|
358
358
|
- - "~>"
|
|
359
359
|
- !ruby/object:Gem::Version
|
|
360
360
|
version: '3.0'
|
|
361
|
-
description:
|
|
361
|
+
description: |+
|
|
362
362
|
# Sambot
|
|
363
363
|
|
|
364
364
|
Sambot is our internal Platform Engineering toolchain to help standardize and simplify our DevOps workflow.
|
|
@@ -376,6 +376,27 @@ description: |
|
|
|
376
376
|
## Contributing
|
|
377
377
|
|
|
378
378
|
Bug reports and pull requests are welcome on GitHub at https://github.exacttarget.com/ads-devops/sambot.
|
|
379
|
+
|
|
380
|
+
### Installation
|
|
381
|
+
|
|
382
|
+
Make sure you have `ruby >= 2.4.0` installed.
|
|
383
|
+
|
|
384
|
+
Install `bundler >= 1.15.1` by running `gem install bundler`
|
|
385
|
+
|
|
386
|
+
Run `bundle install` from the root of the project to install the required ruby gems.
|
|
387
|
+
|
|
388
|
+
### Running Sambot
|
|
389
|
+
|
|
390
|
+
If you want to test your changes locally, you can run `bundle exec bin/sambot`.
|
|
391
|
+
|
|
392
|
+
### Running Tests
|
|
393
|
+
|
|
394
|
+
Run `bundle exec rspec spec`
|
|
395
|
+
|
|
396
|
+
### Linting
|
|
397
|
+
|
|
398
|
+
There is nothing here yet
|
|
399
|
+
|
|
379
400
|
email:
|
|
380
401
|
- olivier.kouame@gmail.com
|
|
381
402
|
executables:
|