microsoft_kiota_serialization_json 0.10.0 → 0.18.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/Gemfile +3 -1
- data/Rakefile +2 -2
- data/lib/microsoft_kiota_serialization_json/json_parse_node.rb +12 -7
- data/lib/microsoft_kiota_serialization_json/json_parse_node_factory.rb +2 -0
- data/lib/microsoft_kiota_serialization_json/json_serialization_writer.rb +91 -147
- data/lib/microsoft_kiota_serialization_json/json_serialization_writer_factory.rb +2 -0
- data/lib/microsoft_kiota_serialization_json/version.rb +1 -1
- data/lib/microsoft_kiota_serialization_json.rb +5 -5
- data/microsoft_kiota_serialization_json.gemspec +14 -17
- metadata +24 -51
- data/.github/CODEOWNERS +0 -1
- data/.github/copilot-instructions.md +0 -25
- data/.github/dependabot.yml +0 -12
- data/.github/policies/kiota-serialization-json-ruby-branch-protection.yml +0 -40
- data/.github/policies/resourceManagement.yml +0 -101
- data/.github/release-please.yml +0 -3
- data/.github/workflows/auto-merge-dependabot.yml +0 -33
- data/.github/workflows/code-ql.yml +0 -77
- data/.github/workflows/conflicting-pr-label.yml +0 -39
- data/.github/workflows/release-please-gha.yml +0 -49
- data/.github/workflows/release.yml +0 -36
- data/.github/workflows/ruby.yml +0 -48
- data/.gitignore +0 -58
- data/.release-please-manifest.json +0 -3
- data/CHANGELOG.md +0 -57
- data/CODE_OF_CONDUCT.md +0 -10
- data/CONTRIBUTING.md +0 -56
- data/LICENSE +0 -21
- data/README.md +0 -53
- data/SECURITY.md +0 -41
- data/SUPPORT.md +0 -25
- data/release-please-config.json +0 -15
data/CHANGELOG.md
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
## [0.10.0](https://github.com/microsoft/kiota-serialization-json-ruby/compare/v0.9.2...v0.10.0) (2026-04-23)
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
### Features
|
|
12
|
-
|
|
13
|
-
* upgrade ruby CI matrix to 3.3, 3.4 and 4.0 ([d5cdcbe](https://github.com/microsoft/kiota-serialization-json-ruby/commit/d5cdcbe3cba93c669c0a2070092c223e0fe07ea5))
|
|
14
|
-
* upgrade ruby CI matrix to 3.3, 3.4 and 4.0 ([d3ae6c7](https://github.com/microsoft/kiota-serialization-json-ruby/commit/d3ae6c703a86b90ab65140ef02d9f1ef329c0e6b))
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
### Bug Fixes
|
|
18
|
-
|
|
19
|
-
* update minimum required ruby version to 3.3.0 ([9f270ae](https://github.com/microsoft/kiota-serialization-json-ruby/commit/9f270aeb873d1e420ff766c7de90100753bec8cb))
|
|
20
|
-
* update minimum required ruby version to 3.3.0 ([ec00107](https://github.com/microsoft/kiota-serialization-json-ruby/commit/ec001079bedb0d5c3cd65dedf0ac4b31fe901076))
|
|
21
|
-
|
|
22
|
-
## [Unreleased]
|
|
23
|
-
|
|
24
|
-
### Added
|
|
25
|
-
|
|
26
|
-
### Changed
|
|
27
|
-
|
|
28
|
-
## [0.9.2] - 2025-03-11
|
|
29
|
-
|
|
30
|
-
### Changed
|
|
31
|
-
|
|
32
|
-
- Updated dependencies including JSON.
|
|
33
|
-
|
|
34
|
-
## [0.9.1] - 2023-08-18
|
|
35
|
-
|
|
36
|
-
### Changed
|
|
37
|
-
|
|
38
|
-
- Improve handling of null values (#13)
|
|
39
|
-
|
|
40
|
-
## [0.9.0] - 2023-03-28
|
|
41
|
-
|
|
42
|
-
### Changed
|
|
43
|
-
|
|
44
|
-
- Updated kiota abstractions reference
|
|
45
|
-
- Bumped minimum required ruby version to 3.0.
|
|
46
|
-
|
|
47
|
-
## [0.8.0] - 2023-01-18
|
|
48
|
-
|
|
49
|
-
### Changed
|
|
50
|
-
|
|
51
|
-
- Fixed a version misalignment with abstractions dependencies.
|
|
52
|
-
|
|
53
|
-
## [0.7.0] - 2022-12-30
|
|
54
|
-
|
|
55
|
-
### Added
|
|
56
|
-
|
|
57
|
-
- Initial public release of the package.
|
data/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# Microsoft Open Source Code of Conduct
|
|
2
|
-
|
|
3
|
-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
|
4
|
-
|
|
5
|
-
Resources:
|
|
6
|
-
|
|
7
|
-
- [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/)
|
|
8
|
-
- [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/)
|
|
9
|
-
- Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns
|
|
10
|
-
- Employees can reach out at [aka.ms/opensource/moderation-support](https://aka.ms/opensource/moderation-support)
|
data/CONTRIBUTING.md
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
# Contributing to Kiota Serialization JSON for Ruby
|
|
2
|
-
|
|
3
|
-
This project welcomes contributions and suggestions. Most contributions require you to agree to a
|
|
4
|
-
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
|
|
5
|
-
the rights to use your contribution. For details, visit <https://cla.opensource.microsoft.com>.
|
|
6
|
-
|
|
7
|
-
When you submit a pull request, a CLA bot will automatically determine whether you need to provide
|
|
8
|
-
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
|
|
9
|
-
provided by the bot. You will only need to do this once across all repos using our CLA.
|
|
10
|
-
|
|
11
|
-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
|
12
|
-
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
|
|
13
|
-
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
14
|
-
|
|
15
|
-
## Commit Messages
|
|
16
|
-
|
|
17
|
-
This project uses [Conventional Commits](https://www.conventionalcommits.org/) to automate versioning and changelog generation through [release-please](https://github.com/googleapis/release-please).
|
|
18
|
-
|
|
19
|
-
Every commit merged to `main` **must** follow this format:
|
|
20
|
-
|
|
21
|
-
```
|
|
22
|
-
<type>(<optional scope>): <description>
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
### Types
|
|
26
|
-
|
|
27
|
-
| Type | Description | Version Bump |
|
|
28
|
-
|------|-------------|--------------|
|
|
29
|
-
| `fix` | Bug fix | Patch (`0.9.2` → `0.9.3`) |
|
|
30
|
-
| `feat` | New feature | Minor (`0.9.2` → `0.10.0`) |
|
|
31
|
-
| `feat!`, `fix!`, `refactor!`, etc. | Breaking change (append `!`) | Minor while pre-1.0 (`0.9.2` → `0.10.0`) |
|
|
32
|
-
| `docs` | Documentation only | No release |
|
|
33
|
-
| `chore` | Maintenance tasks | No release |
|
|
34
|
-
| `ci` | CI/CD changes | No release |
|
|
35
|
-
| `test` | Test changes | No release |
|
|
36
|
-
| `refactor` | Code refactoring | No release |
|
|
37
|
-
|
|
38
|
-
### Examples
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
fix: correct content not being set in request information
|
|
42
|
-
feat: add try_add method for request headers
|
|
43
|
-
feat!: bump minimum required ruby version to 3.0
|
|
44
|
-
docs: update README installation instructions
|
|
45
|
-
chore: update dependencies
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Pull Requests
|
|
49
|
-
|
|
50
|
-
When a PR is squash-merged, the PR title becomes the commit message on `main`. Make sure the **PR title** follows the conventional commit format so release-please can categorize it correctly.
|
|
51
|
-
|
|
52
|
-
## Development Setup
|
|
53
|
-
|
|
54
|
-
1. Clone the repository
|
|
55
|
-
2. Run `bundle install` to install dependencies
|
|
56
|
-
3. Run `bundle exec rake` to run linting and tests
|
data/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 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 all
|
|
13
|
-
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 THE
|
|
21
|
-
SOFTWARE
|
data/README.md
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# Kiota Json Serialization Library for Ruby
|
|
2
|
-
|
|
3
|
-

|
|
4
|
-
|
|
5
|
-
The Json Serialization Library for Ruby is the Ruby JSON serialization library implementation.
|
|
6
|
-
|
|
7
|
-
A [Kiota](https://github.com/microsoft/kiota) generated project will need a reference to a json serialization package to handle json payloads from an API endpoint.
|
|
8
|
-
|
|
9
|
-
Read more about Kiota [here](https://github.com/microsoft/kiota/blob/main/README.md).
|
|
10
|
-
|
|
11
|
-
## Using the Serialization JSON Library
|
|
12
|
-
|
|
13
|
-
## Installation
|
|
14
|
-
|
|
15
|
-
Add this line to your application's Gemfile:
|
|
16
|
-
|
|
17
|
-
```ruby
|
|
18
|
-
gem "microsoft_kiota_serialization_json", "0.7.0"
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
And then execute:
|
|
22
|
-
|
|
23
|
-
```shell
|
|
24
|
-
bundle install
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Or install it yourself as:
|
|
28
|
-
|
|
29
|
-
```shell
|
|
30
|
-
gem install microsoft_kiota_serialization_json --version "0.7.0"
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
## Contributing
|
|
34
|
-
|
|
35
|
-
This project welcomes contributions and suggestions. Most contributions require you to agree to a
|
|
36
|
-
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
|
|
37
|
-
the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.
|
|
38
|
-
|
|
39
|
-
When you submit a pull request, a CLA bot will automatically determine whether you need to provide
|
|
40
|
-
a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions
|
|
41
|
-
provided by the bot. You will only need to do this once across all repos using our CLA.
|
|
42
|
-
|
|
43
|
-
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
|
|
44
|
-
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
|
|
45
|
-
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
|
46
|
-
|
|
47
|
-
## Trademarks
|
|
48
|
-
|
|
49
|
-
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft
|
|
50
|
-
trademarks or logos is subject to and must follow
|
|
51
|
-
[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
|
|
52
|
-
Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship.
|
|
53
|
-
Any use of third-party trademarks or logos are subject to those third-party's policies.
|
data/SECURITY.md
DELETED
|
@@ -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 -->
|
data/SUPPORT.md
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# TODO: The maintainer of this repo has not yet edited this file
|
|
2
|
-
|
|
3
|
-
**REPO OWNER**: Do you want Customer Service & Support (CSS) support for this product/project?
|
|
4
|
-
|
|
5
|
-
- **No CSS support:** Fill out this template with information about how to file issues and get help.
|
|
6
|
-
- **Yes CSS support:** Fill out an intake form at [aka.ms/onboardsupport](https://aka.ms/onboardsupport). CSS will work with/help you to determine next steps.
|
|
7
|
-
- **Not sure?** Fill out an intake as though the answer were "Yes". CSS will help you decide.
|
|
8
|
-
|
|
9
|
-
*Then remove this first heading from this SUPPORT.MD file before publishing your repo.*
|
|
10
|
-
|
|
11
|
-
# Support
|
|
12
|
-
|
|
13
|
-
## How to file issues and get help
|
|
14
|
-
|
|
15
|
-
This project uses GitHub Issues to track bugs and feature requests. Please search the existing
|
|
16
|
-
issues before filing new issues to avoid duplicates. For new issues, file your bug or
|
|
17
|
-
feature request as a new Issue.
|
|
18
|
-
|
|
19
|
-
For help and questions about using this project, please **REPO MAINTAINER: INSERT INSTRUCTIONS HERE
|
|
20
|
-
FOR HOW TO ENGAGE REPO OWNERS OR COMMUNITY FOR HELP. COULD BE A STACK OVERFLOW TAG OR OTHER
|
|
21
|
-
CHANNEL. WHERE WILL YOU HELP PEOPLE?**.
|
|
22
|
-
|
|
23
|
-
## Microsoft Support Policy
|
|
24
|
-
|
|
25
|
-
Support for this **PROJECT or PRODUCT** is limited to the resources listed above.
|
data/release-please-config.json
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
|
|
3
|
-
"packages": {
|
|
4
|
-
".": {
|
|
5
|
-
"release-type": "ruby",
|
|
6
|
-
"package-name": "microsoft_kiota_serialization_json",
|
|
7
|
-
"changelog-path": "CHANGELOG.md",
|
|
8
|
-
"include-v-in-tag": true,
|
|
9
|
-
"include-component-in-tag": false,
|
|
10
|
-
"bump-minor-pre-major": true,
|
|
11
|
-
"version-file": "lib/microsoft_kiota_serialization_json/version.rb"
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
"bootstrap-sha": "c9cbd9c12db5e683983b0089c5d2654eb78f02ca"
|
|
15
|
-
}
|