how_is 24.0.0 → 25.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/.github_changelog_generator +0 -1
  3. data/.rubocop.yml +37 -12
  4. data/.travis.yml +6 -3
  5. data/CHANGELOG.md +56 -0
  6. data/CONTRIBUTING.md +34 -0
  7. data/Gemfile +8 -4
  8. data/ISSUES.md +30 -54
  9. data/README.md +16 -91
  10. data/Rakefile +3 -31
  11. data/bin/prerelease-generate-changelog +1 -1
  12. data/bin/setup +0 -0
  13. data/build-debug.rb +20 -0
  14. data/exe/how_is +25 -22
  15. data/fixtures/vcr_cassettes/how-is-example-empty-repository.yml +334 -1
  16. data/fixtures/vcr_cassettes/how-is-example-repository.yml +350 -1
  17. data/fixtures/vcr_cassettes/how-is-from-config-frontmatter.yml +15234 -1
  18. data/fixtures/vcr_cassettes/how-is-how-is-travis-api-repos-builds.yml +2694 -1
  19. data/fixtures/vcr_cassettes/how-is-with-config-file.yml +15234 -1
  20. data/fixtures/vcr_cassettes/how_is_contributions_additions_count.yml +70 -1
  21. data/fixtures/vcr_cassettes/how_is_contributions_all_contributors.yml +70 -1
  22. data/fixtures/vcr_cassettes/how_is_contributions_changed_files.yml +70 -1
  23. data/fixtures/vcr_cassettes/how_is_contributions_changes.yml +70 -1
  24. data/fixtures/vcr_cassettes/how_is_contributions_commits.yml +70 -1
  25. data/fixtures/vcr_cassettes/how_is_contributions_compare_url.yml +70 -1
  26. data/fixtures/vcr_cassettes/how_is_contributions_default_branch.yml +70 -1
  27. data/fixtures/vcr_cassettes/how_is_contributions_deletions_count.yml +70 -1
  28. data/fixtures/vcr_cassettes/how_is_contributions_new_contributors.yml +70 -1
  29. data/fixtures/vcr_cassettes/how_is_contributions_summary.yml +70 -1
  30. data/fixtures/vcr_cassettes/how_is_contributions_summary_2.yml +70 -1
  31. data/how_is.gemspec +12 -6
  32. data/lib/how_is/cacheable.rb +71 -0
  33. data/lib/how_is/cli.rb +121 -124
  34. data/lib/how_is/config.rb +123 -0
  35. data/lib/how_is/constants.rb +9 -0
  36. data/lib/how_is/date_time_helpers.rb +48 -0
  37. data/lib/how_is/frontmatter.rb +14 -9
  38. data/lib/how_is/report.rb +86 -58
  39. data/lib/how_is/report_collection.rb +113 -0
  40. data/lib/how_is/sources/ci/appveyor.rb +88 -0
  41. data/lib/how_is/sources/ci/travis.rb +159 -0
  42. data/lib/how_is/sources/github/contributions.rb +169 -128
  43. data/lib/how_is/sources/github/issue_fetcher.rb +148 -0
  44. data/lib/how_is/sources/github/issues.rb +86 -235
  45. data/lib/how_is/sources/github/pulls.rb +19 -18
  46. data/lib/how_is/sources/github.rb +40 -18
  47. data/lib/how_is/sources/github_helpers.rb +8 -91
  48. data/lib/how_is/sources.rb +2 -0
  49. data/lib/how_is/template.rb +9 -0
  50. data/lib/how_is/templates/contributions_partial.html +1 -0
  51. data/lib/how_is/templates/{issues_or_pulls_partial.html_template → issues_or_pulls_partial.html} +0 -0
  52. data/lib/how_is/templates/new_contributors_partial.html +5 -0
  53. data/lib/how_is/templates/{report.html_template → report.html} +0 -8
  54. data/lib/how_is/templates/{report_partial.html_template → report_partial.html} +3 -3
  55. data/lib/how_is/text.rb +26 -0
  56. data/lib/how_is/version.rb +2 -1
  57. data/lib/how_is.rb +33 -60
  58. metadata +28 -47
  59. data/.hound.yml +0 -2
  60. data/.rubocop_todo.yml +0 -21
  61. data/lib/how_is/sources/travis.rb +0 -37
  62. data/roadmap.markdown +0 -82
@@ -403,4 +403,73 @@ http_interactions:
403
403
  commit","tree":{"sha":"8286e548e330cfe01efcf7189f4df1fa53e777a7","url":"https://api.github.com/repos/how-is/example-repository/git/trees/8286e548e330cfe01efcf7189f4df1fa53e777a7"},"url":"https://api.github.com/repos/how-is/example-repository/git/commits/3794aa1c4b76623748faf280abe5760b76823162","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/how-is/example-repository/commits/3794aa1c4b76623748faf280abe5760b76823162","html_url":"https://github.com/how-is/example-repository/commit/3794aa1c4b76623748faf280abe5760b76823162","comments_url":"https://api.github.com/repos/how-is/example-repository/commits/3794aa1c4b76623748faf280abe5760b76823162/comments","author":null,"committer":null,"parents":[{"sha":"9e29405efa433529b86722542b8fb4b34dfd9edd","url":"https://api.github.com/repos/how-is/example-repository/commits/9e29405efa433529b86722542b8fb4b34dfd9edd","html_url":"https://github.com/how-is/example-repository/commit/9e29405efa433529b86722542b8fb4b34dfd9edd"}]}]'
