cuba-generator 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd8c8be4e69d98f5b6299927e26fc0c9202611b4
4
- data.tar.gz: 2caa9d92ae816b8060a2c2c274543861375ab290
3
+ metadata.gz: f12dc7c6b72987e73e054170e47cc5c6cb2f16b7
4
+ data.tar.gz: c564a207b783f5c11e52f88ec706221c01b896d6
5
5
  SHA512:
6
- metadata.gz: f4ddb3ff10bab1580857f02139b5406072ffb79d83efd2f8128eed408be2c3b0a90914fe531130c78cc2c586710271717e9ad3e00850f078b582717ec561f9b6
7
- data.tar.gz: 3b3f6fdfd1c82ea5e1fd676e436cd35deb5db9923dc135231670d1b951d783a7b32c0adcd4f78e045d051f1a983f96f1ff4e1b3db2c3f89b461c6153097e5902
6
+ metadata.gz: 9d7130e10c95bc8c8f68118eb8df78cfdc96cff93d0a7eaa8dd40aaeb91a453c3f7efcc5ec6296887ce86272de21af07f0c9cd76bea9ea5781f8831700285314
7
+ data.tar.gz: c502400501656597ad2e068c063e53251e587417898ade4b7ac1160120f059628b3a2b59d061592569eae529691a4787766ca65ec4d322fdd342cb158de2ad1c
data/bin/cuba CHANGED
@@ -4,9 +4,6 @@ require "cuba/generator"
4
4
 
5
5
  if ARGV.length == 2 && ARGV[0] == 'new'
6
6
  project = Cuba::Generator.new(ARGV[1])
7
- project.create_dir
8
- project.create_cuba_file
9
- project.create_config_file
10
7
  else
11
8
  puts "cuba new <projectName>"
12
9
  end
@@ -1,5 +1,5 @@
1
1
  module Cuba
2
2
  class Generator
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -9,6 +9,10 @@ module Cuba
9
9
 
10
10
  def initialize(name)
11
11
  @project_name = name.downcase
12
+ create_dir
13
+ create_config_file
14
+ create_cuba_file
15
+ puts "Created your Cuba app at #{@project_name} directory. Rock on!"
12
16
  end
13
17
 
14
18
  def create_dir
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cuba-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Serdar Dogruyol