droplet_kit 3.17.0 → 3.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/lib/droplet_kit/client.rb +1 -1
  3. data/lib/droplet_kit/error_handling_resourcable.rb +4 -3
  4. data/lib/droplet_kit/mappings/balance_mapping.rb +0 -1
  5. data/lib/droplet_kit/mappings/container_registry_mapping.rb +1 -1
  6. data/lib/droplet_kit/mappings/database_cluster_mapping.rb +8 -8
  7. data/lib/droplet_kit/mappings/database_connection_pool_mapping.rb +5 -5
  8. data/lib/droplet_kit/mappings/database_eviction_policy_mapping.rb +1 -1
  9. data/lib/droplet_kit/mappings/database_firewall_rule_mapping.rb +3 -3
  10. data/lib/droplet_kit/mappings/database_maintenance_window_mapping.rb +2 -2
  11. data/lib/droplet_kit/mappings/database_mapping.rb +1 -1
  12. data/lib/droplet_kit/mappings/database_sql_mode_mapping.rb +1 -1
  13. data/lib/droplet_kit/mappings/database_user_mapping.rb +3 -3
  14. data/lib/droplet_kit/mappings/database_user_reset_auth_mapping.rb +1 -1
  15. data/lib/droplet_kit/mappings/domain_mapping.rb +2 -2
  16. data/lib/droplet_kit/mappings/domain_record_mapping.rb +9 -9
  17. data/lib/droplet_kit/mappings/droplet_upgrade_mapping.rb +1 -1
  18. data/lib/droplet_kit/mappings/error_mapping.rb +1 -1
  19. data/lib/droplet_kit/mappings/firewall_inbound_rule_mapping.rb +1 -1
  20. data/lib/droplet_kit/mappings/firewall_outbound_rule_mapping.rb +1 -1
  21. data/lib/droplet_kit/mappings/floating_ip_mapping.rb +1 -1
  22. data/lib/droplet_kit/mappings/forwarding_rule_mapping.rb +1 -1
  23. data/lib/droplet_kit/mappings/image_mapping.rb +10 -10
  24. data/lib/droplet_kit/mappings/invoice_mapping.rb +0 -1
  25. data/lib/droplet_kit/mappings/kernel_mapping.rb +1 -1
  26. data/lib/droplet_kit/mappings/kubernetes_cluster_mapping.rb +9 -9
  27. data/lib/droplet_kit/mappings/kubernetes_node_mapping.rb +0 -1
  28. data/lib/droplet_kit/mappings/kubernetes_node_pool_mapping.rb +8 -9
  29. data/lib/droplet_kit/mappings/load_balancer_mapping.rb +1 -1
  30. data/lib/droplet_kit/mappings/network_detail_mapping.rb +1 -1
  31. data/lib/droplet_kit/mappings/network_mapping.rb +1 -1
  32. data/lib/droplet_kit/mappings/project_assignment_mapping.rb +1 -1
  33. data/lib/droplet_kit/mappings/project_mapping.rb +5 -5
  34. data/lib/droplet_kit/mappings/region_mapping.rb +1 -1
  35. data/lib/droplet_kit/mappings/reserved_ip_mapping.rb +1 -1
  36. data/lib/droplet_kit/mappings/size_mapping.rb +1 -0
  37. data/lib/droplet_kit/mappings/snapshot_mapping.rb +1 -1
  38. data/lib/droplet_kit/mappings/ssh_key_mapping.rb +1 -1
  39. data/lib/droplet_kit/mappings/volume_mapping.rb +5 -6
  40. data/lib/droplet_kit/mappings/vpc_member_mapping.rb +1 -1
  41. data/lib/droplet_kit/models/base_model.rb +3 -3
  42. data/lib/droplet_kit/models/container_registry_repository.rb +1 -1
  43. data/lib/droplet_kit/models/container_registry_repository_tag.rb +1 -1
  44. data/lib/droplet_kit/models/domain.rb +1 -1
  45. data/lib/droplet_kit/models/droplet.rb +6 -7
  46. data/lib/droplet_kit/models/invoice.rb +15 -16
  47. data/lib/droplet_kit/models/kernel.rb +1 -1
  48. data/lib/droplet_kit/models/kubernetes_cluster.rb +1 -1
  49. data/lib/droplet_kit/models/kubernetes_node.rb +1 -1
  50. data/lib/droplet_kit/models/kubernetes_node_pool.rb +1 -1
  51. data/lib/droplet_kit/models/load_balancer.rb +4 -4
  52. data/lib/droplet_kit/models/meta_information.rb +1 -1
  53. data/lib/droplet_kit/models/pagination_information.rb +1 -1
  54. data/lib/droplet_kit/models/project.rb +1 -1
  55. data/lib/droplet_kit/models/size.rb +1 -0
  56. data/lib/droplet_kit/models/snapshot.rb +1 -1
  57. data/lib/droplet_kit/models/ssh_key.rb +1 -1
  58. data/lib/droplet_kit/models/volume.rb +1 -1
  59. data/lib/droplet_kit/models/vpc.rb +1 -1
  60. data/lib/droplet_kit/models/vpc_member.rb +1 -1
  61. data/lib/droplet_kit/paginated_resource.rb +10 -10
  62. data/lib/droplet_kit/resources/account_resource.rb +1 -1
  63. data/lib/droplet_kit/resources/balance_resource.rb +1 -1
  64. data/lib/droplet_kit/resources/domain_record_resource.rb +2 -2
  65. data/lib/droplet_kit/resources/droplet_action_resource.rb +5 -5
  66. data/lib/droplet_kit/resources/firewall_resource.rb +3 -3
  67. data/lib/droplet_kit/resources/image_resource.rb +1 -1
  68. data/lib/droplet_kit/resources/kubernetes_cluster_resource.rb +3 -5
  69. data/lib/droplet_kit/resources/load_balancer_resource.rb +1 -1
  70. data/lib/droplet_kit/resources/project_resource.rb +1 -1
  71. data/lib/droplet_kit/resources/ssh_key_resource.rb +3 -3
  72. data/lib/droplet_kit/resources/volume_action_resource.rb +3 -3
  73. data/lib/droplet_kit/resources/vpc_resource.rb +5 -5
  74. data/lib/droplet_kit/utils.rb +9 -9
  75. data/lib/droplet_kit/version.rb +1 -1
  76. data/lib/droplet_kit.rb +2 -2
  77. data/lib/tasks/resource_doc.rake +8 -9
  78. metadata +93 -23
