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 +1 -1
- data/lib/mars_config.rb +1 -1
- data/lib/public/index.erb +1 -1
- metadata +3 -3
data/bin/mars
CHANGED
data/lib/mars_config.rb
CHANGED
@@ -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
|
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)
|
data/lib/public/index.erb
CHANGED
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:
|
4
|
+
hash: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
- 1
|
9
8
|
- 2
|
10
|
-
|
9
|
+
- 0
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tom Wilson
|