opensips-pi-rest 0.0.1 → 0.0.2
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.
- data/README.md +6 -11
- data/lib/opensips-pi-rest/version.rb +1 -1
- metadata +4 -3
data/README.md
CHANGED
|
@@ -1,30 +1,25 @@
|
|
|
1
1
|
# Opensips-Pi-REST
|
|
2
|
-
***
|
|
3
2
|
|
|
4
3
|
A Restful API to expose Opensips::Pi provisioning services to the web.
|
|
5
4
|
|
|
6
|
-
|
|
7
5
|
## Installation
|
|
8
|
-
***
|
|
9
6
|
|
|
10
|
-
|
|
7
|
+
$ gem install opensips-pi-rest
|
|
11
8
|
|
|
12
9
|
## Usage
|
|
13
|
-
***
|
|
14
10
|
|
|
15
|
-
|
|
11
|
+
$ opensips-pi-rest start|stop
|
|
16
12
|
|
|
17
13
|
## Configuration
|
|
18
|
-
***
|
|
19
14
|
|
|
20
15
|
To configure the opensips-pi gem and customize bin path and/or logger impl, just create a ruby script as follows:
|
|
21
16
|
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
Opensips::Pi.bin = "PATH/TO/opensipsctl"
|
|
18
|
+
Opensips::Pi.logger = ACustomLogger.class
|
|
24
19
|
|
|
25
20
|
Then, you should run opensips-pi-rest binary with a environment variable as follows:
|
|
26
21
|
|
|
27
|
-
|
|
22
|
+
$ CONFIG=path/to/custom_config.rb opensips-pi-rest start
|
|
28
23
|
|
|
29
24
|
## Contributing
|
|
30
25
|
|
|
@@ -36,4 +31,4 @@ Then, you should run opensips-pi-rest binary with a environment variable as foll
|
|
|
36
31
|
|
|
37
32
|
## License
|
|
38
33
|
|
|
39
|
-
This project is released under the MIT License. See LICENSE.txt for more information.
|
|
34
|
+
This project is released under the MIT License. See LICENSE.txt for more information.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: opensips-pi-rest
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -108,7 +108,7 @@ dependencies:
|
|
|
108
108
|
- - ! '>='
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '0'
|
|
111
|
-
description: Opensips::Pi
|
|
111
|
+
description: Opensips::Pi Restful API
|
|
112
112
|
email:
|
|
113
113
|
- accbel@gmail.com
|
|
114
114
|
- lenon.marcel@gmail.com
|
|
@@ -125,7 +125,8 @@ files:
|
|
|
125
125
|
- lib/opensips-pi-rest/version.rb
|
|
126
126
|
- lib/opensips-pi-rest.rb
|
|
127
127
|
homepage: https://github.com/locaweb/opensips-pi-rest
|
|
128
|
-
licenses:
|
|
128
|
+
licenses:
|
|
129
|
+
- MIT
|
|
129
130
|
post_install_message:
|
|
130
131
|
rdoc_options: []
|
|
131
132
|
require_paths:
|