microsoft_graph_core 0.3.0 → 0.3.2
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/CODEOWNERS +1 -1
- data/.github/policies/msgraph-sdk-ruby-core-branch-protection.yml +44 -0
- data/.github/workflows/auto-merge-dependabot.yml +1 -1
- data/.github/workflows/code-ql.yml +6 -6
- data/.github/workflows/projectsbot.yml +1 -1
- data/.github/workflows/release.yml +3 -3
- data/.github/workflows/ruby.yml +2 -2
- data/CHANGELOG.md +12 -0
- data/lib/microsoft_graph_core/version_information.rb +1 -1
- data/microsoft_graph_core.gemspec +4 -4
- metadata +18 -29
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 1282808355f55be9074e7b55825b24e01c6ca50482dd8d54774b8f9f2f1f2e9f
         | 
| 4 | 
            +
              data.tar.gz: 56eced3ecde442173001dfc0badb06b34dbd19d9dc9bac9aca076f65052790f3
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 1b464290ea859a080f620eabfb23f1c98137aecec688375d28d0a28161d5a66c63ce9ab3fa8e3301430db9ff6b7116af27fdb4473c4baaf99ba0110da48b2aeb
         | 
| 7 | 
            +
              data.tar.gz: 9f397fbfc6531c57d236945a300d23d85dc37324902102f9c99b1f13371bfd621fe4646de83cecdc317c2b31c8c02f5dfb6d84a798743c665ce580a229ff4319
         | 
    
        data/.github/CODEOWNERS
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            * @ | 
| 1 | 
            +
            * @microsoftgraph/msgraph-devx-ruby-write
         | 
| @@ -0,0 +1,44 @@ | |
| 1 | 
            +
            # Copyright (c) Microsoft Corporation.
         | 
| 2 | 
            +
            # Licensed under the MIT License.
         | 
| 3 | 
            +
             | 
| 4 | 
            +
            # File initially created using https://github.com/MIchaelMainer/policyservicetoolkit/blob/main/branch_protection_export.ps1.
         | 
| 5 | 
            +
             | 
| 6 | 
            +
            name: msgraph-sdk-ruby-core-branch-protection
         | 
| 7 | 
            +
            description: Branch protection policy for the msgraph-sdk-ruby-core repository
         | 
| 8 | 
            +
            resource: repository
         | 
| 9 | 
            +
            configuration:
         | 
| 10 | 
            +
              branchProtectionRules:
         | 
| 11 | 
            +
             | 
| 12 | 
            +
                - branchNamePattern: main
         | 
| 13 | 
            +
                  # This branch pattern applies to the following branches as of 08/14/2023 15:30:57:
         | 
| 14 | 
            +
                  # main
         | 
| 15 | 
            +
             | 
| 16 | 
            +
                  # Specifies whether this branch can be deleted. boolean
         | 
| 17 | 
            +
                  allowsDeletions: false
         | 
| 18 | 
            +
                  # Specifies whether forced pushes are allowed on this branch. boolean
         | 
| 19 | 
            +
                  allowsForcePushes: false
         | 
| 20 | 
            +
                  # Specifies whether new commits pushed to the matching branches dismiss pull request review approvals. boolean
         | 
| 21 | 
            +
                  dismissStaleReviews: true
         | 
| 22 | 
            +
                  # Specifies whether admins can overwrite branch protection. boolean
         | 
| 23 | 
            +
                  isAdminEnforced: false
         | 
| 24 | 
            +
                  # Indicates whether "Require a pull request before merging" is enabled. boolean
         | 
| 25 | 
            +
                  requiresPullRequestBeforeMerging: true
         | 
| 26 | 
            +
                  # Specifies the number of pull request reviews before merging. int (0-6). Should be null/empty if PRs are not required
         | 
| 27 | 
            +
                  requiredApprovingReviewsCount: 1
         | 
| 28 | 
            +
                  # Require review from Code Owners. Requires requiredApprovingReviewsCount. boolean
         | 
| 29 | 
            +
                  requireCodeOwnersReview: true
         | 
