m2config 0.7.1 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c511585456459bc564dd66711dfb4a2f2827506b
4
- data.tar.gz: 084521158d6e582039c6a57e1ade62d4b1da6eee
3
+ metadata.gz: 787a774675a724e730a635cf4da05db4947e4d6a
4
+ data.tar.gz: 0873978eacc0b07468506fbc6e0cab3bbb67f83a
5
5
  SHA512:
6
- metadata.gz: 83df72bdfe8a47b7fe14380e4db15d58423ad53df24a8379cc2d73b71c9c2c1e32a8f8d91a8a0b376d036908bdd9a3415974dd5646c99e9e9da77b22a8304abe
7
- data.tar.gz: 8fdc68d96f259593411b2ad12ebd2675aee926b3ddf3f6111cf3b9c477f1438f8ef2b0507ebd7d553aeeaf72dbbac15e7586711b0d8f288b2953788956a7a2e1
6
+ metadata.gz: a795b8ada2a2562779ce29e3ecedfae9ecd1bd9be4e992ffe821d5be344b82007b3a2cf8bbefd295ccf087948dfaddcfadb9753d7ce969f1d6723eb908b33a56
7
+ data.tar.gz: be0476905c4316071361f250d3724c1f7610f0ead706cde3e0040dda32557af956d07226fdcaebdf57ed7ab84e6a3ad26d8c509a5f487488f0ea91808850f10b
@@ -34,6 +34,7 @@ CREATE TABLE server (id INTEGER PRIMARY KEY,
34
34
  error_log TEXT,
35
35
  chroot TEXT DEFAULT '/var/www',
36
36
  pid_file TEXT,
37
+ control_port TEXT DEFAULT "",
37
38
  default_host TEXT,
38
39
  name TEXT DEFAULT '',
39
40
  bind_addr TEXT DEFAULT "0.0.0.0",
@@ -3,6 +3,7 @@ module M2Config
3
3
  ACCESS_LOG = '/logs/access.log'
4
4
  ERROR_LOG = '/logs/error.log'
5
5
  PID_FILE = '/run/mongrel2.pid'
6
+ CONTROL_PORT = ''
6
7
  CHROOT = './'
7
8
  DEFAULT_HOST = 'localhost'
8
9
  NAME = 'main'
@@ -1,3 +1,3 @@
1
1
  module M2Config
2
- VERSION = "0.7.1"
2
+ VERSION = "0.8.0"
3
3
  end
data/spec/server_spec.rb CHANGED
@@ -12,6 +12,7 @@ describe M2Config::Server do
12
12
  res[:access_log].should eq(M2Config::Server::ACCESS_LOG)
13
13
  res[:error_log].should eq(M2Config::Server::ERROR_LOG)
14
14
  res[:pid_file].should eq(M2Config::Server::PID_FILE)
15
+ res[:control_port].should eq(M2Config::Server::CONTROL_PORT)
15
16
  res[:chroot].should eq(M2Config::Server::CHROOT)
16
17
  res[:default_host].should eq(M2Config::Server::DEFAULT_HOST)
17
18
  res[:name].should eq(M2Config::Server::NAME)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: m2config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Meuret
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-02 00:00:00.000000000 Z
11
+ date: 2015-09-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sqlite3