404
404
  http_version:
405
405
  recorded_at: Sat, 06 Jan 2018 20:10:45 GMT
406
- recorded_with: VCR 3.0.3
406
+ - request:
407
+ method: get
408
+ uri: https://api.github.com/repos/how-is/example_repository/commits?since=2017-08-01&until=2017-09-01
409
+ body:
410
+ encoding: US-ASCII
411
+ string: ''
412
+ headers:
413
+ Accept:
414
+ - application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
415
+ Accept-Charset:
416
+ - utf-8
417
+ User-Agent:
418
+ - Github API Ruby Gem 0.18.2
419
+ Authorization:
420
+ - Basic ZHVja2luYXRvcjo5MTgyNzc3ZmYzYzAwNjc5NTE5M2E1NzBjZGFjMzI2YjY0NDU5ZGM5
421
+ Accept-Encoding:
422
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
423
+ response:
424
+ status:
425
+ code: 404
426
+ message: Not Found
427
+ headers:
428
+ Server:
429
+ - GitHub.com
430
+ Date:
431
+ - Thu, 17 Jan 2019 23:31:08 GMT
432
+ Content-Type:
433
+ - application/json; charset=utf-8
434
+ Transfer-Encoding:
435
+ - chunked
436
+ Status:
437
+ - 404 Not Found
438
+ X-Ratelimit-Limit:
439
+ - '5000'
440
+ X-Ratelimit-Remaining:
441
+ - '4994'
442
+ X-Ratelimit-Reset:
443
+ - '1547771467'
444
+ X-Oauth-Scopes:
445
+ - ''
446
+ X-Accepted-Oauth-Scopes:
447
+ - repo
448
+ X-Github-Media-Type:
449
+ - github.v3; format=json
450
+ Access-Control-Expose-Headers:
451
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
452
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
453
+ X-GitHub-Media-Type
454
+ Access-Control-Allow-Origin:
455
+ - "*"
456
+ Strict-Transport-Security:
457
+ - max-age=31536000; includeSubdomains; preload
458
+ X-Frame-Options:
459
+ - deny
460
+ X-Content-Type-Options:
461
+ - nosniff
462
+ X-Xss-Protection:
463
+ - 1; mode=block
464
+ Referrer-Policy:
465
+ - origin-when-cross-origin, strict-origin-when-cross-origin
466
+ Content-Security-Policy:
467
+ - default-src 'none'
468
+ X-Github-Request-Id:
469
+ - C666:74AE:2EA15C3:5A89FE1:5C41103C
470
+ body:
471
+ encoding: ASCII-8BIT
472
+ string: '{"message":"Not Found","documentation_url":"https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository"}'
473
+ http_version:
474
+ recorded_at: Thu, 17 Jan 2019 23:31:08 GMT
475
+ recorded_with: VCR 4.0.0
@@ -403,4 +403,73 @@ http_interactions:
403
403
  commit","tree":{"sha":"8286e548e330cfe01efcf7189f4df1fa53e777a7","url":"https://api.github.com/repos/how-is/example-repository/git/trees/8286e548e330cfe01efcf7189f4df1fa53e777a7"},"url":"https://api.github.com/repos/how-is/example-repository/git/commits/3794aa1c4b76623748faf280abe5760b76823162","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/how-is/example-repository/commits/3794aa1c4b76623748faf280abe5760b76823162","html_url":"https://github.com/how-is/example-repository/commit/3794aa1c4b76623748faf280abe5760b76823162","comments_url":"https://api.github.com/repos/how-is/example-repository/commits/3794aa1c4b76623748faf280abe5760b76823162/comments","author":null,"committer":null,"parents":[{"sha":"9e29405efa433529b86722542b8fb4b34dfd9edd","url":"https://api.github.com/repos/how-is/example-repository/commits/9e29405efa433529b86722542b8fb4b34dfd9edd","html_url":"https://github.com/how-is/example-repository/commit/9e29405efa433529b86722542b8fb4b34dfd9edd"}]}]'
404
404
  http_version:
405
405
  recorded_at: Sat, 06 Jan 2018 20:10:43 GMT
