sambot 0.1.125 → 0.1.126

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: 48ab039975f099e029f98741adfd74eeb9094936
4
- data.tar.gz: 6ba00c98b0dc733e70370c6eeacace33c8e4df25
3
+ metadata.gz: 3f81638875f2bc03381bc7042bb882e61417c1ef
4
+ data.tar.gz: ec23bdfa1dbfc338b0623350f553401b80b908c1
5
5
  SHA512:
6
- metadata.gz: 61f9d80480b6f6fba354c35a2e019355cf7c6d46385bf98ea7ef9b473d89e2d94f812ed642465ab9351f56ac79d0663f9d40481c847af3dd3f0c0b9baaf66918
7
- data.tar.gz: d84d018c53fd9dbaf41fb0b12cd35989c11ff278f4847997ee31d3cd5e5c8fdfa396d8ffa214efe7e774f21ce2b2600cae724b615a000c08ecdcde83b76d2926
6
+ metadata.gz: 96fc692eeaf190b47430d84fa7c2a110e723b5d9c629e7685a77ca64aacd458186acc8fea33c4bc9d74cf7bd03ffd6b696377acad3a9af4266332b82a526fb17
7
+ data.tar.gz: 0271c472b879183ac7b8a1a53cb3a25d744b9c8ccc1a895027f8102a5312ed8de3d271b771e13f94d0be0ebb3ec38b235326514c1772f6125bae2f5fa686332c
@@ -60,8 +60,6 @@ class Thor
60
60
  end
61
61
 
62
62
  module Sambot
63
- module Commands
64
-
65
63
  class BaseCommand < Thor
66
64
 
67
65
  before :check_version
@@ -104,6 +102,5 @@ module Sambot
104
102
 
105
103
  end
106
104
 
107
- end
108
105
  end
109
106
  end
data/lib/sambot/cli.rb CHANGED
@@ -1,10 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative 'commands/base_command'
3
+ require_relative 'base_command'
4
4
  require_relative 'commands/cookbook_cmd'
5
5
 
6
6
  module Sambot
7
- class CLI < Thor
7
+ class CLI < BaseCommand
8
8
 
9
9
  desc 'cookbook', 'Manage Chef cookbooks'
10
10
  subcommand 'cookbook', Sambot::Commands::CookbookCmd
@@ -1,6 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative 'base_command'
4
3
  require_relative '../chef/cookbook'
5
4
 
6
5
  module Sambot
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sambot
4
- VERSION = '0.1.125'.freeze
4
+ VERSION = '0.1.126'.freeze
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.125
4
+ version: 0.1.126
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Kouame
@@ -457,6 +457,7 @@ files:
457
457
  - bin/slackbot
458
458
  - lib/sambot.rb
459
459
  - lib/sambot/application_error.rb
460
+ - lib/sambot/base_command.rb
460
461
  - lib/sambot/chef/cookbook.rb
461
462
  - lib/sambot/chef/generator.rb
462
463
  - lib/sambot/chef/hooks.rb
@@ -464,7 +465,6 @@ files:
464
465
  - lib/sambot/chef/metadata.rb
465
466
  - lib/sambot/chef/server.rb
466
467
  - lib/sambot/cli.rb
467
- - lib/sambot/commands/base_command.rb
468
468
  - lib/sambot/commands/cookbook_cmd.rb
469
469
  - lib/sambot/config.rb
470
470
  - lib/sambot/dns/records.rb