active_zone 0.2.4 → 0.2.5

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: c2fd6ce933565f7c2cf2b16de2534eabef6faf871dc520f18d882b9a796414f2
4
+ data.tar.gz: 5234aafb051bef06d869369eaad20b776ce86b43a65a24ff0f450b7efec4a618
5
5
  SHA512:
6
- metadata.gz: 783192db0dcc23a7aaa2219ed9a1584edeb2871686b8e19d75b0be2c3e7748c45b868f86e5e1c4b7e60c05a8e5c8da5bb6948a2223522993daa36f6c86258cf1
7
- data.tar.gz: 6d699c93892452d668943403ca749af532729ac4279a8336512c6c67fd53f9cdd26c64d670d21228700a0577a4aacb950d28bc57ab4dbbd43cf819c7a4bfaddc
6
+ metadata.gz: 2386b64f7d171d25d90aab454ca9bdd9df051248e80d8b2876cac255eed6c2ca6a87ecdfbcc8876752f1d2c41c5cc0387c2e09d67a6789c640a6533264df73f9
7
+ data.tar.gz: 64c3c9f8d2f4d4d051ffd41aa295fe7da7f6f151e2605c0ac7138dbc6d63a3379308c2367e0db528923e9a31110418637885213fbcc84a56ab6a6e93e7aeac5c
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 [RubyDoc](https://rubydoc.info/gems/active_zone)
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.2.5"
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.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Obl.ong