easy_app_helper 4.1.0 → 4.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 434a85f02a1eaf504c9ed65adf914a645078642a
|
4
|
+
data.tar.gz: 21f6e3d42db143603287c979a90dc8c0c7824e85
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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)
|
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.
|
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-
|
11
|
+
date: 2016-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|