inq 26.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. checksums.yaml +7 -0
  2. data/.cirrus.yml +84 -0
  3. data/.codeclimate.yml +23 -0
  4. data/.github_changelog_generator +2 -0
  5. data/.gitignore +15 -0
  6. data/.rspec +2 -0
  7. data/.rubocop.yml +260 -0
  8. data/.travis.yml +24 -0
  9. data/CHANGELOG.md +499 -0
  10. data/CODE_OF_CONDUCT.md +49 -0
  11. data/CONTRIBUTING.md +34 -0
  12. data/Gemfile +15 -0
  13. data/ISSUES.md +62 -0
  14. data/LICENSE.txt +21 -0
  15. data/README.md +91 -0
  16. data/Rakefile +76 -0
  17. data/bin/console +14 -0
  18. data/bin/prerelease-generate-changelog +28 -0
  19. data/bin/setup +8 -0
  20. data/bors.toml +17 -0
  21. data/build-debug.rb +20 -0
  22. data/exe/inq +7 -0
  23. data/fixtures/vcr_cassettes/how-is-example-empty-repository.yml +597 -0
  24. data/fixtures/vcr_cassettes/how-is-example-repository.yml +768 -0
  25. data/fixtures/vcr_cassettes/how-is-from-config-frontmatter.yml +23940 -0
  26. data/fixtures/vcr_cassettes/how-is-how-is-travis-api-repos-builds.yml +66 -0
  27. data/fixtures/vcr_cassettes/how-is-with-config-file.yml +23940 -0
  28. data/fixtures/vcr_cassettes/how_is_contributions_additions_count.yml +247 -0
  29. data/fixtures/vcr_cassettes/how_is_contributions_all_contributors.yml +247 -0
  30. data/fixtures/vcr_cassettes/how_is_contributions_changed_files.yml +247 -0
  31. data/fixtures/vcr_cassettes/how_is_contributions_changes.yml +247 -0
  32. data/fixtures/vcr_cassettes/how_is_contributions_commits.yml +247 -0
  33. data/fixtures/vcr_cassettes/how_is_contributions_compare_url.yml +81 -0
  34. data/fixtures/vcr_cassettes/how_is_contributions_default_branch.yml +81 -0
  35. data/fixtures/vcr_cassettes/how_is_contributions_deletions_count.yml +247 -0
  36. data/fixtures/vcr_cassettes/how_is_contributions_new_contributors.yml +402 -0
  37. data/fixtures/vcr_cassettes/how_is_contributions_summary.yml +325 -0
  38. data/fixtures/vcr_cassettes/how_is_contributions_summary_2.yml +325 -0
  39. data/inq.gemspec +45 -0
  40. data/lib/inq.rb +63 -0
  41. data/lib/inq/cacheable.rb +71 -0
  42. data/lib/inq/cli.rb +135 -0
  43. data/lib/inq/config.rb +123 -0
  44. data/lib/inq/constants.rb +9 -0
  45. data/lib/inq/date_time_helpers.rb +48 -0
  46. data/lib/inq/exe.rb +66 -0
  47. data/lib/inq/frontmatter.rb +51 -0
  48. data/lib/inq/report.rb +140 -0
  49. data/lib/inq/report_collection.rb +113 -0
  50. data/lib/inq/sources.rb +11 -0
  51. data/lib/inq/sources/ci/appveyor.rb +87 -0
  52. data/lib/inq/sources/ci/travis.rb +159 -0
  53. data/lib/inq/sources/github.rb +57 -0
  54. data/lib/inq/sources/github/contributions.rb +204 -0
  55. data/lib/inq/sources/github/issue_fetcher.rb +148 -0
  56. data/lib/inq/sources/github/issues.rb +126 -0
  57. data/lib/inq/sources/github/pulls.rb +29 -0
  58. data/lib/inq/sources/github_helpers.rb +106 -0
  59. data/lib/inq/template.rb +9 -0
  60. data/lib/inq/templates/contributions_partial.html +1 -0
  61. data/lib/inq/templates/issues_or_pulls_partial.html +7 -0
  62. data/lib/inq/templates/new_contributors_partial.html +5 -0
  63. data/lib/inq/templates/report.html +19 -0
  64. data/lib/inq/templates/report_partial.html +12 -0
  65. data/lib/inq/text.rb +26 -0
  66. data/lib/inq/version.rb +6 -0
  67. metadata +263 -0
