porkbunrb 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 71a1c6fb6edf51ffd81eae3ea00fc27b1aaefffadcdab55232b90f429fcc42db
4
+ data.tar.gz: f48d70ad50673741124827a310bfd9239bf2649b5945855d3af691177f5aaeb0
5
+ SHA512:
6
+ metadata.gz: 68c9f3b2697ab024076430297b2aa90a97582864835e54ca949a5bf6be8b5d20f8d6219354d64dcb5d6ba823ab76567c297a9303520c968986df9814e7a0f585
7
+ data.tar.gz: 7a72f2a393df6ca61dfa83b9ee7b2fc5da7ec5563281fa4dd3697ba23030a8629af3dc747d1ed55b192df1c0d52da648de5440f023ed0334f7c7e4f6317398fc
data/.env.example ADDED
@@ -0,0 +1,2 @@
1
+ PORKBUN_API_KEY=
2
+ PORKBUN_API_SECRET=
@@ -0,0 +1 @@
1
+ buy_me_a_coffee: deanpcmad
@@ -0,0 +1,22 @@
1
+ name: CI
2
+ on: push
3
+ jobs:
4
+ test:
5
+ runs-on: ubuntu-latest
6
+ strategy:
7
+ fail-fast: false
8
+ matrix:
9
+ ruby_version:
10
+ - 3.1
11
+ - 3.2
12
+ - 3.3
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - uses: ruby/setup-ruby@v1
16
+ with:
17
+ ruby-version: ${{ matrix.ruby_version }}
18
+ bundler: default
19
+ bundler-cache: true
20
+
21
+ - name: Run tests
22
+ run: bundle exec rake test
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+ .env
data/Gemfile ADDED
@@ -0,0 +1,10 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in twitch.gemspec
4
+ gemspec
5
+
6
+ gem "rake", "~> 12.0"
7
+ gem "minitest", "~> 5.0"
8
+ gem "dotenv"
9
+
10
+ gem "vcr"
data/Gemfile.lock ADDED
@@ -0,0 +1,33 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ porkbunrb (0.1.0)
5
+ faraday (~> 2.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ dotenv (3.1.2)
11
+ faraday (2.9.0)
12
+ faraday-net_http (>= 2.0, < 3.2)
13
+ faraday-net_http (3.1.0)
14
+ net-http
15
+ minitest (5.23.1)
16
+ net-http (0.4.1)
17
+ uri
18
+ rake (12.3.3)
19
+ uri (0.13.0)
20
+ vcr (6.2.0)
21
+
22
+ PLATFORMS
23
+ ruby
24
+
25
+ DEPENDENCIES
26
+ dotenv
27
+ minitest (~> 5.0)
28
+ porkbunrb!
29
+ rake (~> 12.0)
30
+ vcr
31
+
32
+ BUNDLED WITH
33
+ 2.5.7
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Dean Perry
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,122 @@
1
+ # PorkbunRB
2
+
3
+ PorkbunRB is a Ruby library for the Porkbun API.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem "porkbunrb"
11
+ ```
12
+
13
+ ## Usage
14
+
15
+ ### Set Client Details
16
+
17
+ Firstly you'll need to create an API Key & Secret, which you can generate on the [Porkbun API page](https://porkbun.com/account/api).
18
+ Once you have these details, you can configure the client with the following:
19
+
20
+ ```ruby
21
+ Porkbun.configure do |config|
22
+ config.api_key = ENV["PORKBUN_API_KEY"]
23
+ config.api_secret = ENV["PORKBUN_API_SECRET"]
24
+ end
25
+ ```
26
+
27
+ ### Domains
28
+
29
+ ```ruby
30
+ # Retrieve a list of all domains
31
+ # Returns a Porkbun::Collection
32
+ Porkbun::Domain.list
33
+ #=> #<Porkbun::Collection:0x00 @data=[#<Porkbun::Domain domain="deanpcmad.dev">]>
34
+
35
+ # Get name servers for a domain
36
+ # Returns a Porkbun::Collection
37
+ Porkbun::Domain.get("deanpcmad.dev").name_servers
38
+ #=> #<Porkbun::Collection:0x00 @data=[#<Porkbun::NameServer ns="ns1.deanpcmad.dev">]>
39
+
40
+ # Get forwards for a domain
41
+ # Returns a Porkbun::Collection
42
+ Porkbun::Domain.get("deanpcmad.dev").forwards
43
+ #=> #<Porkbun::Collection:0x00 @data=[#<Porkbun::Forward record="www.deanpcmad.dev">]>
44
+
45
+ # Add a forward
46
+ # Subdomain is optional
47
+ # API Docs: https://porkbun.com/api/json/v3/documentation#Domain%20Add%20URL%20Forward
48
+ Porkbun::Domain.add_forward(
49
+ domain: "deanpcmad.dev",
50
+ subdomain: "site",
51
+ location: "https://deanpcmad.com",
52
+ type: "temporary",
53
+ include_path: true
54
+ )
55
+ #=> true
56
+
57
+ # Delete a forward
58
+ Porkbun::Domain.delete("deanpcmad.dev", record: "123123")
59
+ #=> true
60
+ ```
61
+
62
+ ### Records
63
+
64
+ ```ruby
65
+ # Retrieve a list of all records for a domain
66
+ # Returns a Porkbun::Collection
67
+ Porkbun::Record.list(domain: "deanpcmad.dev")
68
+ #=> #<Porkbun::Collection:0x00 @data=[#<Porkbun::Record content="pixie.porkbun.com">]>
69
+
70
+ # Retrieve a list of all records for a domain by type
71
+ # Returns a Porkbun::Collection
72
+ Porkbun::Record.list_by_type(domain: "deanpcmad.dev", type: "CNAME", subdomain: "*")
73
+ #=> #<Porkbun::Collection:0x00 @data=[#<Porkbun::Record content="pixie.porkbun.com">]>
74
+
75
+ # Get a record
76
+ Porkbun::Record.retrieve(domain: "deanpcmad.dev", id: "123")
77
+ #=> #<Porkbun::Record content="pixie.porkbun.com">
78
+
79
+ # Add a record
80
+ # Name, TTL and Prio are optional
81
+ # API Docs: https://porkbun.com/api/json/v3/documentation#DNS%20Create%20Record
82
+ Porkbun::Domain.add_record(
83
+ domain: "deanpcmad.dev",
84
+ type: "A",
85
+ value: "1.2.3.4",
86
+ name: "test"
87
+ )
88
+ #=> true
89
+
90
+ # Update a record
91
+ Porkbun::Domain.update_record(
92
+ domain: "deanpcmad.dev",
93
+ id: "123123",
94
+ type: "A",
95
+ value: "1.2.3.5",
96
+ name: "test"
97
+ )
98
+ #=> true
99
+
100
+ # Delete a record
101
+ Porkbun::Domain.delete_record(
102
+ domain: "deanpcmad.dev",
103
+ record: "www.deanpcmad.dev"
104
+ )
105
+ #=> true
106
+
107
+ # Delete a record by subdomain and type
108
+ Porkbun::Record.delete_by_subdomain(
109
+ domain: "deanpcmad.dev",
110
+ type: "A",
111
+ subdomain: "test"
112
+ )
113
+ #=> true
114
+ ```
115
+
116
+ ## Contributing
117
+
118
+ Bug reports and pull requests are welcome on GitHub at https://github.com/deanpcmad/porkbunrb.
119
+
120
+ ## License
121
+
122
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
data/bin/console ADDED
@@ -0,0 +1,22 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "porkbun"
5
+
6
+ # Load environment variables from .env file
7
+ require 'dotenv/load'
8
+
9
+ # You can add fixtures and/or initialization code here to make experimenting
10
+ # with your gem easier. You can also use a different console, if you like.
11
+
12
+ # (If you use this, don't forget to add pry to your Gemfile!)
13
+ # require "pry"
14
+ # Pry.start
15
+
16
+ Porkbun.configure do |config|
17
+ config.api_key = ENV["PORKBUN_API_KEY"]
18
+ config.api_secret = ENV["PORKBUN_API_SECRET"]
19
+ end
20
+
21
+ require "irb"
22
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,69 @@
1
+ module Porkbun
2
+ class Client
3
+
4
+ BASE_URL = "https://porkbun.com/api/json/v3"
5
+
6
+ class << self
7
+
8
+ def connection
9
+ @connection ||= Faraday.new(BASE_URL) do |conn|
10
+ conn.headers = {
11
+ "User-Agent" => "porkbun/v#{VERSION} (github.com/deanpcmad/porkbun)"
12
+ }
13
+
14
+ conn.request :json
15
+
16
+ conn.response :json, content_type: "application/json"
17
+ end
18
+ end
19
+
20
+ def post_request(url, body: {}, headers: {})
21
+ auth = {apikey: Porkbun.config.api_key, secretapikey: Porkbun.config.api_secret}
22
+ body.merge!(auth)
23
+ handle_response connection.post(url, body, headers)
24
+ end
25
+
26
+ def put_request(url, body:, headers: {})
27
+ handle_response connection.put(url, body, headers)
28
+ end
29
+
30
+ def patch_request(url, body:, headers: {})
31
+ handle_response connection.patch(url, body, headers)
32
+ end
33
+
34
+ def delete_request(url, headers: {})
35
+ handle_response connection.delete(url, headers)
36
+ end
37
+
38
+ def handle_response(response)
39
+ case response.status
40
+ when 400
41
+ raise Error, "Error 400: Your request was malformed. '#{response.body["message"]}'"
42
+ when 401
43
+ raise Error, "Error 401: You did not supply valid authentication credentials. '#{response.body["message"]}'"
44
+ when 403
45
+ raise Error, "Error 403: You are not allowed to perform that action. '#{response.body["message"]}'"
46
+ when 404
47
+ raise Error, "Error 404: No results were found for your request. '#{response.body["message"]}'"
48
+ when 409
49
+ raise Error, "Error 409: Your request was a conflict. '#{response.body["message"]}'"
50
+ when 422
51
+ raise Error, "Error 422: Unprocessable Content. '#{response.body["message"]}'"
52
+ when 429
53
+ raise Error, "Error 429: Your request exceeded the API rate limit. '#{response.body["message"]}'"
54
+ when 500
55
+ raise Error, "Error 500: We were unable to perform the request due to server-side problems. '#{response.body["message"]}'"
56
+ when 503
57
+ raise Error, "Error 503: You have been rate limited for sending more than 20 requests per second. '#{response.body["message"]}'"
58
+ when 501
59
+ raise Error, "Error 501: This resource has not been implemented. '#{response.body["message"]}'"
60
+ when 204
61
+ return true
62
+ end
63
+
64
+ response
65
+ end
66
+ end
67
+
68
+ end
69
+ end
@@ -0,0 +1,25 @@
1
+ module Porkbun
2
+ class Collection
3
+ attr_reader :data, :total
4
+
5
+ def self.from_response(response, type:, key: nil)
6
+ body = response.body
7
+
8
+ if key.is_a?(String)
9
+ data = body[key].map { |attrs| type.new(attrs) }
10
+ else
11
+ data = body.map { |attrs| type.new(attrs) }
12
+ end
13
+
14
+ new(
15
+ data: data,
16
+ total: body.count
17
+ )
18
+ end
19
+
20
+ def initialize(data:, total:)
21
+ @data = data
22
+ @total = total
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Porkbun
4
+ class Configuration
5
+
6
+ attr_accessor :api_key, :api_secret
7
+
8
+ end
9
+ end
@@ -0,0 +1,4 @@
1
+ module Porkbun
2
+ class Error < StandardError
3
+ end
4
+ end
@@ -0,0 +1,42 @@
1
+ module Porkbun
2
+ class Domain < Object
3
+
4
+ class << self
5
+
6
+ def list
7
+ response = Client.post_request("domain/listAll", body: {})
8
+ Collection.from_response(response, type: Domain, key: "domains")
9
+ end
10
+
11
+ def name_servers(domain:)
12
+ response = Client.post_request("domain/getNs/#{domain}", body: {})
13
+ data = response.body["ns"].map { |attrs| NameServer.new(ns: attrs) }
14
+ Collection.new data: data, total: data.size
15
+ end
16
+
17
+ def forwards(domain:)
18
+ response = Client.post_request("domain/getUrlForwarding/#{domain}", body: {})
19
+ Collection.from_response(response, type: Forward, key: "forwards")
20
+ end
21
+
22
+ def add_forward(domain:, location:, type:, include_path: false, wildcard: false, **options)
23
+ body = {
24
+ domain: domain,
25
+ location: location,
26
+ type: type,
27
+ includePath: include_path ? "yes" : "no",
28
+ wildcard: wildcard ? "yes" : "no",
29
+ }.merge(options)
30
+ response = Client.post_request("domain/addUrlForward/#{domain}", body: body)
31
+ response.body["status"] == "SUCCESS"
32
+ end
33
+
34
+ def delete_forward(domain:, record:)
35
+ response = Client.post_request("domain/deleteUrlForward/#{domain}/#{record}", body: {})
36
+ response.body["status"] == "SUCCESS"
37
+ end
38
+
39
+ end
40
+
41
+ end
42
+ end
@@ -0,0 +1,4 @@
1
+ module Porkbun
2
+ class Forward < Object
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Porkbun
2
+ class NameServer < Object
3
+ end
4
+ end
@@ -0,0 +1,60 @@
1
+ module Porkbun
2
+ class Record < Object
3
+
4
+ class << self
5
+
6
+ def list(domain:)
7
+ response = Client.post_request("dns/retrieve/#{domain}", body: {})
8
+ Collection.from_response(response, type: Record, key: "records")
9
+ end
10
+
11
+ def list_by_type(domain:, type:, subdomain:)
12
+ response = Client.post_request("dns/retrieveByNameType/#{domain}/#{type}/#{subdomain}", body: {})
13
+ Collection.from_response(response, type: Record, key: "records")
14
+ end
15
+
16
+ def retrieve(domain:, id:)
17
+ response = Client.post_request("dns/retrieve/#{domain}/#{id}", body: {})
18
+ Record.new(response.body["records"][0])
19
+ end
20
+
21
+ def create(domain:, type:, content:, **options)
22
+ body = {
23
+ type: type,
24
+ content: content,
25
+ }.merge(options)
26
+ response = Client.post_request("dns/create/#{domain}", body: body)
27
+ Record.new(id: response.body["id"]) if response.body["status"] == "SUCCESS"
28
+ end
29
+
30
+ def update(domain:, id:, type:, content:, **options)
31
+ body = {
32
+ type: type,
33
+ content: content,
34
+ }.merge(options)
35
+ response = Client.post_request("dns/edit/#{domain}/#{id}", body: body)
36
+ response.body["status"] == "SUCCESS"
37
+ end
38
+
39
+ def update_by_subdomain(domain:, type:, subdomain:, content:, **options)
40
+ body = {
41
+ content: content,
42
+ }.merge(options)
43
+ response = Client.post_request("dns/editByNameType/#{domain}/#{type}/#{subdomain}", body: body)
44
+ response.body["status"] == "SUCCESS"
45
+ end
46
+
47
+ def delete(domain:, id:)
48
+ response = Client.post_request("dns/delete/#{domain}/#{id}", body: {})
49
+ response.body["status"] == "SUCCESS"
50
+ end
51
+
52
+ def delete_by_subdomain(domain:, type:, subdomain:)
53
+ response = Client.post_request("dns/deleteByNameType/#{domain}/#{type}/#{subdomain}", body: {})
54
+ response.body["status"] == "SUCCESS"
55
+ end
56
+
57
+ end
58
+
59
+ end
60
+ end
@@ -0,0 +1,19 @@
1
+ require "ostruct"
2
+
3
+ module Porkbun
4
+ class Object < OpenStruct
5
+ def initialize(attributes)
6
+ super to_ostruct(attributes)
7
+ end
8
+
9
+ def to_ostruct(obj)
10
+ if obj.is_a?(Hash)
11
+ OpenStruct.new(obj.map { |key, val| [key, to_ostruct(val)] }.to_h)
12
+ elsif obj.is_a?(Array)
13
+ obj.map { |o| to_ostruct(o) }
14
+ else # Assumed to be a primitive value
15
+ obj
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,3 @@
1
+ module Porkbun
2
+ VERSION = "0.1.0"
3
+ end
data/lib/porkbun.rb ADDED
@@ -0,0 +1,30 @@
1
+ require "faraday"
2
+
3
+ require_relative "porkbun/version"
4
+
5
+ module Porkbun
6
+
7
+ autoload :Configuration, "porkbun/configuration"
8
+ autoload :Client, "porkbun/client"
9
+ autoload :Collection, "porkbun/collection"
10
+ autoload :Error, "porkbun/error"
11
+ autoload :Object, "porkbun/object"
12
+
13
+ class << self
14
+ attr_writer :config
15
+ end
16
+
17
+ def self.configure
18
+ yield(config) if block_given?
19
+ end
20
+
21
+ def self.config
22
+ @config ||= Porkbun::Configuration.new
23
+ end
24
+
25
+ autoload :Domain, "porkbun/models/domain"
26
+ autoload :Record, "porkbun/models/record"
27
+ autoload :NameServer, "porkbun/models/name_server"
28
+ autoload :Forward, "porkbun/models/forward"
29
+
30
+ end
data/lib/porkbunrb.rb ADDED
@@ -0,0 +1 @@
1
+ require "porkbun"
data/porkbunrb.gemspec ADDED
@@ -0,0 +1,28 @@
1
+ require_relative 'lib/porkbun/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "porkbunrb"
5
+ spec.version = Porkbun::VERSION
6
+ spec.authors = ["Dean Perry"]
7
+ spec.email = ["dean@deanpcmad.com"]
8
+
9
+ spec.summary = "A Ruby library for the Porkbun API"
10
+ spec.homepage = "https://deanpcmad.com"
11
+ spec.license = "MIT"
12
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.0")
13
+
14
+ spec.metadata["homepage_uri"] = spec.homepage
15
+ spec.metadata["source_code_uri"] = "https://github.com/deanpcmad/porkbunrb"
16
+ # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
17
+
18
+ # Specify which files should be added to the gem when it is released.
19
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
21
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
+ end
23
+ spec.bindir = "exe"
24
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
25
+ spec.require_paths = ["lib"]
26
+
27
+ spec.add_dependency "faraday", "~> 2.0"
28
+ end
metadata ADDED
@@ -0,0 +1,83 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: porkbunrb
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Dean Perry
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-06-01 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: faraday
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '2.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '2.0'
27
+ description:
28
+ email:
29
+ - dean@deanpcmad.com
30
+ executables: []
31
+ extensions: []
32
+ extra_rdoc_files: []
33
+ files:
34
+ - ".env.example"
35
+ - ".github/FUNDING.yml"
36
+ - ".github/workflows/ci.yml"
37
+ - ".gitignore"
38
+ - Gemfile
39
+ - Gemfile.lock
40
+ - LICENSE.txt
41
+ - README.md
42
+ - Rakefile
43
+ - bin/console
44
+ - bin/setup
45
+ - lib/porkbun.rb
46
+ - lib/porkbun/client.rb
47
+ - lib/porkbun/collection.rb
48
+ - lib/porkbun/configuration.rb
49
+ - lib/porkbun/error.rb
50
+ - lib/porkbun/models/domain.rb
51
+ - lib/porkbun/models/forward.rb
52
+ - lib/porkbun/models/name_server.rb
53
+ - lib/porkbun/models/record.rb
54
+ - lib/porkbun/object.rb
55
+ - lib/porkbun/version.rb
56
+ - lib/porkbunrb.rb
57
+ - porkbunrb.gemspec
58
+ homepage: https://deanpcmad.com
59
+ licenses:
60
+ - MIT
61
+ metadata:
62
+ homepage_uri: https://deanpcmad.com
63
+ source_code_uri: https://github.com/deanpcmad/porkbunrb
64
+ post_install_message:
65
+ rdoc_options: []
66
+ require_paths:
67
+ - lib
68
+ required_ruby_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: '3.0'
73
+ required_rubygems_version: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ requirements: []
79
+ rubygems_version: 3.5.11
80
+ signing_key:
81
+ specification_version: 4
82
+ summary: A Ruby library for the Porkbun API
83
+ test_files: []