| 30 | 
            +
                  # Are commits required to be signed. boolean. TODO: all contributors must have commit signing on local machines.
         | 
| 31 | 
            +
                  requiresCommitSignatures: false
         | 
| 32 | 
            +
                  # Are conversations required to be resolved before merging? boolean
         | 
| 33 | 
            +
                  requiresConversationResolution: true
         | 
| 34 | 
            +
                  # Are merge commits prohibited from being pushed to this branch. boolean
         | 
| 35 | 
            +
                  requiresLinearHistory: false
         | 
| 36 | 
            +
                  # Required status checks to pass before merging. Values can be any string, but if the value does not correspond to any existing status check, the status check will be stuck on pending for status since nothing exists to push an actual status
         | 
| 37 | 
            +
                  requiredStatusChecks:
         | 
| 38 | 
            +
                  - CodeQL
         | 
| 39 | 
            +
                  # Require branches to be up to date before merging. Requires requiredStatusChecks. boolean
         | 
| 40 | 
            +
                  requiresStrictStatusChecks: true
         | 
| 41 | 
            +
                  # Indicates whether there are restrictions on who can push. boolean. Should be set with whoCanPush.
         | 
| 42 | 
            +
                  restrictsPushes: false
         | 
| 43 | 
            +
                  # Restrict who can dismiss pull request reviews. boolean
         | 
| 44 | 
            +
                  restrictsReviewDismissals: false
         | 
| @@ -13,10 +13,10 @@ name: "CodeQL" | |
| 13 13 |  | 
| 14 14 | 
             
            on:
         | 
| 15 15 | 
             
              push:
         | 
| 16 | 
            -
                branches: [  | 
| 16 | 
            +
                branches: [ main ]
         | 
| 17 17 | 
             
              pull_request:
         | 
| 18 18 | 
             
                # The branches below must be a subset of the branches above
         | 
| 19 | 
            -
                branches: [  | 
| 19 | 
            +
                branches: [ main ]
         | 
| 20 20 | 
             
              schedule:
         | 
| 21 21 | 
             
                - cron: '41 2 * * 0'
         | 
| 22 22 |  | 
| @@ -40,11 +40,11 @@ jobs: | |
| 40 40 |  | 
| 41 41 | 
             
                steps:
         | 
| 42 42 | 
             
                - name: Checkout repository
         | 
| 43 | 
            -
                  uses: actions/checkout@ | 
| 43 | 
            +
                  uses: actions/checkout@v4
         | 
| 44 44 |  | 
| 45 45 | 
             
                # Initializes the CodeQL tools for scanning.
         | 
| 46 46 | 
             
                - name: Initialize CodeQL
         | 
| 47 | 
            -
                  uses: github/codeql-action/init@ | 
| 47 | 
            +
                  uses: github/codeql-action/init@v3
         | 
| 48 48 | 
             
                  with:
         | 
| 49 49 | 
             
                    languages: ${{ matrix.language }}
         | 
| 50 50 | 
             
                    # If you wish to specify custom queries, you can do so here or in a config file.
         | 
| @@ -58,7 +58,7 @@ jobs: | |
| 58 58 | 
             
                # Autobuild attempts to build any compiled languages  (C/C++, C#, Go, or Java).
         | 
| 59 59 | 
             
                # If this step fails, then you should remove it and run the build manually (see below)
         | 
| 60 60 | 
             
                - name: Autobuild
         | 
| 61 | 
            -
                  uses: github/codeql-action/autobuild@ | 
| 61 | 
            +
                  uses: github/codeql-action/autobuild@v3
         | 
| 62 62 |  | 
| 63 63 | 
             
                # ℹ️ Command-line programs to run using the OS shell.
         | 
| 64 64 | 
             
                # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
         | 
| @@ -71,6 +71,6 @@ jobs: | |
| 71 71 | 
             
                #   ./location_of_script_within_repo/buildscript.sh
         | 
| 72 72 |  | 
| 73 73 | 
             
                - name: Perform CodeQL Analysis
         | 
| 74 | 
            -
                  uses: github/codeql-action/analyze@ | 
| 74 | 
            +
                  uses: github/codeql-action/analyze@v3
         | 
| 75 75 | 
             
                  with:
         | 
| 76 76 | 
             
                    category: "/language:${{matrix.language}}"
         | 
| @@ -10,7 +10,7 @@ jobs: | |
| 10 10 | 
             
                steps:
         | 
| 11 11 | 
             
                  - name: Generate token
         | 
| 12 12 | 
             
                    id: generate_token
         | 
| 13 | 
            -
                    uses: tibdex/github-app-token@ | 
| 13 | 
            +
                    uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a
         | 
| 14 14 | 
             
                    with:
         | 
| 15 15 | 
             
                      app_id: ${{ secrets.GRAPHBOT_APP_ID }}
         | 
| 16 16 | 
             
                      private_key: ${{ secrets.GRAPHBOT_APP_PEM }}
         | 
| @@ -10,9 +10,9 @@ jobs: | |
| 10 10 | 
             
              Git_Release:
         | 
| 11 11 | 
             
                runs-on: ubuntu-latest
         | 
| 12 12 | 
             
                steps:
         | 
| 13 | 
            -
                  - uses: actions/checkout@ | 
| 13 | 
            +
                  - uses: actions/checkout@v4
         | 
| 14 14 | 
             
                  - name: Github Release
         | 
| 15 | 
            -
                    uses: anton-yurchenko/git-release@ | 
| 15 | 
            +
                    uses: anton-yurchenko/git-release@v6.0
         | 
| 16 16 | 
             
                    env:
         | 
| 17 17 | 
             
                      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN}}
         | 
