netbox-client-ruby 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/rspec.yml +4 -4
- data/.gitignore +6 -1
- data/Appraisals +17 -0
- data/Gemfile +15 -3
- data/Rakefile +2 -0
- data/bin/setup +1 -4
- data/gemfiles/faraday0.gemfile +12 -2
- data/gemfiles/faraday1.gemfile +11 -1
- data/gemfiles/faraday2.gemfile +11 -1
- data/lib/netbox-client-ruby.rb +2 -0
- data/lib/netbox_client_ruby/api/circuits/circuit.rb +1 -4
- data/lib/netbox_client_ruby/api/circuits/circuit_termination.rb +1 -4
- data/lib/netbox_client_ruby/api/circuits/circuit_terminations.rb +1 -2
- data/lib/netbox_client_ruby/api/circuits/circuit_type.rb +1 -1
- data/lib/netbox_client_ruby/api/circuits/circuit_types.rb +1 -2
- data/lib/netbox_client_ruby/api/circuits/circuits.rb +1 -2
- data/lib/netbox_client_ruby/api/circuits/provider.rb +1 -1
- data/lib/netbox_client_ruby/api/circuits/providers.rb +1 -2
- data/lib/netbox_client_ruby/api/circuits.rb +1 -9
- data/lib/netbox_client_ruby/api/dcim/console_connection.rb +1 -3
- data/lib/netbox_client_ruby/api/dcim/console_connections.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/console_port.rb +1 -3
- data/lib/netbox_client_ruby/api/dcim/console_ports.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/console_server_port.rb +1 -3
- data/lib/netbox_client_ruby/api/dcim/console_server_ports.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/device.rb +1 -9
- data/lib/netbox_client_ruby/api/dcim/device_role.rb +1 -1
- data/lib/netbox_client_ruby/api/dcim/device_roles.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/device_type.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/device_types.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/devices.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/interface.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/interface_connection.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/interface_connections.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/interfaces.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/inventory_item.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/inventory_items.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/manufacturer.rb +1 -1
- data/lib/netbox_client_ruby/api/dcim/manufacturers.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/platform.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/platforms.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/power_connection.rb +1 -3
- data/lib/netbox_client_ruby/api/dcim/power_connections.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/power_outlet.rb +1 -3
- data/lib/netbox_client_ruby/api/dcim/power_outlets.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/power_port.rb +1 -3
- data/lib/netbox_client_ruby/api/dcim/power_ports.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/rack.rb +1 -1
- data/lib/netbox_client_ruby/api/dcim/rack_group.rb +1 -3
- data/lib/netbox_client_ruby/api/dcim/rack_groups.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/rack_reservation.rb +1 -3
- data/lib/netbox_client_ruby/api/dcim/rack_reservations.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/rack_role.rb +1 -1
- data/lib/netbox_client_ruby/api/dcim/rack_roles.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/racks.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/region.rb +1 -1
- data/lib/netbox_client_ruby/api/dcim/regions.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/site.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/sites.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/virtual_chassis.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim/virtual_chassis_list.rb +1 -2
- data/lib/netbox_client_ruby/api/dcim.rb +1 -43
- data/lib/netbox_client_ruby/api/extras/config_context.rb +1 -1
- data/lib/netbox_client_ruby/api/extras/config_contexts.rb +1 -2
- data/lib/netbox_client_ruby/api/extras/journal_entries.rb +1 -2
- data/lib/netbox_client_ruby/api/extras/journal_entry.rb +1 -1
- data/lib/netbox_client_ruby/api/extras/tag.rb +1 -1
- data/lib/netbox_client_ruby/api/extras/tags.rb +1 -2
- data/lib/netbox_client_ruby/api/extras.rb +1 -6
- data/lib/netbox_client_ruby/api/ipam/aggregate.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam/aggregates.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam/ip_address.rb +3 -11
- data/lib/netbox_client_ruby/api/ipam/ip_addresses.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam/ip_range.rb +1 -5
- data/lib/netbox_client_ruby/api/ipam/ip_ranges.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam/prefix.rb +1 -8
- data/lib/netbox_client_ruby/api/ipam/prefixes.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam/rir.rb +1 -1
- data/lib/netbox_client_ruby/api/ipam/rirs.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam/role.rb +1 -1
- data/lib/netbox_client_ruby/api/ipam/roles.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam/service.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam/services.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam/vlan.rb +1 -5
- data/lib/netbox_client_ruby/api/ipam/vlan_group.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam/vlan_groups.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam/vlans.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam/vrf.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam/vrfs.rb +1 -2
- data/lib/netbox_client_ruby/api/ipam.rb +1 -21
- data/lib/netbox_client_ruby/api/secrets/rsa_key_pair.rb +1 -3
- data/lib/netbox_client_ruby/api/secrets/secret.rb +1 -3
- data/lib/netbox_client_ruby/api/secrets/secret_role.rb +1 -3
- data/lib/netbox_client_ruby/api/secrets/secret_roles.rb +1 -2
- data/lib/netbox_client_ruby/api/secrets/secrets.rb +1 -2
- data/lib/netbox_client_ruby/api/secrets/session_key.rb +1 -4
- data/lib/netbox_client_ruby/api/secrets.rb +1 -5
- data/lib/netbox_client_ruby/api/tenancy/tenant.rb +1 -2
- data/lib/netbox_client_ruby/api/tenancy/tenant_group.rb +1 -1
- data/lib/netbox_client_ruby/api/tenancy/tenant_groups.rb +1 -2
- data/lib/netbox_client_ruby/api/tenancy/tenants.rb +1 -2
- data/lib/netbox_client_ruby/api/tenancy.rb +1 -5
- data/lib/netbox_client_ruby/api/virtualization/cluster.rb +1 -4
- data/lib/netbox_client_ruby/api/virtualization/cluster_group.rb +1 -1
- data/lib/netbox_client_ruby/api/virtualization/cluster_groups.rb +1 -2
- data/lib/netbox_client_ruby/api/virtualization/cluster_type.rb +1 -1
- data/lib/netbox_client_ruby/api/virtualization/cluster_types.rb +1 -2
- data/lib/netbox_client_ruby/api/virtualization/clusters.rb +1 -2
- data/lib/netbox_client_ruby/api/virtualization/interface.rb +1 -2
- data/lib/netbox_client_ruby/api/virtualization/interfaces.rb +1 -2
- data/lib/netbox_client_ruby/api/virtualization/virtual_machine.rb +1 -6
- data/lib/netbox_client_ruby/api/virtualization/virtual_machines.rb +1 -2
- data/lib/netbox_client_ruby/api/virtualization.rb +1 -11
- data/lib/netbox_client_ruby/communication.rb +1 -2
- data/lib/netbox_client_ruby/connection.rb +1 -19
- data/lib/netbox_client_ruby/entities.rb +1 -2
- data/lib/netbox_client_ruby/entity.rb +2 -3
- data/lib/netbox_client_ruby/error.rb +2 -0
- data/lib/netbox_client_ruby.rb +67 -2
- data/netbox-client-ruby.gemspec +2 -12
- metadata +8 -82
- data/Gemfile.lock +0 -117
- data/gemfiles/faraday0.gemfile.lock +0 -94
- data/gemfiles/faraday1.gemfile.lock +0 -93
- data/gemfiles/faraday2.gemfile.lock +0 -101
- data/lib/netbox_client_ruby/api.rb +0 -38
data/lib/netbox_client_ruby.rb
CHANGED
|
@@ -1,6 +1,43 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
require 'dry-configurable'
|
|
2
|
-
require '
|
|
3
|
-
require '
|
|
4
|
+
require 'ipaddress'
|
|
5
|
+
require 'openssl'
|
|
6
|
+
|
|
7
|
+
require 'faraday'
|
|
8
|
+
require 'faraday/detailed_logger'
|
|
9
|
+
|
|
10
|
+
if Faraday::VERSION < '2'
|
|
11
|
+
begin
|
|
12
|
+
require 'faraday_middleware'
|
|
13
|
+
rescue LoadError => e
|
|
14
|
+
message = <<~MSG
|
|
15
|
+
For the current version of Faraday (#{Faraday::VERSION}), "faraday_middleware"
|
|
16
|
+
is a required peer dependency of "netbox-client-ruby". Please install
|
|
17
|
+
"faraday_middleware" separately OR upgrade to Faraday 2, in which case,
|
|
18
|
+
"faraday_middleware" is not needed to work with "netbox-client-ruby".
|
|
19
|
+
|
|
20
|
+
#{e.message}
|
|
21
|
+
MSG
|
|
22
|
+
raise NetboxClientRuby::Error, message
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
require 'zeitwerk'
|
|
27
|
+
|
|
28
|
+
# load zeitwerk
|
|
29
|
+
Zeitwerk::Loader.for_gem.tap do |loader|
|
|
30
|
+
loader.ignore("#{__dir__}/netbox-client-ruby.rb")
|
|
31
|
+
loader.collapse("#{__dir__}/netbox_client_ruby/api")
|
|
32
|
+
loader.inflector.inflect('dcim' => 'DCIM')
|
|
33
|
+
loader.inflector.inflect('ipam' => 'IPAM')
|
|
34
|
+
loader.inflector.inflect('rsa_key_pair' => 'RSAKeyPair')
|
|
35
|
+
# loader.log!
|
|
36
|
+
loader.setup
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
# load gem errors
|
|
40
|
+
require_relative 'netbox_client_ruby/error'
|
|
4
41
|
|
|
5
42
|
module NetboxClientRuby
|
|
6
43
|
extend Dry::Configurable
|
|
@@ -29,4 +66,32 @@ module NetboxClientRuby
|
|
|
29
66
|
setting :logger
|
|
30
67
|
setting :request_options, default: { open_timeout: 1, timeout: 5 }
|
|
31
68
|
end
|
|
69
|
+
|
|
70
|
+
def self.circuits
|
|
71
|
+
NetboxClientRuby::Circuits
|
|
72
|
+
end
|
|
73
|
+
|
|
74
|
+
def self.dcim
|
|
75
|
+
NetboxClientRuby::DCIM
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
def self.extras
|
|
79
|
+
NetboxClientRuby::Extras
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
def self.ipam
|
|
83
|
+
NetboxClientRuby::IPAM
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
def self.secrets
|
|
87
|
+
NetboxClientRuby::Secrets
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
def self.tenancy
|
|
91
|
+
NetboxClientRuby::Tenancy
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
def self.virtualization
|
|
95
|
+
NetboxClientRuby::Virtualization
|
|
96
|
+
end
|
|
32
97
|
end
|
data/netbox-client-ruby.gemspec
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
1
|
+
# frozen_string_literal: true
|
|
3
2
|
|
|
4
3
|
Gem::Specification.new do |spec|
|
|
5
4
|
spec.name = 'netbox-client-ruby'
|
|
@@ -19,9 +18,6 @@ Gem::Specification.new do |spec|
|
|
|
19
18
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
20
19
|
f.match(%r{^(test|spec|features)/})
|
|
21
20
|
end
|
|
22
|
-
spec.bindir = 'exe'
|
|
23
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
24
|
-
spec.require_paths = ['lib']
|
|
25
21
|
|
|
26
22
|
spec.required_ruby_version = '>= 2.7.0'
|
|
27
23
|
|
|
@@ -30,11 +26,5 @@ Gem::Specification.new do |spec|
|
|
|
30
26
|
spec.add_runtime_dependency 'faraday-detailed_logger', '~> 2.1'
|
|
31
27
|
spec.add_runtime_dependency 'ipaddress', '~> 0.8', '>= 0.8.3'
|
|
32
28
|
spec.add_runtime_dependency 'openssl', '>= 2.0.5'
|
|
33
|
-
|
|
34
|
-
spec.add_development_dependency 'bundler', '~> 2.1'
|
|
35
|
-
spec.add_development_dependency 'pry', '~> 0.10'
|
|
36
|
-
spec.add_development_dependency 'rake', '~> 13'
|
|
37
|
-
spec.add_development_dependency 'rspec', '~> 3.5'
|
|
38
|
-
spec.add_development_dependency 'rubocop', '~> 0.48'
|
|
39
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 1.15'
|
|
29
|
+
spec.add_runtime_dependency 'zeitwerk', '~> 2.6.0'
|
|
40
30
|
end
|
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.10.
|
|
4
|
+
version: 0.10.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christian Mäder
|
|
8
8
|
autorequire:
|
|
9
|
-
bindir:
|
|
9
|
+
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-10-
|
|
11
|
+
date: 2024-10-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dry-configurable
|
|
@@ -93,89 +93,19 @@ dependencies:
|
|
|
93
93
|
- !ruby/object:Gem::Version
|
|
94
94
|
version: 2.0.5
|
|
95
95
|
- !ruby/object:Gem::Dependency
|
|
96
|
-
name:
|
|
96
|
+
name: zeitwerk
|
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
|
98
98
|
requirements:
|
|
99
99
|
- - "~>"
|
|
100
100
|
- !ruby/object:Gem::Version
|
|
101
|
-
version:
|
|
102
|
-
type: :
|
|
103
|
-
prerelease: false
|
|
104
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
105
|
-
requirements:
|
|
106
|
-
- - "~>"
|
|
107
|
-
- !ruby/object:Gem::Version
|
|
108
|
-
version: '2.1'
|
|
109
|
-
- !ruby/object:Gem::Dependency
|
|
110
|
-
name: pry
|
|
111
|
-
requirement: !ruby/object:Gem::Requirement
|
|
112
|
-
requirements:
|
|
113
|
-
- - "~>"
|
|
114
|
-
- !ruby/object:Gem::Version
|
|
115
|
-
version: '0.10'
|
|
116
|
-
type: :development
|
|
117
|
-
prerelease: false
|
|
118
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
119
|
-
requirements:
|
|
120
|
-
- - "~>"
|
|
121
|
-
- !ruby/object:Gem::Version
|
|
122
|
-
version: '0.10'
|
|
123
|
-
- !ruby/object:Gem::Dependency
|
|
124
|
-
name: rake
|
|
125
|
-
requirement: !ruby/object:Gem::Requirement
|
|
126
|
-
requirements:
|
|
127
|
-
- - "~>"
|
|
128
|
-
- !ruby/object:Gem::Version
|
|
129
|
-
version: '13'
|
|
130
|
-
type: :development
|
|
131
|
-
prerelease: false
|
|
132
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
133
|
-
requirements:
|
|
134
|
-
- - "~>"
|
|
135
|
-
- !ruby/object:Gem::Version
|
|
136
|
-
version: '13'
|
|
137
|
-
- !ruby/object:Gem::Dependency
|
|
138
|
-
name: rspec
|
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
|
140
|
-
requirements:
|
|
141
|
-
- - "~>"
|
|
142
|
-
- !ruby/object:Gem::Version
|
|
143
|
-
version: '3.5'
|
|
144
|
-
type: :development
|
|
145
|
-
prerelease: false
|
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
147
|
-
requirements:
|
|
148
|
-
- - "~>"
|
|
149
|
-
- !ruby/object:Gem::Version
|
|
150
|
-
version: '3.5'
|
|
151
|
-
- !ruby/object:Gem::Dependency
|
|
152
|
-
name: rubocop
|
|
153
|
-
requirement: !ruby/object:Gem::Requirement
|
|
154
|
-
requirements:
|
|
155
|
-
- - "~>"
|
|
156
|
-
- !ruby/object:Gem::Version
|
|
157
|
-
version: '0.48'
|
|
158
|
-
type: :development
|
|
159
|
-
prerelease: false
|
|
160
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
161
|
-
requirements:
|
|
162
|
-
- - "~>"
|
|
163
|
-
- !ruby/object:Gem::Version
|
|
164
|
-
version: '0.48'
|
|
165
|
-
- !ruby/object:Gem::Dependency
|
|
166
|
-
name: rubocop-rspec
|
|
167
|
-
requirement: !ruby/object:Gem::Requirement
|
|
168
|
-
requirements:
|
|
169
|
-
- - "~>"
|
|
170
|
-
- !ruby/object:Gem::Version
|
|
171
|
-
version: '1.15'
|
|
172
|
-
type: :development
|
|
101
|
+
version: 2.6.0
|
|
102
|
+
type: :runtime
|
|
173
103
|
prerelease: false
|
|
174
104
|
version_requirements: !ruby/object:Gem::Requirement
|
|
175
105
|
requirements:
|
|
176
106
|
- - "~>"
|
|
177
107
|
- !ruby/object:Gem::Version
|
|
178
|
-
version:
|
|
108
|
+
version: 2.6.0
|
|
179
109
|
description:
|
|
180
110
|
email:
|
|
181
111
|
- christian.maeder@nine.ch
|
|
@@ -189,9 +119,9 @@ files:
|
|
|
189
119
|
- ".github/workflows/rspec.yml"
|
|
190
120
|
- ".gitignore"
|
|
191
121
|
- ".rspec"
|
|
122
|
+
- Appraisals
|
|
192
123
|
- Dockerfile
|
|
193
124
|
- Gemfile
|
|
194
|
-
- Gemfile.lock
|
|
195
125
|
- LICENSE.txt
|
|
196
126
|
- README.md
|
|
197
127
|
- Rakefile
|
|
@@ -203,14 +133,10 @@ files:
|
|
|
203
133
|
- docker/start.test.sh
|
|
204
134
|
- dump.sql
|
|
205
135
|
- gemfiles/faraday0.gemfile
|
|
206
|
-
- gemfiles/faraday0.gemfile.lock
|
|
207
136
|
- gemfiles/faraday1.gemfile
|
|
208
|
-
- gemfiles/faraday1.gemfile.lock
|
|
209
137
|
- gemfiles/faraday2.gemfile
|
|
210
|
-
- gemfiles/faraday2.gemfile.lock
|
|
211
138
|
- lib/netbox-client-ruby.rb
|
|
212
139
|
- lib/netbox_client_ruby.rb
|
|
213
|
-
- lib/netbox_client_ruby/api.rb
|
|
214
140
|
- lib/netbox_client_ruby/api/circuits.rb
|
|
215
141
|
- lib/netbox_client_ruby/api/circuits/circuit.rb
|
|
216
142
|
- lib/netbox_client_ruby/api/circuits/circuit_termination.rb
|
data/Gemfile.lock
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
netbox-client-ruby (0.10.0)
|
|
5
|
-
dry-configurable (~> 1)
|
|
6
|
-
faraday (>= 0.11.0, < 3)
|
|
7
|
-
faraday-detailed_logger (~> 2.1)
|
|
8
|
-
ipaddress (~> 0.8, >= 0.8.3)
|
|
9
|
-
openssl (>= 2.0.5)
|
|
10
|
-
|
|
11
|
-
GEM
|
|
12
|
-
remote: https://rubygems.org/
|
|
13
|
-
specs:
|
|
14
|
-
ast (2.4.2)
|
|
15
|
-
coderay (1.1.3)
|
|
16
|
-
concurrent-ruby (1.2.2)
|
|
17
|
-
diff-lcs (1.5.0)
|
|
18
|
-
dry-configurable (1.0.1)
|
|
19
|
-
dry-core (~> 1.0, < 2)
|
|
20
|
-
zeitwerk (~> 2.6)
|
|
21
|
-
dry-core (1.0.0)
|
|
22
|
-
concurrent-ruby (~> 1.0)
|
|
23
|
-
zeitwerk (~> 2.6)
|
|
24
|
-
faraday (1.10.3)
|
|
25
|
-
faraday-em_http (~> 1.0)
|
|
26
|
-
faraday-em_synchrony (~> 1.0)
|
|
27
|
-
faraday-excon (~> 1.1)
|
|
28
|
-
faraday-httpclient (~> 1.0)
|
|
29
|
-
faraday-multipart (~> 1.0)
|
|
30
|
-
faraday-net_http (~> 1.0)
|
|
31
|
-
faraday-net_http_persistent (~> 1.0)
|
|
32
|
-
faraday-patron (~> 1.0)
|
|
33
|
-
faraday-rack (~> 1.0)
|
|
34
|
-
faraday-retry (~> 1.0)
|
|
35
|
-
ruby2_keywords (>= 0.0.4)
|
|
36
|
-
faraday-detailed_logger (2.5.0)
|
|
37
|
-
faraday (>= 0.16, < 3)
|
|
38
|
-
faraday-em_http (1.0.0)
|
|
39
|
-
faraday-em_synchrony (1.0.0)
|
|
40
|
-
faraday-excon (1.1.0)
|
|
41
|
-
faraday-httpclient (1.0.1)
|
|
42
|
-
faraday-multipart (1.0.4)
|
|
43
|
-
multipart-post (~> 2)
|
|
44
|
-
faraday-net_http (1.0.1)
|
|
45
|
-
faraday-net_http_persistent (1.2.0)
|
|
46
|
-
faraday-patron (1.0.0)
|
|
47
|
-
faraday-rack (1.0.0)
|
|
48
|
-
faraday-retry (1.0.3)
|
|
49
|
-
faraday_middleware (1.2.0)
|
|
50
|
-
faraday (~> 1.0)
|
|
51
|
-
ipaddress (0.8.3)
|
|
52
|
-
method_source (1.0.0)
|
|
53
|
-
multipart-post (2.3.0)
|
|
54
|
-
openssl (3.2.0)
|
|
55
|
-
parallel (1.23.0)
|
|
56
|
-
parser (3.2.2.3)
|
|
57
|
-
ast (~> 2.4.1)
|
|
58
|
-
racc
|
|
59
|
-
pry (0.14.2)
|
|
60
|
-
coderay (~> 1.1)
|
|
61
|
-
method_source (~> 1.0)
|
|
62
|
-
racc (1.7.1)
|
|
63
|
-
rainbow (3.1.1)
|
|
64
|
-
rake (13.0.6)
|
|
65
|
-
regexp_parser (2.8.1)
|
|
66
|
-
rexml (3.3.6)
|
|
67
|
-
strscan
|
|
68
|
-
rspec (3.12.0)
|
|
69
|
-
rspec-core (~> 3.12.0)
|
|
70
|
-
rspec-expectations (~> 3.12.0)
|
|
71
|
-
rspec-mocks (~> 3.12.0)
|
|
72
|
-
rspec-core (3.12.2)
|
|
73
|
-
rspec-support (~> 3.12.0)
|
|
74
|
-
rspec-expectations (3.12.3)
|
|
75
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
76
|
-
rspec-support (~> 3.12.0)
|
|
77
|
-
rspec-mocks (3.12.6)
|
|
78
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
79
|
-
rspec-support (~> 3.12.0)
|
|
80
|
-
rspec-support (3.12.1)
|
|
81
|
-
rubocop (0.93.1)
|
|
82
|
-
parallel (~> 1.10)
|
|
83
|
-
parser (>= 2.7.1.5)
|
|
84
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
85
|
-
regexp_parser (>= 1.8)
|
|
86
|
-
rexml
|
|
87
|
-
rubocop-ast (>= 0.6.0)
|
|
88
|
-
ruby-progressbar (~> 1.7)
|
|
89
|
-
unicode-display_width (>= 1.4.0, < 2.0)
|
|
90
|
-
rubocop-ast (1.29.0)
|
|
91
|
-
parser (>= 3.2.1.0)
|
|
92
|
-
rubocop-rspec (1.44.1)
|
|
93
|
-
rubocop (~> 0.87)
|
|
94
|
-
rubocop-ast (>= 0.7.1)
|
|
95
|
-
ruby-progressbar (1.13.0)
|
|
96
|
-
ruby2_keywords (0.0.5)
|
|
97
|
-
strscan (3.1.0)
|
|
98
|
-
unicode-display_width (1.8.0)
|
|
99
|
-
zeitwerk (2.6.12)
|
|
100
|
-
|
|
101
|
-
PLATFORMS
|
|
102
|
-
arm64-darwin-22
|
|
103
|
-
x86_64-linux
|
|
104
|
-
|
|
105
|
-
DEPENDENCIES
|
|
106
|
-
bundler (~> 2.1)
|
|
107
|
-
faraday (~> 1.10)
|
|
108
|
-
faraday_middleware
|
|
109
|
-
netbox-client-ruby!
|
|
110
|
-
pry (~> 0.10)
|
|
111
|
-
rake (~> 13)
|
|
112
|
-
rspec (~> 3.5)
|
|
113
|
-
rubocop (~> 0.48)
|
|
114
|
-
rubocop-rspec (~> 1.15)
|
|
115
|
-
|
|
116
|
-
BUNDLED WITH
|
|
117
|
-
2.4.10
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: ..
|
|
3
|
-
specs:
|
|
4
|
-
netbox-client-ruby (0.10.0)
|
|
5
|
-
dry-configurable (~> 1)
|
|
6
|
-
faraday (>= 0.11.0, < 3)
|
|
7
|
-
faraday-detailed_logger (~> 2.1)
|
|
8
|
-
ipaddress (~> 0.8, >= 0.8.3)
|
|
9
|
-
openssl (>= 2.0.5)
|
|
10
|
-
|
|
11
|
-
GEM
|
|
12
|
-
remote: https://rubygems.org/
|
|
13
|
-
specs:
|
|
14
|
-
ast (2.4.2)
|
|
15
|
-
coderay (1.1.3)
|
|
16
|
-
concurrent-ruby (1.2.2)
|
|
17
|
-
diff-lcs (1.5.0)
|
|
18
|
-
dry-configurable (1.0.1)
|
|
19
|
-
dry-core (~> 1.0, < 2)
|
|
20
|
-
zeitwerk (~> 2.6)
|
|
21
|
-
dry-core (1.0.0)
|
|
22
|
-
concurrent-ruby (~> 1.0)
|
|
23
|
-
zeitwerk (~> 2.6)
|
|
24
|
-
faraday (0.11.0)
|
|
25
|
-
multipart-post (>= 1.2, < 3)
|
|
26
|
-
faraday-detailed_logger (2.4.0)
|
|
27
|
-
faraday (>= 0.8, < 2)
|
|
28
|
-
zeitwerk (~> 2.0)
|
|
29
|
-
faraday_middleware (0.14.0)
|
|
30
|
-
faraday (>= 0.7.4, < 1.0)
|
|
31
|
-
ipaddress (0.8.3)
|
|
32
|
-
method_source (1.0.0)
|
|
33
|
-
multipart-post (2.3.0)
|
|
34
|
-
openssl (3.2.0)
|
|
35
|
-
parallel (1.23.0)
|
|
36
|
-
parser (3.2.2.3)
|
|
37
|
-
ast (~> 2.4.1)
|
|
38
|
-
racc
|
|
39
|
-
pry (0.14.2)
|
|
40
|
-
coderay (~> 1.1)
|
|
41
|
-
method_source (~> 1.0)
|
|
42
|
-
racc (1.7.1)
|
|
43
|
-
rainbow (3.1.1)
|
|
44
|
-
rake (13.0.6)
|
|
45
|
-
regexp_parser (2.8.1)
|
|
46
|
-
rexml (3.2.6)
|
|
47
|
-
rspec (3.12.0)
|
|
48
|
-
rspec-core (~> 3.12.0)
|
|
49
|
-
rspec-expectations (~> 3.12.0)
|
|
50
|
-
rspec-mocks (~> 3.12.0)
|
|
51
|
-
rspec-core (3.12.2)
|
|
52
|
-
rspec-support (~> 3.12.0)
|
|
53
|
-
rspec-expectations (3.12.3)
|
|
54
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
55
|
-
rspec-support (~> 3.12.0)
|
|
56
|
-
rspec-mocks (3.12.6)
|
|
57
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
58
|
-
rspec-support (~> 3.12.0)
|
|
59
|
-
rspec-support (3.12.1)
|
|
60
|
-
rubocop (0.93.1)
|
|
61
|
-
parallel (~> 1.10)
|
|
62
|
-
parser (>= 2.7.1.5)
|
|
63
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
64
|
-
regexp_parser (>= 1.8)
|
|
65
|
-
rexml
|
|
66
|
-
rubocop-ast (>= 0.6.0)
|
|
67
|
-
ruby-progressbar (~> 1.7)
|
|
68
|
-
unicode-display_width (>= 1.4.0, < 2.0)
|
|
69
|
-
rubocop-ast (1.29.0)
|
|
70
|
-
parser (>= 3.2.1.0)
|
|
71
|
-
rubocop-rspec (1.44.1)
|
|
72
|
-
rubocop (~> 0.87)
|
|
73
|
-
rubocop-ast (>= 0.7.1)
|
|
74
|
-
ruby-progressbar (1.13.0)
|
|
75
|
-
unicode-display_width (1.8.0)
|
|
76
|
-
zeitwerk (2.6.12)
|
|
77
|
-
|
|
78
|
-
PLATFORMS
|
|
79
|
-
arm64-darwin-22
|
|
80
|
-
x86_64-linux
|
|
81
|
-
|
|
82
|
-
DEPENDENCIES
|
|
83
|
-
bundler (~> 2.1)
|
|
84
|
-
faraday (= 0.11)
|
|
85
|
-
faraday_middleware (< 1)
|
|
86
|
-
netbox-client-ruby!
|
|
87
|
-
pry (~> 0.10)
|
|
88
|
-
rake (~> 13)
|
|
89
|
-
rspec (~> 3.5)
|
|
90
|
-
rubocop (~> 0.48)
|
|
91
|
-
rubocop-rspec (~> 1.15)
|
|
92
|
-
|
|
93
|
-
BUNDLED WITH
|
|
94
|
-
2.4.10
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: ..
|
|
3
|
-
specs:
|
|
4
|
-
netbox-client-ruby (0.10.0)
|
|
5
|
-
dry-configurable (~> 1)
|
|
6
|
-
faraday (>= 0.11.0, < 3)
|
|
7
|
-
faraday-detailed_logger (~> 2.1)
|
|
8
|
-
ipaddress (~> 0.8, >= 0.8.3)
|
|
9
|
-
openssl (>= 2.0.5)
|
|
10
|
-
|
|
11
|
-
GEM
|
|
12
|
-
remote: https://rubygems.org/
|
|
13
|
-
specs:
|
|
14
|
-
ast (2.4.2)
|
|
15
|
-
coderay (1.1.3)
|
|
16
|
-
concurrent-ruby (1.2.2)
|
|
17
|
-
diff-lcs (1.5.0)
|
|
18
|
-
dry-configurable (1.0.1)
|
|
19
|
-
dry-core (~> 1.0, < 2)
|
|
20
|
-
zeitwerk (~> 2.6)
|
|
21
|
-
dry-core (1.0.0)
|
|
22
|
-
concurrent-ruby (~> 1.0)
|
|
23
|
-
zeitwerk (~> 2.6)
|
|
24
|
-
faraday (1.0.0)
|
|
25
|
-
multipart-post (>= 1.2, < 3)
|
|
26
|
-
faraday-detailed_logger (2.5.0)
|
|
27
|
-
faraday (>= 0.16, < 3)
|
|
28
|
-
faraday_middleware (1.2.0)
|
|
29
|
-
faraday (~> 1.0)
|
|
30
|
-
ipaddress (0.8.3)
|
|
31
|
-
method_source (1.0.0)
|
|
32
|
-
multipart-post (2.3.0)
|
|
33
|
-
openssl (3.2.0)
|
|
34
|
-
parallel (1.23.0)
|
|
35
|
-
parser (3.2.2.3)
|
|
36
|
-
ast (~> 2.4.1)
|
|
37
|
-
racc
|
|
38
|
-
pry (0.14.2)
|
|
39
|
-
coderay (~> 1.1)
|
|
40
|
-
method_source (~> 1.0)
|
|
41
|
-
racc (1.7.1)
|
|
42
|
-
rainbow (3.1.1)
|
|
43
|
-
rake (13.0.6)
|
|
44
|
-
regexp_parser (2.8.1)
|
|
45
|
-
rexml (3.2.6)
|
|
46
|
-
rspec (3.12.0)
|
|
47
|
-
rspec-core (~> 3.12.0)
|
|
48
|
-
rspec-expectations (~> 3.12.0)
|
|
49
|
-
rspec-mocks (~> 3.12.0)
|
|
50
|
-
rspec-core (3.12.2)
|
|
51
|
-
rspec-support (~> 3.12.0)
|
|
52
|
-
rspec-expectations (3.12.3)
|
|
53
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
54
|
-
rspec-support (~> 3.12.0)
|
|
55
|
-
rspec-mocks (3.12.6)
|
|
56
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
57
|
-
rspec-support (~> 3.12.0)
|
|
58
|
-
rspec-support (3.12.1)
|
|
59
|
-
rubocop (0.93.1)
|
|
60
|
-
parallel (~> 1.10)
|
|
61
|
-
parser (>= 2.7.1.5)
|
|
62
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
63
|
-
regexp_parser (>= 1.8)
|
|
64
|
-
rexml
|
|
65
|
-
rubocop-ast (>= 0.6.0)
|
|
66
|
-
ruby-progressbar (~> 1.7)
|
|
67
|
-
unicode-display_width (>= 1.4.0, < 2.0)
|
|
68
|
-
rubocop-ast (1.29.0)
|
|
69
|
-
parser (>= 3.2.1.0)
|
|
70
|
-
rubocop-rspec (1.44.1)
|
|
71
|
-
rubocop (~> 0.87)
|
|
72
|
-
rubocop-ast (>= 0.7.1)
|
|
73
|
-
ruby-progressbar (1.13.0)
|
|
74
|
-
unicode-display_width (1.8.0)
|
|
75
|
-
zeitwerk (2.6.12)
|
|
76
|
-
|
|
77
|
-
PLATFORMS
|
|
78
|
-
arm64-darwin-22
|
|
79
|
-
x86_64-linux
|
|
80
|
-
|
|
81
|
-
DEPENDENCIES
|
|
82
|
-
bundler (~> 2.1)
|
|
83
|
-
faraday (= 1.0)
|
|
84
|
-
faraday_middleware (< 2)
|
|
85
|
-
netbox-client-ruby!
|
|
86
|
-
pry (~> 0.10)
|
|
87
|
-
rake (~> 13)
|
|
88
|
-
rspec (~> 3.5)
|
|
89
|
-
rubocop (~> 0.48)
|
|
90
|
-
rubocop-rspec (~> 1.15)
|
|
91
|
-
|
|
92
|
-
BUNDLED WITH
|
|
93
|
-
2.4.10
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: ..
|
|
3
|
-
specs:
|
|
4
|
-
netbox-client-ruby (0.10.0)
|
|
5
|
-
dry-configurable (~> 1)
|
|
6
|
-
faraday (>= 0.11.0, < 3)
|
|
7
|
-
faraday-detailed_logger (~> 2.1)
|
|
8
|
-
ipaddress (~> 0.8, >= 0.8.3)
|
|
9
|
-
openssl (>= 2.0.5)
|
|
10
|
-
|
|
11
|
-
GEM
|
|
12
|
-
remote: https://rubygems.org/
|
|
13
|
-
specs:
|
|
14
|
-
ast (2.4.2)
|
|
15
|
-
base64 (0.1.1)
|
|
16
|
-
coderay (1.1.3)
|
|
17
|
-
concurrent-ruby (1.2.2)
|
|
18
|
-
connection_pool (2.4.1)
|
|
19
|
-
diff-lcs (1.5.0)
|
|
20
|
-
dry-configurable (1.0.1)
|
|
21
|
-
dry-core (~> 1.0, < 2)
|
|
22
|
-
zeitwerk (~> 2.6)
|
|
23
|
-
dry-core (1.0.0)
|
|
24
|
-
concurrent-ruby (~> 1.0)
|
|
25
|
-
zeitwerk (~> 2.6)
|
|
26
|
-
faraday (2.7.11)
|
|
27
|
-
base64
|
|
28
|
-
faraday-net_http (>= 2.0, < 3.1)
|
|
29
|
-
ruby2_keywords (>= 0.0.4)
|
|
30
|
-
faraday-detailed_logger (2.5.0)
|
|
31
|
-
faraday (>= 0.16, < 3)
|
|
32
|
-
faraday-net_http (3.0.2)
|
|
33
|
-
faraday-net_http_persistent (2.1.0)
|
|
34
|
-
faraday (~> 2.5)
|
|
35
|
-
net-http-persistent (~> 4.0)
|
|
36
|
-
ipaddress (0.8.3)
|
|
37
|
-
method_source (1.0.0)
|
|
38
|
-
net-http-persistent (4.0.2)
|
|
39
|
-
connection_pool (~> 2.2)
|
|
40
|
-
openssl (3.2.0)
|
|
41
|
-
parallel (1.23.0)
|
|
42
|
-
parser (3.2.2.3)
|
|
43
|
-
ast (~> 2.4.1)
|
|
44
|
-
racc
|
|
45
|
-
pry (0.14.2)
|
|
46
|
-
coderay (~> 1.1)
|
|
47
|
-
method_source (~> 1.0)
|
|
48
|
-
racc (1.7.1)
|
|
49
|
-
rainbow (3.1.1)
|
|
50
|
-
rake (13.0.6)
|
|
51
|
-
regexp_parser (2.8.1)
|
|
52
|
-
rexml (3.2.6)
|
|
53
|
-
rspec (3.12.0)
|
|
54
|
-
rspec-core (~> 3.12.0)
|
|
55
|
-
rspec-expectations (~> 3.12.0)
|
|
56
|
-
rspec-mocks (~> 3.12.0)
|
|
57
|
-
rspec-core (3.12.2)
|
|
58
|
-
rspec-support (~> 3.12.0)
|
|
59
|
-
rspec-expectations (3.12.3)
|
|
60
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
61
|
-
rspec-support (~> 3.12.0)
|
|
62
|
-
rspec-mocks (3.12.6)
|
|
63
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
64
|
-
rspec-support (~> 3.12.0)
|
|
65
|
-
rspec-support (3.12.1)
|
|
66
|
-
rubocop (0.93.1)
|
|
67
|
-
parallel (~> 1.10)
|
|
68
|
-
parser (>= 2.7.1.5)
|
|
69
|
-
rainbow (>= 2.2.2, < 4.0)
|
|
70
|
-
regexp_parser (>= 1.8)
|
|
71
|
-
rexml
|
|
72
|
-
rubocop-ast (>= 0.6.0)
|
|
73
|
-
ruby-progressbar (~> 1.7)
|
|
74
|
-
unicode-display_width (>= 1.4.0, < 2.0)
|
|
75
|
-
rubocop-ast (1.29.0)
|
|
76
|
-
parser (>= 3.2.1.0)
|
|
77
|
-
rubocop-rspec (1.44.1)
|
|
78
|
-
rubocop (~> 0.87)
|
|
79
|
-
rubocop-ast (>= 0.7.1)
|
|
80
|
-
ruby-progressbar (1.13.0)
|
|
81
|
-
ruby2_keywords (0.0.5)
|
|
82
|
-
unicode-display_width (1.8.0)
|
|
83
|
-
zeitwerk (2.6.12)
|
|
84
|
-
|
|
85
|
-
PLATFORMS
|
|
86
|
-
arm64-darwin-22
|
|
87
|
-
x86_64-linux
|
|
88
|
-
|
|
89
|
-
DEPENDENCIES
|
|
90
|
-
bundler (~> 2.1)
|
|
91
|
-
faraday (< 3)
|
|
92
|
-
faraday-net_http_persistent
|
|
93
|
-
netbox-client-ruby!
|
|
94
|
-
pry (~> 0.10)
|
|
95
|
-
rake (~> 13)
|
|
96
|
-
rspec (~> 3.5)
|
|
97
|
-
rubocop (~> 0.48)
|
|
98
|
-
rubocop-rspec (~> 1.15)
|
|
99
|
-
|
|
100
|
-
BUNDLED WITH
|
|
101
|
-
2.4.10
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
require 'netbox_client_ruby/api/circuits'
|
|
2
|
-
require 'netbox_client_ruby/api/dcim'
|
|
3
|
-
require 'netbox_client_ruby/api/extras'
|
|
4
|
-
require 'netbox_client_ruby/api/ipam'
|
|
5
|
-
require 'netbox_client_ruby/api/secrets'
|
|
6
|
-
require 'netbox_client_ruby/api/tenancy'
|
|
7
|
-
require 'netbox_client_ruby/api/virtualization'
|
|
8
|
-
require 'netbox_client_ruby/communication'
|
|
9
|
-
|
|
10
|
-
module NetboxClientRuby
|
|
11
|
-
def self.circuits
|
|
12
|
-
NetboxClientRuby::Circuits
|
|
13
|
-
end
|
|
14
|
-
|
|
15
|
-
def self.dcim
|
|
16
|
-
NetboxClientRuby::DCIM
|
|
17
|
-
end
|
|
18
|
-
|
|
19
|
-
def self.extras
|
|
20
|
-
NetboxClientRuby::Extras
|
|
21
|
-
end
|
|
22
|
-
|
|
23
|
-
def self.ipam
|
|
24
|
-
NetboxClientRuby::IPAM
|
|
25
|
-
end
|
|
26
|
-
|
|
27
|
-
def self.secrets
|
|
28
|
-
NetboxClientRuby::Secrets
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
def self.tenancy
|
|
32
|
-
NetboxClientRuby::Tenancy
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
def self.virtualization
|
|
36
|
-
NetboxClientRuby::Virtualization
|
|
37
|
-
end
|
|
38
|
-
end
|