microsoft_kiota_abstractions 0.14.0 → 0.14.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/policies/resourceManagement.yml +101 -0
- data/.github/workflows/auto-merge-dependabot.yml +1 -1
- data/.github/workflows/code-ql.yml +1 -1
- data/.github/workflows/projectsbot.yml +1 -1
- data/.github/workflows/release.yml +2 -2
- data/.github/workflows/ruby.yml +2 -2
- data/lib/microsoft_kiota_abstractions/request_information.rb +2 -3
- data/lib/microsoft_kiota_abstractions/version.rb +1 -1
- data/microsoft_kiota_abstractions.gemspec +1 -1
- metadata +7 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcf8f29ec3c3ecdf52066bbfa9d80671b9a4d74a1e68bc122e91f7ac87129073
|
4
|
+
data.tar.gz: ebb9e05a3412445b8538dfda142548d887a2f7b85fbbae7a6e1389170f79c2a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba3fabf3438a9b52839da552477982da40fc755dfccc309783bfc81dea71c2047a9672b7803ac49d900e3620f1edbbcb203e36e954e129ebc371ed1aa1440400
|
7
|
+
data.tar.gz: cd0c37ffe8598939668cf336fc51ebe3c733adfafafd76246a66300f854ead904fa2fe09364e5df9514389fea05784358151823f6f695bf702c8bc15f12c2ca0
|
@@ -0,0 +1,101 @@
|
|
1
|
+
id:
|
2
|
+
name: GitOps.PullRequestIssueManagement
|
3
|
+
description: GitOps.PullRequestIssueManagement primitive
|
4
|
+
owner:
|
5
|
+
resource: repository
|
6
|
+
disabled: false
|
7
|
+
where:
|
8
|
+
configuration:
|
9
|
+
resourceManagementConfiguration:
|
10
|
+
scheduledSearches:
|
11
|
+
- description:
|
12
|
+
frequencies:
|
13
|
+
- hourly:
|
14
|
+
hour: 6
|
15
|
+
filters:
|
16
|
+
- isIssue
|
17
|
+
- isOpen
|
18
|
+
- hasLabel:
|
19
|
+
label: 'Needs: Author Feedback'
|
20
|
+
- hasLabel:
|
21
|
+
label: 'Status: No Recent Activity'
|
22
|
+
- noActivitySince:
|
23
|
+
days: 3
|
24
|
+
actions:
|
25
|
+
- closeIssue
|
26
|
+
- description:
|
27
|
+
frequencies:
|
28
|
+
- hourly:
|
29
|
+
hour: 6
|
30
|
+
filters:
|
31
|
+
- isIssue
|
32
|
+
- isOpen
|
33
|
+
- hasLabel:
|
34
|
+
label: 'Needs: Author Feedback'
|
35
|
+
- noActivitySince:
|
36
|
+
days: 4
|
37
|
+
- isNotLabeledWith:
|
38
|
+
label: 'Status: No Recent Activity'
|
39
|
+
actions:
|
40
|
+
- addLabel:
|
41
|
+
label: 'Status: No Recent Activity'
|
42
|
+
- addReply:
|
43
|
+
reply: This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**.
|
44
|
+
- description:
|
45
|
+
frequencies:
|
46
|
+
- hourly:
|
47
|
+
hour: 6
|
48
|
+
filters:
|
49
|
+
- isIssue
|
50
|
+
- isOpen
|
51
|
+
- hasLabel:
|
52
|
+
label: 'Resolution: Duplicate'
|
53
|
+
- noActivitySince:
|
54
|
+
days: 1
|
55
|
+
actions:
|
56
|
+
- addReply:
|
57
|
+
reply: This issue has been marked as duplicate and has not had any activity for **1 day**. It will be closed for housekeeping purposes.
|
58
|
+
- closeIssue
|
59
|
+
eventResponderTasks:
|
60
|
+
- if:
|
61
|
+
- payloadType: Issue_Comment
|
62
|
+
- isAction:
|
63
|
+
action: Created
|
64
|
+
- isActivitySender:
|
65
|
+
issueAuthor: True
|
66
|
+
- hasLabel:
|
67
|
+
label: 'Needs: Author Feedback'
|
68
|
+
- isOpen
|
69
|
+
then:
|
70
|
+
- addLabel:
|
71
|
+
label: 'Needs: Attention :wave:'
|
72
|
+
- removeLabel:
|
73
|
+
label: 'Needs: Author Feedback'
|
74
|
+
description:
|
75
|
+
- if:
|
76
|
+
- payloadType: Issues
|
77
|
+
- not:
|
78
|
+
isAction:
|
79
|
+
action: Closed
|
80
|
+
- hasLabel:
|
81
|
+
label: 'Status: No Recent Activity'
|
82
|
+
then:
|
83
|
+
- removeLabel:
|
84
|
+
label: 'Status: No Recent Activity'
|
85
|
+
description:
|
86
|
+
- if:
|
87
|
+
- payloadType: Issue_Comment
|
88
|
+
- hasLabel:
|
89
|
+
label: 'Status: No Recent Activity'
|
90
|
+
then:
|
91
|
+
- removeLabel:
|
92
|
+
label: 'Status: No Recent Activity'
|
93
|
+
description:
|
94
|
+
- if:
|
95
|
+
- payloadType: Pull_Request
|
96
|
+
then:
|
97
|
+
- inPrLabel:
|
98
|
+
label: WIP
|
99
|
+
description:
|
100
|
+
onFailure:
|
101
|
+
onSuccess:
|
@@ -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@0d49dd721133f900ebd5e0dff2810704e8defbc6
|
14
14
|
with:
|
15
15
|
app_id: ${{ secrets.GRAPHBOT_APP_ID }}
|
16
16
|
private_key: ${{ secrets.GRAPHBOT_APP_PEM }}
|
@@ -10,7 +10,7 @@ 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
15
|
uses: anton-yurchenko/git-release@v5.0
|
16
16
|
env:
|
@@ -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,13 +15,13 @@ 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 }}
|
22
22
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
23
23
|
bundler: 'latest'
|
24
|
-
cache-version:
|
24
|
+
cache-version: 2
|
25
25
|
- name: Run tests
|
26
26
|
run: bundle exec rake
|
27
27
|
- name: Upload artifacts for ruby version 3 and ubuntu
|
@@ -1,5 +1,5 @@
|
|
1
1
|
require 'uri'
|
2
|
-
require '
|
2
|
+
require 'stduritemplate'
|
3
3
|
require_relative 'http_method'
|
4
4
|
require_relative 'request_headers'
|
5
5
|
|
@@ -34,8 +34,7 @@ module MicrosoftKiotaAbstractions
|
|
34
34
|
self.uri = self.path_parameters[@@raw_url_key]
|
35
35
|
return @uri
|
36
36
|
else
|
37
|
-
|
38
|
-
return URI(template.expand(self.path_parameters.merge(self.query_parameters)).to_s)
|
37
|
+
return URI(StdUriTemplate.expand(@url_template, self.path_parameters.merge(self.query_parameters)))
|
39
38
|
end
|
40
39
|
end
|
41
40
|
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 '
|
31
|
+
spec.add_runtime_dependency 'stduritemplate', '~> 0.0.39'
|
32
32
|
spec.add_runtime_dependency 'iso8601', '~> 0.13.0'
|
33
33
|
spec.add_development_dependency 'rake', '~> 13.0'
|
34
34
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
metadata
CHANGED
@@ -1,35 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: microsoft_kiota_abstractions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.1
|
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-
|
11
|
+
date: 2023-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: stduritemplate
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 2.7.0
|
19
|
+
version: 0.0.39
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 2.7.0
|
26
|
+
version: 0.0.39
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: iso8601
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,6 +89,7 @@ extra_rdoc_files: []
|
|
95
89
|
files:
|
96
90
|
- ".github/CODEOWNERS"
|
97
91
|
- ".github/dependabot.yml"
|
92
|
+
- ".github/policies/resourceManagement.yml"
|
98
93
|
- ".github/workflows/auto-merge-dependabot.yml"
|
99
94
|
- ".github/workflows/code-ql.yml"
|
100
95
|
- ".github/workflows/conflicting-pr-label.yml"
|
@@ -160,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
160
155
|
- !ruby/object:Gem::Version
|
161
156
|
version: '0'
|
162
157
|
requirements: []
|
163
|
-
rubygems_version: 3.4.
|
158
|
+
rubygems_version: 3.4.10
|
164
159
|
signing_key:
|
165
160
|
specification_version: 4
|
166
161
|
summary: The Kiota abstractions are language specific libraries defining the basic
|