| 18 18 | 
             
                      DRAFT_RELEASE: "false"
         | 
| @@ -25,7 +25,7 @@ jobs: | |
| 25 25 | 
             
                  name: production_feeds
         | 
| 26 26 | 
             
                runs-on: ubuntu-latest
         | 
| 27 27 | 
             
                steps:
         | 
| 28 | 
            -
                  - uses: actions/checkout@ | 
| 28 | 
            +
                  - uses: actions/checkout@v4
         | 
| 29 29 | 
             
                  - uses: ruby/setup-ruby@v1
         | 
| 30 30 | 
             
                    with:
         | 
| 31 31 | 
             
                      ruby-version: '3.2'
         | 
    
        data/.github/workflows/ruby.yml
    CHANGED
    
    | @@ -15,7 +15,7 @@ jobs: | |
| 15 15 | 
             
                    ruby-version: ['3.0', '3.1', '3.2', head, jruby, jruby-head, truffleruby, truffleruby-head]
         | 
| 16 16 | 
             
                runs-on: ${{ matrix.os }}
         | 
| 17 17 | 
             
                steps:
         | 
| 18 | 
            -
                  - uses: actions/checkout@ | 
| 18 | 
            +
                  - uses: actions/checkout@v4
         | 
| 19 19 | 
             
                  - uses: ruby/setup-ruby@v1
         | 
| 20 20 | 
             
                    with:
         | 
| 21 21 | 
             
                      ruby-version: ${{ matrix.ruby-version }}
         | 
| @@ -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.2'}}
         | 
| 29 | 
            -
                    uses: actions/upload-artifact@ | 
| 29 | 
            +
                    uses: actions/upload-artifact@v4
         | 
| 30 30 | 
             
                    with:
         | 
| 31 31 | 
             
                      name: drop
         | 
| 32 32 | 
             
                      path: |
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -11,6 +11,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
| 11 11 |  | 
| 12 12 | 
             
            ### Changed
         | 
| 13 13 |  | 
| 14 | 
            +
            ## [0.3.2] - 2024-02-16
         | 
| 15 | 
            +
             | 
| 16 | 
            +
            ### Changed
         | 
| 17 | 
            +
             | 
| 18 | 
            +
            - Aligns kiota dependencies versions.
         | 
| 19 | 
            +
             | 
| 20 | 
            +
            ## [0.3.1] - 2023-03-28
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            ### Changed
         | 
| 23 | 
            +
             | 
