microsoft_kiota_abstractions 0.15.1 → 0.16.0
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 +4 -4
- data/.github/dependabot.yml +6 -2
- data/.github/workflows/auto-merge-dependabot.yml +1 -1
- data/.github/workflows/code-ql.yml +4 -4
- data/.github/workflows/release-please-gha.yml +3 -3
- data/.github/workflows/release.yml +2 -2
- data/.github/workflows/ruby.yml +3 -3
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +8 -0
- data/lib/microsoft_kiota_abstractions/serialization/composed_type_wrapper.rb +4 -0
- data/lib/microsoft_kiota_abstractions/serialization/parse_node_helper.rb +11 -0
- data/lib/microsoft_kiota_abstractions/serialization/serialization_writer.rb +5 -1
- data/lib/microsoft_kiota_abstractions/version.rb +1 -1
- data/lib/microsoft_kiota_abstractions.rb +2 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 24c3328c6c5d94184e20d2244ed7ad1841d48674910d01edb0857ced006d4a0c
|
|
4
|
+
data.tar.gz: c3dff37801f8505068acded22907bc786c22796f5a1362c1c0e2bc75c74881a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7f203b1aba9a545821222491d604abf42dc1435bc1dc5e83fbe30b6481802d2305f6d233a327a04eba5f81cd2fdd8a632fe32425cbffa46576da7f04ce40f1bf
|
|
7
|
+
data.tar.gz: fc1770bee71f0b757dd1406e8bbe941061334374ac161bfa004e17b9333b9a225560951c381dba0c75f8332ada0dd83c1d7be524f2d7f7d215159ba674a51411
|
data/.github/dependabot.yml
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
version: 2
|
|
2
2
|
updates:
|
|
3
3
|
- package-ecosystem: github-actions
|
|
4
|
-
directory:
|
|
4
|
+
directory: /
|
|
5
5
|
schedule:
|
|
6
6
|
interval: daily
|
|
7
7
|
open-pull-requests-limit: 10
|
|
8
|
+
cooldown:
|
|
9
|
+
default-days: 7
|
|
8
10
|
- package-ecosystem: bundler
|
|
9
|
-
directory:
|
|
11
|
+
directory: /
|
|
10
12
|
schedule:
|
|
11
13
|
interval: daily
|
|
12
14
|
open-pull-requests-limit: 10
|
|
15
|
+
cooldown:
|
|
16
|
+
default-days: 7
|
|
@@ -41,11 +41,11 @@ jobs:
|
|
|
41
41
|
|
|
42
42
|
steps:
|
|
43
43
|
- name: Checkout repository
|
|
44
|
-
uses: actions/checkout@
|
|
44
|
+
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
45
45
|
|
|
46
46
|
# Initializes the CodeQL tools for scanning.
|
|
47
47
|
- name: Initialize CodeQL
|
|
48
|
-
uses: github/codeql-action/init@v4
|
|
48
|
+
uses: github/codeql-action/init@5595ccaf912efad79be6eef63a5619ff05969be3 # v4.37.6
|
|
49
49
|
with:
|
|
50
50
|
languages: ${{ matrix.language }}
|
|
51
51
|
# If you wish to specify custom queries, you can do so here or in a config file.
|
|
@@ -59,7 +59,7 @@ jobs:
|
|
|
59
59
|
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
|
|
60
60
|
# If this step fails, then you should remove it and run the build manually (see below)
|
|
61
61
|
- name: Autobuild
|
|
62
|
-
uses: github/codeql-action/autobuild@v4
|
|
62
|
+
uses: github/codeql-action/autobuild@5595ccaf912efad79be6eef63a5619ff05969be3 # v4.37.6
|
|
63
63
|
|
|
64
64
|
# ℹ️ Command-line programs to run using the OS shell.
|
|
65
65
|
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
|
@@ -72,6 +72,6 @@ jobs:
|
|
|
72
72
|
# ./location_of_script_within_repo/buildscript.sh
|
|
73
73
|
|
|
74
74
|
- name: Perform CodeQL Analysis
|
|
75
|
-
uses: github/codeql-action/analyze@v4
|
|
75
|
+
uses: github/codeql-action/analyze@5595ccaf912efad79be6eef63a5619ff05969be3 # v4.37.6
|
|
76
76
|
with:
|
|
77
77
|
category: "/language:${{matrix.language}}"
|
|
@@ -32,17 +32,17 @@ jobs:
|
|
|
32
32
|
if: needs.check-secret.outputs.has-token == 'true'
|
|
33
33
|
runs-on: ubuntu-latest
|
|
34
34
|
steps:
|
|
35
|
-
- uses: actions/checkout@
|
|
35
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
36
36
|
|
|
37
37
|
- name: Generate GitHub App token
|
|
38
38
|
id: app-token
|
|
39
|
-
uses: actions/create-github-app-token@v3
|
|
39
|
+
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
|
|
40
40
|
with:
|
|
41
41
|
client-id: ${{ vars.RELEASE_PLEASE_TOKEN_PROVIDER_APP_ID }}
|
|
42
42
|
private-key: ${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM }}
|
|
43
43
|
|
|
44
44
|
- name: Release Please
|
|
45
|
-
uses: googleapis/release-please-action@v5
|
|
45
|
+
uses: googleapis/release-please-action@45996ed1f6d02564a971a2fa1b5860e934307cf7 # v5.0.0
|
|
46
46
|
with:
|
|
47
47
|
token: ${{ steps.app-token.outputs.token }}
|
|
48
48
|
config-file: release-please-config.json
|
|
@@ -14,10 +14,10 @@ jobs:
|
|
|
14
14
|
name: production_feeds
|
|
15
15
|
runs-on: ubuntu-latest
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
17
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
18
18
|
with:
|
|
19
19
|
ref: ${{ github.ref }}
|
|
20
|
-
- uses: ruby/setup-ruby@v1
|
|
20
|
+
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
21
21
|
with:
|
|
22
22
|
ruby-version: '3.4'
|
|
23
23
|
bundler-cache: true
|
data/.github/workflows/ruby.yml
CHANGED
|
@@ -15,8 +15,8 @@ jobs:
|
|
|
15
15
|
ruby-version: ['3.3', '3.4', '4.0', head, jruby, jruby-head, truffleruby, truffleruby-head]
|
|
16
16
|
runs-on: ${{ matrix.os }}
|
|
17
17
|
steps:
|
|
18
|
-
- uses: actions/checkout@
|
|
19
|
-
- uses: ruby/setup-ruby@v1
|
|
18
|
+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
19
|
+
- uses: ruby/setup-ruby@95ef2b042f9d7a56d8268cba8559e2842e2ad01b # v1.321.0
|
|
20
20
|
with:
|
|
21
21
|
ruby-version: ${{ matrix.ruby-version }}
|
|
22
22
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
@@ -26,7 +26,7 @@ jobs:
|
|
|
26
26
|
run: bundle exec rake
|
|
27
27
|
- name: Upload artifacts for ruby version 3 and ubuntu
|
|
28
28
|
if: ${{ matrix.os == 'ubuntu-latest' && matrix.ruby-version == '3.4'}}
|
|
29
|
-
uses: actions/upload-artifact@v7
|
|
29
|
+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
|
30
30
|
with:
|
|
31
31
|
name: drop
|
|
32
32
|
path: |
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.16.0](https://github.com/microsoft/kiota-abstractions-ruby/compare/v0.15.1...v0.16.0) (2026-08-19)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add composed types support (union/intersection) ([039b8ae](https://github.com/microsoft/kiota-abstractions-ruby/commit/039b8ae312265200a3038d9bdffc8640b8fb5ccb))
|
|
14
|
+
* add composed types support (union/intersection) ([4907000](https://github.com/microsoft/kiota-abstractions-ruby/commit/4907000b2444deeaff227ca6216ab73bd3e9c428))
|
|
15
|
+
|
|
8
16
|
## [0.15.1](https://github.com/microsoft/kiota-abstractions-ruby/compare/v0.15.0...v0.15.1) (2026-04-23)
|
|
9
17
|
|
|
10
18
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
module MicrosoftKiotaAbstractions
|
|
2
|
+
class ParseNodeHelper
|
|
3
|
+
def self.merge_deserializers_for_intersection_wrapper(*targets)
|
|
4
|
+
result = {}
|
|
5
|
+
targets.each do |target|
|
|
6
|
+
result.merge!(target.get_field_deserializers) unless target.nil?
|
|
7
|
+
end
|
|
8
|
+
result
|
|
9
|
+
end
|
|
10
|
+
end
|
|
11
|
+
end
|
|
@@ -22,6 +22,8 @@ require_relative "microsoft_kiota_abstractions/serialization/parse_node_factory_
|
|
|
22
22
|
require_relative "microsoft_kiota_abstractions/serialization/serialization_writer"
|
|
23
23
|
require_relative "microsoft_kiota_abstractions/serialization/serialization_writer_factory"
|
|
24
24
|
require_relative "microsoft_kiota_abstractions/serialization/serialization_writer_factory_registry"
|
|
25
|
+
require_relative "microsoft_kiota_abstractions/serialization/composed_type_wrapper"
|
|
26
|
+
require_relative "microsoft_kiota_abstractions/serialization/parse_node_helper"
|
|
25
27
|
|
|
26
28
|
module MicrosoftKiotaAbstractions
|
|
27
29
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: microsoft_kiota_abstractions
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.16.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Microsoft Corporation
|
|
@@ -131,11 +131,13 @@ files:
|
|
|
131
131
|
- lib/microsoft_kiota_abstractions/request_information.rb
|
|
132
132
|
- lib/microsoft_kiota_abstractions/request_option.rb
|
|
133
133
|
- lib/microsoft_kiota_abstractions/serialization/additional_data_holder.rb
|
|
134
|
+
- lib/microsoft_kiota_abstractions/serialization/composed_type_wrapper.rb
|
|
134
135
|
- lib/microsoft_kiota_abstractions/serialization/iso_duration.rb
|
|
135
136
|
- lib/microsoft_kiota_abstractions/serialization/parsable.rb
|
|
136
137
|
- lib/microsoft_kiota_abstractions/serialization/parse_node.rb
|
|
137
138
|
- lib/microsoft_kiota_abstractions/serialization/parse_node_factory.rb
|
|
138
139
|
- lib/microsoft_kiota_abstractions/serialization/parse_node_factory_registry.rb
|
|
140
|
+
- lib/microsoft_kiota_abstractions/serialization/parse_node_helper.rb
|
|
139
141
|
- lib/microsoft_kiota_abstractions/serialization/serialization_writer.rb
|
|
140
142
|
- lib/microsoft_kiota_abstractions/serialization/serialization_writer_factory.rb
|
|
141
143
|
- lib/microsoft_kiota_abstractions/serialization/serialization_writer_factory_registry.rb
|