406
- recorded_with: VCR 3.0.3
406
+ - request:
407
+ method: get
408
+ uri: https://api.github.com/repos/how-is/example_repository/commits?since=2017-08-01&until=2017-09-01
409
+ body:
410
+ encoding: US-ASCII
411
+ string: ''
412
+ headers:
413
+ Accept:
414
+ - application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
415
+ Accept-Charset:
416
+ - utf-8
417
+ User-Agent:
418
+ - Github API Ruby Gem 0.18.2
419
+ Authorization:
420
+ - Basic ZHVja2luYXRvcjo5MTgyNzc3ZmYzYzAwNjc5NTE5M2E1NzBjZGFjMzI2YjY0NDU5ZGM5
421
+ Accept-Encoding:
422
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
423
+ response:
424
+ status:
425
+ code: 404
426
+ message: Not Found
427
+ headers:
428
+ Server:
429
+ - GitHub.com
430
+ Date:
431
+ - Thu, 17 Jan 2019 23:31:07 GMT
432
+ Content-Type:
433
+ - application/json; charset=utf-8
434
+ Transfer-Encoding:
435
+ - chunked
436
+ Status:
437
+ - 404 Not Found
438
+ X-Ratelimit-Limit:
439
+ - '5000'
440
+ X-Ratelimit-Remaining:
441
+ - '4999'
442
+ X-Ratelimit-Reset:
443
+ - '1547771467'
444
+ X-Oauth-Scopes:
445
+ - ''
446
+ X-Accepted-Oauth-Scopes:
447
+ - repo
448
+ X-Github-Media-Type:
449
+ - github.v3; format=json
450
+ Access-Control-Expose-Headers:
451
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
452
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
453
+ X-GitHub-Media-Type
454
+ Access-Control-Allow-Origin:
455
+ - "*"
456
+ Strict-Transport-Security:
457
+ - max-age=31536000; includeSubdomains; preload
458
+ X-Frame-Options:
459
+ - deny
460
+ X-Content-Type-Options:
461
+ - nosniff
462
+ X-Xss-Protection:
463
+ - 1; mode=block
464
+ Referrer-Policy:
465
+ - origin-when-cross-origin, strict-origin-when-cross-origin
466
+ Content-Security-Policy:
467
+ - default-src 'none'
468
+ X-Github-Request-Id:
469
+ - AB72:74AE:2EA150C:5A89E73:5C41103B
470
+ body:
471
+ encoding: ASCII-8BIT
472
+ string: '{"message":"Not Found","documentation_url":"https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository"}'
473
+ http_version:
474
+ recorded_at: Thu, 17 Jan 2019 23:31:07 GMT
475
+ recorded_with: VCR 4.0.0
@@ -403,4 +403,73 @@ http_interactions:
403
403
  commit","tree":{"sha":"8286e548e330cfe01efcf7189f4df1fa53e777a7","url":"https://api.github.com/repos/how-is/example-repository/git/trees/8286e548e330cfe01efcf7189f4df1fa53e777a7"},"url":"https://api.github.com/repos/how-is/example-repository/git/commits/3794aa1c4b76623748faf280abe5760b76823162","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/how-is/example-repository/commits/3794aa1c4b76623748faf280abe5760b76823162","html_url":"https://github.com/how-is/example-repository/commit/3794aa1c4b76623748faf280abe5760b76823162","comments_url":"https://api.github.com/repos/how-is/example-repository/commits/3794aa1c4b76623748faf280abe5760b76823162/comments","author":null,"committer":null,"parents":[{"sha":"9e29405efa433529b86722542b8fb4b34dfd9edd","url":"https://api.github.com/repos/how-is/example-repository/commits/9e29405efa433529b86722542b8fb4b34dfd9edd","html_url":"https://github.com/how-is/example-repository/commit/9e29405efa433529b86722542b8fb4b34dfd9edd"}]}]'
404
404
  http_version:
405
405
  recorded_at: Sat, 06 Jan 2018 20:10:44 GMT
406
- recorded_with: VCR 3.0.3
406
+ - request:
407
+ method: get
408
+ uri: https://api.github.com/repos/how-is/example_repository/commits?since=2017-08-01&until=2017-09-01
409
+ body:
410
+ encoding: US-ASCII
411
+ string: ''
412
+ headers:
413
+ Accept:
414
+ - application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
415
+ Accept-Charset:
416
+ - utf-8
417
+ User-Agent:
418
+ - Github API Ruby Gem 0.18.2
419
+ Authorization:
420
+ - Basic ZHVja2luYXRvcjo5MTgyNzc3ZmYzYzAwNjc5NTE5M2E1NzBjZGFjMzI2YjY0NDU5ZGM5
421
+ Accept-Encoding:
422
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
423
+ response:
424
+ status:
425
+ code: 404
426
+ message: Not Found
427
+ headers:
428
+ Server:
429
+ - GitHub.com
430
+ Date:
431
+ - Thu, 17 Jan 2019 23:31:08 GMT
432
+ Content-Type:
433
+ - application/json; charset=utf-8
434
+ Transfer-Encoding:
435
+ - chunked
436
+ Status:
437
+ - 404 Not Found
438
+ X-Ratelimit-Limit:
439
+ - '5000'
440
+ X-Ratelimit-Remaining:
441
+ - '4995'
442
+ X-Ratelimit-Reset:
443
+ - '1547771467'
444
+ X-Oauth-Scopes:
445
+ - ''
446
+ X-Accepted-Oauth-Scopes:
447
+ - repo
448
+ X-Github-Media-Type:
449
+ - github.v3; format=json
450
+ Access-Control-Expose-Headers:
451
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
452
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
453
+ X-GitHub-Media-Type
454
+ Access-Control-Allow-Origin:
455
+ - "*"
456
+ Strict-Transport-Security:
457
+ - max-age=31536000; includeSubdomains; preload
458
+ X-Frame-Options:
459
+ - deny
460
+ X-Content-Type-Options:
461
+ - nosniff
462
+ X-Xss-Protection:
463
+ - 1; mode=block
464
+ Referrer-Policy:
465
+ - origin-when-cross-origin, strict-origin-when-cross-origin
466
+ Content-Security-Policy:
467
+ - default-src 'none'
468
+ X-Github-Request-Id:
469
+ - CCDA:74B0:25D29A2:4E642E1:5C41103C
470
+ body:
471
+ encoding: ASCII-8BIT
472
+ string: '{"message":"Not Found","documentation_url":"https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository"}'
473
+ http_version:
474
+ recorded_at: Thu, 17 Jan 2019 23:31:08 GMT
475
+ recorded_with: VCR 4.0.0
@@ -403,4 +403,73 @@ http_interactions:
403
403
  commit","tree":{"sha":"8286e548e330cfe01efcf7189f4df1fa53e777a7","url":"https://api.github.com/repos/how-is/example-repository/git/trees/8286e548e330cfe01efcf7189f4df1fa53e777a7"},"url":"https://api.github.com/repos/how-is/example-repository/git/commits/3794aa1c4b76623748faf280abe5760b76823162","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/how-is/example-repository/commits/3794aa1c4b76623748faf280abe5760b76823162","html_url":"https://github.com/how-is/example-repository/commit/3794aa1c4b76623748faf280abe5760b76823162","comments_url":"https://api.github.com/repos/how-is/example-repository/commits/3794aa1c4b76623748faf280abe5760b76823162/comments","author":null,"committer":null,"parents":[{"sha":"9e29405efa433529b86722542b8fb4b34dfd9edd","url":"https://api.github.com/repos/how-is/example-repository/commits/9e29405efa433529b86722542b8fb4b34dfd9edd","html_url":"https://github.com/how-is/example-repository/commit/9e29405efa433529b86722542b8fb4b34dfd9edd"}]}]'
