netbox-client-ruby 0.5.6 → 0.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rspec.yml +1 -1
- data/VERSION +1 -1
- data/lib/netbox_client_ruby.rb +5 -5
- data/netbox-client-ruby.gemspec +3 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfc4b8770c7433a268f229c7056fa6e8e551c46e61df9d779842a16781d10608
|
4
|
+
data.tar.gz: a767490176d8a2246622ebb357bcf85a2a6d7f5a86890578c711f86980f6321c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc57418ec2f35aa192dc004f26edb64588a67b89672bcf0ed8804ea9cfe26c74d410516c2af524d5b165a02b079d050e29be01690a85d778d75d822d4012d97c
|
7
|
+
data.tar.gz: afbd55c916453c52231fad8ed1e6f30747c0aa60a4f3ddd267fd1f8e3e457f4b31e808b33d1b52ffad4b629ffcd8e58bd77774724a9b74bfbb8d4ac4094afb9f
|
data/.github/workflows/rspec.yml
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.5.
|
1
|
+
0.5.7
|
data/lib/netbox_client_ruby.rb
CHANGED
@@ -13,19 +13,19 @@ module NetboxClientRuby
|
|
13
13
|
setting :rsa_private_key do
|
14
14
|
# the default is intentionally not `~/.ssh/id_rsa`,
|
15
15
|
# to not accidentally leak someone's main rsa private key
|
16
|
-
setting :path, '~/.ssh/netbox_rsa'
|
16
|
+
setting :path, default: '~/.ssh/netbox_rsa'
|
17
17
|
setting :password
|
18
18
|
end
|
19
19
|
end
|
20
20
|
setting :pagination do
|
21
|
-
setting :default_limit, 50
|
22
|
-
setting :max_limit, MAX_SIGNED_64BIT_INT
|
21
|
+
setting :default_limit, default: 50
|
22
|
+
setting :max_limit, default: MAX_SIGNED_64BIT_INT
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
26
|
setting :faraday do
|
27
|
-
setting :adapter, :net_http
|
27
|
+
setting :adapter, default: :net_http
|
28
28
|
setting :logger
|
29
|
-
setting :request_options, open_timeout: 1, timeout: 5
|
29
|
+
setting :request_options, default: { open_timeout: 1, timeout: 5 }
|
30
30
|
end
|
31
31
|
end
|
data/netbox-client-ruby.gemspec
CHANGED
@@ -23,7 +23,9 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
24
|
spec.require_paths = ['lib']
|
25
25
|
|
26
|
-
spec.
|
26
|
+
spec.required_ruby_version = '>= 2.6.0'
|
27
|
+
|
28
|
+
spec.add_runtime_dependency 'dry-configurable', '~> 0.13.0'
|
27
29
|
spec.add_runtime_dependency 'faraday', '~> 0.11', '>= 0.11.0'
|
28
30
|
spec.add_runtime_dependency 'faraday-detailed_logger', '~> 2.1'
|
29
31
|
spec.add_runtime_dependency 'faraday_middleware', '~> 0.11'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netbox-client-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Mäder
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.13.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.13.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -345,7 +345,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
345
345
|
requirements:
|
346
346
|
- - ">="
|
347
347
|
- !ruby/object:Gem::Version
|
348
|
-
version:
|
348
|
+
version: 2.6.0
|
349
349
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
350
350
|
requirements:
|
351
351
|
- - ">="
|