active_zone 0.2.4 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +22 -13
- data/lib/active_zone/provider/zone.rb +0 -1
- data/lib/active_zone/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93a3779c7d9d779380b33d357481598569e43d1552b7883cdeebffe5010883e8
|
4
|
+
data.tar.gz: 340eba094830dc847717b62d43e54a173a1014535eabe7c21090c006e0b747f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ea8b704b9ffdf6e106797e17a86714181e0295246c2021e8bbc00f715290d1362b9a2670c171d4b011f48c64058c5b107003cda645c05989ea67682c9e40f0c
|
7
|
+
data.tar.gz: 403cf47a2332b6a46e19ce79e34ad440d785c2f4b69568953ca0e2816cc7ec2c300a2024bf42740f80edef29c6c1d462ed3052fb29913547b1b1bdeeb3f80644
|
data/README.md
CHANGED
@@ -1,28 +1,37 @@
|
|
1
1
|
# Active Zone
|
2
|
-
A library
|
2
|
+
A nameserver-agnostic library to manage DNS zones with Active Model
|
3
3
|
|
4
4
|
## Usage
|
5
|
-
|
5
|
+
Usage references are available at [activezone.obl.ong](https://activezone.obl.ong)
|
6
6
|
|
7
|
-
|
8
|
-
Add this line to your application's Gemfile:
|
7
|
+
To set a default provider to enable `ActiveZone::Zone` and other defaults add the following at the beginning of your app or a Rails initializer:
|
9
8
|
|
10
9
|
```ruby
|
11
|
-
|
10
|
+
ActiveZone.provider = YourProvider.new(**options)
|
12
11
|
```
|
13
12
|
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
Replace `YourProvider` with your nameserver's relevant Active Zone provider and `**options` with keyword options to configure the provider.
|
14
|
+
|
15
|
+
## Installation
|
16
|
+
|
17
|
+
### Bundler
|
18
|
+
|
19
|
+
```bash
|
20
|
+
bundle add active_zone
|
17
21
|
```
|
18
22
|
|
19
|
-
|
23
|
+
### RubyGems
|
24
|
+
|
20
25
|
```bash
|
21
|
-
|
26
|
+
gem install active_zone
|
22
27
|
```
|
23
28
|
|
24
29
|
## Contributing
|
25
|
-
|
30
|
+
All contributions welcome
|
31
|
+
|
32
|
+
## Copyright
|
33
|
+
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
|
34
|
+
|
35
|
+
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
26
36
|
|
27
|
-
|
28
|
-
The gem is available as open source under the terms of the LGPL 3.0 or later.
|
37
|
+
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
|
data/lib/active_zone/version.rb
CHANGED