404
404
  http_version:
405
405
  recorded_at: Sat, 06 Jan 2018 20:10:44 GMT
406
- recorded_with: VCR 3.0.3
406
+ - request:
407
+ method: get
408
+ uri: https://api.github.com/repos/how-is/example_repository/commits?since=2017-08-01&until=2017-09-01
409
+ body:
410
+ encoding: US-ASCII
411
+ string: ''
412
+ headers:
413
+ Accept:
414
+ - application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
415
+ Accept-Charset:
416
+ - utf-8
417
+ User-Agent:
418
+ - Github API Ruby Gem 0.18.2
419
+ Authorization:
420
+ - Basic ZHVja2luYXRvcjo5MTgyNzc3ZmYzYzAwNjc5NTE5M2E1NzBjZGFjMzI2YjY0NDU5ZGM5
421
+ Accept-Encoding:
422
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
423
+ response:
424
+ status:
425
+ code: 404
426
+ message: Not Found
427
+ headers:
428
+ Server:
429
+ - GitHub.com
430
+ Date:
431
+ - Thu, 17 Jan 2019 23:31:08 GMT
432
+ Content-Type:
433
+ - application/json; charset=utf-8
434
+ Transfer-Encoding:
435
+ - chunked
436
+ Status:
437
+ - 404 Not Found
438
+ X-Ratelimit-Limit:
439
+ - '5000'
440
+ X-Ratelimit-Remaining:
441
+ - '4996'
442
+ X-Ratelimit-Reset:
443
+ - '1547771467'
444
+ X-Oauth-Scopes:
445
+ - ''
446
+ X-Accepted-Oauth-Scopes:
447
+ - repo
448
+ X-Github-Media-Type:
449
+ - github.v3; format=json
450
+ Access-Control-Expose-Headers:
451
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
452
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
453
+ X-GitHub-Media-Type
454
+ Access-Control-Allow-Origin:
455
+ - "*"
456
+ Strict-Transport-Security:
457
+ - max-age=31536000; includeSubdomains; preload
458
+ X-Frame-Options:
459
+ - deny
460
+ X-Content-Type-Options:
461
+ - nosniff
462
+ X-Xss-Protection:
463
+ - 1; mode=block
464
+ Referrer-Policy:
465
+ - origin-when-cross-origin, strict-origin-when-cross-origin
466
+ Content-Security-Policy:
467
+ - default-src 'none'
468
+ X-Github-Request-Id:
469
+ - EDD0:74B0:25D297D:4E64296:5C41103C
470
+ body:
471
+ encoding: ASCII-8BIT
472
+ string: '{"message":"Not Found","documentation_url":"https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository"}'
473
+ http_version:
474
+ recorded_at: Thu, 17 Jan 2019 23:31:08 GMT
475
+ recorded_with: VCR 4.0.0
@@ -403,4 +403,73 @@ http_interactions:
403
403
  commit","tree":{"sha":"8286e548e330cfe01efcf7189f4df1fa53e777a7","url":"https://api.github.com/repos/how-is/example-repository/git/trees/8286e548e330cfe01efcf7189f4df1fa53e777a7"},"url":"https://api.github.com/repos/how-is/example-repository/git/commits/3794aa1c4b76623748faf280abe5760b76823162","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/how-is/example-repository/commits/3794aa1c4b76623748faf280abe5760b76823162","html_url":"https://github.com/how-is/example-repository/commit/3794aa1c4b76623748faf280abe5760b76823162","comments_url":"https://api.github.com/repos/how-is/example-repository/commits/3794aa1c4b76623748faf280abe5760b76823162/comments","author":null,"committer":null,"parents":[{"sha":"9e29405efa433529b86722542b8fb4b34dfd9edd","url":"https://api.github.com/repos/how-is/example-repository/commits/9e29405efa433529b86722542b8fb4b34dfd9edd","html_url":"https://github.com/how-is/example-repository/commit/9e29405efa433529b86722542b8fb4b34dfd9edd"}]}]'
