simba 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/simba/version.rb +1 -1
  2. data/lib/simba.rb +6 -3
  3. metadata +4 -4
data/lib/simba/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Simba
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/lib/simba.rb CHANGED
@@ -17,6 +17,7 @@ module Simba
17
17
  desc "Description:\n\n\tsimba is a generator for Sinatra applications."
18
18
 
19
19
  argument :name, :desc => "The name of your sinatra app"
20
+ class_option :skip_bundle, :default => false, :type => :boolean
20
21
 
21
22
  def setup_skeleton
22
23
  self.destination_root = name
@@ -24,9 +25,11 @@ module Simba
24
25
  end
25
26
 
26
27
  def bundle_dependencies
27
- say "Bundling application dependencies using bundler."
28
- in_root do
29
- run 'bundle install'
28
+ unless options[:skip_bundle]
29
+ say "Bundling application dependencies using bundler."
30
+ in_root do
31
+ run 'bundle install'
32
+ end
30
33
  end
31
34
  end
32
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simba
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-20 00:00:00.000000000 Z
12
+ date: 2012-03-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor
16
- requirement: &70169268115760 !ruby/object:Gem::Requirement
16
+ requirement: &70341398889740 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 0.14.6
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70169268115760
24
+ version_requirements: *70341398889740
25
25
  description: simba is a generator for sinatra applications.
26
26
  email:
27
27
  - saitowu@gmail.com