gimbal 0.0.4 → 0.0.5
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/USAGE +13 -0
- data/lib/gimbal/generators/app_generator.rb +10 -0
- data/lib/gimbal/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 85ed29613617bdc0c2772082796f47a5de0ae05e
|
|
4
|
+
data.tar.gz: 7442eac0115b18bed58cc7cdd9bfc59f7bfcac1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2789621b3e7f57bb47981d48f012e9cb6db8eb239b3830a0014d432a281fa8bad837bfafce6c72dee402c04badf0249313d4a35594a902be8f5740edc4e513f8
|
|
7
|
+
data.tar.gz: 4af2348389fe77de044408ce6e26ac79effe40af50916d0b7196f1a5a68f137759042936bb3df9f8984cccc849885bd122de0a355ed8290caa7ee7d9074bf728
|
data/USAGE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Description:
|
|
2
|
+
The 'gimbal' command creates a new Rails application at the path you specify.
|
|
3
|
+
|
|
4
|
+
The generated application structure is an opinionated configuration based on my
|
|
5
|
+
personal preferences.
|
|
6
|
+
|
|
7
|
+
You can find the source of this generator on GitHub: https://github.com/pacso/gimbal
|
|
8
|
+
|
|
9
|
+
Example:
|
|
10
|
+
gimbal ~/Code/Ruby/weblog
|
|
11
|
+
|
|
12
|
+
This generates a Rails installation in ~/Code/Ruby/weblog.
|
|
13
|
+
See the README in the newly created application to get going.
|
|
@@ -18,6 +18,12 @@ module Gimbal
|
|
|
18
18
|
class_option :skip_bundle, type: :boolean, aliases: "-B", default: true,
|
|
19
19
|
desc: "Don't run bundle install"
|
|
20
20
|
|
|
21
|
+
class_option :version, type: :boolean, aliases: "-v", group: :gimbal,
|
|
22
|
+
desc: "Show Gimbal version number and quit"
|
|
23
|
+
|
|
24
|
+
class_option :help, type: :boolean, aliases: '-h', group: :gimbal,
|
|
25
|
+
desc: 'Show this help message and quit'
|
|
26
|
+
|
|
21
27
|
def finish_template
|
|
22
28
|
say 'Finishing template'
|
|
23
29
|
invoke :gimbal_customisation
|
|
@@ -142,6 +148,10 @@ module Gimbal
|
|
|
142
148
|
|
|
143
149
|
protected
|
|
144
150
|
|
|
151
|
+
def self.banner
|
|
152
|
+
"gimbal #{self.arguments.map(&:usage).join(' ')} [options]"
|
|
153
|
+
end
|
|
154
|
+
|
|
145
155
|
def get_builder_class
|
|
146
156
|
Gimbal::AppBuilder
|
|
147
157
|
end
|
data/lib/gimbal/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gimbal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jon Pascoe
|
|
@@ -70,6 +70,7 @@ files:
|
|
|
70
70
|
- LICENSE
|
|
71
71
|
- README.md
|
|
72
72
|
- Rakefile
|
|
73
|
+
- USAGE
|
|
73
74
|
- bin/bundler
|
|
74
75
|
- bin/erubis
|
|
75
76
|
- bin/gimbal
|