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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 03f55873c2f2a8082257070620282cb6c028a752
4
- data.tar.gz: c41cf3ce49c838e10317a5c6abd0b3b9b06382af
3
+ metadata.gz: 85ed29613617bdc0c2772082796f47a5de0ae05e
4
+ data.tar.gz: 7442eac0115b18bed58cc7cdd9bfc59f7bfcac1c
5
5
  SHA512:
6
- metadata.gz: 46179e670dee4588a816dc4118cb00989e0d8de815faf47a7045bc1fa69ff0a0bb82eb65594e4b486735b8cd0d6e7c1a3990a979548eb0682aef1172939ac843
7
- data.tar.gz: f6f80c232c70650790d2a3c8d90fcd531b4527fe71813a9b2f2f678b01a2a9287c2b387765374bb6a0108d7fed237ff38798310e2dea768cbe5baf4b002ab278
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
@@ -1,5 +1,5 @@
1
1
  module Gimbal
2
2
  RAILS_VERSION = '~> 4.2'
3
3
  RUBY_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip
4
- VERSION = '0.0.4'
4
+ VERSION = '0.0.5'
5
5
  end
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
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