| 24 | 
            +
            - Versions reference patch
         | 
| 25 | 
            +
             | 
| 14 26 | 
             
            ## [0.3.0] - 2023-03-28
         | 
| 15 27 |  | 
| 16 28 | 
             
            ### Changed
         | 
| @@ -31,10 +31,10 @@ Gem::Specification.new do |spec| | |
| 31 31 | 
             
              spec.executables   = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
         | 
| 32 32 | 
             
              spec.require_paths = ["lib"]
         | 
| 33 33 |  | 
| 34 | 
            -
              spec.add_runtime_dependency 'microsoft_kiota_abstractions', ' | 
| 35 | 
            -
              spec.add_runtime_dependency 'microsoft_kiota_faraday', '>= 0. | 
| 36 | 
            -
              spec.add_runtime_dependency 'microsoft_kiota_serialization_json', '~> 0. | 
| 37 | 
            -
              spec.add_runtime_dependency 'microsoft_kiota_authentication_oauth', ' | 
| 34 | 
            +
              spec.add_runtime_dependency 'microsoft_kiota_abstractions', '~> 0.14.0'
         | 
| 35 | 
            +
              spec.add_runtime_dependency 'microsoft_kiota_faraday', '>= 0.12', '< 0.15'
         | 
| 36 | 
            +
              spec.add_runtime_dependency 'microsoft_kiota_serialization_json', '~> 0.9.0'
         | 
| 37 | 
            +
              spec.add_runtime_dependency 'microsoft_kiota_authentication_oauth', '~> 0.8.0'
         | 
| 38 38 | 
             
              spec.add_development_dependency 'rake', '~> 13.0'
         | 
| 39 39 | 
             
              spec.add_development_dependency "rspec", "~> 3.0"
         | 
| 40 40 | 
             
            end
         | 
    
        metadata
    CHANGED
    
    | @@ -1,89 +1,77 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: microsoft_graph_core
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 0.3. | 
| 4 | 
            +
              version: 0.3.2
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Microsoft Corporation
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: bin
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date:  | 
| 11 | 
            +
            date: 2024-02-16 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: microsoft_kiota_abstractions
         | 
| 15 15 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 16 16 | 
             
                requirements:
         | 
| 17 | 
            -
                - - " | 
| 18 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 19 | 
            -
                    version: '0.13'
         | 
| 20 | 
            -
                - - "<"
         | 
| 17 | 
            +
                - - "~>"
         | 
| 21 18 | 
             
                  - !ruby/object:Gem::Version
         | 
| 22 | 
            -
                    version:  | 
| 19 | 
            +
                    version: 0.14.0
         | 
| 23 20 | 
             
              type: :runtime
         | 
| 24 21 | 
             
              prerelease: false
         | 
| 25 22 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 26 23 | 
             
                requirements:
         | 
| 27 | 
            -
                - - " | 
| 28 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 29 | 
            -
                    version: '0.13'
         | 
| 30 | 
            -
                - - "<"
         | 
| 24 | 
            +
                - - "~>"
         | 
| 31 25 | 
             
                  - !ruby/object:Gem::Version
         | 
| 32 | 
            -
                    version:  | 
| 26 | 
            +
                    version: 0.14.0
         | 
| 33 27 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 34 28 | 
             
              name: microsoft_kiota_faraday
         | 
| 35 29 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 36 30 | 
             
                requirements:
         | 
| 37 31 | 
             
                - - ">="
         | 
| 38 32 | 
             
                  - !ruby/object:Gem::Version
         | 
| 39 | 
            -
                    version: '0. | 
| 33 | 
            +
                    version: '0.12'
         | 
| 40 34 | 
             
                - - "<"
         | 
| 41 35 | 
             
                  - !ruby/object:Gem::Version
         | 
| 42 | 
            -
                    version: '0. | 
| 36 | 
            +
                    version: '0.15'
         | 
| 43 37 | 
             
              type: :runtime
         | 
| 44 38 | 
             
              prerelease: false
         | 
| 45 39 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 46 40 | 
             
                requirements:
         | 
