norr-merb-manage 0.6 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -35,6 +35,6 @@ Configuration:
35
35
  servers: the amount of servers to start (for clustering/load balancing etc)
36
36
  port: the port to start the Merb application on (in the case of multiple servers, the ports will be sequential from the port specified, i.e. servers set to 3, with port set to 5000, would start the application on 5000, 5001 and 5002)
37
37
  logging: the logging level to pass through to Merb - debug, info, warn, error and fatal
38
- gem: set to true to use bundled merb gem in app (bin/merb). set to false or leave out to use global merb
38
+ frozen: set to true to use frozen merb in app (bin/merb). set to false or leave out to use global merb
39
39
 
40
40
  Most of these options can be left off if you simply want the Merb defaults - if "servers" isn't specified however, then Merb will be passed the "-d" flag to ensure that the single Merb server will run in daemonized mode.
data/bin/merb-manage-ctl CHANGED
@@ -30,11 +30,11 @@ end
30
30
 
31
31
  # This starts the server as per the specified yml config
32
32
  def start(yml)
33
- # Decide which merb to use, bundled gem or global
34
- if yml["gem"].nil?
33
+ # Decide which merb to use, frozen merb or global merb
34
+ if yml["frozen"].nil?
35
35
  command = "merb -m #{yml['path']} "
36
36
  else
37
- if yml["gem"]
37
+ if yml["frozen"]
38
38
  command = "#{yml['path']}/bin/merb -m #{yml['path']} "
39
39
  else
40
40
  command = "merb -m #{yml['path']} "
@@ -82,4 +82,4 @@ case ARGV[0]
82
82
  else
83
83
  # Print out the usage as the arguments didn't match a known action
84
84
  puts "Usage: merb-manage-ctl {start|stop|restart} (-c CONFIG_GLOB)"
85
- end
85
+ end
@@ -1,5 +1,5 @@
1
1
  path: /var/www/sample_app
2
- gem: false
2
+ frozen: false
3
3
  adapter: thin
4
4
  environment: production
5
5
  port: 5000
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: norr-merb-manage
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.6"
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - El Draper