-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename find_app_installations and find_user_installations (#1721)
- Loading branch information
1 parent
6e55ef3
commit 5fcf9bf
Showing
7 changed files
with
436 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
spec/cassettes/Octokit_Client_Apps/_find_user_installations/allows_auto_pagination.json
This file was deleted.
Oops, something went wrong.
175 changes: 175 additions & 0 deletions
175
spec/cassettes/Octokit_Client_Apps/_list_app_installations/allows_auto_pagination.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
{ | ||
"http_interactions": [ | ||
{ | ||
"request": { | ||
"method": "get", | ||
"uri": "https://api.github.com/app/installations?per_page=1", | ||
"body": { | ||
"encoding": "US-ASCII", | ||
"base64_string": "" | ||
}, | ||
"headers": { | ||
"Accept": [ | ||
"application/vnd.github.v3+json" | ||
], | ||
"User-Agent": [ | ||
"Octokit Ruby Gem 9.2.0" | ||
], | ||
"Content-Type": [ | ||
"application/json" | ||
], | ||
"Authorization": [ | ||
"token <<ACCESS_TOKEN>>" | ||
], | ||
"Accept-Encoding": [ | ||
"gzip;q=1.0,deflate;q=0.6,identity;q=0.3" | ||
] | ||
} | ||
}, | ||
"response": { | ||
"status": { | ||
"code": 200, | ||
"message": "OK" | ||
}, | ||
"headers": { | ||
"Date": [ | ||
"Thu, 17 Oct 2024 01:57:11 GMT" | ||
], | ||
"Content-Type": [ | ||
"application/json; charset=utf-8" | ||
], | ||
"X-Github-Media-Type": [ | ||
"github.v3; format=json" | ||
], | ||
"Link": [ | ||
"<https://api.github.com/app/installations?per_page=1&page=2>; rel=\"next\", <https://api.github.com/app/installations?per_page=1&page=2>; rel=\"last\"" | ||
], | ||
"Access-Control-Expose-Headers": [ | ||
"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset" | ||
], | ||
"Access-Control-Allow-Origin": [ | ||
"*" | ||
], | ||
"Strict-Transport-Security": [ | ||
"max-age=31536000; includeSubdomains; preload" | ||
], | ||
"X-Frame-Options": [ | ||
"deny" | ||
], | ||
"X-Content-Type-Options": [ | ||
"nosniff" | ||
], | ||
"X-Xss-Protection": [ | ||
"0" | ||
], | ||
"Referrer-Policy": [ | ||
"origin-when-cross-origin, strict-origin-when-cross-origin" | ||
], | ||
"Content-Security-Policy": [ | ||
"default-src 'none'" | ||
], | ||
"Vary": [ | ||
"Accept-Encoding, Accept, X-Requested-With" | ||
], | ||
"Server": [ | ||
"github.com" | ||
], | ||
"X-Github-Request-Id": [ | ||
"1197:1ED524:1D2A98:1D6C43:67106EF7" | ||
] | ||
}, | ||
"body": { | ||
"encoding": "UTF-8", | ||
"base64_string": "W3siaWQiOjxHSVRIVUJfVEVTVF9JTlRFR1JBVElPTl9JTlNUQUxMQVRJT04+\nLCJhY2NvdW50Ijp7ImxvZ2luIjoiPEdJVEhVQl9URVNUX09SR0FOSVpBVElP\nTj4iLCJpZCI6MTc1Mjk4MTQsImF2YXRhcl91cmwiOiJodHRwczovL2F2YXRh\ncnMwLmdpdGh1YnVzZXJjb250ZW50LmNvbS91LzE3NTI5ODE0P3Y9MyIsImdy\nYXZhdGFyX2lkIjoiIiwidXJsIjoiaHR0cHM6Ly9hcGkuZ2l0aHViLmNvbS91\nc2Vycy88R0lUSFVCX1RFU1RfT1JHQU5JWkFUSU9OPiIsImh0bWxfdXJsIjoi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ly9hcGkuZ2l0aHViLmNvbS91c2Vycy88R0lUSFVCX1RF\nU1RfT1JHQU5JWkFUSU9OPi9yZWNlaXZlZF9ldmVudHMiLCJ0eXBlIjoiT3Jn\nYW5pemF0aW9uIiwic2l0ZV9hZG1pbiI6ZmFsc2V9LCJhY2Nlc3NfdG9rZW5z\nX3VybCI6Imh0dHBzOi8vYXBpLmdpdGh1Yi5jb20vaW5zdGFsbGF0aW9ucy88\nR0lUSFVCX1RFU1RfSU5URUdSQVRJT05fSU5TVEFMTEFUSU9OPi9hY2Nlc3Nf\ndG9rZW5zIiwicmVwb3NpdG9yaWVzX3VybCI6Imh0dHBzOi8vYXBpLmdpdGh1\nYi5jb20vaW5zdGFsbGF0aW9uL3JlcG9zaXRvcmllcyIsImh0bWxfdXJsIjoi\naHR0cHM6Ly9naXRodWIuY29tL29yZ2FuaXphdGlvbnMvPEdJVEhVQl9URVNU\nX09SR0FOSVpBVElPTj4vc2V0dGluZ3MvaW5zdGFsbGF0aW9ucy88R0lUSFVC\nX1RFU1RfSU5URUdSQVRJT05fSU5TVEFMTEFUSU9OPiJ9XQ==\n" | ||
} | ||
}, | ||
"recorded_at": "Thu, 17 Oct 2024 01:57:11 GMT" | ||
}, | ||
{ | ||
"request": { | ||
"method": "get", | ||
"uri": "https://api.github.com/app/installations?page=2&per_page=1", | ||
"body": { | ||
"encoding": "US-ASCII", | ||
"base64_string": "" | ||
}, | ||
"headers": { | ||
"Accept": [ | ||
"application/vnd.github.v3+json" | ||
], | ||
"User-Agent": [ | ||
"Octokit Ruby Gem 9.2.0" | ||
], | ||
"Content-Type": [ | ||
"application/json" | ||
], | ||
"Authorization": [ | ||
"token <<ACCESS_TOKEN>>" | ||
], | ||
"Accept-Encoding": [ | ||
"gzip;q=1.0,deflate;q=0.6,identity;q=0.3" | ||
] | ||
} | ||
}, | ||
"response": { | ||
"status": { | ||
"code": 200, | ||
"message": "OK" | ||
}, | ||
"headers": { | ||
"Date": [ | ||
"Thu, 17 Oct 2024 01:57:11 GMT" | ||
], | ||
"Content-Type": [ | ||
"application/json; charset=utf-8" | ||
], | ||
"X-Github-Media-Type": [ | ||
"github.v3; format=json" | ||
], | ||
"Link": [ | ||
"<https://api.github.com/app/installations?per_page=1&page=1>; rel=\"prev\", <https://api.github.com/app/installations?per_page=1&page=1>; rel=\"first\"" | ||
], | ||
"Access-Control-Expose-Headers": [ | ||
"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset" | ||
], | ||
"Access-Control-Allow-Origin": [ | ||
"*" | ||
], | ||
"Strict-Transport-Security": [ | ||
"max-age=31536000; includeSubdomains; preload" | ||
], | ||
"X-Frame-Options": [ | ||
"deny" | ||
], | ||
"X-Content-Type-Options": [ | ||
"nosniff" | ||
], | ||
"X-Xss-Protection": [ | ||
"0" | ||
], | ||
"Referrer-Policy": [ | ||
"origin-when-cross-origin, strict-origin-when-cross-origin" | ||
], | ||
"Content-Security-Policy": [ | ||
"default-src 'none'" | ||
], | ||
"Vary": [ | ||
"Accept-Encoding, Accept, X-Requested-With" | ||
], | ||
"Server": [ | ||
"github.com" | ||
], | ||
"X-Github-Request-Id": [ | ||
"1197:1ED524:1D2A98:1D6C43:67106EF7" | ||
] | ||
}, | ||
"body": { | ||
"encoding": "UTF-8", | ||
"base64_string": "W3siaWQiOjxHSVRIVUJfVEVTVF9JTlRFR1JBVElPTl9JTlNUQUxMQVRJT04+\nLCJhY2NvdW50Ijp7ImxvZ2luIjoiPEdJVEhVQl9URVNUX09SR0FOSVpBVElP\nTj4iLCJpZCI6MTc1Mjk4MTQsImF2YXRhcl91cmwiOiJodHRwczovL2F2YXRh\ncnMwLmdpdGh1YnVzZXJjb250ZW50LmNvbS91LzE3NTI5ODE0P3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RwczovL2FwaS5naXRodWIuY29tL3VzZXJzLzxHSVRIVUJfVEVTVF9PUkdB\nTklaQVRJT04+L2V2ZW50c3svcHJpdmFjeX0iLCJyZWNlaXZlZF9ldmVudHNf\ndXJsIjoiaHR0cHM6Ly9hcGkuZ2l0aHViLmNvbS91c2Vycy88R0lUSFVCX1RF\nU1RfT1JHQU5JWkFUSU9OPi9yZWNlaXZlZF9ldmVudHMiLCJ0eXBlIjoiT3Jn\nYW5pemF0aW9uIiwic2l0ZV9hZG1pbiI6ZmFsc2V9LCJhY2Nlc3NfdG9rZW5z\nX3VybCI6Imh0dHBzOi8vYXBpLmdpdGh1Yi5jb20vaW5zdGFsbGF0aW9ucy88\nR0lUSFVCX1RFU1RfSU5URUdSQVRJT05fSU5TVEFMTEFUSU9OPi9hY2Nlc3Nf\ndG9rZW5zIiwicmVwb3NpdG9yaWVzX3VybCI6Imh0dHBzOi8vYXBpLmdpdGh1\nYi5jb20vaW5zdGFsbGF0aW9uL3JlcG9zaXRvcmllcyIsImh0bWxfdXJsIjoi\naHR0cHM6Ly9naXRodWIuY29tL29yZ2FuaXphdGlvbnMvPEdJVEhVQl9URVNU\nX09SR0FOSVpBVElPTj4vc2V0dGluZ3MvaW5zdGFsbGF0aW9ucy88R0lUSFVC\nX1RFU1RfSU5URUdSQVRJT05fSU5TVEFMTEFUSU9OPiJ9XQ==\n" | ||
} | ||
}, | ||
"recorded_at": "Thu, 17 Oct 2024 01:57:11 GMT" | ||
} | ||
], | ||
"recorded_with": "VCR 6.3.1" | ||
} |
File renamed without changes.
Oops, something went wrong.