sambot 0.1.204 → 0.1.205

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7e5b98edfaa523588cba1182b154f6890eaf1e5
4
- data.tar.gz: ba1f6b8202149555b974ae804c68336575c69f7a
3
+ metadata.gz: 673d0a7ac9002810436ab6e8cda426c63ff35bf0
4
+ data.tar.gz: 333f030d1b9ff31b13f4c6a485ad0248f9c88e52
5
5
  SHA512:
6
- metadata.gz: 054fd6f4d8e0488e5867916ce7e06e578fac3e73e41b8b3c68c5eb0ba11223cb6afad92e98a12af9111627c87d74400b56723cf23c0f3046af0924d432634470
7
- data.tar.gz: 1647b8433eee09b90f35f9583f119a8bc400fe4f8928698f76213381ca8257498a0a8af07dbcc66d79c156c422f53da2afdeb1ac685f98bc4b36373f12ab1cbf
6
+ metadata.gz: 4522aa577326e934c5d0c34a93f819867e3bff196c549fb28e1987f0101d044727ae217dbdbeecc08fdab1daa8ab47765bb70817969806402856eb03a83d6420
7
+ data.tar.gz: 25ea887fc256f5296afd8cef2424f5eff67905b5c82a20c0a5cf2464ccd34b8a83577a8ebbd5b4ffdce6f291a21cea02ba2d2dae255da0af885ffc88a185c8c2
data/lib/sambot/cli.rb CHANGED
@@ -78,13 +78,13 @@ module Sambot
78
78
  def create
79
79
  execute do
80
80
  opts = {
81
- name: ask(' What is the name of this cookbook?'),
82
- type: ask(' What type of cookbook will this be?', limited_to: %w[wrapper role]),
83
- platforms: ask(' What operating system will this cookbook run on?', limited_to: %w[windows centos both]),
84
- description: ask(' What does this cookbook do?')
81
+ 'name' => ask(' What is the name of this cookbook?'),
82
+ 'type' => ask(' What type of cookbook will this be?', limited_to: %w[wrapper role]),
83
+ 'platforms' => ask(' What operating system will this cookbook run on?', limited_to: %w[windows centos both]),
84
+ 'description' => ask(' What does this cookbook do?')
85
85
  }
86
- opts[:identifier] = ask(' What will be the unique machiner identifier for this role cookbook i.e. TCA (TeamCity Agent) or RMQ (RabbitMQ role)?') if opts[:type] == 'role'
87
- opts[:platforms] = opts[:platforms] == 'both' ? %w[centos windows] : [opts[:platforms]]
86
+ opts['identifier'] = ask(' What will be the unique machiner identifier for this role cookbook i.e. TCA (TeamCity Agent) or RMQ (RabbitMQ role)?') if opts['type'] == 'role'
87
+ opts['platforms'] = opts['platforms'] == 'both' ? %w[centos windows] : [opts['platforms']]
88
88
  Chef::Cookbook.create(Config.new(opts))
89
89
  end
90
90
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sambot
4
- VERSION = '0.1.204'
4
+ VERSION = '0.1.205'
5
5
  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.204
4
+ version: 0.1.205
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Kouame