eucalypt 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eucalypt/eucalypt-blog/namespaces/blog/templates/helper/helper_spec.tt +1 -1
- data/lib/eucalypt/eucalypt-core/templates/eucalypt/spec/controllers/application_controller_spec.rb +1 -1
- data/lib/eucalypt/eucalypt-core/templates/eucalypt/spec/helpers/application_helper_spec.rb +1 -1
- data/lib/eucalypt/eucalypt-generate/namespaces/generate-controller/templates/controller_spec.tt +1 -1
- data/lib/eucalypt/eucalypt-generate/namespaces/generate-helper/templates/helper_spec.tt +1 -1
- data/lib/eucalypt/eucalypt-generate/namespaces/generate-model/templates/model_spec.tt +1 -1
- data/lib/eucalypt/list.rb +4 -4
- data/lib/eucalypt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc29a501c06a2832d199e3adfc34cbcb0410c4fab787bf535b2a0e7c68d4ec15
|
4
|
+
data.tar.gz: 40f90cc6191688056a47c13a635456fa8dc01953cbc642845ceeaa89c1bbb9ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11a97eb10a5e60708c8ea3d74364cda1f3a86afe048d206bdd143c23c75c553d388be7bb6e3f623daedab3ecb545ffc6637cf5e52dedf11ad2640d0e1f65cc7b
|
7
|
+
data.tar.gz: d80dffdfa61a1c3214fb7ff233788d20a49f2e13d181cb11aceb033509bfcbc7fff95231b04f5acccf0d250328402f3f376ca5604c7fa4387a46675116cef01c
|
data/lib/eucalypt/list.rb
CHANGED
@@ -7,17 +7,17 @@ module Eucalypt
|
|
7
7
|
include Eucalypt::Helpers
|
8
8
|
using Colorize
|
9
9
|
|
10
|
-
INDENT = 2.freeze
|
11
|
-
|
12
10
|
def help(shell, subcommand = false)
|
13
11
|
list = printable_commands(true, subcommand)
|
14
12
|
Thor::Util.thor_classes_in(self).each do |klass|
|
15
13
|
list += klass.printable_commands(false)
|
16
14
|
end
|
17
15
|
|
16
|
+
indent = 2.freeze
|
17
|
+
|
18
18
|
list.reject! do |l|
|
19
19
|
cmd = l.first
|
20
|
-
cmd
|
20
|
+
(/.*help.*/.match?(cmd) && /^(?!.*(helper))/.match?(cmd)) || cmd.include?('-H')
|
21
21
|
end
|
22
22
|
list.map {|l| l.last.sub!(?#, '·'.colorize(:pale_blue, :bold)+'›')}
|
23
23
|
|
@@ -28,7 +28,7 @@ module Eucalypt
|
|
28
28
|
shell.say "#{"Commands".colorize(:bold)}:"
|
29
29
|
end
|
30
30
|
|
31
|
-
shell.print_table(list, indent:
|
31
|
+
shell.print_table(list, indent: indent, truncate: false)
|
32
32
|
shell.say
|
33
33
|
class_options_help(shell)
|
34
34
|
|
data/lib/eucalypt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eucalypt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edwin Onuonga
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|