| 47 41 | 
             
                - - ">="
         | 
| 48 42 | 
             
                  - !ruby/object:Gem::Version
         | 
| 49 | 
            -
                    version: '0. | 
| 43 | 
            +
                    version: '0.12'
         | 
| 50 44 | 
             
                - - "<"
         | 
| 51 45 | 
             
                  - !ruby/object:Gem::Version
         | 
| 52 | 
            -
                    version: '0. | 
| 46 | 
            +
                    version: '0.15'
         | 
| 53 47 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 54 48 | 
             
              name: microsoft_kiota_serialization_json
         | 
| 55 49 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 56 50 | 
             
                requirements:
         | 
| 57 51 | 
             
                - - "~>"
         | 
| 58 52 | 
             
                  - !ruby/object:Gem::Version
         | 
| 59 | 
            -
                    version: 0. | 
| 53 | 
            +
                    version: 0.9.0
         | 
| 60 54 | 
             
              type: :runtime
         | 
| 61 55 | 
             
              prerelease: false
         | 
| 62 56 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 63 57 | 
             
                requirements:
         | 
| 64 58 | 
             
                - - "~>"
         | 
| 65 59 | 
             
                  - !ruby/object:Gem::Version
         | 
| 66 | 
            -
                    version: 0. | 
| 60 | 
            +
                    version: 0.9.0
         | 
| 67 61 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 68 62 | 
             
              name: microsoft_kiota_authentication_oauth
         | 
| 69 63 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| 70 64 | 
             
                requirements:
         | 
| 71 | 
            -
                - - " | 
| 72 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 73 | 
            -
                    version: '0.7'
         | 
| 74 | 
            -
                - - "<"
         | 
| 65 | 
            +
                - - "~>"
         | 
| 75 66 | 
             
                  - !ruby/object:Gem::Version
         | 
| 76 | 
            -
                    version:  | 
| 67 | 
            +
                    version: 0.8.0
         | 
| 77 68 | 
             
              type: :runtime
         | 
| 78 69 | 
             
              prerelease: false
         | 
| 79 70 | 
             
              version_requirements: !ruby/object:Gem::Requirement
         | 
| 80 71 | 
             
                requirements:
         | 
| 81 | 
            -
                - - " | 
| 82 | 
            -
                  - !ruby/object:Gem::Version
         | 
| 83 | 
            -
                    version: '0.7'
         | 
| 84 | 
            -
                - - "<"
         | 
| 72 | 
            +
                - - "~>"
         | 
| 85 73 | 
             
                  - !ruby/object:Gem::Version
         | 
| 86 | 
            -
                    version:  | 
| 74 | 
            +
                    version: 0.8.0
         | 
| 87 75 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 88 76 | 
             
              name: rake
         | 
| 89 77 | 
             
              requirement: !ruby/object:Gem::Requirement
         | 
| @@ -121,6 +109,7 @@ extra_rdoc_files: [] | |
| 121 109 | 
             
            files:
         | 
| 122 110 | 
             
            - ".github/CODEOWNERS"
         | 
| 123 111 | 
             
            - ".github/dependabot.yml"
         | 
| 112 | 
            +
            - ".github/policies/msgraph-sdk-ruby-core-branch-protection.yml"
         | 
| 124 113 | 
             
            - ".github/workflows/auto-merge-dependabot.yml"
         | 
| 125 114 | 
             
            - ".github/workflows/code-ql.yml"
         | 
| 126 115 | 
             
            - ".github/workflows/conflicting-pr-label.yml"
         | 
| @@ -171,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement | |
| 171 160 | 
             
                - !ruby/object:Gem::Version
         | 
| 172 161 | 
             
                  version: '0'
         | 
| 173 162 | 
             
            requirements: []
         | 
| 174 | 
            -
            rubygems_version: 3.4. | 
| 163 | 
            +
            rubygems_version: 3.4.19
         | 
| 175 164 | 
             
            signing_key: 
         | 
| 176 165 | 
             
            specification_version: 4
         | 
| 177 166 | 
             
            summary: Ruby SDK for Microsoft Graph
         |