luban-cli 0.4.7 → 0.4.8

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: 5e7c0fc5fe7b473f10f9eeb1ea5b3077b4036754
4
- data.tar.gz: 9a1e0c3cd85467992f749f48dc1386419c3ce1ea
3
+ metadata.gz: 2edaafc08848005a47caf07fb95632229a3b4e58
4
+ data.tar.gz: ebe5ad32997f45cdae5f7258defad31f3736a87f
5
5
  SHA512:
6
- metadata.gz: 6bb0b97497b42f8061fa4a88043deef23129ab8969a0c412b1eab7de0ea1949f2865702477f50fbb51ab2085ee35c6f019347b340b9b8d7424e0530edeb54905
7
- data.tar.gz: 86eebc55192192cffa51ee3551277e5e68d9e00cfc533e1497e641311dbe1d430941284574eeb5d59e072f373f8c9e49092278224dc741df27a4a0ef6d7997ea
6
+ metadata.gz: 11243d682012c56e0b9f671fcae9f8a05e84322677d6e14d859a5207754c165cc595950090319975e0f6ba1d7fbdc5cfdc9bbeaf2a4397b16d8a1c03f5b6d3b9
7
+ data.tar.gz: 820188aa2a2a18832394e322fce4f86526c5c0a148033b45a44891826081750adb582d481779b8b200489678693622aced5337d009fa29f706066ce0cf895df6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Change log
2
2
 
3
+ ## Version 0.4.8 (Oct 19, 2016)
4
+
5
+ Minor enhancements:
6
+ * Added convenient callback methods, #after_configure and #after_alter, in Luban::CLI::Base
7
+
3
8
  ## Version 0.4.7 (Sept 28, 2016)
4
9
 
5
10
  Minor enhancements:
@@ -81,6 +81,7 @@ module Luban
81
81
  def alter(&blk)
82
82
  instance_eval(&blk)
83
83
  on_alter
84
+ after_alter
84
85
  end
85
86
 
86
87
  protected
@@ -105,10 +106,13 @@ module Luban
105
106
  instance_eval(&callback) unless callback.nil?
106
107
  end
107
108
  on_configure
109
+ after_configure
108
110
  end
109
111
 
110
112
  def on_configure; end
113
+ def after_configure; end
111
114
  def on_alter; end
115
+ def after_alter; end
112
116
 
113
117
  def setup_default_action
114
118
  if has_commands?
@@ -1,5 +1,5 @@
1
1
  module Luban
2
2
  module CLI
3
- VERSION = "0.4.7"
3
+ VERSION = "0.4.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: luban-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rubyist Chi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-28 00:00:00.000000000 Z
11
+ date: 2016-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  version: '0'
88
88
  requirements: []
89
89
  rubyforge_project:
90
- rubygems_version: 2.5.1
90
+ rubygems_version: 2.6.7
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: Luban::CLI is a command-line interface for Ruby with a simple lightweight