gitlab-fog-azure-rm 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitlab-ci.yml +1 -1
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +0 -3
- data/gitlab-fog-azure-rm.gemspec +7 -1
- data/lib/fog/azurerm/version.rb +1 -1
- metadata +146 -93
- data/vendor/azure-storage-ruby/.env_sample +0 -8
- data/vendor/azure-storage-ruby/.gitignore +0 -35
- data/vendor/azure-storage-ruby/.rubocop.yml +0 -132
- data/vendor/azure-storage-ruby/.travis.yml +0 -23
- data/vendor/azure-storage-ruby/BreakingChanges.md +0 -34
- data/vendor/azure-storage-ruby/CONTRIBUTING.md +0 -74
- data/vendor/azure-storage-ruby/ChangeLog.md +0 -198
- data/vendor/azure-storage-ruby/Gemfile +0 -41
- data/vendor/azure-storage-ruby/README.md +0 -48
- data/vendor/azure-storage-ruby/Rakefile +0 -216
- data/vendor/azure-storage-ruby/SECURITY.md +0 -41
- data/vendor/azure-storage-ruby/blob/BreakingChanges.md +0 -10
- data/vendor/azure-storage-ruby/blob/ChangeLog.md +0 -33
- data/vendor/azure-storage-ruby/blob/Gemfile +0 -30
- data/vendor/azure-storage-ruby/blob/LICENSE.txt +0 -21
- data/vendor/azure-storage-ruby/blob/README.md +0 -188
- data/vendor/azure-storage-ruby/blob/azure-storage-blob.gemspec +0 -52
- data/vendor/azure-storage-ruby/common/BreakingChanges.md +0 -8
- data/vendor/azure-storage-ruby/common/ChangeLog.md +0 -41
- data/vendor/azure-storage-ruby/common/Gemfile +0 -30
- data/vendor/azure-storage-ruby/common/LICENSE.txt +0 -21
- data/vendor/azure-storage-ruby/common/README.md +0 -146
- data/vendor/azure-storage-ruby/common/azure-storage-common.gemspec +0 -57
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/auth/authorizer.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/auth/shared_key.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/auth/shared_key_lite.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/auth/signer.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/default.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/error.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/filtered_service.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/debug_filter.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/http_error.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/http_filter.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/http_request.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/http_response.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/retry_policy.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/http/signer_filter.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/service.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/signed_service.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/utility.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core/version.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/core.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/http_response_helper.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/append.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/autoload.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/blob.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/blob_service.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/block.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/container.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/default.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/page.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/serialization.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob/version.rb +0 -0
- /data/{vendor/azure-storage-ruby/blob/lib → lib}/azure/storage/blob.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/autoload.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/client.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/client_options.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/client_options_error.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/configurable.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/anonymous_signer.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/shared_access_signature.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/shared_access_signature_generator.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/shared_access_signature_signer.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/shared_key.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/auth/token_signer.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/autoload.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/error.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/filter/exponential_retry_filter.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/filter/linear_retry_filter.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/filter/retry_filter.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/http_client.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/sr.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/token_credential.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core/utility.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/core.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/default.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/access_policy.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/cors.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/cors_rule.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/enumeration_results.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/geo_replication.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/logging.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/metrics.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/retention_policy.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/serialization.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/signed_identifier.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/storage_service.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/storage_service_properties.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/storage_service_stats.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/service/user_delegation_key.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common/version.rb +0 -0
- /data/{vendor/azure-storage-ruby/common/lib → lib}/azure/storage/common.rb +0 -0
@@ -1,198 +0,0 @@
|
|
1
|
-
**Note: This changelog is deprecated after version 0.15.0-preview, please refer to the ChangeLog.md in each package for future change logs.**
|
2
|
-
|
3
|
-
2017.11 - version 0.15.0-preview
|
4
|
-
|
5
|
-
ALL
|
6
|
-
* Added the support for the location mode in the API options.
|
7
|
-
* Added the support for retrying according to the location mode.
|
8
|
-
|
9
|
-
BLOB
|
10
|
-
* Added the support for retrieving statistics related to replication for the Blob service.
|
11
|
-
* Added the support for anonymous read access of public containers.
|
12
|
-
* Added full lease ID header support for following methods:
|
13
|
-
- Azure::Storage::Blob::BlobService::get_container_properties
|
14
|
-
- Azure::Storage::Blob::BlobService::get_container_metadata
|
15
|
-
- Azure::Storage::Blob::BlobService::get_container_acl
|
16
|
-
- Azure::Storage::Blob::BlobService::set_container_metadata
|
17
|
-
- Azure::Storage::Blob::BlobService::set_container_acl
|
18
|
-
- Azure::Storage::Blob::BlobService::delete_container
|
19
|
-
- Azure::Storage::Blob::BlobService::create_block_blob
|
20
|
-
- Azure::Storage::Blob::BlobService::create_page_blob
|
21
|
-
- Azure::Storage::Blob::BlobService::create_append_blob
|
22
|
-
- Azure::Storage::Blob::BlobService::get_blob
|
23
|
-
- Azure::Storage::Blob::BlobService::get_blob_properties
|
24
|
-
- Azure::Storage::Blob::BlobService::set_blob_properties
|
25
|
-
- Azure::Storage::Blob::BlobService::get_blob_metadata
|
26
|
-
- Azure::Storage::Blob::BlobService::set_blob_metadata
|
27
|
-
- Azure::Storage::Blob::BlobService::create_blob_snapshot
|
28
|
-
- Azure::Storage::Blob::BlobService::copy_blob
|
29
|
-
- Azure::Storage::Blob::BlobService::copy_blob_from_uri
|
30
|
-
- Azure::Storage::Blob::BlobService::delete_blob
|
31
|
-
- Azure::Storage::Blob::BlobService::put_blob_block
|
32
|
-
- Azure::Storage::Blob::BlobService::commit_blob_blocks
|
33
|
-
- Azure::Storage::Blob::BlobService::list_blob_blocks
|
34
|
-
- Azure::Storage::Blob::BlobService::put_blob_pages
|
35
|
-
- Azure::Storage::Blob::BlobService::list_page_blob_ranges
|
36
|
-
- Azure::Storage::Blob::BlobService::incremental_copy_blob
|
37
|
-
- Azure::Storage::Blob::BlobService::append_blob_block
|
38
|
-
|
39
|
-
Queue
|
40
|
-
* Added the support for retrieving statistics related to replication for the Queue service.
|
41
|
-
|
42
|
-
Table
|
43
|
-
* Added the support for retrieving statistics related to replication for the Table service.
|
44
|
-
|
45
|
-
2017.09 - version 0.14.0-preview
|
46
|
-
|
47
|
-
ALL
|
48
|
-
* Added configuration file for Rubocop and auto-resolved coding style issue.
|
49
|
-
|
50
|
-
BLOB
|
51
|
-
* The `Azure::Storage::Blob::list_page_blob_ranges` API now accepts `:previous_snapshot` as an optional parameter, that specifies that the response returns pages that have been updated or cleared since the snapshot specified by `:previous_snapshot` was taken.
|
52
|
-
* The `Azure::Storage::Blob::Blob` object now has an attribute `:encrypted` showing if the blob or blob related request has been encrypted.
|
53
|
-
* The `Azure::Storage::Blob::BlobService::list_containers` and `Azure::Storage::Blob::BlobService::get_container_properties` will now also return public access level for each container.
|
54
|
-
* The stored Content-MD5 property is now returned when requesting a range of a blob. Previously this was only returned for full blob downloads. `Azure::Storage::Blob::Blob.properties[:content_md5]` will always hold the stored Content_MD5 property, and `Azure::Storage::Blob::Blob.properties[:range_md5]` will always represent the MD5 for the content returned from the server.
|
55
|
-
* Added an API `Azure::Storage::Blob::BlobService::incremental_copy_blob` to support [incremental copy](https://docs.microsoft.com/en-us/rest/api/storageservices/incremental-copy-blob) for page blob snapshots.
|
56
|
-
|
57
|
-
FILE
|
58
|
-
* The stored Content-MD5 property is now returned when requesting a range of a file. Previously this was only returned for full file downloads. `Azure::Storage::File::File.properties[:content_md5]` will always hold the stored Content_MD5 property, and `Azure::Storage::File::File.properties[:range_md5]` will always represent the MD5 for the content returned from the server.
|
59
|
-
|
60
|
-
QUEUE
|
61
|
-
* The return type of `Azure::Storage::Queue::create_message` is changed from `nil` to an `Azure::Storage::Queue::Message` object.
|
62
|
-
|
63
|
-
FILE
|
64
|
-
* The API `Azure::Storage::File::list_directories_and_files` now also accepts `:prefix` as an optional parameter. The return value will be filtered with the specified prefix if set.
|
65
|
-
|
66
|
-
2017.09 - version 0.13.0-preview
|
67
|
-
|
68
|
-
ALL
|
69
|
-
* Removed Nokogiri from Gemfile because it causes bundler fail to install azure-storage. Added it back to runtime dependency and explicitly require user to install the correct version of Nokogiri in README.md.
|
70
|
-
* Service version is upgraded to 2016-05-31.
|
71
|
-
|
72
|
-
BLOB
|
73
|
-
* Block size can now be up to 100MB.
|
74
|
-
|
75
|
-
TABLE
|
76
|
-
* The return type `Azure::Service::EnumerationResult` of `query_tables` has a changed structure. Now the `'updated'` will not be contained, and is flattened to a structure in the form of `{ {"TableName" => "tableone"}, {"TableName" => "tabletwo"}, {"TableName" => "tablethree"}}`.
|
77
|
-
* The `Azure::Storage::Table::Entity` does not contain `:table` and `updated` anymore. The updated time can be found in `:properties`.
|
78
|
-
* The return type of `get_table` is changed to a Hash that contains full metadata returned from the server when query the table.
|
79
|
-
* The method `Azure::Storage::Table::EdmType::unserialize_query_value` is renamed to `deserialize_value`.
|
80
|
-
|
81
|
-
2017.08 - version 0.12.3-preview
|
82
|
-
|
83
|
-
ALL
|
84
|
-
* Added Nokogiri as a gem into Gemfile, resolving an issue where bundler failed to recognize that the dependency exists after installation.
|
85
|
-
|
86
|
-
2017.08 - version 0.12.2-preview
|
87
|
-
|
88
|
-
ALL
|
89
|
-
* Removed Nokogiri as a dependency to resolve conflict version caused by azure-core also depending on Nokogiri.
|
90
|
-
|
91
|
-
2017.04 - version 0.12.1-preview
|
92
|
-
|
93
|
-
ALL
|
94
|
-
* Relaxed constraint on Nokogiri version dependency to allow Nokogiri 1.7.x for Ruby 2.1 and later, but preserving support for Ruby 1.9.3. (Note that this may require updating to Bundler 1.13 or later if you're using Ruby 1.9 or 2.0.)
|
95
|
-
|
96
|
-
2017.02 - version 0.12.0-preview
|
97
|
-
|
98
|
-
ALL
|
99
|
-
* Fixed the issue where `should_retry?` in the retry_filter.rb overwrites the result from derived `apply_retry_policy`. [#76](https://github.com/Azure/azure-storage-ruby/issues/76)
|
100
|
-
* Fixed the issue where `Azure::Storage::Client.create_from_connection_string` throws an exception. [#77](https://github.com/Azure/azure-storage-ruby/issues/77)
|
101
|
-
* Added the support for setting the "timeout" option in `get_service_properties` and `set_service_properties`.
|
102
|
-
|
103
|
-
BLOB
|
104
|
-
* Added the metadata to the returning instance when creates a blob.
|
105
|
-
* Added `transactional_md5` to the options of `put_blob_pages`.
|
106
|
-
|
107
|
-
FILE
|
108
|
-
* Added File Service support, targeting storage service version 2015-04-05.
|
109
|
-
|
110
|
-
2016.12 - version 0.11.5-preview
|
111
|
-
|
112
|
-
ALL
|
113
|
-
* Added the support for setting customer user agent. [#71](https://github.com/Azure/azure-storage-ruby/issues/71)
|
114
|
-
* Added the support for hooking in sending requests.
|
115
|
-
|
116
|
-
2016.11 - version 0.11.4-preview
|
117
|
-
|
118
|
-
ALL
|
119
|
-
* Removed the unnecessary dependencies. [#55](https://github.com/Azure/azure-storage-ruby/issues/55), [#67](https://github.com/Azure/azure-storage-ruby/issues/67)
|
120
|
-
|
121
|
-
BLOB
|
122
|
-
* Fixed the issue when checking the content encoding.
|
123
|
-
* Fixed the wrong "Content-Encoding" value in the test cases.
|
124
|
-
* Fixed the issue where it cannot use the `create_block_blob` method with an IO/File object. [#61](https://github.com/Azure/azure-storage-ruby/issues/61)
|
125
|
-
|
126
|
-
2016.10 - version 0.11.3-preview
|
127
|
-
|
128
|
-
ALL
|
129
|
-
* Fixed an issue in retry policies.
|
130
|
-
|
131
|
-
2016.10 - version 0.11.2-preview
|
132
|
-
|
133
|
-
ALL
|
134
|
-
* Fixed the issue where it retries on HTTP 4xx errors.
|
135
|
-
|
136
|
-
BLOB
|
137
|
-
* Fixed the issue of wrong "Content-Encoding". [#49](https://github.com/Azure/azure-storage-ruby/issues/49)
|
138
|
-
|
139
|
-
2016.09 - version 0.11.1-preview
|
140
|
-
|
141
|
-
ALL
|
142
|
-
* Added the support for setting the client request ID via the "request_id" parameter.
|
143
|
-
* Added the retry for the timeout errors.
|
144
|
-
* Added the retry for the connection reset error.
|
145
|
-
|
146
|
-
BLOB
|
147
|
-
* Fixed the issue where "list_blobs" doesn't work when delimiter is specified. [#41](https://github.com/Azure/azure-storage-ruby/issues/41)
|
148
|
-
|
149
|
-
2016.08 - version 0.11.0-preview
|
150
|
-
|
151
|
-
ALL
|
152
|
-
* Added the support for the account shared access signature.
|
153
|
-
* Removed the support for the Shared Key Lite.
|
154
|
-
|
155
|
-
BLOB
|
156
|
-
* Added the support for the "add" and "create" permissions in the blob service shared access signature.
|
157
|
-
|
158
|
-
FILE
|
159
|
-
* Added the support for the "create" permission in the file service shared access signature.
|
160
|
-
|
161
|
-
2016.06 - version 0.10.2-preview
|
162
|
-
|
163
|
-
ALL
|
164
|
-
* Fixed the issue that cannot run against storage emulator on Windows.
|
165
|
-
* Fixed the issue that it doesn't run as a singleton when it calls Azure::Storage.setup.
|
166
|
-
* Updated to storage service version 2015-04-05.
|
167
|
-
|
168
|
-
2016.05 - version 0.10.1-preview
|
169
|
-
|
170
|
-
ALL
|
171
|
-
* Replaced the core module by the 'azure-core' gem.
|
172
|
-
* Stopped maintaining the support for Ruby 1.9.
|
173
|
-
* Added support for retry filters.
|
174
|
-
|
175
|
-
2016.03 - version 0.10.0-preview
|
176
|
-
|
177
|
-
ALL
|
178
|
-
* Separated out parts of Azure Storage previously found in the Azure SDK 0.7.0 to establish an independent release cycle.
|
179
|
-
* Supported Ruby 1.9.3, 2.0, 2.1 and 2.2.
|
180
|
-
* Updated to storage service version 2015-02-21.
|
181
|
-
* Fixed issue where previous query's parameters were used, causing authentication to fail (https://github.com/Azure/azure-sdk-for-ruby/issues/276).
|
182
|
-
* Fixed the issue that the Content-MD5 is overwritten when request body exists, regardless the input value.
|
183
|
-
* Refined the code for setting service properties to be compatible with the XML schema.
|
184
|
-
|
185
|
-
BLOB
|
186
|
-
* Added support for container lease operations.
|
187
|
-
* Added support for changing the ID of an existing lease.
|
188
|
-
* Added support for copying from source blob URI.
|
189
|
-
* Added support for aborting copying a blob.
|
190
|
-
* Added support for creating an append blob.
|
191
|
-
* Added support for appending a block to an appendblob.
|
192
|
-
* Added support for the content disposition property of a blob.
|
193
|
-
* Added support for resizing a page blob.
|
194
|
-
* Added support for setting a page blob's sequence number.
|
195
|
-
* Fixed the issue where conditional headers for some APIs could not be set.
|
196
|
-
* Fixed the issue where the request fails when calling list_page_blob_ranges with start range and end range.
|
197
|
-
* Renamed create_blob_block to put_blob_block.
|
198
|
-
* Renamed create_blob_pages to put_blob_pages.
|
@@ -1,41 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
#-------------------------------------------------------------------------
|
4
|
-
# # Copyright (c) Microsoft and contributors. All rights reserved.
|
5
|
-
#
|
6
|
-
# The MIT License(MIT)
|
7
|
-
|
8
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
9
|
-
# of this software and associated documentation files(the "Software"), to deal
|
10
|
-
# in the Software without restriction, including without limitation the rights
|
11
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
|
12
|
-
# copies of the Software, and to permit persons to whom the Software is
|
13
|
-
# furnished to do so, subject to the following conditions :
|
14
|
-
|
15
|
-
# The above copyright notice and this permission notice shall be included in
|
16
|
-
# all copies or substantial portions of the Software.
|
17
|
-
|
18
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
19
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
20
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
21
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
22
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
23
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
24
|
-
# THE SOFTWARE.
|
25
|
-
#--------------------------------------------------------------------------
|
26
|
-
source "https://rubygems.org" do
|
27
|
-
gem "faraday", "~> 2.0", :require => false
|
28
|
-
gem "faraday-follow_redirects", "~> 0.3.0", :require => false
|
29
|
-
gem "faraday-net_http_persistent", "~> 2.0", :require => false
|
30
|
-
gem "net-http-persistent", "~> 4.0", :require => false
|
31
|
-
gem "nokogiri", "~> 1", ">= 1.10.8", :require => false
|
32
|
-
gem "adal", "~> 1.0", :require => false
|
33
|
-
gem "dotenv", "~> 2.0", :require => false
|
34
|
-
gem "minitest", "~> 5.18.0", :require => false
|
35
|
-
gem "minitest-reporters", "~> 1", :require => false
|
36
|
-
gem "mocha", "~> 1.0", :require => false
|
37
|
-
gem "rake", "~> 13.0", :require => false
|
38
|
-
gem "timecop", "~> 0.7", :require => false
|
39
|
-
gem "yard", "~> 0.9", ">= 0.9.11", :require => false
|
40
|
-
gem "coveralls", require: false
|
41
|
-
end
|
@@ -1,48 +0,0 @@
|
|
1
|
-
# Microsoft Azure Storage Client Library for Ruby (Deprecated)
|
2
|
-
|
3
|
-
This project will be in [Community Support](https://azure.github.io/azure-sdk/policies_support.html#package-lifecycle) until 13 September 2024. After this date the project and associated client libraries will be retired permanently. For more details on the retirement and alternatives to using this project, visit [Retirement notice: The Azure Storage Ruby client libraries will be retired on 13 September 2024](https://azure.microsoft.com/updates/retirement-notice-the-azure-storage-ruby-client-libraries-will-be-retired-on-13-september-2024/).
|
4
|
-
|
5
|
-
---
|
6
|
-
|
7
|
-
* Master: [![Master Build Status](https://travis-ci.org/Azure/azure-storage-ruby.svg?branch=master)](https://travis-ci.org/Azure/azure-storage-ruby/branches) [![Coverage Status](https://coveralls.io/repos/github/Azure/azure-storage-ruby/badge.svg?branch=master)](https://coveralls.io/github/Azure/azure-storage-ruby?branch=master)
|
8
|
-
* Dev: [![Dev Build Status](https://travis-ci.org/Azure/azure-storage-ruby.svg?branch=dev)](https://travis-ci.org/Azure/azure-storage-ruby/branches) [![Coverage Status](https://coveralls.io/repos/github/Azure/azure-storage-ruby/badge.svg?branch=dev)](https://coveralls.io/github/Azure/azure-storage-ruby?branch=dev)
|
9
|
-
|
10
|
-
This project provides Ruby packages that makes it easy to access and manage Microsoft Azure Storage Services.
|
11
|
-
|
12
|
-
# Library Packages
|
13
|
-
|
14
|
-
* [Blobs](https://github.com/azure/azure-storage-ruby/tree/master/blob)
|
15
|
-
* [Tables](https://github.com/azure/azure-storage-ruby/tree/master/table)
|
16
|
-
* [Queues](https://github.com/azure/azure-storage-ruby/tree/master/queue)
|
17
|
-
* [Files](https://github.com/azure/azure-storage-ruby/tree/master/file)
|
18
|
-
|
19
|
-
Note:
|
20
|
-
|
21
|
-
* x64 Ruby for Windows is known to have some compatibility issues.
|
22
|
-
* Each service gems depends on gem nokogiri. For Ruby version lower than 2.2, please install the compatible nokogiri before trying to install azure-storage.
|
23
|
-
|
24
|
-
# Getting Started for Contributors
|
25
|
-
|
26
|
-
If you would like to become an active contributor to this project please follow the instructions provided in [Azure Projects Contribution Guidelines](http://azure.github.io/guidelines/).
|
27
|
-
You can find more details for contributing in the [CONTRIBUTING.md](CONTRIBUTING.md).
|
28
|
-
|
29
|
-
# Provide Feedback
|
30
|
-
|
31
|
-
If you encounter any bugs with the library please file an issue in the [Issues](https://github.com/Azure/azure-storage-ruby/issues) section of the project.
|
32
|
-
|
33
|
-
# Azure Storage SDKs and Tooling
|
34
|
-
|
35
|
-
* [Azure Storage Client Library for .Net](http://github.com/azure/azure-storage-net)
|
36
|
-
* [Azure Storage Client Library for Java](http://github.com/azure/azure-storage-java)
|
37
|
-
* [Azure Storage Client Library for Node.js](http://github.com/azure/azure-storage-node)
|
38
|
-
* [Azure Storage Client Library for Python](http://github.com/azure/azure-storage-python)
|
39
|
-
* [Azure Storage Client Library for Ruby](http://github.com/azure/azure-storage-ruby)
|
40
|
-
* [Azure Storage Client Library for C++](http://github.com/azure/azure-storage-cpp)
|
41
|
-
* [Azure Storage Client Library for PHP](http://github.com/azure/azure-storage-php)
|
42
|
-
* [Azure Storage Blob Client Library for Go](https://github.com/Azure/azure-storage-blob-go)
|
43
|
-
* [Azure Storage Client Library for iOS](http://github.com/azure/azure-storage-ios)
|
44
|
-
* [Azure Storage Client Library for Android](http://github.com/azure/azure-storage-android)
|
45
|
-
* [Azure Storage Data Movement Library](https://github.com/Azure/azure-storage-net-data-movement)
|
46
|
-
|
47
|
-
# Code of Conduct
|
48
|
-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
@@ -1,216 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
#-------------------------------------------------------------------------
|
4
|
-
# # Copyright (c) Microsoft and contributors. All rights reserved.
|
5
|
-
#
|
6
|
-
# The MIT License(MIT)
|
7
|
-
|
8
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
9
|
-
# of this software and associated documentation files(the "Software"), to deal
|
10
|
-
# in the Software without restriction, including without limitation the rights
|
11
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
|
12
|
-
# copies of the Software, and to permit persons to whom the Software is
|
13
|
-
# furnished to do so, subject to the following conditions :
|
14
|
-
|
15
|
-
# The above copyright notice and this permission notice shall be included in
|
16
|
-
# all copies or substantial portions of the Software.
|
17
|
-
|
18
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
19
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
20
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
21
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
22
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
23
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
24
|
-
# THE SOFTWARE.
|
25
|
-
#--------------------------------------------------------------------------
|
26
|
-
require "rake/testtask"
|
27
|
-
require "rubygems/package_task"
|
28
|
-
require "dotenv/tasks"
|
29
|
-
require "yard"
|
30
|
-
|
31
|
-
task :build_common do
|
32
|
-
Dir.chdir("./common") do
|
33
|
-
abort "[ABORTING] build gem failed" unless system "gem build azure-storage-common.gemspec"
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|
37
|
-
task :build_blob do
|
38
|
-
Dir.chdir("./blob") do
|
39
|
-
abort "[ABORTING] build gem failed" unless system "gem build azure-storage-blob.gemspec"
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
task :build_table do
|
44
|
-
Dir.chdir("./table") do
|
45
|
-
abort "[ABORTING] build gem failed" unless system "gem build azure-storage-table.gemspec"
|
46
|
-
end
|
47
|
-
end
|
48
|
-
|
49
|
-
task :build_file do
|
50
|
-
Dir.chdir("./file") do
|
51
|
-
abort "[ABORTING] build gem failed" unless system "gem build azure-storage-file.gemspec"
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
task :build_queue do
|
56
|
-
Dir.chdir("./queue") do
|
57
|
-
abort "[ABORTING] build gem failed" unless system "gem build azure-storage-queue.gemspec"
|
58
|
-
end
|
59
|
-
end
|
60
|
-
|
61
|
-
YARD::Rake::YardocTask.new do |t|
|
62
|
-
t.files = ["blob/lib/**/*.rb", "table/lib/**/*.rb", "file/lib/**/*.rb", "queue/lib/**/*.rb"]
|
63
|
-
t.options = [""]
|
64
|
-
t.stats_options = ["--list-undoc"]
|
65
|
-
end
|
66
|
-
|
67
|
-
task :publishDoc do
|
68
|
-
desc "Generate documents and publish to GitHub Pages"
|
69
|
-
repo = %x(git config remote.origin.url).gsub(/^git:/, "https:")
|
70
|
-
deploy_branch = "gh-pages"
|
71
|
-
if repo.match(/github\.com\.git$/)
|
72
|
-
deploy_branch = "master"
|
73
|
-
end
|
74
|
-
system "git remote set-url --push origin #{repo}"
|
75
|
-
system "git remote set-branches --add origin #{deploy_branch}"
|
76
|
-
system "git fetch -q"
|
77
|
-
if ("#{ENV['GIT_NAME']}" != "")
|
78
|
-
system "git config user.name '#{ENV['GIT_NAME']}'"
|
79
|
-
end
|
80
|
-
if ("#{ENV['GIT_EMAIL']}" != "")
|
81
|
-
system "git config user.email '#{ENV['GIT_EMAIL']}'"
|
82
|
-
end
|
83
|
-
system 'git config credential.helper "store --file=.git/credentials"'
|
84
|
-
File.open(".git/credentials", "w") do |f|
|
85
|
-
f.write("https://#{ENV['GH_TOKEN']}:x-oauth-basic@github.com")
|
86
|
-
end
|
87
|
-
system "rake yard"
|
88
|
-
system "git checkout gh-pages"
|
89
|
-
system "mv doc/* ./ -f"
|
90
|
-
system "rm doc -rf"
|
91
|
-
system "git add *"
|
92
|
-
system "git commit -m \"update document\""
|
93
|
-
system "git push"
|
94
|
-
system "git checkout master"
|
95
|
-
File.delete ".git/credentials"
|
96
|
-
end
|
97
|
-
|
98
|
-
namespace :test do
|
99
|
-
task require_environment: :dotenv do
|
100
|
-
unset_environment = [
|
101
|
-
ENV.fetch("AZURE_STORAGE_ACCOUNT", nil),
|
102
|
-
ENV.fetch("AZURE_STORAGE_ACCESS_KEY", nil),
|
103
|
-
ENV.fetch("AZURE_STORAGE_CONNECTION_STRING", nil)
|
104
|
-
].include?(nil)
|
105
|
-
|
106
|
-
abort "[ABORTING] Configure your environment to run the integration tests" if unset_environment
|
107
|
-
end
|
108
|
-
|
109
|
-
Rake::TestTask.new :unit do |t|
|
110
|
-
t.pattern = "test/unit/**/*_test.rb"
|
111
|
-
t.verbose = true
|
112
|
-
t.libs = %w(./blob/lib ./table/lib ./queue/lib ./file/lib ./common/lib test)
|
113
|
-
end
|
114
|
-
|
115
|
-
namespace :unit do
|
116
|
-
def component_task(component)
|
117
|
-
Rake::TestTask.new component do |t|
|
118
|
-
t.pattern = "test/unit/#{component}/**/*_test.rb"
|
119
|
-
t.verbose = true
|
120
|
-
t.libs = %w(./blob/lib ./table/lib ./queue/lib ./file/lib ./common/lib test)
|
121
|
-
end
|
122
|
-
end
|
123
|
-
|
124
|
-
component_task :storage
|
125
|
-
end
|
126
|
-
|
127
|
-
Rake::TestTask.new :integration do |t|
|
128
|
-
t.test_files = Dir["test/integration/**/*_test.rb"].reject do |path|
|
129
|
-
path.include?("database")
|
130
|
-
end
|
131
|
-
t.verbose = true
|
132
|
-
t.libs = %w(./blob/lib ./table/lib ./queue/lib ./file/lib ./common/lib test)
|
133
|
-
end
|
134
|
-
|
135
|
-
task integration: :require_environment
|
136
|
-
|
137
|
-
namespace :integration do
|
138
|
-
def component_task(component)
|
139
|
-
Rake::TestTask.new component do |t|
|
140
|
-
t.pattern = "test/integration/#{component}/**/*_test.rb"
|
141
|
-
t.verbose = true
|
142
|
-
t.libs = %w(./blob/lib ./table/lib ./queue/lib ./file/lib ./common/lib test)
|
143
|
-
end
|
144
|
-
|
145
|
-
task component => "test:require_environment"
|
146
|
-
end
|
147
|
-
|
148
|
-
component_task :storage
|
149
|
-
end
|
150
|
-
|
151
|
-
namespace :storage do
|
152
|
-
|
153
|
-
Rake::TestTask.new :unit do |t|
|
154
|
-
t.pattern = "test/unit/storage/**/*_test.rb"
|
155
|
-
t.verbose = true
|
156
|
-
t.libs = %w(./blob/lib ./table/lib ./queue/lib ./file/lib ./common/lib test)
|
157
|
-
end
|
158
|
-
|
159
|
-
task require_storage_env: :dotenv do
|
160
|
-
unset_environment = [
|
161
|
-
ENV.fetch("AZURE_STORAGE_ACCOUNT", nil),
|
162
|
-
ENV.fetch("AZURE_STORAGE_ACCESS_KEY", nil),
|
163
|
-
ENV.fetch("AZURE_STORAGE_CONNECTION_STRING", nil)
|
164
|
-
].include?(nil)
|
165
|
-
|
166
|
-
abort "[ABORTING] Configure your environment to run the storage integration tests" if unset_environment
|
167
|
-
end
|
168
|
-
|
169
|
-
|
170
|
-
Rake::TestTask.new :integration do |t|
|
171
|
-
t.pattern = "test/integration/storage/**/*_test.rb"
|
172
|
-
t.verbose = true
|
173
|
-
t.libs = %w(./blob/lib ./table/lib ./queue/lib ./file/lib ./common/lib test)
|
174
|
-
end
|
175
|
-
|
176
|
-
task integration: :require_storage_env
|
177
|
-
end
|
178
|
-
|
179
|
-
task cleanup: :require_environment do
|
180
|
-
$:.unshift "lib"
|
181
|
-
require "azure/storage"
|
182
|
-
|
183
|
-
Azure.configure do |config|
|
184
|
-
config.access_key = ENV.fetch("AZURE_STORAGE_ACCESS_KEY")
|
185
|
-
config.account_name = ENV.fetch("AZURE_STORAGE_ACCOUNT")
|
186
|
-
end
|
187
|
-
end
|
188
|
-
end
|
189
|
-
|
190
|
-
task test: %w(test:unit test:integration)
|
191
|
-
|
192
|
-
task :sanity_check do
|
193
|
-
abort "[ABORTING] build common gem failed" unless system "rake build_common"
|
194
|
-
abort "[ABORTING] build blob gem failed" unless system "rake build_blob"
|
195
|
-
abort "[ABORTING] build file gem failed" unless system "rake build_file"
|
196
|
-
abort "[ABORTING] build table gem failed" unless system "rake build_table"
|
197
|
-
abort "[ABORTING] build qeueue gem failed" unless system "rake build_queue"
|
198
|
-
Dir.chdir("./common") do
|
199
|
-
abort "[ABORTING] installing common gem failed" unless system "gem install azure-storage-common -l"
|
200
|
-
end
|
201
|
-
Dir.chdir("./blob") do
|
202
|
-
abort "[ABORTING] installing blob gem failed" unless system "gem install azure-storage-blob -l"
|
203
|
-
end
|
204
|
-
Dir.chdir("./table") do
|
205
|
-
abort "[ABORTING] installing table gem failed" unless system "gem install azure-storage-table -l"
|
206
|
-
end
|
207
|
-
Dir.chdir("./queue") do
|
208
|
-
abort "[ABORTING] installing queue gem failed" unless system "gem install azure-storage-queue -l"
|
209
|
-
end
|
210
|
-
Dir.chdir("./file") do
|
211
|
-
abort "[ABORTING] installing file gem failed" unless system "gem install azure-storage-file -l"
|
212
|
-
end
|
213
|
-
abort "[ABORTING] run sanity_check.rb failed" unless system "ruby ./test/sanity_check.rb"
|
214
|
-
end
|
215
|
-
|
216
|
-
task default: :test
|
@@ -1,41 +0,0 @@
|
|
1
|
-
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.8 BLOCK -->
|
2
|
-
|
3
|
-
## Security
|
4
|
-
|
5
|
-
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
|
6
|
-
|
7
|
-
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/opensource/security/definition), please report it to us as described below.
|
8
|
-
|
9
|
-
## Reporting Security Issues
|
10
|
-
|
11
|
-
**Please do not report security vulnerabilities through public GitHub issues.**
|
12
|
-
|
13
|
-
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/opensource/security/create-report).
|
14
|
-
|
15
|
-
If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/opensource/security/pgpkey).
|
16
|
-
|
17
|
-
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://aka.ms/opensource/security/msrc).
|
18
|
-
|
19
|
-
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
|
20
|
-
|
21
|
-
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
|
22
|
-
* Full paths of source file(s) related to the manifestation of the issue
|
23
|
-
* The location of the affected source code (tag/branch/commit or direct URL)
|
24
|
-
* Any special configuration required to reproduce the issue
|
25
|
-
* Step-by-step instructions to reproduce the issue
|
26
|
-
* Proof-of-concept or exploit code (if possible)
|
27
|
-
* Impact of the issue, including how an attacker might exploit the issue
|
28
|
-
|
29
|
-
This information will help us triage your report more quickly.
|
30
|
-
|
31
|
-
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/opensource/security/bounty) page for more details about our active programs.
|
32
|
-
|
33
|
-
## Preferred Languages
|
34
|
-
|
35
|
-
We prefer all communications to be in English.
|
36
|
-
|
37
|
-
## Policy
|
38
|
-
|
39
|
-
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/opensource/security/cvd).
|
40
|
-
|
41
|
-
<!-- END MICROSOFT SECURITY.MD BLOCK -->
|
@@ -1,10 +0,0 @@
|
|
1
|
-
Tracking Breaking Changes in 2.0.0
|
2
|
-
|
3
|
-
* This module now supports Ruby versions to 2.3 through 2.7
|
4
|
-
|
5
|
-
Tracking Breaking Changes in 1.0.0
|
6
|
-
|
7
|
-
* This module now only consists of functionalities to access Azure Storage Blob Service.
|
8
|
-
* Creating Blob Client using `Azure::Storage::Client.create` is now deprecated. To create a Blob client, users have to choose from `Azure::Storage::Blob::BlobService::create`, `Azure::Storage::Blob::BlobService::create_development`, ``Azure::Storage::Blob::BlobService::create_from_env`, `Azure::Storage::Blob::BlobService::create_from_connection_string` or `Azure::Storage::Blob::BlobService.new`. The parameters remain unchanged.
|
9
|
-
* The default `Content-Type` for a newly created page blob or append blob will now be `application/octet-stream`, which matches the description of [REST doc](https://docs.microsoft.com/en-us/rest/api/storageservices/put-blob)
|
10
|
-
* The API "Azure::Storage::Blob::BlobService::create_block_blob" can now upload content that is larger than 256MB instead of reporting failure.
|
@@ -1,33 +0,0 @@
|
|
1
|
-
2021.12 - version 2.0.3
|
2
|
-
* Lifted Ruby-version-based restrictions on Nokogiri version.
|
3
|
-
|
4
|
-
2021.10 - version 2.0.2
|
5
|
-
* Allowed to use any version 1.x of Nokogiri for Ruby version later than or equal to 2.5.0.
|
6
|
-
* Added access tier information and creation time of blob in response.
|
7
|
-
|
8
|
-
2020.8 - version 2.0.1
|
9
|
-
* Bumped up Nokogiri version to 1.11.0.rc2 for Ruby version later than or equal to 2.4.0.
|
10
|
-
|
11
|
-
2020.3 - version 2.0.0
|
12
|
-
* This module now supports Ruby versions to 2.3 through 2.7.
|
13
|
-
* Service version is upgraded to 2018-11-09.
|
14
|
-
* Add support for generating user delegation shared access signatures.
|
15
|
-
|
16
|
-
2018.11 - version 1.1.0
|
17
|
-
* Added the support for sending a request with a bearer token.
|
18
|
-
|
19
|
-
2018.1 - version 1.0.1
|
20
|
-
* Resolved an issue where user cannot use Gem package using `gem install`.
|
21
|
-
|
22
|
-
2018.1 - version 1.0.0
|
23
|
-
|
24
|
-
* This module now only consists of functionalities to access Azure Storage Blob Service.
|
25
|
-
* Creating Blob Client using `Azure::Storage::Client.create` is now deprecated. To create a Blob client, users have to choose from `Azure::Storage::Blob::BlobService::create`, `Azure::Storage::Blob::BlobService::create_development`, ``Azure::Storage::Blob::BlobService::create_from_env`, `Azure::Storage::Blob::BlobService::create_from_connection_string` or `Azure::Storage::Blob::BlobService.new`. The parameters remain unchanged.
|
26
|
-
* Added following convenience APIs to support large payload upload from given content to append or page blob, to make block blob consistent with API name, added an alias for `create_block_blob` as well.
|
27
|
-
- Azure::Storage::Blob::BlobService::create_block_blob_from_content
|
28
|
-
- Azure::Storage::Blob::BlobService::create_page_blob_from_content
|
29
|
-
- Azure::Storage::Blob::BlobService::create_append_blob_from_content
|
30
|
-
* Added the support for `Azure::Storage::Blob::BlobService::create_block_blob` to handle large payload that used to require making multiple `Azure::Storage::Blob::BlobService::put_blob_block` calls and calling `Azure::Storage::Blob::BlobService::commit_blob_blocks`.
|
31
|
-
* The default `Content-Type` for a newly created page blob or append blob will now be `application/octet-stream`, which matches the description of [REST doc](https://docs.microsoft.com/en-us/rest/api/storageservices/put-blob)
|
32
|
-
* Resolved an issue where parsing XML content would sometimes throw unexpected failures.
|
33
|
-
* Resolved an issue where users send "increment" as `:sequence_number_action` option for `Azure::Storage::Blob::BlobService::set_blob_properties` would not be recognized.
|
@@ -1,30 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
#-------------------------------------------------------------------------
|
4
|
-
# # Copyright (c) Microsoft and contributors. All rights reserved.
|
5
|
-
#
|
6
|
-
# The MIT License(MIT)
|
7
|
-
|
8
|
-
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
9
|
-
# of this software and associated documentation files(the "Software"), to deal
|
10
|
-
# in the Software without restriction, including without limitation the rights
|
11
|
-
# to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
|
12
|
-
# copies of the Software, and to permit persons to whom the Software is
|
13
|
-
# furnished to do so, subject to the following conditions :
|
14
|
-
|
15
|
-
# The above copyright notice and this permission notice shall be included in
|
16
|
-
# all copies or substantial portions of the Software.
|
17
|
-
|
18
|
-
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
19
|
-
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
20
|
-
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
|
21
|
-
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
22
|
-
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
23
|
-
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
24
|
-
# THE SOFTWARE.
|
25
|
-
#--------------------------------------------------------------------------
|
26
|
-
source "https://rubygems.org"
|
27
|
-
|
28
|
-
gemspec name: "azure-storage-blob"
|
29
|
-
|
30
|
-
gem "coveralls", require: false
|
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) 2015 Microsoft Corporation
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
all copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
THE SOFTWARE.
|