microsoft_kiota_faraday 0.10.0 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e514898a835bd6eb929491edc1abec7a52702122ac4a6d823c29383acfb7d9c6
4
- data.tar.gz: da8a13c364989a1448c2dfe2585593a6bd675f9d88d9285ace41b01c026ce73a
3
+ metadata.gz: 78b9949aca03b66bf9410b97c72cbbc38b7ca95ca7b862cbf71e43215c5a669c
4
+ data.tar.gz: 62e37484c620d4a2522c2f98a88724c646368fcfb667ea90ce68c7fccbe710a1
5
5
  SHA512:
6
- metadata.gz: 65b2065a01457875ecc0a1ed1a5de4ee4cf1b8232e4afcef7adadf8d26edb9d594008000572e919f4414de76c2e2f93db7ade0685e41f472950c1a21251264d6
7
- data.tar.gz: 1f4b4b82f786a214c5ae148f6fbec70d91e22070572622bbb02fe10dfe32801209e2e6aab3f2b50b55b2f6e4275106aa8537a34b5a82949ee1881a4fb3502a68
6
+ metadata.gz: 78c847e4fd5b9f8392b49d3dcf9f02e75943d6399be46037b5747f0df6cc6885d9dd5642bbb27d268b949e16c7e8b7a46446f94a55aee142fbd17b4d8239a684
7
+ data.tar.gz: '099a13bda01cf06d64c10e77bbd7d04086151aedee682499e23221e249c697e180b5ae8a64994abdcd223829def2b139bb7a4ad2fc2a9c5b465a6a1e0e5a81fb'
@@ -13,10 +13,10 @@ name: "CodeQL"
13
13
 
14
14
  on:
15
15
  push:
16
- branches: [ "master", main ]
16
+ branches: [ main ]
17
17
  pull_request:
18
18
  # The branches below must be a subset of the branches above
19
- branches: [ "master" ]
19
+ branches: [ main ]
20
20
  schedule:
21
21
  - cron: '41 2 * * 0'
22
22
 
data/CHANGELOG.md CHANGED
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
11
11
 
12
12
  ### Changed
13
13
 
14
+ ## [0.11.0] - 2023-01-10
15
+
16
+ ### Added
17
+
18
+ - Added a method to convert abstract requests to native requests in the request adapter interface.
19
+
14
20
  ## [0.10.0] - 2023-01-06
15
21
 
16
22
  ### Added
data/README.md CHANGED
@@ -13,7 +13,7 @@ Read more about Kiota [here](https://github.com/microsoft/kiota/blob/main/README
13
13
  Add this line to your application's Gemfile:
14
14
 
15
15
  ```ruby
16
- gem "microsoft_kiota_http", "0.9.0"
16
+ gem "microsoft_kiota_http", "0.11.0"
17
17
  ```
18
18
 
19
19
  And then execute:
@@ -25,7 +25,7 @@ bundle install
25
25
  Or install it yourself as:
26
26
 
27
27
  ```shell
28
- gem install microsoft_kiota_http --version "0.9.0"
28
+ gem install microsoft_kiota_http --version "0.11.0"
29
29
  ```
30
30
 
31
31
  ## Contributing
@@ -147,5 +147,13 @@ module MicrosoftKiotaFaraday
147
147
  end
148
148
  end
149
149
 
150
+ def convert_to_native_request_async(request_info)
151
+ raise StandardError, 'request_info cannot be null' unless request_info
152
+ return Fiber.new do
153
+ @authentication_provider.authenticate_request(request_info).resume
154
+ return self.get_request_from_request_info(request_info)
155
+ end
156
+ end
157
+
150
158
  end
151
159
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MicrosoftKiotaFaraday
4
- VERSION = '0.10.0'
4
+ VERSION = '0.11.0'
5
5
  end
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.bindir = 'bin'
29
29
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
30
30
  spec.require_paths = ['lib']
31
- spec.add_runtime_dependency 'microsoft_kiota_abstractions', '~> 0.12.0', '>= 0.12.0'
31
+ spec.add_runtime_dependency 'microsoft_kiota_abstractions', '~> 0.13.0', '>= 0.13.0'
32
32
  spec.add_runtime_dependency 'faraday', '~> 2.7', '>= 2.7.2'
33
33
  spec.add_development_dependency 'rake', '~> 13.0'
34
34
  spec.add_development_dependency 'rspec', '~> 3.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: microsoft_kiota_faraday
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Microsoft Corporation
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-09 00:00:00.000000000 Z
11
+ date: 2023-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: microsoft_kiota_abstractions
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.13.0
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.12.0
22
+ version: 0.13.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - "~>"
28
28
  - !ruby/object:Gem::Version
29
- version: 0.12.0
29
+ version: 0.13.0
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 0.12.0
32
+ version: 0.13.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: faraday
35
35
  requirement: !ruby/object:Gem::Requirement