404
404
  http_version:
405
405
  recorded_at: Sat, 06 Jan 2018 20:10:44 GMT
406
- recorded_with: VCR 3.0.3
406
+ - request:
407
+ method: get
408
+ uri: https://api.github.com/repos/how-is/example_repository/commits?since=2017-08-01&until=2017-09-01
409
+ body:
410
+ encoding: US-ASCII
411
+ string: ''
412
+ headers:
413
+ Accept:
414
+ - application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
415
+ Accept-Charset:
416
+ - utf-8
417
+ User-Agent:
418
+ - Github API Ruby Gem 0.18.2
419
+ Authorization:
420
+ - Basic ZHVja2luYXRvcjo5MTgyNzc3ZmYzYzAwNjc5NTE5M2E1NzBjZGFjMzI2YjY0NDU5ZGM5
421
+ Accept-Encoding:
422
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
423
+ response:
424
+ status:
425
+ code: 404
426
+ message: Not Found
427
+ headers:
428
+ Server:
429
+ - GitHub.com
430
+ Date:
431
+ - Thu, 17 Jan 2019 23:31:08 GMT
432
+ Content-Type:
433
+ - application/json; charset=utf-8
434
+ Transfer-Encoding:
435
+ - chunked
436
+ Status:
437
+ - 404 Not Found
438
+ X-Ratelimit-Limit:
439
+ - '5000'
440
+ X-Ratelimit-Remaining:
441
+ - '4997'
442
+ X-Ratelimit-Reset:
443
+ - '1547771467'
444
+ X-Oauth-Scopes:
445
+ - ''
446
+ X-Accepted-Oauth-Scopes:
447
+ - repo
448
+ X-Github-Media-Type:
449
+ - github.v3; format=json
450
+ Access-Control-Expose-Headers:
451
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
452
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
453
+ X-GitHub-Media-Type
454
+ Access-Control-Allow-Origin:
455
+ - "*"
456
+ Strict-Transport-Security:
457
+ - max-age=31536000; includeSubdomains; preload
458
+ X-Frame-Options:
459
+ - deny
460
+ X-Content-Type-Options:
461
+ - nosniff
462
+ X-Xss-Protection:
463
+ - 1; mode=block
464
+ Referrer-Policy:
465
+ - origin-when-cross-origin, strict-origin-when-cross-origin
466
+ Content-Security-Policy:
467
+ - default-src 'none'
468
+ X-Github-Request-Id:
469
+ - 1A43:74AE:2EA1555:5A89F11:5C41103C
470
+ body:
471
+ encoding: ASCII-8BIT
472
+ string: '{"message":"Not Found","documentation_url":"https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository"}'
473
+ http_version:
474
+ recorded_at: Thu, 17 Jan 2019 23:31:08 GMT
475
+ recorded_with: VCR 4.0.0
@@ -77,4 +77,73 @@ http_interactions:
77
77
  repository for testing how_is.","fork":false,"url":"https://api.github.com/repos/how-is/example-repository","forks_url":"https://api.github.com/repos/how-is/example-repository/forks","keys_url":"https://api.github.com/repos/how-is/example-repository/keys{/key_id}","collaborators_url":"https://api.github.com/repos/how-is/example-repository/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/how-is/example-repository/teams","hooks_url":"https://api.github.com/repos/how-is/example-repository/hooks","issue_events_url":"https://api.github.com/repos/how-is/example-repository/issues/events{/number}","events_url":"https://api.github.com/repos/how-is/example-repository/events","assignees_url":"https://api.github.com/repos/how-is/example-repository/assignees{/user}","branches_url":"https://api.github.com/repos/how-is/example-repository/branches{/branch}","tags_url":"https://api.github.com/repos/how-is/example-repository/tags","blobs_url":"https://api.github.com/repos/how-is/example-repository/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/how-is/example-repository/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/how-is/example-repository/git/refs{/sha}","trees_url":"https://api.github.com/repos/how-is/example-repository/git/trees{/sha}","statuses_url":"https://api.github.com/repos/how-is/example-repository/statuses/{sha}","languages_url":"https://api.github.com/repos/how-is/example-repository/languages","stargazers_url":"https://api.github.com/repos/how-is/example-repository/stargazers","contributors_url":"https://api.github.com/repos/how-is/example-repository/contributors","subscribers_url":"https://api.github.com/repos/how-is/example-repository/subscribers","subscription_url":"https://api.github.com/repos/how-is/example-repository/subscription","commits_url":"https://api.github.com/repos/how-is/example-repository/commits{/sha}","git_commits_url":"https://api.github.com/repos/how-is/example-repository/git/commits{/sha}","comments_url":"https://api.github.com/repos/how-is/example-repository/comments{/number}","issue_comment_url":"https://api.github.com/repos/how-is/example-repository/issues/comments{/number}","contents_url":"https://api.github.com/repos/how-is/example-repository/contents/{+path}","compare_url":"https://api.github.com/repos/how-is/example-repository/compare/{base}...{head}","merges_url":"https://api.github.com/repos/how-is/example-repository/merges","archive_url":"https://api.github.com/repos/how-is/example-repository/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/how-is/example-repository/downloads","issues_url":"https://api.github.com/repos/how-is/example-repository/issues{/number}","pulls_url":"https://api.github.com/repos/how-is/example-repository/pulls{/number}","milestones_url":"https://api.github.com/repos/how-is/example-repository/milestones{/number}","notifications_url":"https://api.github.com/repos/how-is/example-repository/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/how-is/example-repository/labels{/name}","releases_url":"https://api.github.com/repos/how-is/example-repository/releases{/id}","deployments_url":"https://api.github.com/repos/how-is/example-repository/deployments","created_at":"2016-08-07T03:52:53Z","updated_at":"2016-08-07T03:52:53Z","pushed_at":"2017-08-05T20:39:30Z","git_url":"git://github.com/how-is/example-repository.git","ssh_url":"git@github.com:how-is/example-repository.git","clone_url":"https://github.com/how-is/example-repository.git","svn_url":"https://github.com/how-is/example-repository","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"organization":{"login":"how-is","id":20577802,"avatar_url":"https://avatars0.githubusercontent.com/u/20577802?v=4","gravatar_id":"","url":"https://api.github.com/users/how-is","html_url":"https://github.com/how-is","followers_url":"https://api.github.com/users/how-is/followers","following_url":"https://api.github.com/users/how-is/following{/other_user}","gists_url":"https://api.github.com/users/how-is/gists{/gist_id}","starred_url":"https://api.github.com/users/how-is/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/how-is/subscriptions","organizations_url":"https://api.github.com/users/how-is/orgs","repos_url":"https://api.github.com/users/how-is/repos","events_url":"https://api.github.com/users/how-is/events{/privacy}","received_events_url":"https://api.github.com/users/how-is/received_events","type":"Organization","site_admin":false},"network_count":0,"subscribers_count":1}'
