bcome 1.1.0 → 1.1.1

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: 1fdfc9127a15ab379f61de93de3da8008b55e94b
4
- data.tar.gz: 0936141e214a46bcb8c9159755cc18c3bc8f782c
3
+ metadata.gz: 2923062a4a4366c65213a2b7f0058c3f582b0a30
4
+ data.tar.gz: 6bfb1e861568deedf3eff3280ffbd7824cc729ae
5
5
  SHA512:
6
- metadata.gz: c3f7ff8f4c41b6a4bb1d0efece0bfbc757fa82822d2e824ec19d18f985def7ccb98efcaf375d09fd0a6c9f96cb9401560e7478499cc45085f568457c84396e2a
7
- data.tar.gz: 3898dce95f069d0988779dfdaca6d1f526391aa0bcb9ac7367cfc85cb5db410878c6ba8dd7ed8193243888be7a58d398507073f28503e30fbd824e2e82f88930
6
+ metadata.gz: f42cfd663f9f3f0935b116687f045a53abeda50fb575cc58ef458951dfd29cad8bd237376d4a0442c66e57ff21eacca625a9aabbc7093d8d54c91eb777c78781
7
+ data.tar.gz: 4575c42e353b13a6d4e3aaefa661ab44260148e21f20480d2b4b5be594f9a2e9cb3646fb5eb7893acec9b5b9cdee196cf2a873383c7a511d317150793986acd7
@@ -1,3 +1,3 @@
1
1
  module Bcome
2
- VERSION = '1.1.0'.freeze
2
+ VERSION = '1.1.1'.freeze
3
3
  end
@@ -0,0 +1,7 @@
1
+ module Bcome::Exception
2
+ class InvalidRegistryCommandNameLength < ::Bcome::Exception::Base
3
+ def message_prefix
4
+ 'Invalid registry command name length: '
5
+ end
6
+ end
7
+ end
@@ -32,6 +32,7 @@ module Bcome::Registry::Command
32
32
  end
33
33
 
34
34
  def item_spacing(item)
35
+ raise ::Bcome::Exception::InvalidRegistryCommandNameLength.new "command '#{item}' exceeds length limit of #{menu_item_spacing_length}" if item.length > menu_item_spacing_length
35
36
  "\s" * (menu_item_spacing_length - item.length)
36
37
  end
37
38
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bcome
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Roderick (Webzakimbo)
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-08 00:00:00.000000000 Z
11
+ date: 2017-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -191,6 +191,7 @@ files:
191
191
  - lib/objects/exception/invalid_proxy_config.rb
192
192
  - lib/objects/exception/invalid_regexp_matcher_in_registry.rb
193
193
  - lib/objects/exception/invalid_registry_arguments_type.rb
194
+ - lib/objects/exception/invalid_registry_command_name_length.rb
194
195
  - lib/objects/exception/invalid_registry_data_config.rb
195
196
  - lib/objects/exception/invalid_restriction_key_in_registry.rb
196
197
  - lib/objects/exception/invalid_ssh_config.rb
@@ -287,7 +288,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
287
288
  version: '0'
288
289
  requirements: []
289
290
  rubyforge_project:
290
- rubygems_version: 2.6.8
291
+ rubygems_version: 2.6.11
291
292
  signing_key:
292
293
  specification_version: 4
293
294
  summary: Automation and real-time orchestration toolkit