metadata CHANGED
@@ -1,77 +1,77 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: droplet_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.17.0
4
+ version: 3.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - DigitalOcean API Engineering team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-16 00:00:00.000000000 Z
11
+ date: 2022-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: virtus
14
+ name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.3
20
- - - "<="
21
- - !ruby/object:Gem::Version
22
- version: '3'
19
+ version: '0.15'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: 1.0.3
30
- - - "<="
31
- - !ruby/object:Gem::Version
32
- version: '3'
26
+ version: '0.15'
33
27
  - !ruby/object:Gem::Dependency
34
- name: resource_kit
28
+ name: kartograph
35
29
  requirement: !ruby/object:Gem::Requirement
36
30
  requirements:
37
31
  - - "~>"
38
32
  - !ruby/object:Gem::Version
39
- version: 0.1.5
33
+ version: 0.2.8
40
34
  type: :runtime
41
35
  prerelease: false
42
36
  version_requirements: !ruby/object:Gem::Requirement
43
37
  requirements:
44
38
  - - "~>"
45
39
  - !ruby/object:Gem::Version
46
- version: 0.1.5
40
+ version: 0.2.8
47
41
  - !ruby/object:Gem::Dependency
48
- name: kartograph
42
+ name: resource_kit
49
43
  requirement: !ruby/object:Gem::Requirement
50
44
  requirements:
51
45
  - - "~>"
52
46
  - !ruby/object:Gem::Version
53
- version: 0.2.8
47
+ version: 0.1.5
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
51
  requirements:
58
52
  - - "~>"
59
53
  - !ruby/object:Gem::Version
60
- version: 0.2.8
54
+ version: 0.1.5
61
55
  - !ruby/object:Gem::Dependency
62
- name: faraday
56
+ name: virtus
63
57
  requirement: !ruby/object:Gem::Requirement
64
58
  requirements:
65
59
  - - ">="
66
60
  - !ruby/object:Gem::Version
67
- version: '0.15'
61
+ version: 1.0.3
62
+ - - "<="
63
+ - !ruby/object:Gem::Version
64
+ version: '3'
68
65
  type: :runtime
69
66
  prerelease: false
70
67
  version_requirements: !ruby/object:Gem::Requirement
71
68
  requirements:
72
69
  - - ">="
73
70
  - !ruby/object:Gem::Version
74
- version: '0.15'
71
+ version: 1.0.3
72
+ - - "<="
73
+ - !ruby/object:Gem::Version
74
+ version: '3'
75
75
  - !ruby/object:Gem::Dependency
76
76
  name: bundler
77
77
  requirement: !ruby/object:Gem::Requirement
@@ -100,6 +100,20 @@ dependencies:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
+ - !ruby/object:Gem::Dependency
104
+ name: rb-readline
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ type: :development
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ version: '0'
103
117
  - !ruby/object:Gem::Dependency
104
118
  name: rspec
105
119
  requirement: !ruby/object:Gem::Requirement
@@ -115,19 +129,75 @@ dependencies:
115
129
  - !ruby/object:Gem::Version
116
130
  version: 3.9.0
117
131
  - !ruby/object:Gem::Dependency
118
- name: rb-readline
132
+ name: rubocop
119
133
  requirement: !ruby/object:Gem::Requirement
120
134
  requirements:
121
135
  - - ">="
122
136
  - !ruby/object:Gem::Version
123
- version: '0'
137
+ version: 1.30.0
124
138
  type: :development
125
139
  prerelease: false
126
140
  version_requirements: !ruby/object:Gem::Requirement
127
141
  requirements:
128
142
  - - ">="
129
143
  - !ruby/object:Gem::Version
130
- version: '0'
144
+ version: 1.30.0
145
+ - !ruby/object:Gem::Dependency
146
+ name: rubocop-performance
147
+ requirement: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: 1.14.2
152
+ type: :development
153
+ prerelease: false
154
+ version_requirements: !ruby/object:Gem::Requirement
155
+ requirements:
156
+ - - ">="
157
+ - !ruby/object:Gem::Version
158
+ version: 1.14.2
159
+ - !ruby/object:Gem::Dependency
160
+ name: rubocop-rspec
161
+ requirement: !ruby/object:Gem::Requirement
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ version: 2.11.1
166
+ type: :development
167
+ prerelease: false
168
+ version_requirements: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 2.11.1
173
+ - !ruby/object:Gem::Dependency
174
+ name: rubocop-packaging
175
+ requirement: !ruby/object:Gem::Requirement
176
+ requirements:
177
+ - - ">="
178
+ - !ruby/object:Gem::Version
179
+ version: 0.5.1
180
+ type: :development
181
+ prerelease: false
182
+ version_requirements: !ruby/object:Gem::Requirement
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ version: 0.5.1
187
+ - !ruby/object:Gem::Dependency
188
+ name: rubocop-rake
189
+ requirement: !ruby/object:Gem::Requirement
190
+ requirements:
191
+ - - ">="
192
+ - !ruby/object:Gem::Version
193
+ version: 0.6.0
194
+ type: :development
195
+ prerelease: false
196
+ version_requirements: !ruby/object:Gem::Requirement
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: 0.6.0
131
201
  - !ruby/object:Gem::Dependency
132
202
  name: webmock
133
203
  requirement: !ruby/object:Gem::Requirement