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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46edb17813ecbd0945dbef104524cddadfbcf19a337486f892bb6589ff877aad
4
- data.tar.gz: 9a81dc2129ced9199ad838a164a57ee284cf9009bd61b9e85f6d58758d3560d1
3
+ metadata.gz: 93a3779c7d9d779380b33d357481598569e43d1552b7883cdeebffe5010883e8
4
+ data.tar.gz: 340eba094830dc847717b62d43e54a173a1014535eabe7c21090c006e0b747f4
5
5
  SHA512:
6
- metadata.gz: 783192db0dcc23a7aaa2219ed9a1584edeb2871686b8e19d75b0be2c3e7748c45b868f86e5e1c4b7e60c05a8e5c8da5bb6948a2223522993daa36f6c86258cf1
7
- data.tar.gz: 6d699c93892452d668943403ca749af532729ac4279a8336512c6c67fd53f9cdd26c64d670d21228700a0577a4aacb950d28bc57ab4dbbd43cf819c7a4bfaddc
6
+ metadata.gz: 7ea8b704b9ffdf6e106797e17a86714181e0295246c2021e8bbc00f715290d1362b9a2670c171d4b011f48c64058c5b107003cda645c05989ea67682c9e40f0c
7
+ data.tar.gz: 403cf47a2332b6a46e19ce79e34ad440d785c2f4b69568953ca0e2816cc7ec2c300a2024bf42740f80edef29c6c1d462ed3052fb29913547b1b1bdeeb3f80644
data/README.md CHANGED
@@ -1,28 +1,37 @@
1
1
  # Active Zone
2
- A library for managing database-backed DNS zones with various nameserver adapters.
2
+ A nameserver-agnostic library to manage DNS zones with Active Model
3
3
 
4
4
  ## Usage
5
- How to use my plugin.
5
+ Usage references are available at [activezone.obl.ong](https://activezone.obl.ong)
6
6
 
7
- ## Installation
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
- gem "active_zone"
10
+ ActiveZone.provider = YourProvider.new(**options)
12
11
  ```
13
12
 
14
- And then execute:
15
- ```bash
16
- $ bundle
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
- Or install it yourself as:
23
+ ### RubyGems
24
+
20
25
  ```bash
21
- $ gem install active_zone
26
+ gem install active_zone
22
27
  ```
23
28
 
24
29
  ## Contributing
25
- Contribution directions go here.
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
- ## License
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/>.
@@ -61,7 +61,6 @@ module ActiveZone
61
61
  end
62
62
 
63
63
  # Underlying method to delete the current zone
64
- # @api private
65
64
  # @abstract Override in subclass with how to delete a Zone at your provider.
66
65
  # @macro boolean
67
66
  def delete!
@@ -1,5 +1,5 @@
1
1
  module ActiveZone
2
2
  # Version of the gem
3
3
  # @return [String]
4
- VERSION = "0.2.4"
4
+ VERSION = "0.3.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_zone
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Obl.ong