easy_app_helper 4.1.0 → 4.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: 0912cd94af9f37ef5c11dfd40e433d8930a2e125
4
- data.tar.gz: 9dba102908c0ffb16315c684e8157381d774d972
3
+ metadata.gz: 434a85f02a1eaf504c9ed65adf914a645078642a
4
+ data.tar.gz: 21f6e3d42db143603287c979a90dc8c0c7824e85
5
5
  SHA512:
6
- metadata.gz: ce04f5275a44c191214583c5d4a03dc4ef51a797d235eefa282b2a1763151bb927853ff6548f707d7091c25147509fd38fb130ee6e5c0eada818c3b4addb7566
7
- data.tar.gz: 8f0e96f694852be154b10167ab73e0def6ef633f067dc1f51b78310c1c430851f6b3c524ea9dce324e0389a1edb2094b6019197118d398a4ef488990a3554176
6
+ metadata.gz: 8ab470b01821537d0a0afb568f2a0549ec726a311b18675a9de899243a4a895b7d71b88fdadb51bc5f8ac555102c989474a1f2b8f84b7030fb2b6e4da3b4959c
7
+ data.tar.gz: 9455efe10be024aa836d62bdaab32a8b776461d6d3332c8f889696197d577fdbc752762a19128ae2b2436f2acb81000f566b3aeac4e896ef3815c98fff928afc
@@ -6,7 +6,11 @@ module EasyAppHelper
6
6
  def self.register(sub_command_class)
7
7
  raise 'Please specify a sub_command class when registering' if sub_command_class.nil?
8
8
  raise "Already registered sub_command '#{sub_command_class.to_s}' !" if sub_command_classes.include? sub_command_class
9
- EasyAppHelper.logger.debug "Registering handler '#{sub_command_class.to_s}' for sub-command '#{sub_command_class::NAME}'"
9
+ msg = "Registering handler '#{sub_command_class.to_s}' for sub-command '#{sub_command_class::NAME}'"
10
+ unless sub_command_class::PROVIDER == EasyAppHelper::Scripts::SubCommandBase::PROVIDER
11
+ msg += " (provided by '#{sub_command_class::PROVIDER}' plugin)"
12
+ end
13
+ EasyAppHelper.logger.debug msg
10
14
  sub_command_classes << sub_command_class
11
15
  by_provider[sub_command_class::PROVIDER] ||= []
12
16
  raise 'A provider cannot provide the same sub-command multiple times' if by_provider[sub_command_class::PROVIDER].include?(sub_command_class)
@@ -1,3 +1,3 @@
1
1
  module EasyAppHelper
2
- VERSION = '4.1.0'
2
+ VERSION = '4.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_app_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - L.Briais
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-14 00:00:00.000000000 Z
11
+ date: 2016-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler