netbox-client-ruby 0.9.0 → 0.10.1

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.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rspec.yml +26 -7
  3. data/.gitignore +0 -1
  4. data/Gemfile +3 -0
  5. data/Gemfile.lock +117 -0
  6. data/README.md +6 -0
  7. data/bin/setup +3 -1
  8. data/gemfiles/faraday0.gemfile +6 -0
  9. data/gemfiles/faraday0.gemfile.lock +94 -0
  10. data/gemfiles/faraday1.gemfile +6 -0
  11. data/gemfiles/faraday1.gemfile.lock +93 -0
  12. data/gemfiles/faraday2.gemfile +6 -0
  13. data/gemfiles/faraday2.gemfile.lock +101 -0
  14. data/lib/netbox_client_ruby/api/circuits/circuit_terminations.rb +1 -1
  15. data/lib/netbox_client_ruby/api/circuits/circuit_types.rb +1 -1
  16. data/lib/netbox_client_ruby/api/circuits/circuits.rb +1 -1
  17. data/lib/netbox_client_ruby/api/circuits/providers.rb +1 -1
  18. data/lib/netbox_client_ruby/api/dcim/console_connections.rb +1 -1
  19. data/lib/netbox_client_ruby/api/dcim/console_ports.rb +1 -1
  20. data/lib/netbox_client_ruby/api/dcim/console_server_ports.rb +1 -1
  21. data/lib/netbox_client_ruby/api/dcim/device_roles.rb +1 -1
  22. data/lib/netbox_client_ruby/api/dcim/device_types.rb +1 -1
  23. data/lib/netbox_client_ruby/api/dcim/devices.rb +1 -1
  24. data/lib/netbox_client_ruby/api/dcim/interface_connections.rb +1 -1
  25. data/lib/netbox_client_ruby/api/dcim/interfaces.rb +1 -1
  26. data/lib/netbox_client_ruby/api/dcim/inventory_items.rb +1 -1
  27. data/lib/netbox_client_ruby/api/dcim/manufacturers.rb +1 -1
  28. data/lib/netbox_client_ruby/api/dcim/platforms.rb +1 -1
  29. data/lib/netbox_client_ruby/api/dcim/power_connections.rb +1 -1
  30. data/lib/netbox_client_ruby/api/dcim/power_outlets.rb +1 -1
  31. data/lib/netbox_client_ruby/api/dcim/power_ports.rb +1 -1
  32. data/lib/netbox_client_ruby/api/dcim/rack_groups.rb +1 -1
  33. data/lib/netbox_client_ruby/api/dcim/rack_reservations.rb +1 -1
  34. data/lib/netbox_client_ruby/api/dcim/rack_roles.rb +1 -1
  35. data/lib/netbox_client_ruby/api/dcim/racks.rb +1 -1
  36. data/lib/netbox_client_ruby/api/dcim/regions.rb +1 -1
  37. data/lib/netbox_client_ruby/api/dcim/sites.rb +1 -1
  38. data/lib/netbox_client_ruby/api/dcim/virtual_chassis_list.rb +1 -1
  39. data/lib/netbox_client_ruby/api/extras/config_contexts.rb +1 -1
  40. data/lib/netbox_client_ruby/api/extras/journal_entries.rb +1 -1
  41. data/lib/netbox_client_ruby/api/extras/tags.rb +1 -1
  42. data/lib/netbox_client_ruby/api/ipam/aggregates.rb +1 -1
  43. data/lib/netbox_client_ruby/api/ipam/ip_address.rb +1 -1
  44. data/lib/netbox_client_ruby/api/ipam/ip_addresses.rb +1 -1
  45. data/lib/netbox_client_ruby/api/ipam/ip_ranges.rb +1 -1
  46. data/lib/netbox_client_ruby/api/ipam/prefixes.rb +1 -1
  47. data/lib/netbox_client_ruby/api/ipam/rirs.rb +1 -1
  48. data/lib/netbox_client_ruby/api/ipam/roles.rb +1 -1
  49. data/lib/netbox_client_ruby/api/ipam/services.rb +1 -1
  50. data/lib/netbox_client_ruby/api/ipam/vlan_groups.rb +1 -1
  51. data/lib/netbox_client_ruby/api/ipam/vlans.rb +1 -1
  52. data/lib/netbox_client_ruby/api/ipam/vrfs.rb +1 -1
  53. data/lib/netbox_client_ruby/api/secrets/secret_roles.rb +1 -1
  54. data/lib/netbox_client_ruby/api/secrets/secrets.rb +1 -1
  55. data/lib/netbox_client_ruby/api/tenancy/tenant_groups.rb +1 -1
  56. data/lib/netbox_client_ruby/api/tenancy/tenants.rb +1 -1
  57. data/lib/netbox_client_ruby/api/virtualization/cluster_groups.rb +1 -1
  58. data/lib/netbox_client_ruby/api/virtualization/cluster_types.rb +1 -1
  59. data/lib/netbox_client_ruby/api/virtualization/clusters.rb +1 -1
  60. data/lib/netbox_client_ruby/api/virtualization/interfaces.rb +1 -1
  61. data/lib/netbox_client_ruby/api/virtualization/virtual_machines.rb +1 -1
  62. data/lib/netbox_client_ruby/communication.rb +3 -4
  63. data/lib/netbox_client_ruby/connection.rb +17 -2
  64. data/lib/netbox_client_ruby/entities.rb +1 -1
  65. data/lib/netbox_client_ruby/entity.rb +8 -8
  66. data/lib/netbox_client_ruby/error.rb +6 -0
  67. data/lib/netbox_client_ruby.rb +1 -0
  68. data/netbox-client-ruby.gemspec +2 -3
  69. metadata +13 -29
  70. data/VERSION +0 -1
  71. data/lib/netbox_client_ruby/error/client_error.rb +0 -4
  72. data/lib/netbox_client_ruby/error/local_error.rb +0 -4
  73. data/lib/netbox_client_ruby/error/remote_error.rb +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7cc8d383718b668854ea67169e97cfcc91a2a2b44f61fc03a9a169ec9af3484a
