rbld 1.3.1 → 1.3.2

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: d6a4a14e9b4453aaaf4fd7f0719db999b4f75859
4
- data.tar.gz: 758bd509e75d0343765c8344ef7b3e1883fea5e3
3
+ metadata.gz: afda56780e000dda2179af1fe6559382551926cf
4
+ data.tar.gz: 2e54d8682d9933871bf202f9584b916b4eb82dc2
5
5
  SHA512:
6
- metadata.gz: c91c15a5c87c47b834158d8814c5a34d524d6102b55e3d7068a129ed369bfcdeb68adb497997be1388866e6c0ae3e305d67ff240364cf474dafe2d3067a8a9ec
7
- data.tar.gz: 3da7a9f307455849a25c8483723285180816551092a6cad5a4ec12fffcbf3b37887ed088f960de7fb0398c8bb828735eb3c9ceae057fad0b446f8285c13a3e82
6
+ metadata.gz: d761dbb46e55ad337b0d60eab6d9e49e4fb49c8d15d612aa568c11303023dccfaefae4abc3136476a52676081669b26de3272782079e43df7af7317f6539b644
7
+ data.tar.gz: 2a5029cdd031099585f9a817abe818b8f56f8c583da781619c3f9a2fcd0d82e2a816363e59644313adac6b3b5f9eb25f16fbcf4b713036d243c665ec06c5d1ea
data/cli/lib/data/version CHANGED
@@ -1 +1 @@
1
- 1.3.1
1
+ 1.3.2
@@ -2,6 +2,7 @@ require_relative 'rbld_log'
2
2
  require_relative 'rbld_utils'
3
3
  require_relative 'rbld_verinfo'
4
4
  require_relative 'rbld_engine'
5
+ require_relative 'rbld_plugins'
5
6
 
6
7
  module Rebuild::CLI
7
8
  extend Rebuild::Utils::Errors
@@ -71,7 +72,7 @@ module Rebuild::CLI
71
72
  def self.deduce_cmd_name(handler_class)
72
73
  match = handler_class.name.match(/Rbld(.*)Command/)
73
74
  return nil unless match
74
- match.captures[0].downcase
75
+ match.captures[0].gsub(/([^A-Z])([A-Z]+)/,'\1-\2').downcase
75
76
  end
76
77
 
77
78
  def self.handler!(command)
@@ -104,6 +105,7 @@ module Rebuild::CLI
104
105
 
105
106
  def self.run(command, parameters)
106
107
  handler = handler!( command )
108
+ Rebuild::PlugMgr.instance.notify(:command, command, parameters) { return 100 }
107
109
  handler.run( parameters )
108
110
  handler.errno
109
111
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbld
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Fleytman
8
8
  autorequire:
9
9
  bindir: cli/bin
10
10
  cert_chain: []
11
- date: 2017-03-26 00:00:00.000000000 Z
11
+ date: 2017-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -408,8 +408,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
408
408
  version: '0'
409
409
  requirements: []
410
410
  rubyforge_project:
411
- rubygems_version: 2.4.8
411
+ rubygems_version: 2.6.11
412
412
  signing_key:
413
413
  specification_version: 4
414
- summary: rbld-1.3.1
414
+ summary: rbld-1.3.2
415
415
  test_files: []