78
78
  http_version:
79
79
  recorded_at: Sat, 06 Jan 2018 14:58:09 GMT
80
- recorded_with: VCR 3.0.3
80
+ - request:
81
+ method: get
82
+ uri: https://api.github.com/repos/how-is/example_repository
83
+ body:
84
+ encoding: US-ASCII
85
+ string: ''
86
+ headers:
87
+ Accept:
88
+ - application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
89
+ Accept-Charset:
90
+ - utf-8
91
+ User-Agent:
92
+ - Github API Ruby Gem 0.18.2
93
+ Authorization:
94
+ - Basic ZHVja2luYXRvcjo5MTgyNzc3ZmYzYzAwNjc5NTE5M2E1NzBjZGFjMzI2YjY0NDU5ZGM5
95
+ Accept-Encoding:
96
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
97
+ response:
98
+ status:
99
+ code: 404
100
+ message: Not Found
101
+ headers:
102
+ Server:
103
+ - GitHub.com
104
+ Date:
105
+ - Thu, 17 Jan 2019 23:31:08 GMT
106
+ Content-Type:
107
+ - application/json; charset=utf-8
108
+ Transfer-Encoding:
109
+ - chunked
110
+ Status:
111
+ - 404 Not Found
112
+ X-Ratelimit-Limit:
113
+ - '5000'
114
+ X-Ratelimit-Remaining:
115
+ - '4992'
116
+ X-Ratelimit-Reset:
117
+ - '1547771467'
118
+ X-Oauth-Scopes:
119
+ - ''
120
+ X-Accepted-Oauth-Scopes:
121
+ - repo
122
+ X-Github-Media-Type:
123
+ - github.v3; format=json
124
+ Access-Control-Expose-Headers:
125
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
126
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
127
+ X-GitHub-Media-Type
128
+ Access-Control-Allow-Origin:
129
+ - "*"
130
+ Strict-Transport-Security:
131
+ - max-age=31536000; includeSubdomains; preload
132
+ X-Frame-Options:
133
+ - deny
134
+ X-Content-Type-Options:
135
+ - nosniff
136
+ X-Xss-Protection:
137
+ - 1; mode=block
138
+ Referrer-Policy:
139
+ - origin-when-cross-origin, strict-origin-when-cross-origin
140
+ Content-Security-Policy:
141
+ - default-src 'none'
142
+ X-Github-Request-Id:
143
+ - 71B2:74AE:2EA1617:5A8A095:5C41103C
144
+ body:
145
+ encoding: ASCII-8BIT
146
+ string: '{"message":"Not Found","documentation_url":"https://developer.github.com/v3/repos/#get"}'
147
+ http_version:
148
+ recorded_at: Thu, 17 Jan 2019 23:31:08 GMT
149
+ recorded_with: VCR 4.0.0
@@ -77,4 +77,73 @@ http_interactions:
77
77
  repository for testing how_is.","fork":false,"url":"https://api.github.com/repos/how-is/example-repository","forks_url":"https://api.github.com/repos/how-is/example-repository/forks","keys_url":"https://api.github.com/repos/how-is/example-repository/keys{/key_id}","collaborators_url":"https://api.github.com/repos/how-is/example-repository/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/how-is/example-repository/teams","hooks_url":"https://api.github.com/repos/how-is/example-repository/hooks","issue_events_url":"https://api.github.com/repos/how-is/example-repository/issues/events{/number}","events_url":"https://api.github.com/repos/how-is/example-repository/events","assignees_url":"https://api.github.com/repos/how-is/example-repository/assignees{/user}","branches_url":"https://api.github.com/repos/how-is/example-repository/branches{/branch}","tags_url":"https://api.github.com/repos/how-is/example-repository/tags","blobs_url":"https://api.github.com/repos/how-is/example-repository/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/how-is/example-repository/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/how-is/example-repository/git/refs{/sha}","trees_url":"https://api.github.com/repos/how-is/example-repository/git/trees{/sha}","statuses_url":"https://api.github.com/repos/how-is/example-repository/statuses/{sha}","languages_url":"https://api.github.com/repos/how-is/example-repository/languages","stargazers_url":"https://api.github.com/repos/how-is/example-repository/stargazers","contributors_url":"https://api.github.com/repos/how-is/example-repository/contributors","subscribers_url":"https://api.github.com/repos/how-is/example-repository/subscribers","subscription_url":"https://api.github.com/repos/how-is/example-repository/subscription","commits_url":"https://api.github.com/repos/how-is/example-repository/commits{/sha}","git_commits_url":"https://api.github.com/repos/how-is/example-repository/git/commits{/sha}","comments_url":"https://api.github.com/repos/how-is/example-repository/comments{/number}","issue_comment_url":"https://api.github.com/repos/how-is/example-repository/issues/comments{/number}","contents_url":"https://api.github.com/repos/how-is/example-repository/contents/{+path}","compare_url":"https://api.github.com/repos/how-is/example-repository/compare/{base}...{head}","merges_url":"https://api.github.com/repos/how-is/example-repository/merges","archive_url":"https://api.github.com/repos/how-is/example-repository/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/how-is/example-repository/downloads","issues_url":"https://api.github.com/repos/how-is/example-repository/issues{/number}","pulls_url":"https://api.github.com/repos/how-is/example-repository/pulls{/number}","milestones_url":"https://api.github.com/repos/how-is/example-repository/milestones{/number}","notifications_url":"https://api.github.com/repos/how-is/example-repository/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/how-is/example-repository/labels{/name}","releases_url":"https://api.github.com/repos/how-is/example-repository/releases{/id}","deployments_url":"https://api.github.com/repos/how-is/example-repository/deployments","created_at":"2016-08-07T03:52:53Z","updated_at":"2016-08-07T03:52:53Z","pushed_at":"2017-08-05T20:39:30Z","git_url":"git://github.com/how-is/example-repository.git","ssh_url":"git@github.com:how-is/example-repository.git","clone_url":"https://github.com/how-is/example-repository.git","svn_url":"https://github.com/how-is/example-repository","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"organization":{"login":"how-is","id":20577802,"avatar_url":"https://avatars0.githubusercontent.com/u/20577802?v=4","gravatar_id":"","url":"https://api.github.com/users/how-is","html_url":"https://github.com/how-is","followers_url":"https://api.github.com/users/how-is/followers","following_url":"https://api.github.com/users/how-is/following{/other_user}","gists_url":"https://api.github.com/users/how-is/gists{/gist_id}","starred_url":"https://api.github.com/users/how-is/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/how-is/subscriptions","organizations_url":"https://api.github.com/users/how-is/orgs","repos_url":"https://api.github.com/users/how-is/repos","events_url":"https://api.github.com/users/how-is/events{/privacy}","received_events_url":"https://api.github.com/users/how-is/received_events","type":"Organization","site_admin":false},"network_count":0,"subscribers_count":1}'