4
- data.tar.gz: 5974995a14be30b0245f6653aaa1d58c310ba05d634e094522533d6bf344d64d
3
+ metadata.gz: e05b0acd52ba688b19ce5874d612d9601290f8ec3c88a4798849f976c3f0b368
4
+ data.tar.gz: 1cd26e233b325ff0502698cd91e6036f430d5d7920aa660b6edeb9852f8c1e11
5
5
  SHA512:
6
- metadata.gz: 2dc728a2320243c24729809d73acc581f78cabc7aab52afb2037e7716c4726a1d2faa30e87c463369fd0b837f32013631cbc1cce0503f7e68d70e3457f5dcb78
7
- data.tar.gz: e21e87d7a1dc35cbd572ff05ac2bd18820b9fa10537f2c53bd7502b2f8e90f94d95cdeddf77cc0dbb53ee67764f55cdc208a52ef760a1aba9aced81061cd0fae
6
+ metadata.gz: 8c12dbb99d8fe6a8c431252fe95489395b55d783161989b457cb8f53d97303289e13e83b45a55bdad9e679fac347b921ac64843c54e2c1b7c64d4d98d66fe383
7
+ data.tar.gz: 5bd2e5b74095102928eee7f63a2ddfd19f213e099f0eac97edd8ce7be58b754416f9a363b465aa07de99c6d99cc96cfb8542f9f2f6af1e9182862245539ae626
@@ -15,12 +15,31 @@ jobs:
15
15
  matrix:
16
16
  os: [ubuntu-latest]
17
17
  # Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
18
- ruby: ["2.7", "3.0"]
18
+ ruby: ['2.7', '3.0', '3.1', '3.2']
19
+ gemfile:
20
+ [
21
+ 'Gemfile',
22
+ 'gemfiles/faraday0.gemfile',
23
+ 'gemfiles/faraday1.gemfile',
24
+ 'gemfiles/faraday2.gemfile',
25
+ ]
26
+ # Faraday 0.x with Ruby 3.x not supported
27
+ exclude:
28
+ - ruby: '3.0'
29
+ gemfile: gemfiles/faraday0.gemfile
30
+ - ruby: '3.1'
31
+ gemfile: gemfiles/faraday0.gemfile
32
+ - ruby: '3.2'
33
+ gemfile: gemfiles/faraday0.gemfile
19
34
  runs-on: ${{ matrix.os }}
35
+ env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
36
+ BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
20
37
  steps:
21
- - uses: actions/checkout@v2
22
- - uses: ruby/setup-ruby@v1
23
- with:
24
- ruby-version: ${{ matrix.ruby }}
25
- bundler-cache: true
26
- - run: bundle exec rake spec
38
+ - uses: actions/checkout@v2
39
+ with:
40
+ fetch-depth: 0
41
+ - uses: ruby/setup-ruby@v1
42
+ with:
43
+ ruby-version: ${{ matrix.ruby }}
44
+ bundler-cache: true
45
+ - run: bundle exec rake spec
data/.gitignore CHANGED
@@ -14,4 +14,3 @@ quickstart.rb
14
14
  *.gz
