xnlogic 1.0.25 → 1.0.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xnlogic/cli/application.rb +8 -0
- data/lib/xnlogic/cli.rb +5 -0
- data/lib/xnlogic/man/xnlogic +5 -1
- data/lib/xnlogic/man/xnlogic.txt +4 -1
- data/lib/xnlogic/version.rb +1 -1
- data/man/xnlogic.ronn +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abf49c48ec81cbce10678603bf136f6f93147dcd
|
4
|
+
data.tar.gz: 29f457b0595c5510235538a4218bd171ed6cc1b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1274b810da1a3fde1473ff191592cef9da7efa1281c2570906bb9818eb2ada7d90ac6ddeeef1fbc88907b40d08a709ebc7abcdf00765405f6219d154215abc0f
|
7
|
+
data.tar.gz: 9c56d36754200b2651eb2cda9cdb004a91156dc91cbd70624fdb1ca2dd3013b582c4f94632e9323b82bd390ea68ea83400a5f193b8050d7c047601744d7e6a63
|
@@ -43,7 +43,15 @@ module Xnlogic
|
|
43
43
|
end
|
44
44
|
end
|
45
45
|
|
46
|
+
def require_key
|
47
|
+
unless options['key']
|
48
|
+
Xnlogic.ui.info 'You must specify a --key option to generate an application.'
|
49
|
+
exit 1
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
46
53
|
def application
|
54
|
+
require_key
|
47
55
|
generate_vm_config if options['vm_config']
|
48
56
|
generate_application
|
49
57
|
write_options
|
data/lib/xnlogic/cli.rb
CHANGED
@@ -128,6 +128,11 @@ EOD
|
|
128
128
|
app.server_profile(hostname)
|
129
129
|
end
|
130
130
|
|
131
|
+
desc "version", "Print the version of this command-line tool."
|
132
|
+
def version
|
133
|
+
puts(Xnlogic::VERSION)
|
134
|
+
end
|
135
|
+
|
131
136
|
|
132
137
|
def self.source_root
|
133
138
|
File.expand_path(File.join(File.dirname(__FILE__), 'templates'))
|
data/lib/xnlogic/man/xnlogic
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "XNLOGIC" "1" "
|
4
|
+
.TH "XNLOGIC" "1" "February 2015" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBxnlogic\fR \- XN Logic Command\-line Tools
|
@@ -50,6 +50,10 @@ Displays the gem sources needed by this application
|
|
50
50
|
\fBxnlogic help(1)\fR
|
51
51
|
Displays detailed help for each subcommand
|
52
52
|
.
|
53
|
+
.TP
|
54
|
+
\fBxnlogic version\fR
|
55
|
+
Print the version of the xnlogic command\-line tools\.
|
56
|
+
.
|
53
57
|
.SH "OPTIONS"
|
54
58
|
.
|
55
59
|
.TP
|
data/lib/xnlogic/man/xnlogic.txt
CHANGED
@@ -42,6 +42,9 @@ UTILITY COMMANDS
|
|
42
42
|
xnlogic help(1)
|
43
43
|
Displays detailed help for each subcommand
|
44
44
|
|
45
|
+
xnlogic version
|
46
|
+
Print the version of the xnlogic command-line tools.
|
47
|
+
|
45
48
|
OPTIONS
|
46
49
|
--no-color
|
47
50
|
Prints all output without color
|
@@ -52,4 +55,4 @@ OPTIONS
|
|
52
55
|
|
53
56
|
|
54
57
|
|
55
|
-
|
58
|
+
February 2015 XNLOGIC(1)
|
data/lib/xnlogic/version.rb
CHANGED
data/man/xnlogic.ronn
CHANGED
@@ -25,6 +25,7 @@ We divide `xnlogic` subcommands into the initial command, update commands, and u
|
|
25
25
|
* `xnlogic application(1)`:
|
26
26
|
Create a simple application, suitable for development with the XN Framework.
|
27
27
|
|
28
|
+
|
28
29
|
## APPLICATION UPDATES
|
29
30
|
|
30
31
|
* `xnlogic vm_config(1)`:
|
@@ -42,6 +43,9 @@ We divide `xnlogic` subcommands into the initial command, update commands, and u
|
|
42
43
|
* `xnlogic help(1)`:
|
43
44
|
Displays detailed help for each subcommand
|
44
45
|
|
46
|
+
* `xnlogic version`:
|
47
|
+
Print the version of the xnlogic command-line tools.
|
48
|
+
|
45
49
|
## OPTIONS
|
46
50
|
|
47
51
|
* `--no-color`:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xnlogic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Darrick Wiebe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-02-
|
11
|
+
date: 2015-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|