mars 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/bin/mars CHANGED
@@ -10,7 +10,7 @@ version = ">= 0"
10
10
  if ARGV.first
11
11
  config = MarsConfig.new(ARGV)
12
12
  config.create_project
13
- # config.apply_stack
13
+ config.apply_stack
14
14
 
15
15
  puts "***********************************"
16
16
  puts "* Thank you for choosing Mars! *"
@@ -16,7 +16,7 @@ class MarsConfig
16
16
  FileUtils.mkdir_p File.join(@project, 'wwwroot')
17
17
  FileUtils.mkdir_p File.join(@project, 'tmp')
18
18
 
19
- config_ru = ["require 'mars'","log = File.new('tmp/mars.log', 'a+')", "$stdout.reopen(log)", "$stderr.reopen(log)", "run Mercury"].join("\n")
19
+ config_ru = ["require 'mars'","log = File.new('tmp/mars.log', 'a+')", "$stdout.reopen(log)", "$stderr.reopen(log)", "run Mars::App"].join("\n")
20
20
  File.open(File.join(@project, 'config.ru'),'w').write(config_ru)
21
21
  gemfile = ['source :gemcutter', "gem 'thin'", "gem 'mars'"].join("\n")
22
22
  File.open(File.join(@project, 'Gemfile'),'w').write(gemfile)
@@ -6,6 +6,6 @@
6
6
  <p>Congrats! You have landed!</p>
7
7
  </div>
8
8
  <div data-role="footer">
9
- <h4 style="display:inline"></h4>
9
+ <center>Jack Russell Software Company, LLC</center>
10
10
  </div>
11
11
  </div>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mars
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
- - 1
9
8
  - 2
10
- version: 0.1.2
9
+ - 0
10
+ version: 0.2.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Tom Wilson