ms_rest2 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 68c785111bd3857c11a5b6eda1ab1ba93ee75192ce1af3d93b14cd5e7a35605e
4
+ data.tar.gz: 1904535d2f5c03fcd49e112c9161daf6f188eeb325b08f2edeef5a76937cdf7f
5
+ SHA512:
6
+ metadata.gz: 2253b4b3dae05b9896c57ed2cad7f86e020a346a670ef74c55697c01882b89fe504191796419be8882c0316320b27f01d798bc3021236a38aae7273b52189235
7
+ data.tar.gz: e702dda45e5bbde9f5e98f79d984d561b2cc6d45df7e319e33421649daefc9c35889244d86a66ae334bcf24ee82fa532fc581be08ad0cb834592df5dffc30395
data/CHANGELOG.md ADDED
@@ -0,0 +1,52 @@
1
+ ##2020.03.05 ms_rest version 0.7.6
2
+ * [Enhancement] Update faraday version to allow 1.0.0.
3
+
4
+ ##2019.12.02 ms_rest version 0.7.5
5
+ * [Bug Fix] Support serializing TimeSpan type properly
6
+
7
+ ##2019.05.15 ms_rest version 0.7.4
8
+ * [Bug Fix] Fix timeliness version to 0.3.10 to fix the issue with parse method.
9
+
10
+ ##2018.09.25 ms_rest version 0.7.3
11
+ * [Enhancement] Added code to check for service response and retry if the code is 429 and retry header is provided. Refer [PR #1694](https://github.com/Azure/azure-sdk-for-ruby/pull/1694) for more details.
12
+
13
+ ##2017.11.10 ms_rest version 0.7.2
14
+ * [Enhancement] Added code to check & validate the constraints on the model. Refer [PR #1119](https://github.com/Azure/azure-sdk-for-ruby/pull/1119/files) for more details.
15
+
16
+ ##2017.07.27 ms_rest version 0.7.1
17
+ * [Bug Fix] Modified to_json logic in JSONable module to handle 'mapper' & 'object' options.[PR #860](https://github.com/Azure/azure-sdk-for-ruby/pull/860)
18
+
19
+ ##2017.06.30 ms_rest version 0.7.0
20
+ * [Breaking Change] Refactored serialization & deserialization logic to remove client from the process.[Issue #610](https://github.com/Azure/azure-sdk-for-ruby/issues/610) [PR #799](https://github.com/Azure/azure-sdk-for-ruby/pull/799)
21
+
22
+ ##2017.04.04 ms_rest version 0.6.4
23
+ * Bug fix to handle new faraday version. [Issue #182](https://github.com/Azure/vagrant-azure/issues/182)
24
+
25
+ ##2017.02.06 ms_rest version 0.6.3
26
+ * Adding JSONable mixin module to provide simple serialization / deserialization [PR #599](https://github.com/Azure/azure-sdk-for-ruby/pull/599)
27
+ * Making credentials optional parameter for MsRest::ServiceClient [PR #626](https://github.com/Azure/azure-sdk-for-ruby/pull/626)
28
+ * Bug fix while building path to handle double // [Issue #693](https://github.com/Azure/azure-sdk-for-ruby/issues/639) [PR #640](https://github.com/Azure/azure-sdk-for-ruby/pull/640)
29
+
30
+ ##2016.11.14 ms_rest version 0.6.2
31
+ * Missing default ca-cert for providing ssl options [#580](https://github.com/Azure/azure-sdk-for-ruby/issues/580)
32
+
33
+ ##2016.11.11 ms_rest version 0.6.1
34
+ * Adding telemetry extension point into ServiceClient [#543](https://github.com/Azure/azure-sdk-for-ruby/pull/543)
35
+ * Removing explicit json dependency [#523](https://github.com/Azure/azure-sdk-for-ruby/pull/523)
36
+
37
+ ##2016.10.05 ms_rest version 0.6.0
38
+ * Minimum supported Ruby version is 2.0.0 [#1463](https://github.com/Azure/autorest/pull/1463)
39
+ * Implemented generic request method for ServiceClient [#1447](https://github.com/Azure/autorest/pull/1447)
40
+ * Bug fix for merging query parameters [#1443](https://github.com/Azure/autorest/pull/1443)
41
+
42
+ ##2016.09.15 ms_rest version 0.5.0
43
+ * Bundling default ca-cert and exposing method for providing ssl options
44
+
45
+ ##2016.08.10 ms_rest version 0.4.0
46
+ * Modulerizing serialization class from ms_rest to be inherited by azure serializer module
47
+
48
+ ##2016.07.21 ms_rest version 0.3.1
49
+ * [Bug fixes](https://github.com/Azure/autorest/commit/ede944a1fa30a7453aa30e6fa79154dc43393cdf)
50
+
51
+ ##2016.07.14 ms_rest version 0.3.0
52
+ * Moving serialization/deserializaiton code from sdk models to client runtime. [#1106](https://github.com/Azure/autorest/pull/1106)
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
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.
data/README.md ADDED
@@ -0,0 +1,67 @@
1
+ # Intro
2
+
3
+ MsRest is a library which supports the clients (SDKs) generated with Autorest tool. It contains core logic and helper classes for error handling and authentication. Usually it is not supposed to be used as a standalone gem but only as a dependency for generated client gems.
4
+
5
+ # Supported Ruby Versions
6
+
7
+ * Ruby 2.0
8
+ * Ruby 2.1
9
+ * Ruby 2.2
10
+
11
+ Note: x64 Ruby for Windows is known to have some compatibility issues.
12
+
13
+ # Installation
14
+
15
+ install the appropriate gem:
16
+
17
+ ```
18
+ gem install ms_rest
19
+ ```
20
+
21
+ and reference it in your code:
22
+
23
+ ```Ruby
24
+ require 'ms_rest'
25
+ ```
26
+ ---
27
+ If you encounter `Faraday::SSLError` like below
28
+ ```Ruby
29
+ Faraday::SSLError:
30
+ SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
31
+ ```
32
+ that implies that ruby's OpenSSL was unable to verify the peer certificate while establihsing an SSL connection. You can provide Faraday ssl options or opt-in to use already bundled certificate using
33
+ ```Ruby
34
+ MsRest.use_ssl_cert
35
+ ```
36
+ ---
37
+
38
+ # Running tests
39
+
40
+ MsRest has only unit tests which doesn't require any preparation, just run 'rspec' command from the gem directory.
41
+
42
+ # Contribution
43
+
44
+ To start working on the gem the only additional dev dependency is required - rspec. After you've added a new feature and all specs pass - you're good to go with PR. But before starting any bug/feature - please make sure you've thoroughly discussed it with repository maintainers. This gem already powers a few SDKs and backward compatibility should taken in account.
45
+
46
+ # Adding gem to you generated SDK
47
+
48
+ Reference it in the gemfile and also add this line to your client's gemspec file:
49
+
50
+ ```ruby
51
+ spec.add_runtime_dependency 'ms_rest', '~> 0.7.3'
52
+ ```
53
+ Don't forget to correct the version.
54
+
55
+ # Utilizing Telemetry Extension in your SDK
56
+
57
+ We encourage the customer of ms_rest library to provide information about their product sent via telemetry extension point as below:
58
+
59
+ ```ruby
60
+ additional_user_agent_information = 'fog-azure-rm/0.2.0' # Refer https://github.com/Azure/azure-sdk-for-ruby/issues/517 for more info.
61
+ service_client.add_user_agent_information(additional_user_agent_information)
62
+ ```
63
+
64
+
65
+ # Provide feedback
66
+
67
+ Send email to the azsdkteam@microsoft.com or file new issue in this repository.