diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-14 02:56:13 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2022-02-14 16:50:40 +0100 |
commit | eae45daa97335ea0aebbff32b39622af589a27af (patch) | |
tree | 90837a83ed2bcfb9b2edf3c19691dc8c418faff8 /lib/zonefile.rb | |
download | dns_record-eae45daa97335ea0aebbff32b39622af589a27af.tar.gz dns_record-eae45daa97335ea0aebbff32b39622af589a27af.tar.xz |
Vendor zonefile module.
The version in the gem repositories is version 1.06, and seems
abandoned. This is version 1.07 copied from GitHub [1].
Vendoring is not due to version, but due to properly installing Gem's
being next to impossible, and that I need to change some of the code
later on.
[1]: https://github.com/boesemar/zonefile
Diffstat (limited to 'lib/zonefile.rb')
-rw-r--r-- | lib/zonefile.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/zonefile.rb b/lib/zonefile.rb new file mode 100644 index 0000000..713df0d --- /dev/null +++ b/lib/zonefile.rb @@ -0,0 +1,23 @@ +# The MIT License (MIT) +# +# Copyright (c) 2015 Martin Boese +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the "Software"), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. + +require 'zonefile/zonefile' |