78
78
  http_version:
79
79
  recorded_at: Sat, 06 Jan 2018 14:58:09 GMT
80
- recorded_with: VCR 3.0.3
80
+ - request:
81
+ method: get
82
+ uri: https://api.github.com/repos/how-is/example_repository
83
+ body:
84
+ encoding: US-ASCII
85
+ string: ''
86
+ headers:
87
+ Accept:
88
+ - application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
89
+ Accept-Charset:
90
+ - utf-8
91
+ User-Agent:
92
+ - Github API Ruby Gem 0.18.2
93
+ Authorization:
94
+ - Basic ZHVja2luYXRvcjo5MTgyNzc3ZmYzYzAwNjc5NTE5M2E1NzBjZGFjMzI2YjY0NDU5ZGM5
95
+ Accept-Encoding:
96
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
97
+ response:
98
+ status:
99
+ code: 404
100
+ message: Not Found
101
+ headers:
102
+ Server:
103
+ - GitHub.com
104
+ Date:
105
+ - Thu, 17 Jan 2019 23:31:09 GMT
106
+ Content-Type:
107
+ - application/json; charset=utf-8
108
+ Transfer-Encoding:
109
+ - chunked
110
+ Status:
111
+ - 404 Not Found
112
+ X-Ratelimit-Limit:
113
+ - '5000'
114
+ X-Ratelimit-Remaining:
115
+ - '4991'
116
+ X-Ratelimit-Reset:
117
+ - '1547771467'
118
+ X-Oauth-Scopes:
119
+ - ''
120
+ X-Accepted-Oauth-Scopes:
121
+ - repo
122
+ X-Github-Media-Type:
123
+ - github.v3; format=json
124
+ Access-Control-Expose-Headers:
125
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
126
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
127
+ X-GitHub-Media-Type
128
+ Access-Control-Allow-Origin:
129
+ - "*"
130
+ Strict-Transport-Security:
131
+ - max-age=31536000; includeSubdomains; preload
132
+ X-Frame-Options:
133
+ - deny
134
+ X-Content-Type-Options:
135
+ - nosniff
136
+ X-Xss-Protection:
137
+ - 1; mode=block
138
+ Referrer-Policy:
139
+ - origin-when-cross-origin, strict-origin-when-cross-origin
140
+ Content-Security-Policy:
141
+ - default-src 'none'
142
+ X-Github-Request-Id:
143
+ - 6D10:74B0:25D2A54:4E64420:5C41103C
144
+ body:
145
+ encoding: ASCII-8BIT
146
+ string: '{"message":"Not Found","documentation_url":"https://developer.github.com/v3/repos/#get"}'
147
+ http_version:
148
+ recorded_at: Thu, 17 Jan 2019 23:31:09 GMT
149
+ recorded_with: VCR 4.0.0
@@ -403,4 +403,73 @@ http_interactions:
403
403
  commit","tree":{"sha":"8286e548e330cfe01efcf7189f4df1fa53e777a7","url":"https://api.github.com/repos/how-is/example-repository/git/trees/8286e548e330cfe01efcf7189f4df1fa53e777a7"},"url":"https://api.github.com/repos/how-is/example-repository/git/commits/3794aa1c4b76623748faf280abe5760b76823162","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/how-is/example-repository/commits/3794aa1c4b76623748faf280abe5760b76823162","html_url":"https://github.com/how-is/example-repository/commit/3794aa1c4b76623748faf280abe5760b76823162","comments_url":"https://api.github.com/repos/how-is/example-repository/commits/3794aa1c4b76623748faf280abe5760b76823162/comments","author":null,"committer":null,"parents":[{"sha":"9e29405efa433529b86722542b8fb4b34dfd9edd","url":"https://api.github.com/repos/how-is/example-repository/commits/9e29405efa433529b86722542b8fb4b34dfd9edd","html_url":"https://github.com/how-is/example-repository/commit/9e29405efa433529b86722542b8fb4b34dfd9edd"}]}]'
