github_api 0.15.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +770 -0
- data/README.md +25 -8
- data/lib/github_api.rb +37 -76
- data/lib/github_api/api.rb +46 -19
- data/lib/github_api/api/arguments.rb +6 -1
- data/lib/github_api/api/config.rb +3 -5
- data/lib/github_api/api/config/property_set.rb +1 -0
- data/lib/github_api/authorization.rb +2 -0
- data/lib/github_api/client.rb +5 -0
- data/lib/github_api/client/activity.rb +2 -0
- data/lib/github_api/client/activity/events.rb +2 -0
- data/lib/github_api/client/activity/feeds.rb +2 -0
- data/lib/github_api/client/activity/notifications.rb +2 -0
- data/lib/github_api/client/activity/starring.rb +3 -1
- data/lib/github_api/client/activity/watching.rb +3 -1
- data/lib/github_api/client/authorizations.rb +2 -0
- data/lib/github_api/client/authorizations/app.rb +3 -1
- data/lib/github_api/client/emojis.rb +2 -0
- data/lib/github_api/client/gists.rb +4 -2
- data/lib/github_api/client/gists/comments.rb +3 -1
- data/lib/github_api/client/git_data.rb +2 -0
- data/lib/github_api/client/git_data/blobs.rb +2 -1
- data/lib/github_api/client/git_data/commits.rb +2 -0
- data/lib/github_api/client/git_data/references.rb +6 -2
- data/lib/github_api/client/git_data/tags.rb +2 -0
- data/lib/github_api/client/git_data/trees.rb +2 -0
- data/lib/github_api/client/gitignore.rb +2 -0
- data/lib/github_api/client/issues.rb +2 -0
- data/lib/github_api/client/issues/assignees.rb +35 -0
- data/lib/github_api/client/issues/comments.rb +2 -0
- data/lib/github_api/client/issues/events.rb +2 -0
- data/lib/github_api/client/issues/labels.rb +2 -0
- data/lib/github_api/client/issues/milestones.rb +2 -0
- data/lib/github_api/client/markdown.rb +4 -2
- data/lib/github_api/client/meta.rb +2 -0
- data/lib/github_api/client/orgs.rb +6 -0
- data/lib/github_api/client/orgs/hooks.rb +2 -0
- data/lib/github_api/client/orgs/members.rb +2 -0
- data/lib/github_api/client/orgs/memberships.rb +2 -0
- data/lib/github_api/client/orgs/projects.rb +57 -0
- data/lib/github_api/client/orgs/teams.rb +5 -3
- data/lib/github_api/client/projects.rb +83 -0
- data/lib/github_api/client/projects/cards.rb +158 -0
- data/lib/github_api/client/projects/columns.rb +146 -0
- data/lib/github_api/client/pull_requests.rb +2 -0
- data/lib/github_api/client/pull_requests/comments.rb +2 -0
- data/lib/github_api/client/pull_requests/reviews.rb +2 -0
- data/lib/github_api/client/repos.rb +27 -15
- data/lib/github_api/client/repos/branches.rb +48 -0
- data/lib/github_api/client/repos/branches/protections.rb +75 -0
- data/lib/github_api/client/repos/collaborators.rb +2 -1
- data/lib/github_api/client/repos/comments.rb +2 -1
- data/lib/github_api/client/repos/commits.rb +2 -0
- data/lib/github_api/client/repos/contents.rb +26 -4
- data/lib/github_api/client/repos/deployments.rb +3 -1
- data/lib/github_api/client/repos/downloads.rb +2 -0
- data/lib/github_api/client/repos/forks.rb +6 -2
- data/lib/github_api/client/repos/hooks.rb +2 -0
- data/lib/github_api/client/repos/invitations.rb +41 -0
- data/lib/github_api/client/repos/keys.rb +2 -0
- data/lib/github_api/client/repos/merging.rb +2 -0
- data/lib/github_api/client/repos/pages.rb +2 -0
- data/lib/github_api/client/repos/projects.rb +62 -0
- data/lib/github_api/client/repos/pub_sub_hubbub.rb +6 -6
- data/lib/github_api/client/repos/releases.rb +2 -0
- data/lib/github_api/client/repos/releases/assets.rb +3 -1
- data/lib/github_api/client/repos/releases/tags.rb +2 -0
- data/lib/github_api/client/repos/statistics.rb +2 -0
- data/lib/github_api/client/repos/statuses.rb +2 -0
- data/lib/github_api/client/say.rb +2 -0
- data/lib/github_api/client/scopes.rb +2 -0
- data/lib/github_api/client/search.rb +3 -0
- data/lib/github_api/client/search/legacy.rb +2 -0
- data/lib/github_api/client/users.rb +2 -0
- data/lib/github_api/client/users/emails.rb +3 -0
- data/lib/github_api/client/users/followers.rb +3 -1
- data/lib/github_api/client/users/keys.rb +2 -0
- data/lib/github_api/configuration.rb +4 -1
- data/lib/github_api/connection.rb +5 -1
- data/lib/github_api/error.rb +1 -4
- data/lib/github_api/error/client_error.rb +4 -2
- data/lib/github_api/error/service_error.rb +9 -2
- data/lib/github_api/ext/faraday.rb +3 -1
- data/lib/github_api/mash.rb +7 -0
- data/lib/github_api/middleware.rb +8 -6
- data/lib/github_api/normalizer.rb +3 -5
- data/lib/github_api/page_iterator.rb +4 -1
- data/lib/github_api/page_links.rb +4 -0
- data/lib/github_api/paged_request.rb +2 -0
- data/lib/github_api/pagination.rb +10 -7
- data/lib/github_api/parameter_filter.rb +4 -1
- data/lib/github_api/params_hash.rb +4 -4
- data/lib/github_api/request.rb +8 -9
- data/lib/github_api/request/basic_auth.rb +1 -1
- data/lib/github_api/request/jsonize.rb +0 -1
- data/lib/github_api/request/oauth2.rb +2 -0
- data/lib/github_api/request/verbs.rb +3 -0
- data/lib/github_api/response/follow_redirects.rb +140 -0
- data/lib/github_api/response/header.rb +6 -1
- data/lib/github_api/response/mashify.rb +2 -3
- data/lib/github_api/response/raise_error.rb +2 -1
- data/lib/github_api/response_wrapper.rb +5 -0
- data/lib/github_api/utils/url.rb +2 -0
- data/lib/github_api/validations.rb +5 -8
- data/lib/github_api/validations/format.rb +2 -0
- data/lib/github_api/validations/presence.rb +3 -1
- data/lib/github_api/validations/required.rb +2 -0
- data/lib/github_api/version.rb +2 -2
- metadata +100 -36
- data/lib/github_api/core_ext/ordered_hash.rb +0 -107
- data/lib/github_api/requestable.rb +0 -67
- data/lib/github_api/resource.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: c4464537023c643075051f8133bd0dac4ff48a447d556a521ba46c26b2e0ab0e
|
4
|
+
data.tar.gz: 634bc7d95662a6cf93cd8d680422a69ac427eb1830135189df99431756101aad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6148c174063fcf0b9b5bdfe4cc048588c967542d63be0064e39e661df3b94a40dd3e537614eaba42db99ddc13a36ae3bba9e692603e43dc7110ef3247970ab8
|
7
|
+
data.tar.gz: 0f34e0c73736a6c6eee8c4a7f6e710c4fd5ed7220b41f9c696684ef1f5fb7d72948469e42de3844f1f3b3ed64e3ec50d2679b5ab00e976bfa37c47f713def228
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,770 @@
|
|
1
|
+
# Change log
|
2
|
+
|
3
|
+
## [v0.19.0] - 2020-06-22
|
4
|
+
|
5
|
+
### Added
|
6
|
+
* Add Repo Invitations by Seth Siegler(@Siggs2000)
|
7
|
+
* Adds ability to fetch per-repo license information by Zach Wick(@zachwick)
|
8
|
+
* Add 'has_projects' to the list of valid repo options by Romain Tartière(@smortex)
|
9
|
+
|
10
|
+
### Changed
|
11
|
+
* Change to update RSpec from v2 to v3 by Leo Arnold(@leoarnold)
|
12
|
+
* Change to support latest Faraday by Leo Arnold(@leoarnold)
|
13
|
+
* Change to remove OrderedHash as no longer needed
|
14
|
+
* Change gemspec to relax rake & bundler versions
|
15
|
+
|
16
|
+
### Fixed
|
17
|
+
* Fix refs passing in Github::Client::GitData::References by Nicolas Leger(@nicolasleger)
|
18
|
+
* Fix Simplecov deprecations by Leo Arnold(@leoarnold)
|
19
|
+
* Fix Request error message interpolation by Olle Jonsson(@olleolleolle)
|
20
|
+
|
21
|
+
## [v0.18.2] - 2017-11-19
|
22
|
+
|
23
|
+
### Fixed
|
24
|
+
* Fix basic auth header and remove spurious character by soh335
|
25
|
+
* Fix 'disable_warnings' error in hashie dependency by requiring minimum version
|
26
|
+
|
27
|
+
## [v0.18.1] - 2017-10-07
|
28
|
+
|
29
|
+
### Added
|
30
|
+
* Add the new Branch Protection API by Kartik Luke Singh(@kartikluke)
|
31
|
+
* Add ability to add & remove assignees to/from an issue by @soh335
|
32
|
+
|
33
|
+
### Changed
|
34
|
+
* Remove hard dependency on old Faraday versions by David Calavera(@calavera)
|
35
|
+
* Change to relax addressable dependency
|
36
|
+
* Drop support for Ruby 1.9.3
|
37
|
+
* Change Github module to remove ClassMethods module inclusion
|
38
|
+
* Change Github::API to add require_all helper
|
39
|
+
* Change all class to load required dependencies in place of global
|
40
|
+
|
41
|
+
### Fixed
|
42
|
+
* Fix Ruby warnings by Olle Jonsson(@olleolleolle)
|
43
|
+
|
44
|
+
## [v0.17.0] - 2017-04-18
|
45
|
+
|
46
|
+
### Added
|
47
|
+
* Add Projects API (@samphilipd)
|
48
|
+
* Add Project Columns API (@samphilipd)
|
49
|
+
* Add Project Cards API (@samphilipd)
|
50
|
+
|
51
|
+
### Changed
|
52
|
+
* Change Normalizer to remove unnecessary branch condition (@samphilipd)
|
53
|
+
|
54
|
+
### Fixed
|
55
|
+
* Fix ServiceError to account for non Hash type error message (@samphilipd)
|
56
|
+
* Remove :content_type key from ParamsHash as clashes with reponse payload (@samphilipd)
|
57
|
+
|
58
|
+
## [v0.16.0] - 2017-04-02
|
59
|
+
|
60
|
+
### Added
|
61
|
+
* Add ability to follow HTTP 301, 302, 303, 307, and 308 redirects by Jeremy Fabre (@jfabre)
|
62
|
+
* Add :follow_redirects configuration option to allow disabling rediredcts for client
|
63
|
+
* Add API#disable_redirects call to allow disabling redirects inside a block call
|
64
|
+
* Add ability to query response headers as hash structures
|
65
|
+
|
66
|
+
### Changed
|
67
|
+
* Change Repos::Contents#archive to return location header to download resource
|
68
|
+
|
69
|
+
### Fixed
|
70
|
+
* Fix mashi warnings with key/in-built method collisions by Sam Davies (@samphilipd)
|
71
|
+
|
72
|
+
## [v0.15.0] - 2017-03-25
|
73
|
+
|
74
|
+
### Added
|
75
|
+
* Add feature to retrieve repo info using repo id by Prasad Surase(@prasadsurase)
|
76
|
+
* Add support for Pull Request Reviews preview by Valentino(@codenamev)
|
77
|
+
* Add mime-types as dependency
|
78
|
+
|
79
|
+
### Changed
|
80
|
+
* Remove default options for repos by Dan Rice(@dnrce)
|
81
|
+
* Change API calls for issues and pull_request comments by Paul Friedman(@pfriedman)
|
82
|
+
* Lock tins and term-ansicolor to fix coveralls for ruby 1.9.3 by Valentino(@codenamev)
|
83
|
+
* Change #issues.comments.get api path
|
84
|
+
|
85
|
+
### Fixed
|
86
|
+
* Fix improper hash formatting in creating git tag spec by Valentino(@codenamev)
|
87
|
+
* Fix hashie requirement by @betesh
|
88
|
+
|
89
|
+
## [v0.14.5] - 2016-08-07
|
90
|
+
|
91
|
+
## Fixed
|
92
|
+
* Fix oauth2 dependency to allow for latest by @jkeiser
|
93
|
+
|
94
|
+
## [v0.14.4] - 2016-07-15
|
95
|
+
|
96
|
+
### Added
|
97
|
+
* Add ServiceError#data to expose full response payload
|
98
|
+
* Add ServiceError#error_messages to expose only error messages contained in the paylod
|
99
|
+
|
100
|
+
## [v0.14.3] - 2016-07-02
|
101
|
+
|
102
|
+
### Added
|
103
|
+
* Add more specific ServiceError types such as BadGateway, UnsupportedMediaType
|
104
|
+
* Add documentation_url to ServiceError message
|
105
|
+
|
106
|
+
### Changed
|
107
|
+
* Change oauth2 dependency requirement and lock to 1.0.0 to support older ruby versions
|
108
|
+
* Change to include all client errors inside ClientError
|
109
|
+
|
110
|
+
### Fixed
|
111
|
+
* Fix ServiceError to handle multiple errors in response body by Jonathan Chan(@jonmchan)
|
112
|
+
|
113
|
+
## [v0.14.2] - 2016-06-28
|
114
|
+
|
115
|
+
## Added
|
116
|
+
* Add hooks namespace to orgs
|
117
|
+
|
118
|
+
## Changed
|
119
|
+
* Change default headers in Connection
|
120
|
+
* Change API::namespace to raise on redefinition
|
121
|
+
* Change API::extend_with_actions to skip anonymous classes
|
122
|
+
* Remove connection caching
|
123
|
+
* Remove API::with
|
124
|
+
|
125
|
+
## Fixed
|
126
|
+
* Changed creation of default connection options to fix issue with mergin custom request headers
|
127
|
+
* Fix issue with scopes listing #219
|
128
|
+
|
129
|
+
## [v0.14.1] - 2016-06-21
|
130
|
+
|
131
|
+
### Added
|
132
|
+
* Add organization hooks by @pkhxcp
|
133
|
+
|
134
|
+
### Changed
|
135
|
+
* Change processing of :basic_auth and :login parameters to prevent mutation
|
136
|
+
* Change basic auth middleware to rely on simple login param
|
137
|
+
|
138
|
+
## [v0.14.0] - 2016-05-22
|
139
|
+
|
140
|
+
### Added
|
141
|
+
* Add ability to get a specific gist revision
|
142
|
+
|
143
|
+
### Changed
|
144
|
+
* Remove request params checks from PullRequests & PullRequests::Comments
|
145
|
+
* Remove request params checks from Gists & Gists::Comments
|
146
|
+
* Remove multi_json dependency in favour of plain json
|
147
|
+
* Change ServiceError response header parsing
|
148
|
+
|
149
|
+
### Fixed
|
150
|
+
* Fix custom middleware stack by @zacksiri
|
151
|
+
* Fix gist fork to use new url path
|
152
|
+
* Fix respond_to signature
|
153
|
+
|
154
|
+
## [v0.13.1] - 2015-12-20
|
155
|
+
|
156
|
+
### Added
|
157
|
+
* Add activity feeds api by MaximAbramchuck
|
158
|
+
* Add activity feed convenience method
|
159
|
+
* Add upload_api configuration option by shadabahmed
|
160
|
+
* Add atom parser middleware
|
161
|
+
|
162
|
+
### Changed
|
163
|
+
* Change activity notifications api to remove permitted options guard
|
164
|
+
* Update dependencies by relaxig bundler and rake dev dependencies
|
165
|
+
* Remove nokogiri dependency
|
166
|
+
|
167
|
+
## [v0.13.0] - 2015-11-21
|
168
|
+
|
169
|
+
### Added
|
170
|
+
* Add latest release #releases.latest by @anuja-joshi
|
171
|
+
* Add release by tag name #tags.get by @Shwetakale
|
172
|
+
* Add listing of all organizations #list :every
|
173
|
+
* Add team membership #team_membership
|
174
|
+
* Add team membership addition #add_membership by @anuja-joshi
|
175
|
+
* Add team membership removeal #remove_membership by @anuja-joshi
|
176
|
+
* Add Client::Orgs::Memberships api with contribution from @Shwetakale
|
177
|
+
|
178
|
+
### Changed
|
179
|
+
* Change authorizations api #create to require note parameter and
|
180
|
+
remove restrictions on available parameters
|
181
|
+
* Remove support for Ruby 1.9.2
|
182
|
+
* Remove required parameters checks from Client::Repos::Keys api
|
183
|
+
|
184
|
+
## [v0.12.4] - 2015-08-02
|
185
|
+
|
186
|
+
### Changed
|
187
|
+
* Change gem spec to exlude test files and require ruby version
|
188
|
+
* Update dependencies
|
189
|
+
|
190
|
+
## [v0.12.3] - 2015-02-07
|
191
|
+
|
192
|
+
### Added
|
193
|
+
* Add ratelimit_reset to response header by @k0nserv
|
194
|
+
* Add ability to specify connection options by @codenamev
|
195
|
+
* Add two-factor authorization and document
|
196
|
+
|
197
|
+
### Fixed
|
198
|
+
* Fix jsonize from overwritting non-json body for non-get requests by @timruffles
|
199
|
+
* Fix content type parameter by @timruffles
|
200
|
+
|
201
|
+
## [v0.12.2] - 2015-10-25
|
202
|
+
|
203
|
+
### Added
|
204
|
+
* Add pp support in DEBUG mode by @lukeasrodgers
|
205
|
+
|
206
|
+
### Changed
|
207
|
+
* Clean up PageIterator and simplify
|
208
|
+
* Clean up and refactor PageLinks parser
|
209
|
+
|
210
|
+
### Fixed
|
211
|
+
* Fix Authorization header token for OAuth by @codenamev
|
212
|
+
* Fix except! for core hash extension by @josacar
|
213
|
+
|
214
|
+
## [v0.12.1] - 2015-08-15
|
215
|
+
|
216
|
+
### Added
|
217
|
+
* Add #configure method on Github module to allow modification of settings
|
218
|
+
* Add :per_page to configuration options
|
219
|
+
|
220
|
+
### Changed
|
221
|
+
* Change #actions to return Array of avilable methods for a given api
|
222
|
+
|
223
|
+
### Fixed
|
224
|
+
* Fix bug with PropertySet not requiring 'set' standard library
|
225
|
+
|
226
|
+
## [v0.12.0] - 2014-07-27
|
227
|
+
|
228
|
+
### Features Core
|
229
|
+
* Add namespace helper to API to easily create nested resources
|
230
|
+
* Add before_request & after_request callbacks to API
|
231
|
+
* Change all scopes to use namespace helper
|
232
|
+
* Move development dependencies out of rubygems
|
233
|
+
* Add API::Config for configuration of main api
|
234
|
+
* Change Configuration to use #property and drastically simplify setup
|
235
|
+
* Change Request to be a class and simplify requests dispatch
|
236
|
+
* Remove S3Uploader class
|
237
|
+
|
238
|
+
### Features Client
|
239
|
+
* Add check method to Application Authorization Api (#157)
|
240
|
+
* Add Deployments Api with feature tests
|
241
|
+
* Add commits & forks calls to Gists Api
|
242
|
+
* Add following? another user to Users::Followers Api
|
243
|
+
* Add ability to list all the teams for the user to Orgs::Teams Api
|
244
|
+
* Remove create, upload calls from Repos::Downloads Api
|
245
|
+
* Add ping method to Repos::Hooks Api
|
246
|
+
* Add combined status listing to Repos::Statuses Api
|
247
|
+
* Add subscribe, unsubscribe and subscribed? calls to Activity::Watching Api
|
248
|
+
|
249
|
+
### Fixed
|
250
|
+
* Remove scopes caching
|
251
|
+
* Change Arguments to stop leaking to global namespace
|
252
|
+
* Change features tests to generate JSON responses
|
253
|
+
* Add feature tests for User Followers Api
|
254
|
+
* Ensure works on Ruby 1.9.2, 1.9.3, 2.0, 2.1, JRuby & Rubinus
|
255
|
+
|
256
|
+
## [v0.11.3] - 2014-02-22
|
257
|
+
|
258
|
+
### Added
|
259
|
+
* Add Pages Api
|
260
|
+
* Add Application authorization Api
|
261
|
+
|
262
|
+
### Fixed
|
263
|
+
* Fix core extensions to not override other libraries
|
264
|
+
|
265
|
+
## [v0.11.2] - 2014-02-02
|
266
|
+
|
267
|
+
### Changed
|
268
|
+
* Change autoload to require libs
|
269
|
+
* Change Connection module to work with newest Faraday 0.9 release
|
270
|
+
* Simplify and document Request module
|
271
|
+
|
272
|
+
## [v0.11.1] - 2013-12-16
|
273
|
+
|
274
|
+
### Added
|
275
|
+
* Add status, body readers to service error.
|
276
|
+
* Add descendants tracker.
|
277
|
+
* Add encoder to faraday.
|
278
|
+
|
279
|
+
### Changed
|
280
|
+
* Change search api to stop escaping query components.
|
281
|
+
|
282
|
+
## [v0.11.0] - 2013-12-07
|
283
|
+
|
284
|
+
### Added
|
285
|
+
* Add Legacy namespace for old Search Api
|
286
|
+
* Add new Search Api
|
287
|
+
* Add new Releases & Assets Api including file uploads
|
288
|
+
* Add new UnkownMedia client error type
|
289
|
+
* Add root certs
|
290
|
+
|
291
|
+
### Changed
|
292
|
+
* Change request module to accept params hash as default
|
293
|
+
* Change dev tools to update to latest
|
294
|
+
* Rewrite specs to properly test error conditions
|
295
|
+
|
296
|
+
### Fixed
|
297
|
+
* Fix caching issues within the repository API object.
|
298
|
+
* Fix default org option to be respected when repository listing
|
299
|
+
|
300
|
+
## [v0.10.2] - 2013-06-26
|
301
|
+
|
302
|
+
### Added
|
303
|
+
* Add ability to encode params hash vlaues strings to base 64
|
304
|
+
* Add repo content create/update/delete api calls
|
305
|
+
|
306
|
+
### Changed
|
307
|
+
* Updated dependencies
|
308
|
+
|
309
|
+
### Fixed
|
310
|
+
* Fix issue with listing repository [#118]
|
311
|
+
* Fix issue with ratelimit [#119]
|
312
|
+
|
313
|
+
0.10.1 (May 21, 2013)
|
314
|
+
---------------------
|
315
|
+
|
316
|
+
* Fix issue with loading params hash
|
317
|
+
|
318
|
+
0.10.0 (May 19, 2013)
|
319
|
+
---------------------
|
320
|
+
|
321
|
+
* Add addressable dependency
|
322
|
+
* Fix Tree api create method #109
|
323
|
+
* Fix keyword escaping in Search API #113
|
324
|
+
* Add ParamsHash class for parameter options abstraction
|
325
|
+
* Add repository Statistics api
|
326
|
+
* Add media type parser
|
327
|
+
* Add media type & accept header support
|
328
|
+
* Change default accept header
|
329
|
+
* Add deep_merge core extension
|
330
|
+
* Change connection options to overwrite deep keys
|
331
|
+
|
332
|
+
0.9.7 (April 13, 2013)
|
333
|
+
----------------------
|
334
|
+
|
335
|
+
* Add listing of user keys
|
336
|
+
* Change gists listing to include :public option
|
337
|
+
* Change repos listing to include :every option and fix issue #102
|
338
|
+
|
339
|
+
0.9.6 (April 6, 2013)
|
340
|
+
---------------------
|
341
|
+
|
342
|
+
* Convert hook_id to id in repo hooks api
|
343
|
+
* Fix #101 broken auto_pagination, ensure only get request is paginated that has enumerable body
|
344
|
+
|
345
|
+
0.9.5 (April 1, 2013)
|
346
|
+
---------------------
|
347
|
+
|
348
|
+
* Add default_branch to repo valid parameters
|
349
|
+
* Remove bundle command from rvm script
|
350
|
+
* Document pull request parameters
|
351
|
+
* Change issue api issue_id parameter to number
|
352
|
+
* Fix issue #100 with oauth client site parameter
|
353
|
+
|
354
|
+
0.9.4 (Mar 24, 2013)
|
355
|
+
--------------------
|
356
|
+
|
357
|
+
* Relax hashie dependency and update other dependencies.
|
358
|
+
* Fix bug #96 with response wrapper equality
|
359
|
+
|
360
|
+
0.9.3 (Mar 9, 2013)
|
361
|
+
-------------------
|
362
|
+
|
363
|
+
* Fix stack overflow issue #95 and add feature tests
|
364
|
+
|
365
|
+
0.9.2 (Mar 3, 2013)
|
366
|
+
-------------------
|
367
|
+
|
368
|
+
* Add auto_pagination feature to allow for retrieval of all pages for a given
|
369
|
+
resource - #91 feature request
|
370
|
+
* Change ResponseWrapper to allow custom body assignment
|
371
|
+
* Fix ResponseWrapper to allow array like lookup of multiple bodies
|
372
|
+
* Fix ResponseWrapper has_key? checks nonempty hash like bodies
|
373
|
+
* Update hashie dependency to remove warnings
|
374
|
+
|
375
|
+
0.9.1 (Feb 24, 2013)
|
376
|
+
--------------------
|
377
|
+
|
378
|
+
* Add request arguments parser to allow for flexibility when specifying
|
379
|
+
required and optional parameters
|
380
|
+
* Add dynamic setters and getters to the main Api class
|
381
|
+
* Add arguments call to Api class for parsing parameters
|
382
|
+
* Add with scope to API to allow for custom parameter setting
|
383
|
+
* Change all client api methods to accept arbitrary number of arguments
|
384
|
+
* Change pub_sub_hubbub service hooks methods to use enteprise site endpoint
|
385
|
+
* Remove parameters transformation helpers from main API
|
386
|
+
* Update hashie, faraday dependencies
|
387
|
+
|
388
|
+
0.9.0 (Feb 18, 2013)
|
389
|
+
--------------------
|
390
|
+
|
391
|
+
* Add Pagination module to define interface for the response
|
392
|
+
* Add Pagination#count_pages to return total number of pages
|
393
|
+
* Add ResponeWrapper to define response returned by the client request
|
394
|
+
* Add Response::Header to scope header information which fixes bug #89
|
395
|
+
* Improvements to page_request method to work on api instance rather than global api configuration, allows for concurrent pagination requests
|
396
|
+
* Improvements and fixes to PageIterator, mainly changed links path parsing
|
397
|
+
* Fix pagination for the GitHub Enterprise
|
398
|
+
* Change Configuration to call reset! method
|
399
|
+
* Change Github::API to preserve current options accross instances
|
400
|
+
* Remove api_client global helper to allow for thread safe behaviour accross many client instances
|
401
|
+
* Change ApiFactory to be more efficient and accept blocks
|
402
|
+
* Change all Api instances to accept options hash and block
|
403
|
+
|
404
|
+
0.8.11 (Feb 9, 2013)
|
405
|
+
--------------------
|
406
|
+
|
407
|
+
* Fix preserving query params in page iterator next action.
|
408
|
+
* Add meta api.
|
409
|
+
|
410
|
+
0.8.10 (Feb 4, 2013)
|
411
|
+
--------------------
|
412
|
+
|
413
|
+
* Fix reference validation in GitData::References.validate_reference
|
414
|
+
|
415
|
+
0.8.9 (Jan 26, 2013)
|
416
|
+
--------------------
|
417
|
+
|
418
|
+
* Fix broken accepts header.
|
419
|
+
* Change organization members listing to include flag for public listings.
|
420
|
+
* Fix organization teams & members api query methods checking for response status.
|
421
|
+
|
422
|
+
0.8.8 (Jan 20, 2013)
|
423
|
+
--------------------
|
424
|
+
|
425
|
+
* Add :ssl configuration option.
|
426
|
+
* Add escaping of search keywords.
|
427
|
+
* Change pull requests api :pull_request_id to :number
|
428
|
+
|
429
|
+
0.8.7 (Jan 15, 2013)
|
430
|
+
|
431
|
+
* Fix bug with repository commits param listing.
|
432
|
+
* Stop bypassing ssl verification.
|
433
|
+
|
434
|
+
0.8.6 (Jan 2, 2013)
|
435
|
+
|
436
|
+
* Fix bug with content type header for pubsubhubbub
|
437
|
+
* Change labels api remove call to take labe_name as parameter
|
438
|
+
* Add feature tests for forks api.
|
439
|
+
|
440
|
+
0.8.5 (Dec 27, 2012)
|
441
|
+
|
442
|
+
* Fix bug with getting repository branch for enteprise apis.
|
443
|
+
* Fix bug with creating authorization tokens.
|
444
|
+
* Add features for issues comments api.
|
445
|
+
|
446
|
+
0.8.4 (Dec 17, 2012)
|
447
|
+
|
448
|
+
* Fix bug with listing issues.
|
449
|
+
* Change labels listing to merge mileston & issue listings.
|
450
|
+
* Add features tests for issues milestones, events, labels.
|
451
|
+
|
452
|
+
0.8.3 (Dec 15, 2012)
|
453
|
+
|
454
|
+
* Add oauth scopes listing method and helpers for reading scopes on a resource
|
455
|
+
accepted_oauth_scopes and oauth_scopes
|
456
|
+
* Add say method call for printing octocat ASCII
|
457
|
+
* Change issues listing to accept additional org and repo parameters.
|
458
|
+
* Fix bug with milestones update method incorrect validation.
|
459
|
+
* Change events listing to take issue_id as an optional parameter.
|
460
|
+
|
461
|
+
0.8.2 (Dec 7, 2012)
|
462
|
+
|
463
|
+
* Add Gitignore api.
|
464
|
+
* Add listing of all repositories(a dump of every repository).
|
465
|
+
* Add listing of all users (a dump of every user).
|
466
|
+
* Add pull request comments listing in a repository.
|
467
|
+
* Add issue comments listing in a repository.
|
468
|
+
* Change unit tests for users api.
|
469
|
+
* Update rspec, cucumber etc... dependencies
|
470
|
+
|
471
|
+
0.8.1 (Nov 17, 2012)
|
472
|
+
|
473
|
+
* Fix bug with validating options on Repository API create method.
|
474
|
+
* Fix bug with Repository Comments API valid parameters filtering.
|
475
|
+
* Fix bug with parameters passing in Repository API delete method.
|
476
|
+
* Add shared behaviour examples for unit testing.
|
477
|
+
* Changed Git Comments API request paths and method signatures to take gist-id.
|
478
|
+
|
479
|
+
0.8.0 (Nov 4, 2012)
|
480
|
+
|
481
|
+
* Add activity namespace
|
482
|
+
* Add notifications API inside activity namespace.
|
483
|
+
* Move starring api inside activity namespace.
|
484
|
+
* Move watching api inside activity namespace.
|
485
|
+
* Move events api inside activity namespace.
|
486
|
+
|
487
|
+
0.7.2 (October 27, 2012)
|
488
|
+
|
489
|
+
* Fix bug with editing issues comment.
|
490
|
+
* Fix bug with retrieving single page from paginated set.
|
491
|
+
* Add repository comments api and remove old api calls from commits api.
|
492
|
+
* Add options setting inside api.
|
493
|
+
* Replace all api endpoints to use new options setter for user and repo.
|
494
|
+
* Update documentation with main features list.
|
495
|
+
|
496
|
+
0.7.1 (October 20, 2012)
|
497
|
+
|
498
|
+
* Add delete call to repositories api.
|
499
|
+
* Allow for type, sort & direction parameters when listing repositories.
|
500
|
+
* Change unit tests for repositories.
|
501
|
+
* Add code metrics tasks.
|
502
|
+
* Add assertion for checking non-empty request arguments.
|
503
|
+
* Change all requests to use new presence assertion.
|
504
|
+
|
505
|
+
0.7.0 (September 9, 2012)
|
506
|
+
|
507
|
+
* Fix multi json compatibility issues.
|
508
|
+
* Move assigness api inside the issues scope.
|
509
|
+
* Add Statuses Api.
|
510
|
+
* Add Starring Api.
|
511
|
+
* Change Watching api(old Watching available as Starring Api), rename
|
512
|
+
'start_watching' to 'watch' and 'stop_watching' to 'unwatch'.
|
513
|
+
* Add Repository Merging Api.
|
514
|
+
|
515
|
+
0.6.5 (August 17, 2012)
|
516
|
+
|
517
|
+
* Add ability to list class subclasses.
|
518
|
+
* Change http error handling to allow for easy extensions of error classes.
|
519
|
+
* Add assignee api with tests.
|
520
|
+
* Add emojis api with tests.
|
521
|
+
|
522
|
+
0.6.4 (July 28, 2012)
|
523
|
+
|
524
|
+
* Fix bug Issue#41 - content stays encoded in base64 and
|
525
|
+
caching Contents api call to correct instance.
|
526
|
+
* Fix bug Issue#46 - remove user parameters merging.
|
527
|
+
* Add response body parsing and http status code setup to ServiceError.
|
528
|
+
* Change all service errors to include http status code and
|
529
|
+
to inherit from service error class.
|
530
|
+
* Update readme with error handling explanation.
|
531
|
+
* Add ratelimit requests.
|
532
|
+
|
533
|
+
0.6.3 (July 17, 2012)
|
534
|
+
|
535
|
+
* Add ability to modify default middleware stack or create custome one.
|
536
|
+
* Refactored and simplified main api initialization process.
|
537
|
+
* Fixed issues #39 with json encoding request bodies.
|
538
|
+
|
539
|
+
0.6.2 (July 15, 2012)
|
540
|
+
|
541
|
+
* Drop yajl from development dependencies to allow jruby pass.
|
542
|
+
* Add repository single branch retrieval.
|
543
|
+
* Add markdown api support.
|
544
|
+
* Rewrite connection to set proper http headers to agree with GitHub Api spec.
|
545
|
+
* Add ability to specify custom endpoints for enterprise clients.
|
546
|
+
|
547
|
+
0.6.1 (June 24, 2012)
|
548
|
+
|
549
|
+
* Add request parameters normalizer and update code references.
|
550
|
+
* Refactor Filter into ParameterFilter and update code references.
|
551
|
+
* Drop oauth2 dependency version requirement and update faraday.
|
552
|
+
* Add codeclimate integration in gem documentation.
|
553
|
+
* Add rubinius & jruby to Travis.
|
554
|
+
|
555
|
+
0.6.0 (June 12, 2012)
|
556
|
+
|
557
|
+
* Add search api with full test coverage.
|
558
|
+
* Add repository contents api with full test coverage.
|
559
|
+
* Change required keys validation and refactor all method calls.
|
560
|
+
* Change parameter procesing in users api, add feature tests.
|
561
|
+
* Change parameter processing in issues api, add feature tests.
|
562
|
+
* Add cache and location to response headers.
|
563
|
+
* Add unknown value error type and changed parameters values validation.
|
564
|
+
* Add redirects following.
|
565
|
+
|
566
|
+
0.5.4 (June 9, 2012)
|
567
|
+
|
568
|
+
* Update teams api documentation.
|
569
|
+
* Remove unused code from request processing.
|
570
|
+
* Remove require for addressable.
|
571
|
+
* Add feature tests for events, gists, orgs apis.
|
572
|
+
* Add core extension for extracting options from array.
|
573
|
+
* Change parameter slurping for organizations listing.
|
574
|
+
|
575
|
+
0.5.3 (June 6, 2012)
|
576
|
+
|
577
|
+
* Fix bug with preserving query parameters during pagination.
|
578
|
+
* Add feature tests to ensure correct pagination.
|
579
|
+
* Update vcr dependency.
|
580
|
+
|
581
|
+
0.5.2 (May 20, 2012)
|
582
|
+
|
583
|
+
* Change interface for listing unauthenticated user gists.
|
584
|
+
* Change gists find to get signature.
|
585
|
+
* Change oauth2 request.
|
586
|
+
* Add request json body encoding.
|
587
|
+
* Add live tests for emails api.
|
588
|
+
* Add ability to include body for delete request.
|
589
|
+
* Fix bug with deleting authenticated user emails.
|
590
|
+
* Update gem dependencies to faraday 0.8, oauth2 0.7 and guard.
|
591
|
+
|
592
|
+
0.5.1 (May 7, 2012)
|
593
|
+
|
594
|
+
* Fix bugs with references api and add live test coverage.
|
595
|
+
* Add live tests settings file.
|
596
|
+
* Add live tests for repository api.
|
597
|
+
* Add new section called testing to main docs to explain on test setup.
|
598
|
+
|
599
|
+
0.5.0 (April 27, 2012)
|
600
|
+
|
601
|
+
* Mainly documentation updates for method parameters and the way they are invoked.
|
602
|
+
|
603
|
+
0.5.0.rc1 (April 27, 2012)
|
604
|
+
|
605
|
+
* Rewrote all apis method calls to be consistent with GitHub API v3, namely,
|
606
|
+
regardless which resource is being currently used, the 'create', 'edit', 'delete' methods are used for CRUD operations.
|
607
|
+
* Further ActiveRecord style methods are used, that is, 'all' for listing collection of resoruces and 'find' for getting a single resource.
|
608
|
+
|
609
|
+
0.4.11 (Apr 22, 2012)
|
610
|
+
|
611
|
+
* Add nokogiri as dependency.
|
612
|
+
* Update json dependency and remove deprecation warnings.
|
613
|
+
|
614
|
+
0.4.10 (Apr 15, 2012)
|
615
|
+
|
616
|
+
* Add xml resposne parsing.
|
617
|
+
* Add ordered hash to core extensions.
|
618
|
+
* Add amazon s3 services upload feature and integrate with downloads api upload method.
|
619
|
+
|
620
|
+
0.4.9 (Apr 9, 2012)
|
621
|
+
|
622
|
+
* Relax json and rspec gem dependencies.
|
623
|
+
|
624
|
+
0.4.8 (March 17, 2012)
|
625
|
+
|
626
|
+
* Change user emails api, fix bug with deleting emails, add specs.
|
627
|
+
* Change user keys api and add specs.
|
628
|
+
|
629
|
+
0.4.7 (March 11, 2012)
|
630
|
+
|
631
|
+
* Add custom client error class.
|
632
|
+
* Add custom errors invalid options and required params.
|
633
|
+
* Clean all github api specs from test dependencies.
|
634
|
+
* Change all github api to use new required params error class to provide clearer
|
635
|
+
and more helpful request exceptions.
|
636
|
+
* Update cassettes and config to vcr 2.0
|
637
|
+
* Chage gem dependecies to use rake, bundler 1.1.0 and vcr 2.0
|
638
|
+
|
639
|
+
0.4.6 (February 27, 2012)
|
640
|
+
|
641
|
+
* Update gem dependencies, specifically core libraries: multi_json, oauth2, faraday and testing: webmock. (Cannot udpate guard as it conflicts with Growl notifications.)
|
642
|
+
* Fix test dependency for github_spec and users_spec test suites.
|
643
|
+
* Add specs for user followers api.
|
644
|
+
* Add better support for isolation of test dependency by resetting request mocks and github instance variables.
|
645
|
+
* Remove jeweler dependency from gemspec and rakefile. Clean up rakefile.
|
646
|
+
|
647
|
+
0.4.5 (February 25, 2012)
|
648
|
+
|
649
|
+
* add specs for the main pull requests api
|
650
|
+
* add specs for the pull reqeust review comments api
|
651
|
+
* change method signatures inside pull request api to be more concise
|
652
|
+
* add new generic error class
|
653
|
+
* add GitHub service specific error types
|
654
|
+
* change response raising error to use new error types and increased encapsulation of http header information
|
655
|
+
* fix breakage across api classes and test suite
|
656
|
+
|
657
|
+
0.4.4 (February 9, 2012)
|
658
|
+
|
659
|
+
* factor out request validation into its own module
|
660
|
+
* factor out request filtering inside its own module
|
661
|
+
* add factory for creating main api submodules
|
662
|
+
* add specs for gists comments api
|
663
|
+
* expand filtering to allow for toggling recursive behaviour
|
664
|
+
|
665
|
+
0.4.3 (February 4, 2012)
|
666
|
+
|
667
|
+
* add api extension allowing to list a given api actions(methods)
|
668
|
+
* add api methods deprecation module
|
669
|
+
* add specs for gists and modify unstar method signature
|
670
|
+
* change gists starred? method to return boolean
|
671
|
+
* add gists, error codes feature tests
|
672
|
+
* change api client setting to work on per api class initialization to scope variables such as per_page per api instance, added specs
|
673
|
+
* fix issue with pagination helper for iterating over response set
|
674
|
+
* change test coverage reporting to split results for rspec and cucumber
|
675
|
+
|
676
|
+
0.4.2 (January 22, 2012)
|
677
|
+
|
678
|
+
* fix pagination iterator to work with 'commits' method for Github::Repos api
|
679
|
+
* fix bug with pagination returned collection set
|
680
|
+
* add cukes to test pagination
|
681
|
+
* extend response set with new helper methods such as etag, server
|
682
|
+
* fix bug with pagination params for 'watched' method for Github::Repos api
|
683
|
+
|
684
|
+
0.4.1 (January 18, 2012)
|
685
|
+
|
686
|
+
* fix bug with default settings for paginated items in result set
|
687
|
+
* added api rest methods listing
|
688
|
+
* updated specs for main api
|
689
|
+
|
690
|
+
0.4.0 (January 14, 2012)
|
691
|
+
|
692
|
+
* add helper methods for clearing api keys
|
693
|
+
* add constants module to preserver memory and improve GC
|
694
|
+
* add http header links parsing class utility
|
695
|
+
* add pagination iterator class for internal link traversal
|
696
|
+
* add new result set methods for retrieving pages including each_page method
|
697
|
+
* add specific request module for handling page related parameters
|
698
|
+
* extend filter_params to accept json_callback and page parameters
|
699
|
+
* change readme to new format and add pagination information among other things
|
700
|
+
|
701
|
+
0.3.9 (January 3, 2012)
|
702
|
+
|
703
|
+
* add specs for git data tags, references and commits apis
|
704
|
+
* fix bugs with parameter passing inside git data api
|
705
|
+
* comment out and remove dead code from main api
|
706
|
+
* removed duplication from specs setup
|
707
|
+
|
708
|
+
0.3.8 (January 1, 2012)
|
709
|
+
|
710
|
+
* add specs for git data blobs and trees apis
|
711
|
+
* refactored parameter filtering fuction to fix tree_create bug
|
712
|
+
|
713
|
+
0.3.7 (January 1, 2012)
|
714
|
+
-----------------------
|
715
|
+
|
716
|
+
* add block parameter passing for main github instance
|
717
|
+
* refactor methods inside issues labels api
|
718
|
+
* add specs to cover issues labels api
|
719
|
+
|
720
|
+
0.3.6 (December 26, 2011)
|
721
|
+
-------------------------
|
722
|
+
|
723
|
+
* refactor specs setup to common base class
|
724
|
+
* add specs for issues events and comments apis
|
725
|
+
* fix bug with gem loading lib folder
|
726
|
+
|
727
|
+
0.3.5 (December 18, 2011)
|
728
|
+
-------------------------
|
729
|
+
|
730
|
+
* adding specs for issues milestones api
|
731
|
+
* updating specs to check for constants existence
|
732
|
+
* fixing problems with some request missing passed parameters
|
733
|
+
|
734
|
+
0.3.4 (December 17, 2011)
|
735
|
+
-------------------------
|
736
|
+
|
737
|
+
* adding coverage reporting
|
738
|
+
* adding specs to authorization module to increase coverage to 100%
|
739
|
+
* adding specs to issues api to fix create issues bug and increase code coverage
|
740
|
+
|
741
|
+
0.3.3 (December 4, 2011)
|
742
|
+
------------------------
|
743
|
+
|
744
|
+
* fixing json parsing issue preventing repository creation
|
745
|
+
|
746
|
+
[v0.19.0]: https://github.com/piotrmurach/github/compare/v0.18.2...v0.19.0
|
747
|
+
[v0.18.2]: https://github.com/piotrmurach/github/compare/v0.18.1...v0.18.2
|
748
|
+
[v0.18.1]: https://github.com/piotrmurach/github/compare/v0.17.0...v0.18.1
|
749
|
+
[v0.17.0]: https://github.com/piotrmurach/github/compare/v0.16.0...v0.17.0
|
750
|
+
[v0.16.0]: https://github.com/piotrmurach/github/compare/v0.15.0...v0.16.0
|
751
|
+
[v0.15.0]: https://github.com/piotrmurach/github/compare/v0.14.5...v0.15.0
|
752
|
+
[v0.14.5]: https://github.com/piotrmurach/github/compare/v0.14.4...v0.14.5
|
753
|
+
[v0.14.4]: https://github.com/piotrmurach/github/compare/v0.14.3...v0.14.4
|
754
|
+
[v0.14.3]: https://github.com/piotrmurach/github/compare/v0.14.2...v0.14.3
|
755
|
+
[v0.14.2]: https://github.com/piotrmurach/github/compare/v0.14.1...v0.14.2
|
756
|
+
[v0.14.1]: https://github.com/piotrmurach/github/compare/v0.14.0...v0.14.1
|
757
|
+
[v0.14.0]: https://github.com/piotrmurach/github/compare/v0.13.1...v0.14.0
|
758
|
+
[v0.13.1]: https://github.com/piotrmurach/github/compare/v0.13.0...v0.13.1
|
759
|
+
[v0.13.0]: https://github.com/piotrmurach/github/compare/v0.12.4...v0.13.0
|
760
|
+
[v0.12.4]: https://github.com/piotrmurach/github/compare/v0.12.3...v0.12.4
|
761
|
+
[v0.12.3]: https://github.com/piotrmurach/github/compare/v0.12.2...v0.12.3
|
762
|
+
[v0.12.2]: https://github.com/piotrmurach/github/compare/v0.12.1...v0.12.2
|
763
|
+
[v0.12.1]: https://github.com/piotrmurach/github/compare/v0.12.0...v0.12.1
|
764
|
+
[v0.12.0]: https://github.com/piotrmurach/github/compare/v0.11.3...v0.12.0
|
765
|
+
[v0.11.3]: https://github.com/piotrmurach/github/compare/v0.11.2...v0.11.3
|
766
|
+
[v0.11.2]: https://github.com/piotrmurach/github/compare/v0.11.1...v0.11.2
|
767
|
+
[v0.11.1]: https://github.com/piotrmurach/github/compare/v0.11.0...v0.11.1
|
768
|
+
[v0.11.0]: https://github.com/piotrmurach/github/compare/v0.10.2...v0.11.0
|
769
|
+
[v0.10.2]: https://github.com/piotrmurach/github/compare/v0.10.1...v0.10.2
|
770
|
+
[v0.10.1]: https://github.com/piotrmurach/github/compare/v0.10.0...v0.10.1
|