15
15
 
16
16
  /vendor/
17
- Gemfile.lock
data/Gemfile CHANGED
@@ -1,4 +1,7 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
+ gem "faraday", "~> 1.10"
4
+ gem "faraday_middleware"
5
+
3
6
  # Specify your gem dependencies in netbox-client-ruby.gemspec
4
7
  gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,117 @@
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
data/README.md CHANGED
@@ -15,6 +15,12 @@ Add this line to your application's Gemfile:
15
15
  gem 'netbox-client-ruby'
16
16
  ```
17
17
 
18
+ If your application already uses Faraday 0.x or 1.x and you cannot otherwise upgrade to Faraday 2, you must also add this line to your application's Gemfile:
19
+
20
+ ```ruby
21
+ gem 'faraday_middleware' # remove when upgrading to Faraday 2+
22
+ ```
23
+
18
24
  And then execute:
19
25
 
20
26
  $ bundle
data/bin/setup CHANGED
@@ -5,4 +5,6 @@ set -vx
5
5
 
6
6
  bundle install
7
7
 
8
- # Do any other automated setup that you need to do here
8
+ for filename in gemfiles/*.gemfile; do
9
+ BUNDLE_GEMFILE=$filename bundle install
10
+ done
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "faraday", "= 0.11"
4
+ gem "faraday_middleware", "< 1"
5
+
6
+ gemspec path: ".."
@@ -0,0 +1,94 @@
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
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "faraday", "= 1.0"
4
+ gem "faraday_middleware", "< 2"
5
+
6
+ gemspec path: ".."
@@ -0,0 +1,93 @@
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
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "faraday", "< 3"
4
+ gem "faraday-net_http_persistent"
5
+
6
+ gemspec path: ".."
@@ -0,0 +1,101 @@
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
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class CircuitTerminations
7
7
  include Entities
8
8
 
9
- path 'circuits/circuit-terminations.json'
9
+ path 'circuits/circuit-terminations/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class CircuitTypes
7
7
  include Entities
8
8
 
9
- path 'circuits/circuit-types.json'
9
+ path 'circuits/circuit-types/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -11,7 +11,7 @@ module NetboxClientRuby
11
11
  class Circuits
12
12
  include Entities
13
13
 
14
- path 'circuits/circuits.json'
14
+ path 'circuits/circuits/'
15
15
  data_key 'results'
16
16
  count_key 'count'
17
17
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class Providers
7
7
  include Entities
8
8
 
9
- path 'circuits/providers.json'
9
+ path 'circuits/providers/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class ConsoleConnections
7
7
  include Entities
8
8
 
9
- path 'dcim/console-connections.json'
9
+ path 'dcim/console-connections/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class ConsolePorts
7
7
  include Entities
8
8
 
9
- path 'dcim/console-ports.json'
9
+ path 'dcim/console-ports/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class ConsoleServerPorts
7
7
  include Entities
8
8
 
9
- path 'dcim/console-server-ports.json'
9
+ path 'dcim/console-server-ports/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class DeviceRoles
7
7
  include Entities
8
8
 
9
- path 'dcim/device-roles.json'
9
+ path 'dcim/device-roles/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class DeviceTypes
7
7
  include Entities
8
8
 
9
- path 'dcim/device-types.json'
9
+ path 'dcim/device-types/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class Devices
7
7
  include Entities
8
8
 
9
- path 'dcim/devices.json'
9
+ path 'dcim/devices/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class InterfaceConnections
7
7
  include Entities
8
8
 
9
- path 'dcim/interface-connections.json'
9
+ path 'dcim/interface-connections/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class Interfaces
7
7
  include Entities
8
8
 
9
- path 'dcim/interfaces.json'
9
+ path 'dcim/interfaces/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class InventoryItems
7
7
  include Entities
8
8
 
9
- path 'dcim/inventory-items.json'
9
+ path 'dcim/inventory-items/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class Manufacturers
7
7
  include Entities
8
8
 
9
- path 'dcim/manufacturers.json'
9
+ path 'dcim/manufacturers/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class Platforms
7
7
  include Entities
8
8
 
9
- path 'dcim/platforms.json'
9
+ path 'dcim/platforms/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator
@@ -6,7 +6,7 @@ module NetboxClientRuby
6
6
  class PowerConnections
7
7
  include Entities
8
8
 
9
- path 'dcim/power-connections.json'
9
+ path 'dcim/power-connections/'
10
10
  data_key 'results'
11
11
  count_key 'count'
12
12
  entity_creator :entity_creator