404
404
  http_version:
405
405
  recorded_at: Sat, 06 Jan 2018 20:10:45 GMT
406
- recorded_with: VCR 3.0.3
406
+ - request:
407
+ method: get
408
+ uri: https://api.github.com/repos/how-is/example_repository/commits?since=2017-08-01&until=2017-09-01
409
+ body:
410
+ encoding: US-ASCII
411
+ string: ''
412
+ headers:
413
+ Accept:
414
+ - application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
415
+ Accept-Charset:
416
+ - utf-8
417
+ User-Agent:
418
+ - Github API Ruby Gem 0.18.2
419
+ Authorization:
420
+ - Basic ZHVja2luYXRvcjo5MTgyNzc3ZmYzYzAwNjc5NTE5M2E1NzBjZGFjMzI2YjY0NDU5ZGM5
421
+ Accept-Encoding:
422
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
423
+ response:
424
+ status:
425
+ code: 404
426
+ message: Not Found
427
+ headers:
428
+ Server:
429
+ - GitHub.com
430
+ Date:
431
+ - Thu, 17 Jan 2019 23:31:08 GMT
432
+ Content-Type:
433
+ - application/json; charset=utf-8
434
+ Transfer-Encoding:
435
+ - chunked
436
+ Status:
437
+ - 404 Not Found
438
+ X-Ratelimit-Limit:
439
+ - '5000'
440
+ X-Ratelimit-Remaining:
441
+ - '4993'
442
+ X-Ratelimit-Reset:
443
+ - '1547771467'
444
+ X-Oauth-Scopes:
445
+ - ''
446
+ X-Accepted-Oauth-Scopes:
447
+ - repo
448
+ X-Github-Media-Type:
449
+ - github.v3; format=json
450
+ Access-Control-Expose-Headers:
451
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
452
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
453
+ X-GitHub-Media-Type
454
+ Access-Control-Allow-Origin:
455
+ - "*"
456
+ Strict-Transport-Security:
457
+ - max-age=31536000; includeSubdomains; preload
458
+ X-Frame-Options:
459
+ - deny
460
+ X-Content-Type-Options:
461
+ - nosniff
462
+ X-Xss-Protection:
463
+ - 1; mode=block
464
+ Referrer-Policy:
465
+ - origin-when-cross-origin, strict-origin-when-cross-origin
466
+ Content-Security-Policy:
467
+ - default-src 'none'
468
+ X-Github-Request-Id:
469
+ - 3826:74AF:FFD1FA:27322AA:5C41103C
470
+ body:
471
+ encoding: ASCII-8BIT
472
+ string: '{"message":"Not Found","documentation_url":"https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository"}'
473
+ http_version:
474
+ recorded_at: Thu, 17 Jan 2019 23:31:08 GMT
475
+ recorded_with: VCR 4.0.0