active_zone 0.2.4 → 0.2.5
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 +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: c2fd6ce933565f7c2cf2b16de2534eabef6faf871dc520f18d882b9a796414f2
|
|
4
|
+
data.tar.gz: 5234aafb051bef06d869369eaad20b776ce86b43a65a24ff0f450b7efec4a618
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2386b64f7d171d25d90aab454ca9bdd9df051248e80d8b2876cac255eed6c2ca6a87ecdfbcc8876752f1d2c41c5cc0387c2e09d67a6789c640a6533264df73f9
|
|
7
|
+
data.tar.gz: 64c3c9f8d2f4d4d051ffd41aa295fe7da7f6f151e2605c0ac7138dbc6d63a3379308c2367e0db528923e9a31110418637885213fbcc84a56ab6a6e93e7aeac5c
|
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 [RubyDoc](https://rubydoc.info/gems/active_zone)
|
|
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