data/exe/inq ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ # frozen_string_literal: true
4
+
5
+ require "inq/exe"
6
+
7
+ Inq::Exe.run(ARGV)
@@ -0,0 +1,597 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: https://api.github.com/repos/how-is/example-empty-repository
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
12
+ Accept-Charset:
13
+ - utf-8
14
+ User-Agent:
15
+ - Github API Ruby Gem 0.18.2
16
+ Authorization:
17
+ - Basic ZHVja2luYXRvcjo5MTgyNzc3ZmYzYzAwNjc5NTE5M2E1NzBjZGFjMzI2YjY0NDU5ZGM5
18
+ Accept-Encoding:
19
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
20
+ response:
21
+ status:
22
+ code: 200
23
+ message: OK
24
+ headers:
25
+ Server:
26
+ - GitHub.com
27
+ Date:
28
+ - Wed, 01 May 2019 13:52:49 GMT
29
+ Content-Type:
30
+ - application/json; charset=utf-8
31
+ Transfer-Encoding:
32
+ - chunked
33
+ Status:
34
+ - 200 OK
35
+ X-Ratelimit-Limit:
36
+ - '5000'
37
+ X-Ratelimit-Remaining:
38
+ - '4600'
39
+ X-Ratelimit-Reset:
40
+ - '1556722011'
41
+ Cache-Control:
42
+ - private, max-age=60, s-maxage=60
43
+ Vary:
44
+ - Accept, Authorization, Cookie, X-GitHub-OTP
45
+ Etag:
46
+ - W/"6b69aad7a3a985117be57fe218ff364b"
47
+ Last-Modified:
48
+ - Fri, 09 Dec 2016 02:42:09 GMT
49
+ X-Oauth-Scopes:
50
+ - ''
51
+ X-Accepted-Oauth-Scopes:
52
+ - repo
53
+ X-Github-Media-Type:
54
+ - github.v3; format=json
55
+ Access-Control-Expose-Headers:
56
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
57
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
58
+ X-GitHub-Media-Type
59
+ Access-Control-Allow-Origin:
60
+ - "*"
61
+ Strict-Transport-Security:
62
+ - max-age=31536000; includeSubdomains; preload
63
+ X-Frame-Options:
64
+ - deny
65
+ X-Content-Type-Options:
66
+ - nosniff
67
+ X-Xss-Protection:
68
+ - 1; mode=block
69
+ Referrer-Policy:
70
+ - origin-when-cross-origin, strict-origin-when-cross-origin
71
+ Content-Security-Policy:
72
+ - default-src 'none'
73
+ X-Github-Request-Id:
74
+ - CA2A:7523:2943CF:5A5398:5CC9A4B0
75
+ body:
76
+ encoding: ASCII-8BIT
77
+ string: '{"id":75994848,"node_id":"MDEwOlJlcG9zaXRvcnk3NTk5NDg0OA==","name":"example-empty-repository","full_name":"how-is/example-empty-repository","private":false,"owner":{"login":"how-is","id":20577802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNTc3ODAy","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},"html_url":"https://github.com/how-is/example-empty-repository","description":"An
78
+ example repository with no Pull Requests or Issues, for testing how_is.","fork":false,"url":"https://api.github.com/repos/how-is/example-empty-repository","forks_url":"https://api.github.com/repos/how-is/example-empty-repository/forks","keys_url":"https://api.github.com/repos/how-is/example-empty-repository/keys{/key_id}","collaborators_url":"https://api.github.com/repos/how-is/example-empty-repository/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/how-is/example-empty-repository/teams","hooks_url":"https://api.github.com/repos/how-is/example-empty-repository/hooks","issue_events_url":"https://api.github.com/repos/how-is/example-empty-repository/issues/events{/number}","events_url":"https://api.github.com/repos/how-is/example-empty-repository/events","assignees_url":"https://api.github.com/repos/how-is/example-empty-repository/assignees{/user}","branches_url":"https://api.github.com/repos/how-is/example-empty-repository/branches{/branch}","tags_url":"https://api.github.com/repos/how-is/example-empty-repository/tags","blobs_url":"https://api.github.com/repos/how-is/example-empty-repository/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/how-is/example-empty-repository/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/how-is/example-empty-repository/git/refs{/sha}","trees_url":"https://api.github.com/repos/how-is/example-empty-repository/git/trees{/sha}","statuses_url":"https://api.github.com/repos/how-is/example-empty-repository/statuses/{sha}","languages_url":"https://api.github.com/repos/how-is/example-empty-repository/languages","stargazers_url":"https://api.github.com/repos/how-is/example-empty-repository/stargazers","contributors_url":"https://api.github.com/repos/how-is/example-empty-repository/contributors","subscribers_url":"https://api.github.com/repos/how-is/example-empty-repository/subscribers","subscription_url":"https://api.github.com/repos/how-is/example-empty-repository/subscription","commits_url":"https://api.github.com/repos/how-is/example-empty-repository/commits{/sha}","git_commits_url":"https://api.github.com/repos/how-is/example-empty-repository/git/commits{/sha}","comments_url":"https://api.github.com/repos/how-is/example-empty-repository/comments{/number}","issue_comment_url":"https://api.github.com/repos/how-is/example-empty-repository/issues/comments{/number}","contents_url":"https://api.github.com/repos/how-is/example-empty-repository/contents/{+path}","compare_url":"https://api.github.com/repos/how-is/example-empty-repository/compare/{base}...{head}","merges_url":"https://api.github.com/repos/how-is/example-empty-repository/merges","archive_url":"https://api.github.com/repos/how-is/example-empty-repository/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/how-is/example-empty-repository/downloads","issues_url":"https://api.github.com/repos/how-is/example-empty-repository/issues{/number}","pulls_url":"https://api.github.com/repos/how-is/example-empty-repository/pulls{/number}","milestones_url":"https://api.github.com/repos/how-is/example-empty-repository/milestones{/number}","notifications_url":"https://api.github.com/repos/how-is/example-empty-repository/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/how-is/example-empty-repository/labels{/name}","releases_url":"https://api.github.com/repos/how-is/example-empty-repository/releases{/id}","deployments_url":"https://api.github.com/repos/how-is/example-empty-repository/deployments","created_at":"2016-12-09T02:42:09Z","updated_at":"2016-12-09T02:42:09Z","pushed_at":"2016-12-09T02:42:10Z","git_url":"git://github.com/how-is/example-empty-repository.git","ssh_url":"git@github.com:how-is/example-empty-repository.git","clone_url":"https://github.com/how-is/example-empty-repository.git","svn_url":"https://github.com/how-is/example-empty-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,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"organization":{"login":"how-is","id":20577802,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwNTc3ODAy","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}'
79
+ http_version:
80
+ recorded_at: Wed, 01 May 2019 13:52:49 GMT
81
+ - request:
82
+ method: get
83
+ uri: https://api.github.com/repos/how-is/example-empty-repository/commits?since=2016-12-01&until=2017-01-01
84
+ body:
85
+ encoding: US-ASCII
86
+ string: ''
87
+ headers:
88
+ Accept:
89
+ - application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
90
+ Accept-Charset:
91
+ - utf-8
92
+ User-Agent:
93
+ - Github API Ruby Gem 0.18.2
94
+ Authorization:
95
+ - Basic ZHVja2luYXRvcjo5MTgyNzc3ZmYzYzAwNjc5NTE5M2E1NzBjZGFjMzI2YjY0NDU5ZGM5
96
+ Accept-Encoding:
97
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
98
+ response:
99
+ status:
100
+ code: 200
101
+ message: OK
102
+ headers:
103
+ Server:
104
+ - GitHub.com
105
+ Date:
106
+ - Wed, 01 May 2019 13:52:49 GMT
107
+ Content-Type:
108
+ - application/json; charset=utf-8
109
+ Transfer-Encoding:
110
+ - chunked
111
+ Status:
112
+ - 200 OK
113
+ X-Ratelimit-Limit:
114
+ - '5000'
115
+ X-Ratelimit-Remaining:
116
+ - '4599'
117
+ X-Ratelimit-Reset:
118
+ - '1556722011'
119
+ Cache-Control:
120
+ - private, max-age=60, s-maxage=60
121
+ Vary:
122
+ - Accept, Authorization, Cookie, X-GitHub-OTP
123
+ Etag:
124
+ - W/"37db2bcb1f1815d03526ccddad136b59"
125
+ Last-Modified:
126
+ - Fri, 09 Dec 2016 02:42:10 GMT
127
+ X-Oauth-Scopes:
128
+ - ''
129
+ X-Accepted-Oauth-Scopes:
130
+ - ''
131
+ X-Github-Media-Type:
132
+ - github.v3; format=json
133
+ Access-Control-Expose-Headers:
134
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
135
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
136
+ X-GitHub-Media-Type
137
+ Access-Control-Allow-Origin:
138
+ - "*"
139
+ Strict-Transport-Security:
140
+ - max-age=31536000; includeSubdomains; preload
141
+ X-Frame-Options:
142
+ - deny
143
+ X-Content-Type-Options:
144
+ - nosniff
145
+ X-Xss-Protection:
146
+ - 1; mode=block
147
+ Referrer-Policy:
148
+ - origin-when-cross-origin, strict-origin-when-cross-origin
149
+ Content-Security-Policy:
150
+ - default-src 'none'
151
+ X-Github-Request-Id:
152
+ - 23B8:3D33:371D16:6DCCFC:5CC9A4B1
153
+ body:
154
+ encoding: ASCII-8BIT
155
+ string: '[{"sha":"a825118ed65c486c0b35c5926ac88086c958457b","node_id":"MDY6Q29tbWl0NzU5OTQ4NDg6YTgyNTExOGVkNjVjNDg2YzBiMzVjNTkyNmFjODgwODZjOTU4NDU3Yg==","commit":{"author":{"name":"Ellen
156
+ Marie Dash","email":"me@duckie.co","date":"2016-12-09T02:42:10Z"},"committer":{"name":"Ellen
157
+ Marie Dash","email":"me@duckie.co","date":"2016-12-09T02:42:10Z"},"message":"Initial
158
+ commit","tree":{"sha":"6bbe79cba96095077c91fe6dc44166233c273c3e","url":"https://api.github.com/repos/how-is/example-empty-repository/git/trees/6bbe79cba96095077c91fe6dc44166233c273c3e"},"url":"https://api.github.com/repos/how-is/example-empty-repository/git/commits/a825118ed65c486c0b35c5926ac88086c958457b","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/how-is/example-empty-repository/commits/a825118ed65c486c0b35c5926ac88086c958457b","html_url":"https://github.com/how-is/example-empty-repository/commit/a825118ed65c486c0b35c5926ac88086c958457b","comments_url":"https://api.github.com/repos/how-is/example-empty-repository/commits/a825118ed65c486c0b35c5926ac88086c958457b/comments","author":{"login":"duckinator","id":39698,"node_id":"MDQ6VXNlcjM5Njk4","avatar_url":"https://avatars3.githubusercontent.com/u/39698?v=4","gravatar_id":"","url":"https://api.github.com/users/duckinator","html_url":"https://github.com/duckinator","followers_url":"https://api.github.com/users/duckinator/followers","following_url":"https://api.github.com/users/duckinator/following{/other_user}","gists_url":"https://api.github.com/users/duckinator/gists{/gist_id}","starred_url":"https://api.github.com/users/duckinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckinator/subscriptions","organizations_url":"https://api.github.com/users/duckinator/orgs","repos_url":"https://api.github.com/users/duckinator/repos","events_url":"https://api.github.com/users/duckinator/events{/privacy}","received_events_url":"https://api.github.com/users/duckinator/received_events","type":"User","site_admin":false},"committer":{"login":"duckinator","id":39698,"node_id":"MDQ6VXNlcjM5Njk4","avatar_url":"https://avatars3.githubusercontent.com/u/39698?v=4","gravatar_id":"","url":"https://api.github.com/users/duckinator","html_url":"https://github.com/duckinator","followers_url":"https://api.github.com/users/duckinator/followers","following_url":"https://api.github.com/users/duckinator/following{/other_user}","gists_url":"https://api.github.com/users/duckinator/gists{/gist_id}","starred_url":"https://api.github.com/users/duckinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckinator/subscriptions","organizations_url":"https://api.github.com/users/duckinator/orgs","repos_url":"https://api.github.com/users/duckinator/repos","events_url":"https://api.github.com/users/duckinator/events{/privacy}","received_events_url":"https://api.github.com/users/duckinator/received_events","type":"User","site_admin":false},"parents":[]}]'
159
+ http_version:
160
+ recorded_at: Wed, 01 May 2019 13:52:49 GMT
161
+ - request:
162
+ method: get
163
+ uri: https://api.github.com/repos/how-is/example-empty-repository/commits/a825118ed65c486c0b35c5926ac88086c958457b
164
+ body:
165
+ encoding: US-ASCII
166
+ string: ''
167
+ headers:
168
+ Accept:
169
+ - application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
170
+ Accept-Charset:
171
+ - utf-8
172
+ User-Agent:
173
+ - Github API Ruby Gem 0.18.2
174
+ Authorization:
175
+ - Basic ZHVja2luYXRvcjo5MTgyNzc3ZmYzYzAwNjc5NTE5M2E1NzBjZGFjMzI2YjY0NDU5ZGM5
176
+ Accept-Encoding:
177
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
178
+ response:
179
+ status:
180
+ code: 200
181
+ message: OK
182
+ headers:
183
+ Server:
184
+ - GitHub.com
185
+ Date:
186
+ - Wed, 01 May 2019 13:52:49 GMT
187
+ Content-Type:
188
+ - application/json; charset=utf-8
189
+ Transfer-Encoding:
190
+ - chunked
191
+ Status:
192
+ - 200 OK
193
+ X-Ratelimit-Limit:
194
+ - '5000'
195
+ X-Ratelimit-Remaining:
196
+ - '4598'
197
+ X-Ratelimit-Reset:
198
+ - '1556722011'
199
+ Cache-Control:
200
+ - private, max-age=60, s-maxage=60
201
+ Vary:
202
+ - Accept, Authorization, Cookie, X-GitHub-OTP
203
+ Etag:
204
+ - W/"4ed00953141efef1b0a49ff67dfbbc70"
205
+ Last-Modified:
206
+ - Fri, 09 Dec 2016 02:42:10 GMT
207
+ X-Oauth-Scopes:
208
+ - ''
209
+ X-Accepted-Oauth-Scopes:
210
+ - ''
211
+ X-Github-Media-Type:
212
+ - github.v3; format=json
213
+ Access-Control-Expose-Headers:
214
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
215
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
216
+ X-GitHub-Media-Type
217
+ Access-Control-Allow-Origin:
218
+ - "*"
219
+ Strict-Transport-Security:
220
+ - max-age=31536000; includeSubdomains; preload
221
+ X-Frame-Options:
222
+ - deny
223
+ X-Content-Type-Options:
224
+ - nosniff
225
+ X-Xss-Protection:
226
+ - 1; mode=block
227
+ Referrer-Policy:
228
+ - origin-when-cross-origin, strict-origin-when-cross-origin
229
+ Content-Security-Policy:
230
+ - default-src 'none'
231
+ X-Github-Request-Id:
232
+ - D75C:2427:2A0936:5BA601:5CC9A4B1
233
+ body:
234
+ encoding: ASCII-8BIT
235
+ string: '{"sha":"a825118ed65c486c0b35c5926ac88086c958457b","node_id":"MDY6Q29tbWl0NzU5OTQ4NDg6YTgyNTExOGVkNjVjNDg2YzBiMzVjNTkyNmFjODgwODZjOTU4NDU3Yg==","commit":{"author":{"name":"Ellen
236
+ Marie Dash","email":"me@duckie.co","date":"2016-12-09T02:42:10Z"},"committer":{"name":"Ellen
237
+ Marie Dash","email":"me@duckie.co","date":"2016-12-09T02:42:10Z"},"message":"Initial
238
+ commit","tree":{"sha":"6bbe79cba96095077c91fe6dc44166233c273c3e","url":"https://api.github.com/repos/how-is/example-empty-repository/git/trees/6bbe79cba96095077c91fe6dc44166233c273c3e"},"url":"https://api.github.com/repos/how-is/example-empty-repository/git/commits/a825118ed65c486c0b35c5926ac88086c958457b","comment_count":0,"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null}},"url":"https://api.github.com/repos/how-is/example-empty-repository/commits/a825118ed65c486c0b35c5926ac88086c958457b","html_url":"https://github.com/how-is/example-empty-repository/commit/a825118ed65c486c0b35c5926ac88086c958457b","comments_url":"https://api.github.com/repos/how-is/example-empty-repository/commits/a825118ed65c486c0b35c5926ac88086c958457b/comments","author":{"login":"duckinator","id":39698,"node_id":"MDQ6VXNlcjM5Njk4","avatar_url":"https://avatars3.githubusercontent.com/u/39698?v=4","gravatar_id":"","url":"https://api.github.com/users/duckinator","html_url":"https://github.com/duckinator","followers_url":"https://api.github.com/users/duckinator/followers","following_url":"https://api.github.com/users/duckinator/following{/other_user}","gists_url":"https://api.github.com/users/duckinator/gists{/gist_id}","starred_url":"https://api.github.com/users/duckinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckinator/subscriptions","organizations_url":"https://api.github.com/users/duckinator/orgs","repos_url":"https://api.github.com/users/duckinator/repos","events_url":"https://api.github.com/users/duckinator/events{/privacy}","received_events_url":"https://api.github.com/users/duckinator/received_events","type":"User","site_admin":false},"committer":{"login":"duckinator","id":39698,"node_id":"MDQ6VXNlcjM5Njk4","avatar_url":"https://avatars3.githubusercontent.com/u/39698?v=4","gravatar_id":"","url":"https://api.github.com/users/duckinator","html_url":"https://github.com/duckinator","followers_url":"https://api.github.com/users/duckinator/followers","following_url":"https://api.github.com/users/duckinator/following{/other_user}","gists_url":"https://api.github.com/users/duckinator/gists{/gist_id}","starred_url":"https://api.github.com/users/duckinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duckinator/subscriptions","organizations_url":"https://api.github.com/users/duckinator/orgs","repos_url":"https://api.github.com/users/duckinator/repos","events_url":"https://api.github.com/users/duckinator/events{/privacy}","received_events_url":"https://api.github.com/users/duckinator/received_events","type":"User","site_admin":false},"parents":[],"stats":{"total":2,"additions":2,"deletions":0},"files":[{"sha":"73a9460165b68ce76e52c817f839e6fb01ed5a72","filename":"README.md","status":"added","additions":2,"deletions":0,"changes":2,"blob_url":"https://github.com/how-is/example-empty-repository/blob/a825118ed65c486c0b35c5926ac88086c958457b/README.md","raw_url":"https://github.com/how-is/example-empty-repository/raw/a825118ed65c486c0b35c5926ac88086c958457b/README.md","contents_url":"https://api.github.com/repos/how-is/example-empty-repository/contents/README.md?ref=a825118ed65c486c0b35c5926ac88086c958457b","patch":"@@
239
+ -0,0 +1,2 @@\n+# example-empty-repository\n+An example repository with no
240
+ Pull Requests or Issues, for testing how_is."}]}'
241
+ http_version:
242
+ recorded_at: Wed, 01 May 2019 13:52:49 GMT
243
+ - request:
244
+ method: get
245
+ uri: https://api.github.com/repos/how-is/example-empty-repository/commits?author=me@duckie.co&until=2016-12-01
246
+ body:
247
+ encoding: US-ASCII
248
+ string: ''
249
+ headers:
250
+ Accept:
251
+ - application/vnd.github.v3+json,application/vnd.github.beta+json;q=0.5,application/json;q=0.1
252
+ Accept-Charset:
253
+ - utf-8
254
+ User-Agent:
255
+ - Github API Ruby Gem 0.18.2
256
+ Authorization:
257
+ - Basic ZHVja2luYXRvcjo5MTgyNzc3ZmYzYzAwNjc5NTE5M2E1NzBjZGFjMzI2YjY0NDU5ZGM5
258
+ Accept-Encoding:
259
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
260
+ response:
261
+ status:
262
+ code: 200
263
+ message: OK
264
+ headers:
265
+ Server:
266
+ - GitHub.com
267
+ Date:
268
+ - Wed, 01 May 2019 13:52:49 GMT
269
+ Content-Type:
270
+ - application/json; charset=utf-8
271
+ Content-Length:
272
+ - '2'
273
+ Status:
274
+ - 200 OK
275
+ X-Ratelimit-Limit:
276
+ - '5000'
277
+ X-Ratelimit-Remaining:
278
+ - '4597'
279
+ X-Ratelimit-Reset:
280
+ - '1556722011'
281
+ Cache-Control:
282
+ - private, max-age=60, s-maxage=60
283
+ Vary:
284
+ - Accept, Authorization, Cookie, X-GitHub-OTP
285
+ Etag:
286
+ - '"74b5718094ce8869d8149d99338cb4f8"'
287
+ X-Oauth-Scopes:
288
+ - ''
289
+ X-Accepted-Oauth-Scopes:
290
+ - ''
291
+ X-Github-Media-Type:
292
+ - github.v3; format=json
293
+ Access-Control-Expose-Headers:
294
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
295
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
296
+ X-GitHub-Media-Type
297
+ Access-Control-Allow-Origin:
298
+ - "*"
299
+ Strict-Transport-Security:
300
+ - max-age=31536000; includeSubdomains; preload
301
+ X-Frame-Options:
302
+ - deny
303
+ X-Content-Type-Options:
304
+ - nosniff
305
+ X-Xss-Protection:
306
+ - 1; mode=block
307
+ Referrer-Policy:
308
+ - origin-when-cross-origin, strict-origin-when-cross-origin
309
+ Content-Security-Policy:
310
+ - default-src 'none'
311
+ X-Github-Request-Id:
312
+ - D0AD:15F0:373EEF:734942:5CC9A4B1
313
+ body:
314
+ encoding: UTF-8
315
+ string: "[]"
316
+ http_version:
317
+ recorded_at: Wed, 01 May 2019 13:52:49 GMT
318
+ - request:
319
+ method: post
320
+ uri: https://api.github.com/graphql
321
+ body:
322
+ encoding: UTF-8
323
+ string: '{"query":"query {\n repository(owner: \"how-is\", name: \"example-empty-repository\")
324
+ {\n issues(last: 1, orderBy:{field: CREATED_AT, direction: ASC}) {\n edges
325
+ {\n cursor\n }\n }\n }\n}"}'
326
+ headers:
327
+ Accept-Encoding:
328
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
329
+ Accept:
330
+ - application/vnd.github.v4.idl
331
+ User-Agent:
332
+ - Ruby
333
+ Host:
334
+ - api.github.com
335
+ Authorization:
336
+ - bearer 9182777ff3c006795193a570cdac326b64459dc9
337
+ Bearer-Token:
338
+ - 9182777ff3c006795193a570cdac326b64459dc9
339
+ response:
340
+ status:
341
+ code: 200
342
+ message: OK
343
+ headers:
344
+ Server:
345
+ - GitHub.com
346
+ Date:
347
+ - Wed, 01 May 2019 13:52:49 GMT
348
+ Content-Type:
349
+ - application/json; charset=utf-8
350
+ Transfer-Encoding:
351
+ - chunked
352
+ Status:
353
+ - 200 OK
354
+ Cache-Control:
355
+ - no-cache
356
+ X-Oauth-Scopes:
357
+ - ''
358
+ X-Accepted-Oauth-Scopes:
359
+ - repo
360
+ X-Github-Media-Type:
361
+ - github.v4; param=idl
362
+ X-Ratelimit-Limit:
363
+ - '5000'
364
+ X-Ratelimit-Remaining:
365
+ - '4921'
366
+ X-Ratelimit-Reset:
367
+ - '1556722266'
368
+ Access-Control-Expose-Headers:
369
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
370
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
371
+ X-GitHub-Media-Type
372
+ Access-Control-Allow-Origin:
373
+ - "*"
374
+ Strict-Transport-Security:
375
+ - max-age=31536000; includeSubdomains; preload
376
+ X-Frame-Options:
377
+ - deny
378
+ X-Content-Type-Options:
379
+ - nosniff
380
+ X-Xss-Protection:
381
+ - 1; mode=block
382
+ Referrer-Policy:
383
+ - origin-when-cross-origin, strict-origin-when-cross-origin
384
+ Content-Security-Policy:
385
+ - default-src 'none'
386
+ X-Github-Request-Id:
387
+ - B46D:6154:2A1FAE:59672C:5CC9A4B1
388
+ body:
389
+ encoding: ASCII-8BIT
390
+ string: '{"data":{"repository":{"issues":{"edges":[]}}}}'
391
+ http_version:
392
+ recorded_at: Wed, 01 May 2019 13:52:49 GMT
393
+ - request:
394
+ method: post
395
+ uri: https://api.github.com/graphql
396
+ body:
397
+ encoding: UTF-8
398
+ string: '{"query":"query {\n repository(owner: \"how-is\", name: \"example-empty-repository\")
399
+ {\n pullRequests(last: 1, orderBy:{field: CREATED_AT, direction: ASC})
400
+ {\n edges {\n cursor\n }\n }\n }\n}"}'
401
+ headers:
402
+ Accept-Encoding:
403
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
404
+ Accept:
405
+ - application/vnd.github.v4.idl
406
+ User-Agent:
407
+ - Ruby
408
+ Host:
409
+ - api.github.com
410
+ Authorization:
411
+ - bearer 9182777ff3c006795193a570cdac326b64459dc9
412
+ Bearer-Token:
413
+ - 9182777ff3c006795193a570cdac326b64459dc9
414
+ response:
415
+ status:
416
+ code: 200
417
+ message: OK
418
+ headers:
419
+ Server:
420
+ - GitHub.com
421
+ Date:
422
+ - Wed, 01 May 2019 13:52:49 GMT
423
+ Content-Type:
424
+ - application/json; charset=utf-8
425
+ Transfer-Encoding:
426
+ - chunked
427
+ Status:
428
+ - 200 OK
429
+ Cache-Control:
430
+ - no-cache
431
+ X-Oauth-Scopes:
432
+ - ''
433
+ X-Accepted-Oauth-Scopes:
434
+ - repo
435
+ X-Github-Media-Type:
436
+ - github.v4; param=idl
437
+ X-Ratelimit-Limit:
438
+ - '5000'
439
+ X-Ratelimit-Remaining:
440
+ - '4920'
441
+ X-Ratelimit-Reset:
442
+ - '1556722266'
443
+ Access-Control-Expose-Headers:
444
+ - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
445
+ X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval,
446
+ X-GitHub-Media-Type
447
+ Access-Control-Allow-Origin:
448
+ - "*"
449
+ Strict-Transport-Security:
450
+ - max-age=31536000; includeSubdomains; preload
451
+ X-Frame-Options:
452
+ - deny
453
+ X-Content-Type-Options:
454
+ - nosniff
455
+ X-Xss-Protection:
456
+ - 1; mode=block
457
+ Referrer-Policy:
458
+ - origin-when-cross-origin, strict-origin-when-cross-origin
459
+ Content-Security-Policy:
460
+ - default-src 'none'
461
+ X-Github-Request-Id:
462
+ - 8C7D:7524:35B549:6D0790:5CC9A4B1
463
+ body:
464
+ encoding: ASCII-8BIT
465
+ string: '{"data":{"repository":{"pullRequests":{"edges":[]}}}}'
466
+ http_version:
467
+ recorded_at: Wed, 01 May 2019 13:52:49 GMT
468
+ - request:
469
+ method: get
470
+ uri: https://api.travis-ci.org/repo/how-is%2Fexample-empty-repository/branches?sort_by=default_branch
471
+ body:
472
+ encoding: US-ASCII
473
+ string: ''
474
+ headers:
475
+ Accept-Encoding:
476
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
477
+ Accept:
478
+ - application/json
479
+ User-Agent:
480
+ - inq/25.0.0 (https://github.com/duckinator/inq)
481
+ Host:
482
+ - api.travis-ci.org
483
+ Travis-Api-Version:
484
+ - '3'
485
+ response:
486
+ status:
487
+ code: 200
488
+ message: OK
489
+ headers:
490
+ Connection:
491
+ - keep-alive
492
+ Server:
493
+ - nginx
494
+ Date:
495
+ - Wed, 01 May 2019 13:52:50 GMT
496
+ Content-Type:
497
+ - application/json
498
+ Transfer-Encoding:
499
+ - chunked
500
+ Strict-Transport-Security:
501
+ - max-age=31536000
502
+ X-Endpoint:
503
+ - Travis::API::V3::Services::Branches::Find
504
+ X-Oauth-Scopes:
505
+ - ''
506
+ Vary:
507
+ - Accept-Encoding
508
+ X-Rack-Cache:
509
+ - miss
510
+ X-Request-Id:
511
+ - ac7caea1-aca3-41ed-8b06-07f2209b7429
512
+ Access-Control-Allow-Origin:
513
+ - "*"
514
+ Access-Control-Allow-Credentials:
515
+ - 'true'
516
+ Access-Control-Expose-Headers:
517
+ - Content-Type, Cache-Control, Expires, Etag, Last-Modified, X-Request-ID
518
+ Via:
519
+ - 1.1 vegur
520
+ body:
521
+ encoding: ASCII-8BIT
522
+ string: |-
523
+ {
524
+ "@type": "branches",
525
+ "@href": "/repo/how-is%2Fexample-empty-repository/branches?sort_by=default_branch",
526
+ "@representation": "standard",
527
+ "@pagination": {
528
+ "limit": 25,
529
+ "offset": 0,
530
+ "count": 0,
531
+ "is_first": true,
532
+ "is_last": true,
533
+ "next": null,
534
+ "prev": null,
535
+ "first": {
536
+ "@href": "/repo/how-is%2Fexample-empty-repository/branches?sort_by=default_branch",
537
+ "offset": 0,
538
+ "limit": 25
539
+ },
540
+ "last": {
541
+ "@href": "/repo/how-is%2Fexample-empty-repository/branches?limit=25&offset=-25&sort_by=default_branch",
542
+ "offset": -25,
543
+ "limit": 25
544
+ }
545
+ },
546
+ "branches": [
547
+
548
+ ]
549
+ }
550
+ http_version:
551
+ recorded_at: Wed, 01 May 2019 13:52:50 GMT
552
+ - request:
553
+ method: get
554
+ uri: https://ci.appveyor.com/api/projects/how-is/example-empty-repository/history?recordsNumber=100
555
+ body:
556
+ encoding: US-ASCII
557
+ string: ''
558
+ headers:
559
+ Accept-Encoding:
560
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
561
+ Accept:
562
+ - application/json
563
+ User-Agent:
564
+ - inq/25.0.0 (https://github.com/duckinator/inq)
565
+ Host:
566
+ - ci.appveyor.com
567
+ response:
568
+ status:
569
+ code: 404
570
+ message: Not Found
571
+ headers:
572
+ Cache-Control:
573
+ - no-cache
574
+ Pragma:
575
+ - no-cache
576
+ Content-Length:
577
+ - '49'
578
+ Content-Type:
579
+ - application/json; charset=utf-8
580
+ Expires:
581
+ - "-1"
582
+ X-Xss-Protection:
583
+ - 1; mode=block
584
+ X-Frame-Options:
585
+ - SAMEORIGIN
586
+ Strict-Transport-Security:
587
+ - max-age=31536000
588
+ X-Content-Type-Options:
589
+ - nosniff
590
+ Date:
591
+ - Wed, 01 May 2019 13:52:50 GMT
592
+ body:
593
+ encoding: UTF-8
594
+ string: '{"message":"Project not found or access denied."}'
595
+ http_version:
596
+ recorded_at: Wed, 01 May 2019 13:52:50 GMT
597
+ recorded_with: VCR 4.0.0