librevox 0.8 → 0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +14 -0
- data/lib/librevox.rb +4 -0
- data/librevox.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd5fb73b0c4d3d5dd99e256085c49e840611a762
|
4
|
+
data.tar.gz: 364478435791f591df41e4e7b0023fca780c1201
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f26366de352dfc65892bcab398e340319d2b5cf8958d357966c8cbd2640dda221def062c07c6a725bba8c9ecc06a1a8039183eb92233189a28644f9c66362aa
|
7
|
+
data.tar.gz: f9cc41b1c2e8bff8a780cc654e8875f6acedffce2a16b0b9c8963fcaa82069fa758565a1177aa43880681efe00493d2bdbcefe1ba608e5b4e69e4368132ed694
|
data/README.md
CHANGED
@@ -149,6 +149,20 @@ is most likely sufficient:
|
|
149
149
|
end
|
150
150
|
end
|
151
151
|
|
152
|
+
## Configuration
|
153
|
+
|
154
|
+
By default Librevox uses the `Logger` class from the Ruby standard library. You
|
155
|
+
can configure the path to the log file and the log level through `Librevox.options`:
|
156
|
+
|
157
|
+
Librevox.options[:log_file] = "my_log_file.log"
|
158
|
+
Librevox.options[:log_level] = Logger::DEBUG
|
159
|
+
|
160
|
+
## Rotating logs
|
161
|
+
|
162
|
+
If you start Librevox with `Librevox.start`, the log file will be reopened if you
|
163
|
+
send `SIGHUP` to the Librevox process. This makes it easy to rotate logs with the
|
164
|
+
standard `logrotate(1)`.
|
165
|
+
|
152
166
|
## Using `Librevox::CommandSocket`
|
153
167
|
|
154
168
|
Librevox also ships with a CommandSocket class, which allows you to connect
|
data/lib/librevox.rb
CHANGED
data/librevox.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "librevox"
|
3
|
-
s.version = "0.
|
4
|
-
s.date = "2014-03
|
3
|
+
s.version = "0.9"
|
4
|
+
s.date = "2014-04-03"
|
5
5
|
s.summary = "Ruby library for interacting with FreeSWITCH."
|
6
6
|
s.email = "harry@vangberg.name"
|
7
7
|
s.homepage = "http://github.com/vangberg/librevox"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: librevox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.9'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Harry Vangberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03
|
11
|
+
date: 2014-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|