eucalypt 0.6.1 → 0.6.2
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 +4 -4
- data/README.md +5 -1
- data/lib/eucalypt/list.rb +8 -2
- data/lib/eucalypt/version.rb +6 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7ab583cd6586f8fa5488e4acad5a7cd902deb47a8ee586944f16812f4da6bde7
|
|
4
|
+
data.tar.gz: d09b77d7964404d74ace7f74200381e059c11d550f23f0da8ded4ddb1ad27cec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8219536b06e3a61eb360b55b804bf3ef7163e9da23afe781dfaa8031458d3dc36264406f001d47774c3a64bbac7ffbbb6c82a881c323e234b28db9cdd174449f
|
|
7
|
+
data.tar.gz: 36e8d8a316c8e3597bb51a0a55226e5422e19fc7a7be4f8f121c88b75f386d3efc63f24507c96ebedf42ca838bb20badd5a650c65561b2cc0157b61ff039664f
|
data/README.md
CHANGED
|
@@ -20,6 +20,10 @@ $ gem install eucalypt
|
|
|
20
20
|
|
|
21
21
|
## Usage
|
|
22
22
|
|
|
23
|
+
Running the top-level `eucalypt` command displays information about initializing a new application:
|
|
24
|
+
|
|
25
|
+
<p align="center"><img width="70%" src="gfx/cli-1.png"></p>
|
|
26
|
+
|
|
23
27
|
Initialize a new application with:
|
|
24
28
|
|
|
25
29
|
```bash
|
|
@@ -32,7 +36,7 @@ $ eucalypt init my-new-app
|
|
|
32
36
|
|
|
33
37
|
Move into your new application's directory and run the top-level `eucalypt` command to display a list of all available commands:
|
|
34
38
|
|
|
35
|
-
<p align="center"><img width="70%" src="gfx/cli.png"></p>
|
|
39
|
+
<p align="center"><img width="70%" src="gfx/cli-2.png"></p>
|
|
36
40
|
|
|
37
41
|
## Documentation
|
|
38
42
|
|
data/lib/eucalypt/list.rb
CHANGED
|
@@ -19,6 +19,8 @@ module Eucalypt
|
|
|
19
19
|
cmd = l.first
|
|
20
20
|
(/.*help.*/.match?(cmd) && /^(?!.*(helper))/.match?(cmd)) || cmd.include?('-H')
|
|
21
21
|
end
|
|
22
|
+
list.reject! {|l| /^(?!.*(init))/.match? l.first} if !Eucalypt.app? Dir.pwd
|
|
23
|
+
|
|
22
24
|
list.map {|l| l.last.sub!(?#, '·'.colorize(:pale_blue, :bold)+'›')}
|
|
23
25
|
|
|
24
26
|
if defined?(@package_name) && @package_name
|
|
@@ -32,8 +34,12 @@ module Eucalypt
|
|
|
32
34
|
shell.say
|
|
33
35
|
class_options_help(shell)
|
|
34
36
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
+
if !Eucalypt.app? Dir.pwd
|
|
38
|
+
shell.say "For more information about creating an application, use #{"eucalypt -H init".colorize(:pale_blue)}."
|
|
39
|
+
else
|
|
40
|
+
shell.say "For more information about a specific command, use #{"eucalypt -H".colorize(:pale_blue)}."
|
|
41
|
+
shell.say "Example: eucalypt -H generate scaffold".colorize(:grey)
|
|
42
|
+
end
|
|
37
43
|
end
|
|
38
44
|
end
|
|
39
45
|
end
|
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.6.
|
|
4
|
+
version: 0.6.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: 2019-
|
|
11
|
+
date: 2019-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -383,7 +383,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
383
383
|
- !ruby/object:Gem::Version
|
|
384
384
|
version: '0'
|
|
385
385
|
requirements: []
|
|
386
|
-
rubygems_version: 3.0.
|
|
386
|
+
rubygems_version: 3.0.3
|
|
387
387
|
signing_key:
|
|
388
388
|
specification_version: 4
|
|
389
389
|
summary: Micro-framework, application generator and CLI wrapped around the Sinatra
|