Brendan Forster
e6be0ad334
moved function out to separate client
2014-03-08 19:11:59 +11:00
Brendan Forster
ba82c4ea68
added unit tests
2014-03-08 19:01:33 +11:00
Haacked
34ac57ccab
Add exception for exceeding the private quota
2014-02-18 22:47:45 -08:00
Haacked
dae6cb2ca6
Implement RepositoryExistsException
...
This exception is thrown when we try to create a repository but it
already exists on the server.
2014-02-18 21:03:29 -08:00
Phil Haack
abf0a472e2
Merge pull request #319 from pmacn/repositoriesclient
...
Implementations of the missing RepositoriesClient methods
2014-02-17 20:35:52 -08:00
Peter MacNaughton
a55db0165e
Added missing methods on IRepositoriesClient
...
Added unit tests for newly added methods
Added models RepositoryTag, RepositoryLanguage and RepositoryUpdate
2014-02-10 00:09:09 -07:00
Peter MacNaughton
b8c18e2da6
Fixing some unit tests that were not doing
...
any assertions.
Adding Received() where it was missing.
The majority of these instances were unawaited AssertEx.Throws
They are now all either awaited or replaced with Assert.Throw
Assert.Throw was used when possible and when not an option
AssertEx.Throw was awaited.
2014-02-09 01:12:31 -07:00
Chris Heckathorne
924543dab7
Added GetBranches method
2013-12-20 14:02:25 -05:00
Haacked
c20f31e752
Cleaning up the naming in these tests
2013-10-29 22:33:29 -07:00
Haacked
1d64210ac5
Fix endpoint URLs for Enterprise support
...
Since Enterprise base URLs end with /api/v3 we need to make sure
the endpoints are relative and not absolute.
2013-10-29 16:02:00 -07:00
Haacked
04958410ea
Flatten the observables for repositories
2013-10-16 18:54:06 -07:00
Haacked
50a197742d
Fix releases client to pass accepts header
2013-10-15 13:59:14 -07:00
Haacked
25c83ac206
Reorder accepts and contentType parameters
2013-10-15 13:47:49 -07:00
half-ogre
a0306ae1df
use HTTP verbs for clarity: PUT edition
...
GetOrCreate no more
2013-10-14 12:14:29 -07:00
half-ogre
e7da50cb9d
remove the T from ApiConnection{T}
...
It isn't buying is much, and by getting rid of it we can make API
connection more general. getting rid of strangeness like GetItem and
Upload
2013-10-14 12:05:10 -07:00
half-ogre
0bbfa4b41b
unit tests for deleting a repo
2013-10-09 11:32:53 -07:00
half-ogre
c0b25e00f0
unit tests for creating an org repo
2013-10-09 11:06:51 -07:00
Haacked
0525e5fa50
Implement method to get README html
...
The old implementation would actually retrieve the entire HTML page
where the README is located. We want to simply make the same request
with a different ACCEPT header so we can retrieve the portion of the
README html that we'd actually want to display.
2013-10-09 10:44:00 -07:00
half-ogre
6f3fa81789
move internal stuff to .Internal namespace
2013-10-08 15:14:06 -07:00
half-ogre
39b4c35e7c
move clients into root namespace
...
Only we can stop namespace proliferation.
2013-10-08 15:08:00 -07:00
half-ogre
e1dbeb4551
add method to create a repository
2013-10-01 17:16:30 -07:00
Haacked
91b5449ddd
Removed fluent assertions
2013-09-23 17:41:04 -07:00
Haacked
6a0e27274b
Allow passing query parameters to connection
...
Change the API to support dictionary of query parameters.
2013-09-23 10:15:08 -07:00
Haacked
997e955f38
Rename to Octokit to be consistent with other API libs
...
GitHub is naming all of the libraries Octokit for their respective
platforms
2013-01-29 14:00:27 -08:00