WIP Remove github_api gem, smaller dependencies
- use VCR with metadata instead of macros - upgrade colorize gem
This commit is contained in:
parent
71c337cdcf
commit
ad44c035f0
|
@ -25,7 +25,6 @@ Gem::Specification.new do |spec|
|
||||||
spec.require_paths = ["lib"]
|
spec.require_paths = ["lib"]
|
||||||
|
|
||||||
spec.add_runtime_dependency "rake", ">= 10.0"
|
spec.add_runtime_dependency "rake", ">= 10.0"
|
||||||
spec.add_runtime_dependency "github_api", ">= 0.14"
|
|
||||||
spec.add_runtime_dependency "rainbow", ">= 2.1"
|
spec.add_runtime_dependency "rainbow", ">= 2.1"
|
||||||
spec.add_runtime_dependency("octokit", ["~> 4.0"])
|
spec.add_runtime_dependency("octokit", ["~> 4.0"])
|
||||||
spec.add_runtime_dependency("faraday-http-cache")
|
spec.add_runtime_dependency("faraday-http-cache")
|
||||||
|
|
|
@ -5,7 +5,9 @@ require "octokit"
|
||||||
require 'faraday-http-cache'
|
require 'faraday-http-cache'
|
||||||
require "logger"
|
require "logger"
|
||||||
require "active_support"
|
require "active_support"
|
||||||
|
|
||||||
require "json"
|
require "json"
|
||||||
|
require "multi_json"
|
||||||
require "benchmark"
|
require "benchmark"
|
||||||
|
|
||||||
require_relative "github_changelog_generator/helper"
|
require_relative "github_changelog_generator/helper"
|
||||||
|
|
|
@ -48,6 +48,7 @@ VCR.configure do |c|
|
||||||
preserve_exact_body_bytes: true,
|
preserve_exact_body_bytes: true,
|
||||||
decode_compressed_response: true
|
decode_compressed_response: true
|
||||||
}
|
}
|
||||||
|
c.configure_rspec_metadata!
|
||||||
|
|
||||||
c.hook_into :webmock, :faraday
|
c.hook_into :webmock, :faraday
|
||||||
end
|
end
|
||||||
|
@ -71,6 +72,4 @@ RSpec.configure do |config|
|
||||||
config.order = :random
|
config.order = :random
|
||||||
|
|
||||||
Kernel.srand config.seed
|
Kernel.srand config.seed
|
||||||
|
|
||||||
config.extend VCR::RSpec::Macros
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -59,8 +59,7 @@ describe GitHubChangelogGenerator::OctoFetcher do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "#github_fetch_tags" do
|
describe "#github_fetch_tags" do
|
||||||
context "when wrong token provided" do
|
context "when wrong token provided", vcr: true do
|
||||||
use_vcr_cassette
|
|
||||||
|
|
||||||
let(:options) do
|
let(:options) do
|
||||||
{
|
{
|
||||||
|
@ -75,8 +74,7 @@ describe GitHubChangelogGenerator::OctoFetcher do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context "when API call is valid" do
|
context "when API call is valid", :vcr do
|
||||||
use_vcr_cassette
|
|
||||||
|
|
||||||
it "should return tags" do
|
it "should return tags" do
|
||||||
expected_tags = [{ "name" => "v0.0.3",
|
expected_tags = [{ "name" => "v0.0.3",
|
||||||
|
@ -127,8 +125,7 @@ describe GitHubChangelogGenerator::OctoFetcher do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "#fetch_closed_issues_and_pr" do
|
describe "#fetch_closed_issues_and_pr" do
|
||||||
context "when API call is valid" do
|
context "when API call is valid", :vcr do
|
||||||
use_vcr_cassette
|
|
||||||
|
|
||||||
it "returns issues" do
|
it "returns issues" do
|
||||||
issues, pull_requests = fetcher.fetch_closed_issues_and_pr
|
issues, pull_requests = fetcher.fetch_closed_issues_and_pr
|
||||||
|
@ -138,6 +135,7 @@ describe GitHubChangelogGenerator::OctoFetcher do
|
||||||
|
|
||||||
it "returns issue with proper key/values" do
|
it "returns issue with proper key/values" do
|
||||||
issues, _pull_requests = fetcher.fetch_closed_issues_and_pr
|
issues, _pull_requests = fetcher.fetch_closed_issues_and_pr
|
||||||
|
|
||||||
expected_issue = { "url" => "https://api.github.com/repos/skywinder/changelog_test/issues/14",
|
expected_issue = { "url" => "https://api.github.com/repos/skywinder/changelog_test/issues/14",
|
||||||
"repository_url" => "https://api.github.com/repos/skywinder/changelog_test",
|
"repository_url" => "https://api.github.com/repos/skywinder/changelog_test",
|
||||||
"labels_url" =>
|
"labels_url" =>
|
||||||
|
@ -181,6 +179,7 @@ describe GitHubChangelogGenerator::OctoFetcher do
|
||||||
"updated_at" => "2015-07-16T12:21:42Z",
|
"updated_at" => "2015-07-16T12:21:42Z",
|
||||||
"closed_at" => "2015-07-16T12:21:42Z",
|
"closed_at" => "2015-07-16T12:21:42Z",
|
||||||
"body" => "" }
|
"body" => "" }
|
||||||
|
|
||||||
# Convert times to Time
|
# Convert times to Time
|
||||||
expected_issue.each_pair do |k, v|
|
expected_issue.each_pair do |k, v|
|
||||||
expected_issue[k] = Time.parse(v) if v =~ /^2015-/
|
expected_issue[k] = Time.parse(v) if v =~ /^2015-/
|
||||||
|
@ -191,6 +190,7 @@ describe GitHubChangelogGenerator::OctoFetcher do
|
||||||
|
|
||||||
it "returns pull request with proper key/values" do
|
it "returns pull request with proper key/values" do
|
||||||
_issues, pull_requests = fetcher.fetch_closed_issues_and_pr
|
_issues, pull_requests = fetcher.fetch_closed_issues_and_pr
|
||||||
|
|
||||||
expected_pr = { "url" => "https://api.github.com/repos/skywinder/changelog_test/issues/21",
|
expected_pr = { "url" => "https://api.github.com/repos/skywinder/changelog_test/issues/21",
|
||||||
"repository_url" => "https://api.github.com/repos/skywinder/changelog_test",
|
"repository_url" => "https://api.github.com/repos/skywinder/changelog_test",
|
||||||
"labels_url" =>
|
"labels_url" =>
|
||||||
|
@ -240,6 +240,7 @@ describe GitHubChangelogGenerator::OctoFetcher do
|
||||||
"patch_url" => "https://github.com/skywinder/changelog_test/pull/21.patch" },
|
"patch_url" => "https://github.com/skywinder/changelog_test/pull/21.patch" },
|
||||||
"body" =>
|
"body" =>
|
||||||
"to test https://github.com/skywinder/github-changelog-generator/pull/305\r\nshould appear in change log with #20" }
|
"to test https://github.com/skywinder/github-changelog-generator/pull/305\r\nshould appear in change log with #20" }
|
||||||
|
|
||||||
# Convert times to Time
|
# Convert times to Time
|
||||||
expected_pr.each_pair do |k, v|
|
expected_pr.each_pair do |k, v|
|
||||||
expected_pr[k] = Time.parse(v) if v =~ /^2016-01/
|
expected_pr[k] = Time.parse(v) if v =~ /^2016-01/
|
||||||
|
@ -263,9 +264,7 @@ describe GitHubChangelogGenerator::OctoFetcher do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "#fetch_closed_pull_requests" do
|
describe "#fetch_closed_pull_requests" do
|
||||||
context "when API call is valid" do
|
context "when API call is valid", :vcr do
|
||||||
use_vcr_cassette
|
|
||||||
|
|
||||||
it "returns pull requests" do
|
it "returns pull requests" do
|
||||||
pull_requests = fetcher.fetch_closed_pull_requests
|
pull_requests = fetcher.fetch_closed_pull_requests
|
||||||
expect(pull_requests.size).to eq(14)
|
expect(pull_requests.size).to eq(14)
|
||||||
|
@ -275,15 +274,13 @@ describe GitHubChangelogGenerator::OctoFetcher do
|
||||||
pull_requests = fetcher.fetch_closed_pull_requests
|
pull_requests = fetcher.fetch_closed_pull_requests
|
||||||
|
|
||||||
pr = pull_requests.first
|
pr = pull_requests.first
|
||||||
expect(pr.keys).to eq(%w(url id html_url diff_url patch_url issue_url number state locked title user body created_at updated_at closed_at merged_at merge_commit_sha assignee milestone commits_url review_comments_url review_comment_url comments_url statuses_url head base _links))
|
expect(pr.keys).to eq(%w(url id html_url diff_url patch_url issue_url number state locked title user body created_at updated_at closed_at merged_at merge_commit_sha assignee assignees milestone commits_url review_comments_url review_comment_url comments_url statuses_url head base _links))
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "#fetch_events_async" do
|
describe "#fetch_events_async" do
|
||||||
context "when API call is valid" do
|
context "when API call is valid", :vcr do
|
||||||
use_vcr_cassette
|
|
||||||
|
|
||||||
it "populates issues" do
|
it "populates issues" do
|
||||||
issues = [{ "url" => "https://api.github.com/repos/skywinder/changelog_test/issues/14",
|
issues = [{ "url" => "https://api.github.com/repos/skywinder/changelog_test/issues/14",
|
||||||
"repository_url" => "https://api.github.com/repos/skywinder/changelog_test",
|
"repository_url" => "https://api.github.com/repos/skywinder/changelog_test",
|
||||||
|
@ -410,8 +407,7 @@ describe GitHubChangelogGenerator::OctoFetcher do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "#fetch_date_of_tag" do
|
describe "#fetch_date_of_tag" do
|
||||||
context "when API call is valid" do
|
context "when API call is valid", :vcr do
|
||||||
use_vcr_cassette
|
|
||||||
|
|
||||||
it "returns date" do
|
it "returns date" do
|
||||||
tag = { "name" => "v0.0.3",
|
tag = { "name" => "v0.0.3",
|
||||||
|
@ -431,8 +427,7 @@ describe GitHubChangelogGenerator::OctoFetcher do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "#fetch_commit" do
|
describe "#fetch_commit" do
|
||||||
context "when API call is valid" do
|
context "when API call is valid", :vcr do
|
||||||
use_vcr_cassette
|
|
||||||
|
|
||||||
it "returns commit" do
|
it "returns commit" do
|
||||||
event = { "id" => 357_462_189,
|
event = { "id" => 357_462_189,
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
||||||
{"http_interactions":[{"request":{"method":"get","uri":"https://api.github.com/repos/skywinder/changelog_test/git/commits/decfe840d1a1b86e0c28700de5362d3365a29555","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1"],"Accept-Charset":["utf-8"],"User-Agent":["Github API Ruby Gem 0.13.1"]}},"response":{"status":{"code":200,"message":null},"headers":{"server":["GitHub.com"],"date":["Fri, 20 May 2016 06:39:17 GMT"],"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"status":["200 OK"],"x-ratelimit-limit":["60"],"x-ratelimit-remaining":["53"],"x-ratelimit-reset":["1463728508"],"cache-control":["public, max-age=60, s-maxage=60"],"vary":["Accept, Accept-Encoding"],"etag":["W/\"391047306d50dcb964a83bc94e45c33d\""],"last-modified":["Thu, 16 Jul 2015 12:11:01 GMT"],"x-github-media-type":["github.v3; format=json"],"access-control-expose-headers":["ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"],"access-control-allow-origin":["*"],"content-security-policy":["default-src 'none'"],"strict-transport-security":["max-age=31536000; includeSubdomains; preload"],"x-content-type-options":["nosniff"],"x-frame-options":["deny"],"x-xss-protection":["1; mode=block"],"x-served-by":["5aeb3f30c9e3ef6ef7bcbcddfd9a68f7"],"x-github-request-id":["6C2F0F69:1C0C4:9CDAEAF:573EB115"]},"body":{"encoding":"ASCII-8BIT","base64_string":"eyJzaGEiOiJkZWNmZTg0MGQxYTFiODZlMGMyODcwMGRlNTM2MmQzMzY1YTI5\nNTU1IiwidXJsIjoiaHR0cHM6Ly9hcGkuZ2l0aHViLmNvbS9yZXBvcy9za3l3\naW5kZXIvY2hhbmdlbG9nX3Rlc3QvZ2l0L2NvbW1pdHMvZGVjZmU4NDBkMWEx\nYjg2ZTBjMjg3MDBkZTUzNjJkMzM2NWEyOTU1NSIsImh0bWxfdXJsIjoiaHR0\ncHM6Ly9naXRodWIuY29tL3NreXdpbmRlci9jaGFuZ2Vsb2dfdGVzdC9jb21t\naXQvZGVjZmU4NDBkMWExYjg2ZTBjMjg3MDBkZTUzNjJkMzM2NWEyOTU1NSIs\nImF1dGhvciI6eyJuYW1lIjoiUGV0ciBLb3JvbGV2IiwiZW1haWwiOiJza3k0\nd2luZGVyQGdtYWlsLmNvbSIsImRhdGUiOiIyMDE1LTA3LTE2VDEyOjExOjAx\nWiJ9LCJjb21taXR0ZXIiOnsibmFtZSI6IlBldHIgS29yb2xldiIsImVtYWls\nIjoic2t5NHdpbmRlckBnbWFpbC5jb20iLCJkYXRlIjoiMjAxNS0wNy0xNlQx\nMjoxMTowMVoifSwidHJlZSI6eyJzaGEiOiIwNjk5YzE1MjU4YTdjMmIyZTE1\nNzA1MWZlMTk4NTFkNGY3MDVjYWM4IiwidXJsIjoiaHR0cHM6Ly9hcGkuZ2l0\naHViLmNvbS9yZXBvcy9za3l3aW5kZXIvY2hhbmdlbG9nX3Rlc3QvZ2l0L3Ry\nZWVzLzA2OTljMTUyNThhN2MyYjJlMTU3MDUxZmUxOTg1MWQ0ZjcwNWNhYzgi\nfSwibWVzc2FnZSI6ImZpeCAjMTQiLCJwYXJlbnRzIjpbeyJzaGEiOiI3ZWMw\nOTVlNWUzY2FjZWFjZWRhYmY0NGQwYjliMTBkYTE3YzkyZTUxIiwidXJsIjoi\naHR0cHM6Ly9hcGkuZ2l0aHViLmNvbS9yZXBvcy9za3l3aW5kZXIvY2hhbmdl\nbG9nX3Rlc3QvZ2l0L2NvbW1pdHMvN2VjMDk1ZTVlM2NhY2VhY2VkYWJmNDRk\nMGI5YjEwZGExN2M5MmU1MSIsImh0bWxfdXJsIjoiaHR0cHM6Ly9naXRodWIu\nY29tL3NreXdpbmRlci9jaGFuZ2Vsb2dfdGVzdC9jb21taXQvN2VjMDk1ZTVl\nM2NhY2VhY2VkYWJmNDRkMGI5YjEwZGExN2M5MmU1MSJ9XX0=\n"},"http_version":null},"recorded_at":"Fri, 20 May 2016 06:39:21 GMT"}],"recorded_with":"VCR 3.0.1"}
|
|
|
@ -1,76 +0,0 @@
|
||||||
---
|
|
||||||
http_interactions:
|
|
||||||
- request:
|
|
||||||
method: get
|
|
||||||
uri: https://api.github.com/repos/skywinder/changelog_test/git/commits/decfe840d1a1b86e0c28700de5362d3365a29555
|
|
||||||
body:
|
|
||||||
encoding: US-ASCII
|
|
||||||
string: ''
|
|
||||||
headers:
|
|
||||||
Accept:
|
|
||||||
- application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
|
|
||||||
Accept-Charset:
|
|
||||||
- utf-8
|
|
||||||
User-Agent:
|
|
||||||
- Github API Ruby Gem 0.13.1
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 200
|
|
||||||
message:
|
|
||||||
headers:
|
|
||||||
server:
|
|
||||||
- GitHub.com
|
|
||||||
date:
|
|
||||||
- Thu, 19 May 2016 19:00:27 GMT
|
|
||||||
content-type:
|
|
||||||
- application/json; charset=utf-8
|
|
||||||
transfer-encoding:
|
|
||||||
- chunked
|
|
||||||
connection:
|
|
||||||
- close
|
|
||||||
status:
|
|
||||||
- 200 OK
|
|
||||||
x-ratelimit-limit:
|
|
||||||
- '60'
|
|
||||||
x-ratelimit-remaining:
|
|
||||||
- '43'
|
|
||||||
x-ratelimit-reset:
|
|
||||||
- '1463684440'
|
|
||||||
cache-control:
|
|
||||||
- public, max-age=60, s-maxage=60
|
|
||||||
vary:
|
|
||||||
- Accept, Accept-Encoding
|
|
||||||
etag:
|
|
||||||
- W/"391047306d50dcb964a83bc94e45c33d"
|
|
||||||
last-modified:
|
|
||||||
- Thu, 16 Jul 2015 12:11:01 GMT
|
|
||||||
x-github-media-type:
|
|
||||||
- github.v3; format=json
|
|
||||||
access-control-expose-headers:
|
|
||||||
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
|
||||||
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
|
||||||
access-control-allow-origin:
|
|
||||||
- "*"
|
|
||||||
content-security-policy:
|
|
||||||
- default-src 'none'
|
|
||||||
strict-transport-security:
|
|
||||||
- max-age=31536000; includeSubdomains; preload
|
|
||||||
x-content-type-options:
|
|
||||||
- nosniff
|
|
||||||
x-frame-options:
|
|
||||||
- deny
|
|
||||||
x-xss-protection:
|
|
||||||
- 1; mode=block
|
|
||||||
x-served-by:
|
|
||||||
- ef96c2e493b28ffea49b891b085ed2dd
|
|
||||||
x-github-request-id:
|
|
||||||
- 6C2F0F69:7F90:A1B77F1:573E0D4B
|
|
||||||
body:
|
|
||||||
encoding: ASCII-8BIT
|
|
||||||
string: '{"sha":"decfe840d1a1b86e0c28700de5362d3365a29555","url":"https://api.github.com/repos/skywinder/changelog_test/git/commits/decfe840d1a1b86e0c28700de5362d3365a29555","html_url":"https://github.com/skywinder/changelog_test/commit/decfe840d1a1b86e0c28700de5362d3365a29555","author":{"name":"Petr
|
|
||||||
Korolev","email":"sky4winder@gmail.com","date":"2015-07-16T12:11:01Z"},"committer":{"name":"Petr
|
|
||||||
Korolev","email":"sky4winder@gmail.com","date":"2015-07-16T12:11:01Z"},"tree":{"sha":"0699c15258a7c2b2e157051fe19851d4f705cac8","url":"https://api.github.com/repos/skywinder/changelog_test/git/trees/0699c15258a7c2b2e157051fe19851d4f705cac8"},"message":"fix
|
|
||||||
#14","parents":[{"sha":"7ec095e5e3caceacedabf44d0b9b10da17c92e51","url":"https://api.github.com/repos/skywinder/changelog_test/git/commits/7ec095e5e3caceacedabf44d0b9b10da17c92e51","html_url":"https://github.com/skywinder/changelog_test/commit/7ec095e5e3caceacedabf44d0b9b10da17c92e51"}]}'
|
|
||||||
http_version:
|
|
||||||
recorded_at: Thu, 19 May 2016 19:00:30 GMT
|
|
||||||
recorded_with: VCR 3.0.1
|
|
|
@ -1 +0,0 @@
|
||||||
{"http_interactions":[{"request":{"method":"get","uri":"https://api.github.com/repos/skywinder/changelog_test/git/commits/a0cba2b1a1ea9011ab07ee1ac140ba5a5eb8bd90","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1"],"Accept-Charset":["utf-8"],"User-Agent":["Github API Ruby Gem 0.13.1"]}},"response":{"status":{"code":200,"message":null},"headers":{"server":["GitHub.com"],"date":["Fri, 20 May 2016 06:39:16 GMT"],"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"status":["200 OK"],"x-ratelimit-limit":["60"],"x-ratelimit-remaining":["56"],"x-ratelimit-reset":["1463728508"],"cache-control":["public, max-age=60, s-maxage=60"],"vary":["Accept, Accept-Encoding"],"etag":["W/\"70e24649f6eca2e822b32129a2e73312\""],"last-modified":["Wed, 04 Mar 2015 19:01:48 GMT"],"x-github-media-type":["github.v3; format=json"],"access-control-expose-headers":["ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"],"access-control-allow-origin":["*"],"content-security-policy":["default-src 'none'"],"strict-transport-security":["max-age=31536000; includeSubdomains; preload"],"x-content-type-options":["nosniff"],"x-frame-options":["deny"],"x-xss-protection":["1; mode=block"],"x-served-by":["a7f8a126c9ed3f1c4715a34c0ddc7290"],"x-github-request-id":["6C2F0F69:1C0C6:A88FCCF:573EB114"]},"body":{"encoding":"ASCII-8BIT","base64_string":"eyJzaGEiOiJhMGNiYTJiMWExZWE5MDExYWIwN2VlMWFjMTQwYmE1YTVlYjhi\nZDkwIiwidXJsIjoiaHR0cHM6Ly9hcGkuZ2l0aHViLmNvbS9yZXBvcy9za3l3\naW5kZXIvY2hhbmdlbG9nX3Rlc3QvZ2l0L2NvbW1pdHMvYTBjYmEyYjFhMWVh\nOTAxMWFiMDdlZTFhYzE0MGJhNWE1ZWI4YmQ5MCIsImh0bWxfdXJsIjoiaHR0\ncHM6Ly9naXRodWIuY29tL3NreXdpbmRlci9jaGFuZ2Vsb2dfdGVzdC9jb21t\naXQvYTBjYmEyYjFhMWVhOTAxMWFiMDdlZTFhYzE0MGJhNWE1ZWI4YmQ5MCIs\nImF1dGhvciI6eyJuYW1lIjoiUGV0ciBLb3JvbGV2IiwiZW1haWwiOiJza3k0\nd2luZGVyQGdtYWlsLmNvbSIsImRhdGUiOiIyMDE1LTAzLTA0VDE5OjAxOjQ4\nWiJ9LCJjb21taXR0ZXIiOnsibmFtZSI6IlBldHIgS29yb2xldiIsImVtYWls\nIjoic2t5NHdpbmRlckBnbWFpbC5jb20iLCJkYXRlIjoiMjAxNS0wMy0wNFQx\nOTowMTo0OFoifSwidHJlZSI6eyJzaGEiOiIxZmYyNzZkZjJkY2Q1OGQ5MGEx\nMjY3ZmYyMTljZWQ5MjNhY2MzZGE4IiwidXJsIjoiaH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 -1,76 +0,0 @@
|
||||||
---
|
|
||||||
http_interactions:
|
|
||||||
- request:
|
|
||||||
method: get
|
|
||||||
uri: https://api.github.com/repos/skywinder/changelog_test/git/commits/a0cba2b1a1ea9011ab07ee1ac140ba5a5eb8bd90
|
|
||||||
body:
|
|
||||||
encoding: US-ASCII
|
|
||||||
string: ''
|
|
||||||
headers:
|
|
||||||
Accept:
|
|
||||||
- application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
|
|
||||||
Accept-Charset:
|
|
||||||
- utf-8
|
|
||||||
User-Agent:
|
|
||||||
- Github API Ruby Gem 0.13.1
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 200
|
|
||||||
message:
|
|
||||||
headers:
|
|
||||||
server:
|
|
||||||
- GitHub.com
|
|
||||||
date:
|
|
||||||
- Thu, 19 May 2016 18:25:19 GMT
|
|
||||||
content-type:
|
|
||||||
- application/json; charset=utf-8
|
|
||||||
transfer-encoding:
|
|
||||||
- chunked
|
|
||||||
connection:
|
|
||||||
- close
|
|
||||||
status:
|
|
||||||
- 200 OK
|
|
||||||
x-ratelimit-limit:
|
|
||||||
- '60'
|
|
||||||
x-ratelimit-remaining:
|
|
||||||
- '44'
|
|
||||||
x-ratelimit-reset:
|
|
||||||
- '1463684440'
|
|
||||||
cache-control:
|
|
||||||
- public, max-age=60, s-maxage=60
|
|
||||||
vary:
|
|
||||||
- Accept, Accept-Encoding
|
|
||||||
etag:
|
|
||||||
- W/"70e24649f6eca2e822b32129a2e73312"
|
|
||||||
last-modified:
|
|
||||||
- Wed, 04 Mar 2015 19:01:48 GMT
|
|
||||||
x-github-media-type:
|
|
||||||
- github.v3; format=json
|
|
||||||
access-control-expose-headers:
|
|
||||||
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
|
||||||
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
|
||||||
access-control-allow-origin:
|
|
||||||
- "*"
|
|
||||||
content-security-policy:
|
|
||||||
- default-src 'none'
|
|
||||||
strict-transport-security:
|
|
||||||
- max-age=31536000; includeSubdomains; preload
|
|
||||||
x-content-type-options:
|
|
||||||
- nosniff
|
|
||||||
x-frame-options:
|
|
||||||
- deny
|
|
||||||
x-xss-protection:
|
|
||||||
- 1; mode=block
|
|
||||||
x-served-by:
|
|
||||||
- cee4c0729c8e9147e7abcb45b9d69689
|
|
||||||
x-github-request-id:
|
|
||||||
- 6C2F0F69:7F8E:5B42511:573E050F
|
|
||||||
body:
|
|
||||||
encoding: ASCII-8BIT
|
|
||||||
string: '{"sha":"a0cba2b1a1ea9011ab07ee1ac140ba5a5eb8bd90","url":"https://api.github.com/repos/skywinder/changelog_test/git/commits/a0cba2b1a1ea9011ab07ee1ac140ba5a5eb8bd90","html_url":"https://github.com/skywinder/changelog_test/commit/a0cba2b1a1ea9011ab07ee1ac140ba5a5eb8bd90","author":{"name":"Petr
|
|
||||||
Korolev","email":"sky4winder@gmail.com","date":"2015-03-04T19:01:48Z"},"committer":{"name":"Petr
|
|
||||||
Korolev","email":"sky4winder@gmail.com","date":"2015-03-04T19:01:48Z"},"tree":{"sha":"1ff276df2dcd58d90a1267ff219ced923acc3da8","url":"https://api.github.com/repos/skywinder/changelog_test/git/trees/1ff276df2dcd58d90a1267ff219ced923acc3da8"},"message":"Merge
|
|
||||||
branch ''hotfix/fix-3''","parents":[{"sha":"6a28f64bbe783d7ac171c38cefcb109e1b8e0911","url":"https://api.github.com/repos/skywinder/changelog_test/git/commits/6a28f64bbe783d7ac171c38cefcb109e1b8e0911","html_url":"https://github.com/skywinder/changelog_test/commit/6a28f64bbe783d7ac171c38cefcb109e1b8e0911"},{"sha":"68445f5d2bd8df612e25b37058aea7f123439fa1","url":"https://api.github.com/repos/skywinder/changelog_test/git/commits/68445f5d2bd8df612e25b37058aea7f123439fa1","html_url":"https://github.com/skywinder/changelog_test/commit/68445f5d2bd8df612e25b37058aea7f123439fa1"}]}'
|
|
||||||
http_version:
|
|
||||||
recorded_at: Thu, 19 May 2016 18:25:23 GMT
|
|
||||||
recorded_with: VCR 3.0.1
|
|
|
@ -1 +0,0 @@
|
||||||
{"http_interactions":[{"request":{"method":"get","uri":"https://api.github.com/repos/skywinder/changelog_test/issues/14/events","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1"],"Accept-Charset":["utf-8"],"User-Agent":["Github API Ruby Gem 0.13.1"]}},"response":{"status":{"code":200,"message":null},"headers":{"server":["GitHub.com"],"date":["Fri, 20 May 2016 06:39:18 GMT"],"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"status":["200 OK"],"x-ratelimit-limit":["60"],"x-ratelimit-remaining":["51"],"x-ratelimit-reset":["1463728508"],"cache-control":["public, max-age=60, s-maxage=60"],"vary":["Accept, Accept-Encoding"],"etag":["W/\"9e001bcf4bf22abb6602f57d114ce205\""],"x-github-media-type":["github.v3; format=json"],"access-control-expose-headers":["ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"],"access-control-allow-origin":["*"],"content-security-policy":["default-src 'none'"],"strict-transport-security":["max-age=31536000; includeSubdomains; preload"],"x-content-type-options":["nosniff"],"x-frame-options":["deny"],"x-xss-protection":["1; mode=block"],"x-served-by":["bd82876e9bf04990f289ba22f246ee9b"],"x-github-request-id":["6C2F0F69:1C0C6:A88FE6B:573EB116"]},"body":{"encoding":"ASCII-8BIT","base64_string":"W3siaWQiOjM1NzQ2MjE4OSwidXJsIjoiaHR0cHM6Ly9hcGkuZ2l0aHViLmNv\nbS9yZXBvcy9za3l3aW5kZXIvY2hhbmdlbG9nX3Rlc3QvaXNzdWVzL2V2ZW50\ncy8zNTc0NjIxODkiLCJhY3RvciI6eyJsb2dpbiI6InNreXdpbmRlciIsImlk\nIjozMzU2N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 GMT"}],"recorded_with":"VCR 3.0.1"}
|
|
|
@ -1,71 +0,0 @@
|
||||||
---
|
|
||||||
http_interactions:
|
|
||||||
- request:
|
|
||||||
method: get
|
|
||||||
uri: https://api.github.com/repos/skywinder/changelog_test/issues/14/events
|
|
||||||
body:
|
|
||||||
encoding: US-ASCII
|
|
||||||
string: ''
|
|
||||||
headers:
|
|
||||||
Accept:
|
|
||||||
- application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
|
|
||||||
Accept-Charset:
|
|
||||||
- utf-8
|
|
||||||
User-Agent:
|
|
||||||
- Github API Ruby Gem 0.13.1
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 200
|
|
||||||
message:
|
|
||||||
headers:
|
|
||||||
server:
|
|
||||||
- GitHub.com
|
|
||||||
date:
|
|
||||||
- Thu, 19 May 2016 18:19:40 GMT
|
|
||||||
content-type:
|
|
||||||
- application/json; charset=utf-8
|
|
||||||
transfer-encoding:
|
|
||||||
- chunked
|
|
||||||
connection:
|
|
||||||
- close
|
|
||||||
status:
|
|
||||||
- 200 OK
|
|
||||||
x-ratelimit-limit:
|
|
||||||
- '60'
|
|
||||||
x-ratelimit-remaining:
|
|
||||||
- '45'
|
|
||||||
x-ratelimit-reset:
|
|
||||||
- '1463684440'
|
|
||||||
cache-control:
|
|
||||||
- public, max-age=60, s-maxage=60
|
|
||||||
vary:
|
|
||||||
- Accept, Accept-Encoding
|
|
||||||
etag:
|
|
||||||
- W/"9e001bcf4bf22abb6602f57d114ce205"
|
|
||||||
x-github-media-type:
|
|
||||||
- github.v3; format=json
|
|
||||||
access-control-expose-headers:
|
|
||||||
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
|
||||||
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
|
||||||
access-control-allow-origin:
|
|
||||||
- "*"
|
|
||||||
content-security-policy:
|
|
||||||
- default-src 'none'
|
|
||||||
strict-transport-security:
|
|
||||||
- max-age=31536000; includeSubdomains; preload
|
|
||||||
x-content-type-options:
|
|
||||||
- nosniff
|
|
||||||
x-frame-options:
|
|
||||||
- deny
|
|
||||||
x-xss-protection:
|
|
||||||
- 1; mode=block
|
|
||||||
x-served-by:
|
|
||||||
- bae57931a6fe678a3dffe9be8e7819c8
|
|
||||||
x-github-request-id:
|
|
||||||
- 6C2F0F69:7F91:BA87215:573E03BC
|
|
||||||
body:
|
|
||||||
encoding: ASCII-8BIT
|
|
||||||
string: '[{"id":357462189,"url":"https://api.github.com/repos/skywinder/changelog_test/issues/events/357462189","actor":{"login":"skywinder","id":3356474,"avatar_url":"https://avatars.githubusercontent.com/u/3356474?v=3","gravatar_id":"","url":"https://api.github.com/users/skywinder","html_url":"https://github.com/skywinder","followers_url":"https://api.github.com/users/skywinder/followers","following_url":"https://api.github.com/users/skywinder/following{/other_user}","gists_url":"https://api.github.com/users/skywinder/gists{/gist_id}","starred_url":"https://api.github.com/users/skywinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skywinder/subscriptions","organizations_url":"https://api.github.com/users/skywinder/orgs","repos_url":"https://api.github.com/users/skywinder/repos","events_url":"https://api.github.com/users/skywinder/events{/privacy}","received_events_url":"https://api.github.com/users/skywinder/received_events","type":"User","site_admin":false},"event":"referenced","commit_id":"decfe840d1a1b86e0c28700de5362d3365a29555","commit_url":"https://api.github.com/repos/skywinder/changelog_test/commits/decfe840d1a1b86e0c28700de5362d3365a29555","created_at":"2015-07-16T12:21:16Z"},{"id":357462542,"url":"https://api.github.com/repos/skywinder/changelog_test/issues/events/357462542","actor":{"login":"skywinder","id":3356474,"avatar_url":"https://avatars.githubusercontent.com/u/3356474?v=3","gravatar_id":"","url":"https://api.github.com/users/skywinder","html_url":"https://github.com/skywinder","followers_url":"https://api.github.com/users/skywinder/followers","following_url":"https://api.github.com/users/skywinder/following{/other_user}","gists_url":"https://api.github.com/users/skywinder/gists{/gist_id}","starred_url":"https://api.github.com/users/skywinder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skywinder/subscriptions","organizations_url":"https://api.github.com/users/skywinder/orgs","repos_url":"https://api.github.com/users/skywinder/repos","events_url":"https://api.github.com/users/skywinder/events{/privacy}","received_events_url":"https://api.github.com/users/skywinder/received_events","type":"User","site_admin":false},"event":"closed","commit_id":"decfe840d1a1b86e0c28700de5362d3365a29555","commit_url":"https://api.github.com/repos/skywinder/changelog_test/commits/decfe840d1a1b86e0c28700de5362d3365a29555","created_at":"2015-07-16T12:21:42Z"}]'
|
|
||||||
http_version:
|
|
||||||
recorded_at: Thu, 19 May 2016 18:19:43 GMT
|
|
||||||
recorded_with: VCR 3.0.1
|
|
|
@ -1 +0,0 @@
|
||||||
{"http_interactions":[{"request":{"method":"get","uri":"https://api.github.com/repos/skywinder/changelog_test/tags","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1"],"Accept-Charset":["utf-8"],"User-Agent":["Github API Ruby Gem 0.13.1"]}},"response":{"status":{"code":200,"message":null},"headers":{"server":["GitHub.com"],"date":["Fri, 20 May 2016 06:39:17 GMT"],"content-type":["application/json; charset=utf-8"],"transfer-encoding":["chunked"],"status":["200 OK"],"x-ratelimit-limit":["60"],"x-ratelimit-remaining":["54"],"x-ratelimit-reset":["1463728508"],"cache-control":["public, max-age=60, s-maxage=60"],"vary":["Accept, Accept-Encoding"],"etag":["W/\"012a78339961d33825609e388f651a3e\""],"last-modified":["Thu, 05 Mar 2015 10:27:55 GMT"],"x-github-media-type":["github.v3; format=json"],"access-control-expose-headers":["ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"],"access-control-allow-origin":["*"],"content-security-policy":["default-src 'none'"],"strict-transport-security":["max-age=31536000; includeSubdomains; preload"],"x-content-type-options":["nosniff"],"x-frame-options":["deny"],"x-xss-protection":["1; mode=block"],"x-served-by":["065b43cd9674091fec48a221b420fbb3"],"x-github-request-id":["6C2F0F69:1C0C5:BA21B36:573EB114"]},"body":{"encoding":"ASCII-8BIT","base64_string":"W3sibmFtZSI6InYwLjAuMyIsInppcGJhbGxfdXJsIjoiaHR0cHM6Ly9hcGku\nZ2l0aHViLmNvbS9yZXBvcy9za3l3aW5kZXIvY2hhbmdlbG9nX3Rlc3Qvemlw\nYmFsbC92MC4wLjMiLCJ0YXJiYWxsX3VybCI6Imh0dHBzOi8vYXBpLmdpdGh1\nYi5jb20vcmVwb3Mvc2t5d2luZGVyL2NoYW5nZWxvZ190ZXN0L3RhcmJhbGwv\ndjAuMC4zIiwiY29tbWl0Ijp7InNoYSI6ImEwY2JhMmIxYTFlYTkwMTFhYjA3\nZWUxYWMxNDBiYTVhNWViOGJkOTAiLCJ1cmwiOiJodHRwczovL2FwaS5naXRo\ndWIuY29tL3JlcG9zL3NreXdpbmRlci9jaGFuZ2Vsb2dfdGVzdC9jb21taXRz\nL2EwY2JhMmIxYTFlYTkwMTFhYjA3ZWUxYWMxNDBiYTVhNWViOGJkOTAifX0s\neyJuYW1lIjoidjAuMC4yIiwiemlwYmFsbF91cmwiOiJodHRwczovL2FwaS5n\naXRodWIuY29tL3JlcG9zL3NreXdpbmRlci9jaGFuZ2Vsb2dfdGVzdC96aXBi\nYWxsL3YwLjAuMiIsInRhcmJhbGxfdXJsIjoiaHR0cHM6Ly9hcGkuZ2l0aHVi\nLmNvbS9yZXBvcy9za3l3aW5kZXIvY2hhbmdlbG9nX3Rlc3QvdGFyYmFsbC92\nMC4wLjIiLCJjb21taXQiOnsic2hhIjoiOWIzNWJiMTNkY2QxNWI2OGU3YmNi\nZjEwY2RlNWViOTM3YTU0ZjcxMCIsInVybCI6Imh0dHBzOi8vYXBpLmdpdGh1\nYi5jb20vcmVwb3Mvc2t5d2luZGVyL2NoYW5nZWxvZ190ZXN0L2NvbW1pdHMv\nOWIz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fri, 20 May 2016 06:39:21 GMT"}],"recorded_with":"VCR 3.0.1"}
|
|
|
@ -1,73 +0,0 @@
|
||||||
---
|
|
||||||
http_interactions:
|
|
||||||
- request:
|
|
||||||
method: get
|
|
||||||
uri: https://api.github.com/repos/skywinder/changelog_test/tags
|
|
||||||
body:
|
|
||||||
encoding: US-ASCII
|
|
||||||
string: ''
|
|
||||||
headers:
|
|
||||||
Accept:
|
|
||||||
- application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
|
|
||||||
Accept-Charset:
|
|
||||||
- utf-8
|
|
||||||
User-Agent:
|
|
||||||
- Github API Ruby Gem 0.13.1
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 200
|
|
||||||
message:
|
|
||||||
headers:
|
|
||||||
server:
|
|
||||||
- GitHub.com
|
|
||||||
date:
|
|
||||||
- Thu, 19 May 2016 18:14:27 GMT
|
|
||||||
content-type:
|
|
||||||
- application/json; charset=utf-8
|
|
||||||
transfer-encoding:
|
|
||||||
- chunked
|
|
||||||
connection:
|
|
||||||
- close
|
|
||||||
status:
|
|
||||||
- 200 OK
|
|
||||||
x-ratelimit-limit:
|
|
||||||
- '60'
|
|
||||||
x-ratelimit-remaining:
|
|
||||||
- '49'
|
|
||||||
x-ratelimit-reset:
|
|
||||||
- '1463684440'
|
|
||||||
cache-control:
|
|
||||||
- public, max-age=60, s-maxage=60
|
|
||||||
vary:
|
|
||||||
- Accept, Accept-Encoding
|
|
||||||
etag:
|
|
||||||
- W/"012a78339961d33825609e388f651a3e"
|
|
||||||
last-modified:
|
|
||||||
- Thu, 05 Mar 2015 10:27:55 GMT
|
|
||||||
x-github-media-type:
|
|
||||||
- github.v3; format=json
|
|
||||||
access-control-expose-headers:
|
|
||||||
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
|
||||||
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
|
||||||
access-control-allow-origin:
|
|
||||||
- "*"
|
|
||||||
content-security-policy:
|
|
||||||
- default-src 'none'
|
|
||||||
strict-transport-security:
|
|
||||||
- max-age=31536000; includeSubdomains; preload
|
|
||||||
x-content-type-options:
|
|
||||||
- nosniff
|
|
||||||
x-frame-options:
|
|
||||||
- deny
|
|
||||||
x-xss-protection:
|
|
||||||
- 1; mode=block
|
|
||||||
x-served-by:
|
|
||||||
- a7f8a126c9ed3f1c4715a34c0ddc7290
|
|
||||||
x-github-request-id:
|
|
||||||
- 6C2F0F69:1C0C4:91D639E:573E0283
|
|
||||||
body:
|
|
||||||
encoding: ASCII-8BIT
|
|
||||||
string: '[{"name":"v0.0.3","zipball_url":"https://api.github.com/repos/skywinder/changelog_test/zipball/v0.0.3","tarball_url":"https://api.github.com/repos/skywinder/changelog_test/tarball/v0.0.3","commit":{"sha":"a0cba2b1a1ea9011ab07ee1ac140ba5a5eb8bd90","url":"https://api.github.com/repos/skywinder/changelog_test/commits/a0cba2b1a1ea9011ab07ee1ac140ba5a5eb8bd90"}},{"name":"v0.0.2","zipball_url":"https://api.github.com/repos/skywinder/changelog_test/zipball/v0.0.2","tarball_url":"https://api.github.com/repos/skywinder/changelog_test/tarball/v0.0.2","commit":{"sha":"9b35bb13dcd15b68e7bcbf10cde5eb937a54f710","url":"https://api.github.com/repos/skywinder/changelog_test/commits/9b35bb13dcd15b68e7bcbf10cde5eb937a54f710"}},{"name":"v0.0.1","zipball_url":"https://api.github.com/repos/skywinder/changelog_test/zipball/v0.0.1","tarball_url":"https://api.github.com/repos/skywinder/changelog_test/tarball/v0.0.1","commit":{"sha":"4c2d6d1ed58bdb24b870dcb5d9f2ceed0283d69d","url":"https://api.github.com/repos/skywinder/changelog_test/commits/4c2d6d1ed58bdb24b870dcb5d9f2ceed0283d69d"}},{"name":"0.0.4","zipball_url":"https://api.github.com/repos/skywinder/changelog_test/zipball/0.0.4","tarball_url":"https://api.github.com/repos/skywinder/changelog_test/tarball/0.0.4","commit":{"sha":"ece0c3ab7142b21064b885061c55ede00ef6ce94","url":"https://api.github.com/repos/skywinder/changelog_test/commits/ece0c3ab7142b21064b885061c55ede00ef6ce94"}}]'
|
|
||||||
http_version:
|
|
||||||
recorded_at: Thu, 19 May 2016 18:14:31 GMT
|
|
||||||
recorded_with: VCR 3.0.1
|
|
|
@ -1 +0,0 @@
|
||||||
{"http_interactions":[{"request":{"method":"get","uri":"https://api.github.com/repos/skywinder/changelog_test/tags?access_token=0000000000000000","body":{"encoding":"US-ASCII","base64_string":""},"headers":{"Accept":["application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1"],"Accept-Charset":["utf-8"],"User-Agent":["Github API Ruby Gem 0.13.1"],"Authorization":["token 0000000000000000"]}},"response":{"status":{"code":401,"message":null},"headers":{"server":["GitHub.com"],"date":["Fri, 20 May 2016 06:39:16 GMT"],"content-type":["application/json; charset=utf-8"],"content-length":["83"],"status":["401 Unauthorized"],"x-github-media-type":["github.v3; format=json"],"x-ratelimit-limit":["60"],"x-ratelimit-remaining":["55"],"x-ratelimit-reset":["1463728508"],"access-control-expose-headers":["ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval"],"access-control-allow-origin":["*"],"content-security-policy":["default-src 'none'"],"strict-transport-security":["max-age=31536000; includeSubdomains; preload"],"x-content-type-options":["nosniff"],"x-frame-options":["deny"],"x-xss-protection":["1; mode=block"],"x-github-request-id":["6C2F0F69:1C0C5:BA21AA0:573EB114"]},"body":{"encoding":"UTF-8","base64_string":"eyJtZXNzYWdlIjoiQmFkIGNyZWRlbnRpYWxzIiwiZG9jdW1lbnRhdGlvbl91\ncmwiOiJodHRwczovL2RldmVsb3Blci5naXRodWIuY29tL3YzIn0=\n"},"http_version":null},"recorded_at":"Fri, 20 May 2016 06:39:20 GMT"}],"recorded_with":"VCR 3.0.1"}
|
|
|
@ -1,65 +0,0 @@
|
||||||
---
|
|
||||||
http_interactions:
|
|
||||||
- request:
|
|
||||||
method: get
|
|
||||||
uri: https://api.github.com/repos/skywinder/changelog_test/tags?access_token=0000000000000000
|
|
||||||
body:
|
|
||||||
encoding: US-ASCII
|
|
||||||
string: ''
|
|
||||||
headers:
|
|
||||||
Accept:
|
|
||||||
- application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
|
|
||||||
Accept-Charset:
|
|
||||||
- utf-8
|
|
||||||
User-Agent:
|
|
||||||
- Github API Ruby Gem 0.13.1
|
|
||||||
Authorization:
|
|
||||||
- token 0000000000000000
|
|
||||||
response:
|
|
||||||
status:
|
|
||||||
code: 401
|
|
||||||
message:
|
|
||||||
headers:
|
|
||||||
server:
|
|
||||||
- GitHub.com
|
|
||||||
date:
|
|
||||||
- Thu, 19 May 2016 18:14:28 GMT
|
|
||||||
content-type:
|
|
||||||
- application/json; charset=utf-8
|
|
||||||
content-length:
|
|
||||||
- '83'
|
|
||||||
connection:
|
|
||||||
- close
|
|
||||||
status:
|
|
||||||
- 401 Unauthorized
|
|
||||||
x-github-media-type:
|
|
||||||
- github.v3; format=json
|
|
||||||
x-ratelimit-limit:
|
|
||||||
- '60'
|
|
||||||
x-ratelimit-remaining:
|
|
||||||
- '48'
|
|
||||||
x-ratelimit-reset:
|
|
||||||
- '1463684440'
|
|
||||||
access-control-expose-headers:
|
|
||||||
- ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset,
|
|
||||||
X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval
|
|
||||||
access-control-allow-origin:
|
|
||||||
- "*"
|
|
||||||
content-security-policy:
|
|
||||||
- default-src 'none'
|
|
||||||
strict-transport-security:
|
|
||||||
- max-age=31536000; includeSubdomains; preload
|
|
||||||
x-content-type-options:
|
|
||||||
- nosniff
|
|
||||||
x-frame-options:
|
|
||||||
- deny
|
|
||||||
x-xss-protection:
|
|
||||||
- 1; mode=block
|
|
||||||
x-github-request-id:
|
|
||||||
- 6C2F0F69:1C0C3:706D8F5:573E0284
|
|
||||||
body:
|
|
||||||
encoding: UTF-8
|
|
||||||
string: '{"message":"Bad credentials","documentation_url":"https://developer.github.com/v3"}'
|
|
||||||
http_version:
|
|
||||||
recorded_at: Thu, 19 May 2016 18:14:31 GMT
|
|
||||||
recorded_with: VCR 3.0.1
|
|
Loading…
Reference in New Issue
Block a user