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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a1fc1a1eefcfd08915e42c733730c73a581106c2
4
- data.tar.gz: aa79135d18b60a01b3942f89dadbe20289d8ac8a
3
+ metadata.gz: 9bb7cce88dae5558e1265ae98a66f49f90b0179e
4
+ data.tar.gz: 433096e93184f37add645923a5b9fa4d80c6a0b0
5
5
  SHA512:
6
- metadata.gz: b06b48af74c3b38b6f06b6d13694a33900aa3e59a39c87cc42c291e6031c9da61d507310b29ca41b715636d5a38e62f30f2983e8fb44646b836a562d3cd5176f
7
- data.tar.gz: fe8cdd28b5c7eaca710499c13aeca93fc1191918b272c287b0e3f1c47a9cde748b17c4b93b2efd05056d8c3c76c34e5be42b78fd705a11daeb794659b455e358
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
+
@@ -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,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sambot
4
- VERSION = '0.1.108'.freeze
4
+ VERSION = '0.1.109'.freeze
5
5
  end
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.108
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-14 00:00:00.000000000 Z
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: