pnap_network_storage_api 2.0.1 → 2.0.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b49e5a5524d7fc5d7c4b2fec2d769b971e6a29cb11d9cdf83c3ba8a372f0620d
4
- data.tar.gz: 21c59e38d735de2863e2db37422dd874fde228970c339d449ec130703b994394
3
+ metadata.gz: 1cf908708dee1d26581ec35348f5568e3d8472953c2d8879b947c3b4f355ee47
4
+ data.tar.gz: 52858efc94757b2883c03cc9c6c403cdf159fcff1c95d4a1d08ef99c8ac74966
5
5
  SHA512:
6
- metadata.gz: 1c2bafe57423012d2ece9bfef67c5c252d50dab9f7decec194cef649ec08114a8a993e6b168336edd367b8f01e7f03a24ff29fd2b5e48594c34ee0359240dbcf
7
- data.tar.gz: a8383b7ce3dfa98113ff543ffb971ba04a92daafe61629d9c12a5181c5dc7ff26a4005574a9d347fcf84e89e9a19eb4fdfd469f8f1b8fda5d23b166a3414c836
6
+ metadata.gz: 71de23846a7e4832cfdc3568414aed8339d533db60a2ded972691638ed78b29e547af342aa8d5b877b31e9b820062e7027d11abb441c255b78d282ea212e6222
7
+ data.tar.gz: 351f01ca7fb7a616be9d5c135918ddaa7e5e523a4f39fc596aa267ea8e478bf58e6b9b0b9e6900853a832efae86b375f98e331f52ee0a321a7b60d50e35b0945
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.1
1
+ 2.0.3
@@ -20,7 +20,7 @@ instance = NetworkStorageApi::StorageNetworkCreate.new(
20
20
  description: My storage network description,
21
21
  location: PHX,
22
22
  volumes: null,
23
- client_vlan: null
23
+ client_vlan: 5
24
24
  )
25
25
  ```
26
26
 
@@ -656,7 +656,7 @@ end
656
656
 
657
657
  Update a storage network's volume details.
658
658
 
659
- Update a storage network's volume details.
659
+ Update a storage network's volume details. Volume's capacity requested cannot be less than or equal to current volume's capacity.
660
660
 
661
661
  ### Examples
662
662
 
data/docs/VolumeUpdate.md CHANGED
@@ -19,7 +19,7 @@ instance = NetworkStorageApi::VolumeUpdate.new(
19
19
  name: New Volume name,
20
20
  description: New Volume description,
21
21
  capacity_in_gb: 2000,
22
- path_suffix: null,
22
+ path_suffix: /my/volume/path,
23
23
  permissions: null
24
24
  )
25
25
  ```
@@ -626,7 +626,7 @@ module NetworkStorageApi
626
626
  end
627
627
 
628
628
  # Update a storage network's volume details.
629
- # Update a storage network's volume details.
629
+ # Update a storage network's volume details. Volume's capacity requested cannot be less than or equal to current volume's capacity.
630
630
  # @param storage_id [String] ID of the storage.
631
631
  # @param volume_id [String] ID of volume.
632
632
  # @param volume_update [VolumeUpdate] Storage network volume to be updated.
@@ -638,7 +638,7 @@ module NetworkStorageApi
638
638
  end
639
639
 
640
640
  # Update a storage network's volume details.
641
- # Update a storage network's volume details.
641
+ # Update a storage network's volume details. Volume's capacity requested cannot be less than or equal to current volume's capacity.
642
642
  # @param storage_id [String] ID of the storage.
643
643
  # @param volume_id [String] ID of volume.
644
644
  # @param volume_update [VolumeUpdate] Storage network volume to be updated.
@@ -147,7 +147,7 @@ describe 'StorageNetworksApi' do
147
147
 
148
148
  # unit tests for storage_networks_storage_network_id_volumes_volume_id_patch
149
149
  # Update a storage network's volume details.
150
- # Update a storage network's volume details.
150
+ # Update a storage network's volume details. Volume's capacity requested cannot be less than or equal to current volume's capacity.
151
151
  # @param storage_id ID of the storage.
152
152
  # @param volume_id ID of volume.
153
153
  # @param volume_update Storage network volume to be updated.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pnap_network_storage_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - PhoenixNAP
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-03-13 00:00:00.000000000 Z
11
+ date: 2025-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -127,7 +127,7 @@ licenses:
127
127
  - MPL-2.0
128
128
  metadata:
129
129
  source_code_uri: https://github.com/phoenixnap/ruby-sdk-bmc
130
- post_install_message:
130
+ post_install_message:
131
131
  rdoc_options: []
132
132
  require_paths:
133
133
  - lib
@@ -142,27 +142,27 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
- rubygems_version: 3.3.5
146
- signing_key:
145
+ rubygems_version: 3.4.20
146
+ signing_key:
147
147
  specification_version: 4
148
148
  summary: Network Storage API Ruby Gem
149
149
  test_files:
150
150
  - spec/api/storage_networks_api_spec.rb
151
+ - spec/models/error_spec.rb
152
+ - spec/models/storage_network_volume_create_spec.rb
151
153
  - spec/models/permissions_spec.rb
152
- - spec/models/volume_update_spec.rb
154
+ - spec/models/storage_network_create_spec.rb
155
+ - spec/models/storage_network_spec.rb
156
+ - spec/models/tag_assignment_request_spec.rb
153
157
  - spec/models/nfs_permissions_spec.rb
154
- - spec/models/status_spec.rb
155
- - spec/models/error_spec.rb
156
158
  - spec/models/storage_network_update_spec.rb
157
- - spec/models/tag_assignment_request_spec.rb
158
- - spec/models/volume_spec.rb
159
- - spec/models/volume_create_spec.rb
160
- - spec/models/storage_network_volume_create_spec.rb
161
- - spec/models/nfs_permissions_update_spec.rb
159
+ - spec/models/status_spec.rb
160
+ - spec/models/tag_assignment_spec.rb
162
161
  - spec/models/nfs_permissions_create_spec.rb
163
162
  - spec/models/permissions_create_spec.rb
164
- - spec/models/storage_network_create_spec.rb
165
- - spec/models/tag_assignment_spec.rb
166
- - spec/models/storage_network_spec.rb
163
+ - spec/models/volume_spec.rb
164
+ - spec/models/nfs_permissions_update_spec.rb
167
165
  - spec/models/permissions_update_spec.rb
166
+ - spec/models/volume_create_spec.rb
167
+ - spec/models/volume_update_spec.rb
168
168
  - spec/spec_helper.rb