nifcloud-dns 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.rubocop.yml +3 -0
- data/.solargraph.yml +21 -0
- data/Gemfile +8 -2
- data/Gemfile.lock +89 -16
- data/LICENSE +21 -0
- data/Rakefile +5 -3
- data/bin/console +6 -4
- data/lib/nifcloud/auth.rb +6 -3
- data/lib/nifcloud/client.rb +8 -5
- data/lib/nifcloud/dns/record.rb +26 -19
- data/lib/nifcloud/dns/response.rb +3 -0
- data/lib/nifcloud/dns/version.rb +3 -1
- data/lib/nifcloud/dns/zone.rb +15 -11
- data/lib/nifcloud/dns.rb +6 -3
- data/nifcloud-dns.gemspec +19 -15
- metadata +26 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b585f8f84dca52fd6151e932116c7cc034df0b647ca5b0aefd0aeea719519ce9
|
4
|
+
data.tar.gz: f951f42ff6fdb35bcc608fd0347c30ff23b0c31f8c3c3a3ffcab16bd2045ea21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bb32d868c2c843f1d118dd4b329d2ec98899ea55cbdb7fee6b94d1dfc66c3a314e55f919f2b619103adb240d55f89e3a9f5b8c20582c59cc9ec4cda2d6cfad1
|
7
|
+
data.tar.gz: ca638cc1312634747691d6d4eee9b10fa5f404096ad24c779268185f0157053d3704229d3bd119bd59dcddf42d2bf53f2f99189c59ad8093a52816d81acf9b62
|
data/.gitignore
CHANGED
data/.rubocop.yml
ADDED
data/.solargraph.yml
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
include:
|
3
|
+
- "**/*.rb"
|
4
|
+
exclude:
|
5
|
+
- spec/**/*
|
6
|
+
- test/**/*
|
7
|
+
- vendor/**/*
|
8
|
+
- ".bundle/**/*"
|
9
|
+
require: []
|
10
|
+
domains: []
|
11
|
+
reporters:
|
12
|
+
- rubocop
|
13
|
+
formatter:
|
14
|
+
rubocop:
|
15
|
+
cops: safe
|
16
|
+
except: []
|
17
|
+
only: []
|
18
|
+
extra_args: []
|
19
|
+
require_paths: []
|
20
|
+
plugins: []
|
21
|
+
max_files: 5000
|
data/Gemfile
CHANGED
@@ -1,6 +1,12 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
6
|
+
|
7
|
+
gem 'pry'
|
8
|
+
gem 'pry-doc'
|
9
|
+
gem 'solargraph'
|
4
10
|
|
5
11
|
# Specify your gem's dependencies in nifcloud-dns.gemspec
|
6
12
|
gemspec
|
data/Gemfile.lock
CHANGED
@@ -1,32 +1,101 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
nifcloud-dns (0.2.
|
4
|
+
nifcloud-dns (0.2.2)
|
5
5
|
ruby-hmac
|
6
6
|
xml-simple
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
|
12
|
-
|
11
|
+
ast (2.4.2)
|
12
|
+
backport (1.2.0)
|
13
|
+
benchmark (0.2.1)
|
14
|
+
coderay (1.1.3)
|
15
|
+
diff-lcs (1.5.0)
|
16
|
+
docile (1.4.0)
|
17
|
+
e2mmap (0.1.0)
|
18
|
+
jaro_winkler (1.5.4)
|
19
|
+
json (2.6.3)
|
20
|
+
kramdown (2.4.0)
|
21
|
+
rexml
|
22
|
+
kramdown-parser-gfm (1.1.0)
|
23
|
+
kramdown (~> 2.0)
|
24
|
+
method_source (1.0.0)
|
25
|
+
nokogiri (1.14.2-x86_64-darwin)
|
26
|
+
racc (~> 1.4)
|
27
|
+
parallel (1.22.1)
|
28
|
+
parser (3.2.1.1)
|
29
|
+
ast (~> 2.4.1)
|
30
|
+
pry (0.14.2)
|
31
|
+
coderay (~> 1.1)
|
32
|
+
method_source (~> 1.0)
|
33
|
+
pry-doc (1.4.0)
|
34
|
+
pry (~> 0.11)
|
35
|
+
yard (~> 0.9.11)
|
36
|
+
racc (1.6.2)
|
37
|
+
rainbow (3.1.1)
|
38
|
+
rake (12.3.3)
|
39
|
+
regexp_parser (2.7.0)
|
40
|
+
reverse_markdown (2.1.1)
|
41
|
+
nokogiri
|
13
42
|
rexml (3.2.5)
|
14
|
-
rspec (3.
|
15
|
-
rspec-core (~> 3.
|
16
|
-
rspec-expectations (~> 3.
|
17
|
-
rspec-mocks (~> 3.
|
18
|
-
rspec-core (3.
|
19
|
-
rspec-support (~> 3.
|
20
|
-
rspec-expectations (3.
|
43
|
+
rspec (3.12.0)
|
44
|
+
rspec-core (~> 3.12.0)
|
45
|
+
rspec-expectations (~> 3.12.0)
|
46
|
+
rspec-mocks (~> 3.12.0)
|
47
|
+
rspec-core (3.12.1)
|
48
|
+
rspec-support (~> 3.12.0)
|
49
|
+
rspec-expectations (3.12.2)
|
21
50
|
diff-lcs (>= 1.2.0, < 2.0)
|
22
|
-
rspec-support (~> 3.
|
23
|
-
rspec-mocks (3.
|
51
|
+
rspec-support (~> 3.12.0)
|
52
|
+
rspec-mocks (3.12.4)
|
24
53
|
diff-lcs (>= 1.2.0, < 2.0)
|
25
|
-
rspec-support (~> 3.
|
26
|
-
rspec-support (3.
|
54
|
+
rspec-support (~> 3.12.0)
|
55
|
+
rspec-support (3.12.0)
|
56
|
+
rubocop (1.48.0)
|
57
|
+
json (~> 2.3)
|
58
|
+
parallel (~> 1.10)
|
59
|
+
parser (>= 3.2.0.0)
|
60
|
+
rainbow (>= 2.2.2, < 4.0)
|
61
|
+
regexp_parser (>= 1.8, < 3.0)
|
62
|
+
rexml (>= 3.2.5, < 4.0)
|
63
|
+
rubocop-ast (>= 1.26.0, < 2.0)
|
64
|
+
ruby-progressbar (~> 1.7)
|
65
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
66
|
+
rubocop-ast (1.27.0)
|
67
|
+
parser (>= 3.2.1.0)
|
27
68
|
ruby-hmac (0.4.0)
|
69
|
+
ruby-progressbar (1.13.0)
|
70
|
+
simplecov (0.22.0)
|
71
|
+
docile (~> 1.1)
|
72
|
+
simplecov-html (~> 0.11)
|
73
|
+
simplecov_json_formatter (~> 0.1)
|
74
|
+
simplecov-html (0.12.3)
|
75
|
+
simplecov_json_formatter (0.1.4)
|
76
|
+
solargraph (0.48.0)
|
77
|
+
backport (~> 1.2)
|
78
|
+
benchmark
|
79
|
+
bundler (>= 1.17.2)
|
80
|
+
diff-lcs (~> 1.4)
|
81
|
+
e2mmap
|
82
|
+
jaro_winkler (~> 1.5)
|
83
|
+
kramdown (~> 2.3)
|
84
|
+
kramdown-parser-gfm (~> 1.1)
|
85
|
+
parser (~> 3.0)
|
86
|
+
reverse_markdown (>= 1.0.5, < 3)
|
87
|
+
rubocop (>= 0.52)
|
88
|
+
thor (~> 1.0)
|
89
|
+
tilt (~> 2.0)
|
90
|
+
yard (~> 0.9, >= 0.9.24)
|
91
|
+
thor (1.2.1)
|
92
|
+
tilt (2.1.0)
|
93
|
+
unicode-display_width (2.4.2)
|
94
|
+
webrick (1.7.0)
|
28
95
|
xml-simple (1.1.9)
|
29
96
|
rexml
|
97
|
+
yard (0.9.28)
|
98
|
+
webrick (~> 1.7.0)
|
30
99
|
|
31
100
|
PLATFORMS
|
32
101
|
x86_64-darwin-20
|
@@ -34,8 +103,12 @@ PLATFORMS
|
|
34
103
|
DEPENDENCIES
|
35
104
|
bundler (~> 2.0)
|
36
105
|
nifcloud-dns!
|
37
|
-
|
106
|
+
pry
|
107
|
+
pry-doc
|
108
|
+
rake (~> 12.3.3)
|
38
109
|
rspec (~> 3.0)
|
110
|
+
simplecov (~> 0.21)
|
111
|
+
solargraph
|
39
112
|
|
40
113
|
BUNDLED WITH
|
41
|
-
2.
|
114
|
+
2.4.6
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2022 kakakikikeke
|
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 all
|
13
|
+
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 THE
|
21
|
+
SOFTWARE.
|
data/Rakefile
CHANGED
data/bin/console
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
3
|
+
# !/usr/bin/env ruby
|
4
|
+
|
5
|
+
require 'bundler/setup'
|
6
|
+
require 'nifcloud/dns'
|
5
7
|
|
6
8
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
9
|
# with your gem easier. You can also use a different console, if you like.
|
@@ -10,5 +12,5 @@ require "nifcloud/dns"
|
|
10
12
|
# require "pry"
|
11
13
|
# Pry.start
|
12
14
|
|
13
|
-
require
|
15
|
+
require 'irb'
|
14
16
|
IRB.start(__FILE__)
|
data/lib/nifcloud/auth.rb
CHANGED
@@ -1,20 +1,23 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'hmac-sha1'
|
2
4
|
require 'base64'
|
3
5
|
require 'time'
|
4
6
|
|
5
7
|
module Nifcloud
|
8
|
+
# Authentication for nifcloud api v3
|
6
9
|
class Auth
|
7
10
|
ALGORITHM = 'HmacSHA1'
|
8
11
|
|
9
12
|
def initialize(access_key, secret_key)
|
10
|
-
@access_key = access_key || ENV
|
11
|
-
@secret_key = secret_key || ENV
|
13
|
+
@access_key = access_key || ENV.fetch('ACCESS_KEY', nil)
|
14
|
+
@secret_key = secret_key || ENV.fetch('SECRET_KEY', nil)
|
12
15
|
end
|
13
16
|
|
14
17
|
def signature_header
|
15
18
|
@time = Time.now.httpdate
|
16
19
|
hmac = HMAC::SHA1.new(@secret_key).update(@time)
|
17
|
-
signature = Base64.encode64(
|
20
|
+
signature = Base64.encode64(hmac.digest.to_s)
|
18
21
|
"NIFTY3-HTTPS NiftyAccessKeyId=#{@access_key},Algorithm=#{ALGORITHM},Signature=#{signature.chomp}"
|
19
22
|
end
|
20
23
|
|
data/lib/nifcloud/client.rb
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'nifcloud/auth'
|
4
|
+
require 'nifcloud/dns/response'
|
3
5
|
require 'net/https'
|
4
6
|
|
5
7
|
module Nifcloud
|
8
|
+
# Client for nifcloud dns
|
6
9
|
class Client < Auth
|
7
10
|
ENDPOINT = 'https://dns.api.nifcloud.com/'
|
8
11
|
VERSION = '2012-12-12N2013-12-16'
|
@@ -15,7 +18,7 @@ module Nifcloud
|
|
15
18
|
@http, @req, @uri = nil
|
16
19
|
end
|
17
20
|
|
18
|
-
def get
|
21
|
+
def get(path)
|
19
22
|
init path
|
20
23
|
@req = Net::HTTP::Get.new @uri.request_uri
|
21
24
|
init_header
|
@@ -33,7 +36,7 @@ module Nifcloud
|
|
33
36
|
Nifcloud::DNS::Response.new(XmlSimple.xml_in(res.body), res.code, res.body)
|
34
37
|
end
|
35
38
|
|
36
|
-
def delete
|
39
|
+
def delete(path)
|
37
40
|
init path
|
38
41
|
@req = Net::HTTP::Delete.new @uri.request_uri
|
39
42
|
init_header
|
@@ -43,7 +46,7 @@ module Nifcloud
|
|
43
46
|
|
44
47
|
private
|
45
48
|
|
46
|
-
def init
|
49
|
+
def init(path)
|
47
50
|
@uri = URI.parse("#{ENDPOINT}#{VERSION}/#{path}")
|
48
51
|
@http = Net::HTTP.new(@uri.host, @uri.port)
|
49
52
|
@http.use_ssl = true
|
data/lib/nifcloud/dns/record.rb
CHANGED
@@ -1,9 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'nifcloud/client'
|
2
4
|
require 'xmlsimple'
|
3
5
|
require 'cgi'
|
4
6
|
|
5
7
|
module Nifcloud
|
6
8
|
module DNS
|
9
|
+
# Class that manages DNS record information
|
7
10
|
class Record < Client
|
8
11
|
RECORD_SET_WITH_ID = 'hostedzone/%s/rrset'
|
9
12
|
RECORD_SET_WITH_PARAMS = 'hostedzone/%s/rrset?%s'
|
@@ -17,33 +20,37 @@ module Nifcloud
|
|
17
20
|
if options.nil? || !options.instance_of?(Hash)
|
18
21
|
get(RECORD_SET_WITH_ID % @zone_id)
|
19
22
|
else
|
20
|
-
|
23
|
+
list_path = format(RECORD_SET_WITH_PARAMS,
|
24
|
+
@zone_id,
|
25
|
+
options.collect { |k, v| "#{k}=#{CGI.escape(v.to_s)}" }.join('&'))
|
26
|
+
get(list_path)
|
21
27
|
end
|
22
28
|
end
|
23
29
|
|
24
|
-
def add(name, type, value, ttl:
|
30
|
+
def add(name, type, value, ttl: 86_400, comment: '')
|
25
31
|
post(RECORD_SET_WITH_ID % @zone_id, xml('CREATE', name, type, value, ttl, comment))
|
26
32
|
end
|
27
33
|
|
28
|
-
def del(name, type, value, ttl:
|
34
|
+
def del(name, type, value, ttl: 86_400, comment: '')
|
29
35
|
post(RECORD_SET_WITH_ID % @zone_id, xml('DELETE', name, type, value, ttl, comment))
|
30
36
|
end
|
31
37
|
|
32
38
|
private
|
33
39
|
|
34
|
-
def xml(action, name, type, value, ttl, comment)
|
35
|
-
body = {
|
36
|
-
'
|
37
|
-
|
38
|
-
'
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
40
|
+
def xml(action, name, type, value, ttl, comment) # rubocop:disable Metrics/MethodLength, Metrics/ParameterLists
|
41
|
+
body = {
|
42
|
+
'@xmlns': Nifcloud::Client::NAMESPACE,
|
43
|
+
ChangeBatch: {
|
44
|
+
Comment: ['content' => comment],
|
45
|
+
Changes: [
|
46
|
+
Change: {
|
47
|
+
Action: [content: action],
|
48
|
+
ResourceRecordSet: {
|
49
|
+
Name: [content: name],
|
50
|
+
Type: [content: type],
|
51
|
+
TTL: [content: ttl],
|
52
|
+
ResourceRecords: {
|
53
|
+
Value: [content: value]
|
47
54
|
}
|
48
55
|
}
|
49
56
|
}
|
@@ -51,9 +58,9 @@ module Nifcloud
|
|
51
58
|
}
|
52
59
|
}
|
53
60
|
options = {
|
54
|
-
|
55
|
-
|
56
|
-
|
61
|
+
AttrPrefix: true,
|
62
|
+
RootName: 'ChangeResourceRecordSetsRequest',
|
63
|
+
ContentKey: 'content'
|
57
64
|
}
|
58
65
|
XmlSimple.xml_out(body, options)
|
59
66
|
end
|
data/lib/nifcloud/dns/version.rb
CHANGED
data/lib/nifcloud/dns/zone.rb
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'nifcloud/client'
|
2
4
|
require 'xmlsimple'
|
3
5
|
|
4
6
|
module Nifcloud
|
5
7
|
module DNS
|
8
|
+
# Class that manages DNS zone information
|
6
9
|
class Zone < Client
|
7
10
|
HOSTED_ZONE = 'hostedzone'
|
8
11
|
HOSTED_ZONE_WITH_ID = 'hostedzone/%s'
|
@@ -15,26 +18,27 @@ module Nifcloud
|
|
15
18
|
get HOSTED_ZONE
|
16
19
|
end
|
17
20
|
|
18
|
-
def show
|
21
|
+
def show(zone_id)
|
19
22
|
get(HOSTED_ZONE_WITH_ID % zone_id)
|
20
23
|
end
|
21
24
|
|
22
|
-
def add(zone, comment: '')
|
23
|
-
body = {
|
24
|
-
'
|
25
|
-
|
26
|
-
|
27
|
-
|
25
|
+
def add(zone, comment: '') # rubocop:disable Metrics/MethodLength
|
26
|
+
body = {
|
27
|
+
'@xmlns': Nifcloud::Client::NAMESPACE,
|
28
|
+
Name: [content => zone],
|
29
|
+
CallerReference: [content => ''],
|
30
|
+
HostedZoneConfig: [content => ''],
|
31
|
+
Comment: [content => comment]
|
28
32
|
}
|
29
33
|
options = {
|
30
|
-
|
31
|
-
|
32
|
-
|
34
|
+
AttrPrefix: true,
|
35
|
+
RootName: 'CreateHostedZoneRequest',
|
36
|
+
ContentKey: 'content'
|
33
37
|
}
|
34
38
|
post(HOSTED_ZONE, XmlSimple.xml_out(body, options))
|
35
39
|
end
|
36
40
|
|
37
|
-
def del
|
41
|
+
def del(zone_id)
|
38
42
|
delete(HOSTED_ZONE_WITH_ID % zone_id)
|
39
43
|
end
|
40
44
|
end
|
data/lib/nifcloud/dns.rb
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'nifcloud/dns/version'
|
4
|
+
require 'nifcloud/dns/zone'
|
5
|
+
require 'nifcloud/dns/record'
|
4
6
|
|
5
7
|
module Nifcloud
|
8
|
+
# A module for nifcloud dns
|
6
9
|
module DNS
|
7
10
|
end
|
8
11
|
end
|
data/nifcloud-dns.gemspec
CHANGED
@@ -1,28 +1,32 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
|
2
|
-
lib = File.expand_path(
|
3
|
+
lib = File.expand_path('lib', __dir__)
|
3
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require
|
5
|
+
require 'nifcloud/dns/version'
|
5
6
|
|
6
7
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name =
|
8
|
+
spec.name = 'nifcloud-dns'
|
8
9
|
spec.version = Nifcloud::DNS::VERSION
|
9
|
-
spec.authors = [
|
10
|
-
spec.email = [
|
10
|
+
spec.authors = ['kakakikikeke']
|
11
|
+
spec.email = ['cdl.yoshinaka@gmail.com']
|
11
12
|
|
12
|
-
spec.summary =
|
13
|
-
spec.description =
|
14
|
-
spec.homepage =
|
13
|
+
spec.summary = 'Ruby SDK for nifcloud DNS.'
|
14
|
+
spec.description = 'You can control nifcloud DNS with ruby.'
|
15
|
+
spec.homepage = 'https://github.com/kakakikikeke/nifcloud-dns'
|
15
16
|
|
16
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
17
18
|
f.match(%r{^(test|spec|features)/})
|
18
19
|
end
|
19
|
-
spec.bindir =
|
20
|
+
spec.bindir = 'exe'
|
20
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
|
-
spec.require_paths = [
|
22
|
+
spec.require_paths = ['lib']
|
23
|
+
spec.required_ruby_version = '~> 3.2'
|
24
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
22
25
|
|
23
|
-
spec.add_development_dependency
|
24
|
-
spec.add_development_dependency
|
25
|
-
spec.add_development_dependency
|
26
|
-
spec.
|
27
|
-
spec.add_runtime_dependency
|
26
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
27
|
+
spec.add_development_dependency 'rake', '~> 12.3.3'
|
28
|
+
spec.add_development_dependency 'rspec', '~> 3.0'
|
29
|
+
spec.add_development_dependency 'simplecov', '~> 0.21'
|
30
|
+
spec.add_runtime_dependency 'ruby-hmac'
|
31
|
+
spec.add_runtime_dependency 'xml-simple'
|
28
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nifcloud-dns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kakakikikeke
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 12.3.3
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 12.3.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,6 +52,20 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: simplecov
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.21'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.21'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: ruby-hmac
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -89,9 +103,12 @@ extra_rdoc_files: []
|
|
89
103
|
files:
|
90
104
|
- ".gitignore"
|
91
105
|
- ".rspec"
|
106
|
+
- ".rubocop.yml"
|
107
|
+
- ".solargraph.yml"
|
92
108
|
- ".travis.yml"
|
93
109
|
- Gemfile
|
94
110
|
- Gemfile.lock
|
111
|
+
- LICENSE
|
95
112
|
- README.md
|
96
113
|
- Rakefile
|
97
114
|
- bin/console
|
@@ -106,23 +123,24 @@ files:
|
|
106
123
|
- nifcloud-dns.gemspec
|
107
124
|
homepage: https://github.com/kakakikikeke/nifcloud-dns
|
108
125
|
licenses: []
|
109
|
-
metadata:
|
126
|
+
metadata:
|
127
|
+
rubygems_mfa_required: 'true'
|
110
128
|
post_install_message:
|
111
129
|
rdoc_options: []
|
112
130
|
require_paths:
|
113
131
|
- lib
|
114
132
|
required_ruby_version: !ruby/object:Gem::Requirement
|
115
133
|
requirements:
|
116
|
-
- - "
|
134
|
+
- - "~>"
|
117
135
|
- !ruby/object:Gem::Version
|
118
|
-
version: '
|
136
|
+
version: '3.2'
|
119
137
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
120
138
|
requirements:
|
121
139
|
- - ">="
|
122
140
|
- !ruby/object:Gem::Version
|
123
141
|
version: '0'
|
124
142
|
requirements: []
|
125
|
-
rubygems_version: 3.
|
143
|
+
rubygems_version: 3.4.6
|
126
144
|
signing_key:
|
127
145
|
specification_version: 4
|
128
146
|
summary: Ruby SDK for nifcloud DNS.
|