tinybucket 1.3.0 → 1.4.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 (212) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +10 -1
  3. data/Gemfile +8 -7
  4. data/README.md +28 -5
  5. data/Rakefile +1 -0
  6. data/lib/faraday_middleware/follow_oauth_redirects.rb +5 -2
  7. data/lib/tinybucket.rb +2 -0
  8. data/lib/tinybucket/api.rb +3 -0
  9. data/lib/tinybucket/api/base_api.rb +2 -0
  10. data/lib/tinybucket/api/branch_restrictions_api.rb +6 -5
  11. data/lib/tinybucket/api/branches_api.rb +48 -0
  12. data/lib/tinybucket/api/build_status_api.rb +15 -1
  13. data/lib/tinybucket/api/comments_api.rb +7 -6
  14. data/lib/tinybucket/api/commits_api.rb +25 -4
  15. data/lib/tinybucket/api/diff_api.rb +4 -3
  16. data/lib/tinybucket/api/helper.rb +3 -0
  17. data/lib/tinybucket/api/helper/api_helper.rb +2 -0
  18. data/lib/tinybucket/api/helper/branch_restrictions_helper.rb +2 -0
  19. data/lib/tinybucket/api/helper/branches_helper.rb +29 -0
  20. data/lib/tinybucket/api/helper/build_status_helper.rb +11 -0
  21. data/lib/tinybucket/api/helper/comments_helper.rb +2 -0
  22. data/lib/tinybucket/api/helper/commits_helper.rb +8 -0
  23. data/lib/tinybucket/api/helper/diff_helper.rb +2 -0
  24. data/lib/tinybucket/api/helper/pull_requests_helper.rb +2 -0
  25. data/lib/tinybucket/api/helper/repo_helper.rb +2 -0
  26. data/lib/tinybucket/api/helper/repos_helper.rb +2 -0
  27. data/lib/tinybucket/api/helper/team_helper.rb +2 -0
  28. data/lib/tinybucket/api/helper/user_helper.rb +2 -0
  29. data/lib/tinybucket/api/pull_requests_api.rb +4 -3
  30. data/lib/tinybucket/api/repo_api.rb +4 -3
  31. data/lib/tinybucket/api/repos_api.rb +3 -1
  32. data/lib/tinybucket/api/team_api.rb +4 -2
  33. data/lib/tinybucket/api/user_api.rb +3 -1
  34. data/lib/tinybucket/api_factory.rb +2 -0
  35. data/lib/tinybucket/client.rb +3 -2
  36. data/lib/tinybucket/config.rb +5 -1
  37. data/lib/tinybucket/connection.rb +21 -8
  38. data/lib/tinybucket/constants.rb +2 -0
  39. data/lib/tinybucket/enumerator.rb +2 -0
  40. data/lib/tinybucket/error.rb +2 -0
  41. data/lib/tinybucket/error/base_error.rb +2 -0
  42. data/lib/tinybucket/error/conflict.rb +2 -0
  43. data/lib/tinybucket/error/not_found.rb +2 -0
  44. data/lib/tinybucket/error/service_error.rb +2 -0
  45. data/lib/tinybucket/iterator.rb +4 -2
  46. data/lib/tinybucket/model.rb +3 -0
  47. data/lib/tinybucket/model/base.rb +2 -2
  48. data/lib/tinybucket/model/branch.rb +48 -0
  49. data/lib/tinybucket/model/branch_restriction.rb +4 -2
  50. data/lib/tinybucket/model/build_status.rb +3 -1
  51. data/lib/tinybucket/model/comment.rb +4 -2
  52. data/lib/tinybucket/model/commit.rb +6 -2
  53. data/lib/tinybucket/model/concerns.rb +2 -0
  54. data/lib/tinybucket/model/concerns/acceptable_attributes.rb +2 -0
  55. data/lib/tinybucket/model/concerns/api_callable.rb +2 -0
  56. data/lib/tinybucket/model/concerns/enumerable.rb +2 -0
  57. data/lib/tinybucket/model/concerns/reloadable.rb +2 -0
  58. data/lib/tinybucket/model/concerns/repository_keys.rb +2 -0
  59. data/lib/tinybucket/model/error_response.rb +4 -2
  60. data/lib/tinybucket/model/page.rb +4 -2
  61. data/lib/tinybucket/model/profile.rb +4 -2
  62. data/lib/tinybucket/model/pull_request.rb +4 -2
  63. data/lib/tinybucket/model/repository.rb +31 -5
  64. data/lib/tinybucket/model/team.rb +4 -2
  65. data/lib/tinybucket/null_logger.rb +2 -0
  66. data/lib/tinybucket/parser.rb +5 -0
  67. data/lib/tinybucket/parser/base_parser.rb +3 -2
  68. data/lib/tinybucket/parser/branch_parser.rb +13 -0
  69. data/lib/tinybucket/parser/branch_restriction_parser.rb +2 -0
  70. data/lib/tinybucket/parser/branch_restrictions_parser.rb +2 -0
  71. data/lib/tinybucket/parser/branches_parser.rb +11 -0
  72. data/lib/tinybucket/parser/build_status_parser.rb +2 -0
  73. data/lib/tinybucket/parser/builds_parser.rb +11 -0
  74. data/lib/tinybucket/parser/comment_parser.rb +2 -0
  75. data/lib/tinybucket/parser/comments_parser.rb +2 -0
  76. data/lib/tinybucket/parser/commit_parser.rb +2 -0
  77. data/lib/tinybucket/parser/commits_parser.rb +2 -0
  78. data/lib/tinybucket/parser/profile_parser.rb +2 -0
  79. data/lib/tinybucket/parser/profiles_parser.rb +2 -0
  80. data/lib/tinybucket/parser/pull_request_parser.rb +2 -0
  81. data/lib/tinybucket/parser/pull_requests_parser.rb +2 -0
  82. data/lib/tinybucket/parser/repo_parser.rb +2 -0
  83. data/lib/tinybucket/parser/repos_parser.rb +2 -0
  84. data/lib/tinybucket/parser/team_parser.rb +2 -0
  85. data/lib/tinybucket/parser/teams_parser.rb +2 -0
  86. data/lib/tinybucket/request.rb +2 -0
  87. data/lib/tinybucket/resource.rb +3 -0
  88. data/lib/tinybucket/resource/base.rb +6 -0
  89. data/lib/tinybucket/resource/branch_restrictions.rb +2 -0
  90. data/lib/tinybucket/resource/branches.rb +35 -0
  91. data/lib/tinybucket/resource/commit/base.rb +2 -0
  92. data/lib/tinybucket/resource/commit/build_statuses.rb +6 -3
  93. data/lib/tinybucket/resource/commit/comments.rb +2 -0
  94. data/lib/tinybucket/resource/commits.rb +13 -0
  95. data/lib/tinybucket/resource/forks.rb +2 -0
  96. data/lib/tinybucket/resource/pull_request/base.rb +2 -0
  97. data/lib/tinybucket/resource/pull_request/comments.rb +2 -0
  98. data/lib/tinybucket/resource/pull_request/commits.rb +2 -0
  99. data/lib/tinybucket/resource/pull_requests.rb +2 -0
  100. data/lib/tinybucket/resource/repos.rb +2 -0
  101. data/lib/tinybucket/resource/team/base.rb +2 -0
  102. data/lib/tinybucket/resource/team/followers.rb +2 -0
  103. data/lib/tinybucket/resource/team/following.rb +2 -0
  104. data/lib/tinybucket/resource/team/members.rb +2 -0
  105. data/lib/tinybucket/resource/team/repos.rb +2 -0
  106. data/lib/tinybucket/resource/user/base.rb +2 -0
  107. data/lib/tinybucket/resource/user/followers.rb +2 -0
  108. data/lib/tinybucket/resource/user/following.rb +2 -0
  109. data/lib/tinybucket/resource/user/repos.rb +2 -0
  110. data/lib/tinybucket/resource/watchers.rb +2 -0
  111. data/lib/tinybucket/response.rb +2 -0
  112. data/lib/tinybucket/response/handler.rb +2 -0
  113. data/lib/tinybucket/version.rb +3 -1
  114. data/tinybucket.gemspec +1 -1
  115. metadata +11 -193
  116. data/.coveralls.yml +0 -1
  117. data/.gitignore +0 -33
  118. data/.rspec +0 -1
  119. data/.travis.yml +0 -13
  120. data/Guardfile +0 -13
  121. data/spec/fixtures/branch_restriction.json +0 -17
  122. data/spec/fixtures/build_status.json +0 -16
  123. data/spec/fixtures/comment.json +0 -30
  124. data/spec/fixtures/commit.json +0 -83
  125. data/spec/fixtures/profile.json +0 -29
  126. data/spec/fixtures/pull_request.json +0 -106
  127. data/spec/fixtures/repositories/get.json +0 -78
  128. data/spec/fixtures/repositories/test_owner/get.json +0 -78
  129. data/spec/fixtures/repositories/test_owner/test_repo/branch-restrictions/1/get.json +0 -17
  130. data/spec/fixtures/repositories/test_owner/test_repo/branch-restrictions/get.json +0 -101
  131. data/spec/fixtures/repositories/test_owner/test_repo/commit/1/approve/post.json +0 -16
  132. data/spec/fixtures/repositories/test_owner/test_repo/commit/1/comments/1/get.json +0 -38
  133. data/spec/fixtures/repositories/test_owner/test_repo/commit/1/comments/get.json +0 -40
  134. data/spec/fixtures/repositories/test_owner/test_repo/commit/1/get.json +0 -83
  135. data/spec/fixtures/repositories/test_owner/test_repo/commit/1/statuses/build/post.json +0 -16
  136. data/spec/fixtures/repositories/test_owner/test_repo/commit/1/statuses/build/test_status/get.json +0 -16
  137. data/spec/fixtures/repositories/test_owner/test_repo/commit/1/statuses/build/test_status/put.json +0 -16
  138. data/spec/fixtures/repositories/test_owner/test_repo/commits/get.json +0 -73
  139. data/spec/fixtures/repositories/test_owner/test_repo/diff/1/get.json +0 -21
  140. data/spec/fixtures/repositories/test_owner/test_repo/forks/get.json +0 -78
  141. data/spec/fixtures/repositories/test_owner/test_repo/get.json +0 -71
  142. data/spec/fixtures/repositories/test_owner/test_repo/patch/1/get.json +0 -29
  143. data/spec/fixtures/repositories/test_owner/test_repo/pullrequests/1/approve/delete.json +0 -3
  144. data/spec/fixtures/repositories/test_owner/test_repo/pullrequests/1/approve/post.json +0 -3
  145. data/spec/fixtures/repositories/test_owner/test_repo/pullrequests/1/comments/1/get.json +0 -30
  146. data/spec/fixtures/repositories/test_owner/test_repo/pullrequests/1/comments/get.json +0 -44
  147. data/spec/fixtures/repositories/test_owner/test_repo/pullrequests/1/commits/get.json +0 -66
  148. data/spec/fixtures/repositories/test_owner/test_repo/pullrequests/1/decline/post.json +0 -116
  149. data/spec/fixtures/repositories/test_owner/test_repo/pullrequests/1/diff/get.txt +0 -13
  150. data/spec/fixtures/repositories/test_owner/test_repo/pullrequests/1/get.json +0 -164
  151. data/spec/fixtures/repositories/test_owner/test_repo/pullrequests/1/merge/post.json +0 -123
  152. data/spec/fixtures/repositories/test_owner/test_repo/pullrequests/get.json +0 -112
  153. data/spec/fixtures/repositories/test_owner/test_repo/pullrequests/get_state_declined.json +0 -112
  154. data/spec/fixtures/repositories/test_owner/test_repo/pullrequests/get_state_merged.json +0 -112
  155. data/spec/fixtures/repositories/test_owner/test_repo/pullrequests/get_state_open.json +0 -112
  156. data/spec/fixtures/repositories/test_owner/test_repo/watchers/get.json +0 -32
  157. data/spec/fixtures/repository.json +0 -72
  158. data/spec/fixtures/team.json +0 -32
  159. data/spec/fixtures/teams/test_team/followers/get.json +0 -36
  160. data/spec/fixtures/teams/test_team/following/get.json +0 -39
  161. data/spec/fixtures/teams/test_team/get.json +0 -32
  162. data/spec/fixtures/teams/test_team/members/get.json +0 -36
  163. data/spec/fixtures/teams/test_team/repositories/get.json +0 -125
  164. data/spec/fixtures/users/test_owner/followers/get.json +0 -65
  165. data/spec/fixtures/users/test_owner/following/get.json +0 -100
  166. data/spec/fixtures/users/test_owner/get.json +0 -29
  167. data/spec/lib/tinybucket/api/branch_restrictions_api_spec.rb +0 -77
  168. data/spec/lib/tinybucket/api/build_status_api_spec.rb +0 -65
  169. data/spec/lib/tinybucket/api/comments_api_spec.rb +0 -132
  170. data/spec/lib/tinybucket/api/commits_api_spec.rb +0 -152
  171. data/spec/lib/tinybucket/api/diff_api_spec.rb +0 -5
  172. data/spec/lib/tinybucket/api/pull_requests_api_spec.rb +0 -259
  173. data/spec/lib/tinybucket/api/repo_api_spec.rb +0 -99
  174. data/spec/lib/tinybucket/api/repos_api_spec.rb +0 -27
  175. data/spec/lib/tinybucket/api/team_api_spec.rb +0 -82
  176. data/spec/lib/tinybucket/api/user_api_spec.rb +0 -73
  177. data/spec/lib/tinybucket/api_factory_spec.rb +0 -18
  178. data/spec/lib/tinybucket/client_spec.rb +0 -100
  179. data/spec/lib/tinybucket/connection_spec.rb +0 -30
  180. data/spec/lib/tinybucket/error/service_error_spec.rb +0 -23
  181. data/spec/lib/tinybucket/model/branch_restriction_spec.rb +0 -35
  182. data/spec/lib/tinybucket/model/build_status_spec.rb +0 -66
  183. data/spec/lib/tinybucket/model/comment_spec.rb +0 -37
  184. data/spec/lib/tinybucket/model/commit_spec.rb +0 -108
  185. data/spec/lib/tinybucket/model/page_spec.rb +0 -28
  186. data/spec/lib/tinybucket/model/profile_spec.rb +0 -52
  187. data/spec/lib/tinybucket/model/pull_request_spec.rb +0 -141
  188. data/spec/lib/tinybucket/model/repository_spec.rb +0 -131
  189. data/spec/lib/tinybucket/model/team_spec.rb +0 -70
  190. data/spec/lib/tinybucket/null_logger_spec.rb +0 -53
  191. data/spec/lib/tinybucket/resource/branch_restrictions_spec.rb +0 -60
  192. data/spec/lib/tinybucket/resource/commit/build_statuses_spec.rb +0 -50
  193. data/spec/lib/tinybucket/resource/commit/comments_spec.rb +0 -49
  194. data/spec/lib/tinybucket/resource/commits_spec.rb +0 -43
  195. data/spec/lib/tinybucket/resource/forks_spec.rb +0 -36
  196. data/spec/lib/tinybucket/resource/pull_request/comments_spec.rb +0 -41
  197. data/spec/lib/tinybucket/resource/pull_request/commits_spec.rb +0 -41
  198. data/spec/lib/tinybucket/resource/pull_requests_spec.rb +0 -59
  199. data/spec/lib/tinybucket/resource/repos_spec.rb +0 -76
  200. data/spec/lib/tinybucket/resource/team/followers_spec.rb +0 -27
  201. data/spec/lib/tinybucket/resource/team/following_spec.rb +0 -27
  202. data/spec/lib/tinybucket/resource/team/members_spec.rb +0 -27
  203. data/spec/lib/tinybucket/resource/team/repos_spec.rb +0 -27
  204. data/spec/lib/tinybucket/resource/user/followers_spec.rb +0 -27
  205. data/spec/lib/tinybucket/resource/user/following_spec.rb +0 -27
  206. data/spec/lib/tinybucket/resource/user/repos_spec.rb +0 -27
  207. data/spec/lib/tinybucket/resource/watchers_spec.rb +0 -38
  208. data/spec/lib/tinybucket_spec.rb +0 -42
  209. data/spec/spec_helper.rb +0 -45
  210. data/spec/support/api_response_macros.rb +0 -74
  211. data/spec/support/fixture_macros.rb +0 -5
  212. data/spec/support/model_macros.rb +0 -103
@@ -1,17 +0,0 @@
1
- {
2
- "groups": [],
3
- "id": 52,
4
- "kind": "delete",
5
- "links": [
6
- {
7
- "href": "https://api.bitbucket.org/2.0/repositories/manthony/restrictiontest/branch-restrictions/52",
8
- "rel": "self"
9
- },
10
- {
11
- "href": "https://api.bitbucket.org/2.0/repositories/manthony/restrictiontest/branch-restrictions",
12
- "rel": "parent"
13
- }
14
- ],
15
- "pattern": "foobar/*",
16
- "users": []
17
- }
@@ -1,101 +0,0 @@
1
- {
2
- "page": 1,
3
- "pagelen": 10,
4
- "size": 3,
5
- "values": [
6
- {
7
- "groups": [],
8
- "id": 18,
9
- "kind": "delete",
10
- "links": [
11
- {
12
- "href": "https://api.bitbucket.org/2.0/repositories/manthony/restrictiontest/branch-restrictions/18",
13
- "rel": "self"
14
- },
15
- {
16
- "href": "https://api.bitbucket.org/2.0/repositories/manthony/restrictiontest/branch-restrictions",
17
- "rel": "parent"
18
- }
19
- ],
20
- "pattern": "*zebra",
21
- "users": []
22
- },
23
- {
24
- "groups": [],
25
- "id": 32,
26
- "kind": "force",
27
- "links": [
28
- {
29
- "href": "https://api.bitbucket.org/2.0/repositories/manthony/restrictiontest/branch-restrictions/32",
30
- "rel": "self"
31
- },
32
- {
33
- "href": "https://api.bitbucket.org/2.0/repositories/manthony/restrictiontest/branch-restrictions",
34
- "rel": "parent"
35
- }
36
- ],
37
- "pattern": "master",
38
- "users": []
39
- },
40
- {
41
- "groups": [
42
- {
43
- "full_slug": "bitbucket:developers",
44
- "links": [
45
- {
46
- "href": "/api/1.0/groups/bitbucket/developers",
47
- "rel": "self"
48
- }
49
- ],
50
- "name": "developers",
51
- "owner": {
52
- "avatar_url": "https://secure.gravatar.com/avatar/14a1dfcf20cb05fbb75ea0a163d34acc?d=https%3A%2F%2Fd2isvjwd3d60f6.cloudfront.net%2Fm%2F6d9c8176bfd0%2Fimg%2Fdefault_team_avatar%2F32%2Fteam_blue.png&s=32",
53
- "display_name": "Bitbucket",
54
- "links": [
55
- {
56
- "href": "https://api.bitbucket.org/1.0/users/bitbucket",
57
- "rel": "self"
58
- },
59
- {
60
- "href": "https://bitbucket.org/bitbucket",
61
- "rel": "html"
62
- }
63
- ],
64
- "username": "bitbucket"
65
- },
66
- "slug": "developers"
67
- }
68
- ],
69
- "id": 33,
70
- "kind": "push",
71
- "links": [
72
- {
73
- "href": "https://api.bitbucket.org/2.0/repositories/manthony/restrictiontest/branch-restrictions/33",
74
- "rel": "self"
75
- },
76
- {
77
- "href": "https://api.bitbucket.org/2.0/repositories/manthony/restrictiontest/branch-restrictions",
78
- "rel": "parent"
79
- }
80
- ],
81
- "pattern": "master",
82
- "users": [
83
- {
84
- "avatar_url": "https://bitbucket-staging-assetroot.s3.amazonaws.com/c/photos/2013/Jul/31/erik-avatar-725122544-0_avatar.png",
85
- "display_name": "Erik van Z\u0133st",
86
- "links": [
87
- {
88
- "href": "https://api.bitbucket.org/1.0/users/erik",
89
- "rel": "self"
90
- },
91
- {
92
- "href": "https://bitbucket.org/erik",
93
- "rel": "html"
94
- }
95
- ],
96
- "username": "erik"
97
- }
98
- ]
99
- }
100
- ]
101
- }
@@ -1,16 +0,0 @@
1
- {
2
- "role": "PARTICIPANT",
3
- "user": {
4
- "username": "evzijst",
5
- "display_name": "Erik van Zijst",
6
- "links": {
7
- "self": {
8
- "href": "https://api.bitbucket.org/2.0/users/evzijst"
9
- },
10
- "avatar": {
11
- "href": "https://bitbucket-staging-assetroot.s3.amazonaws.com/c/photos/2013/Oct/28/evzijst-avatar-3454044670-3_avatar.png"
12
- }
13
- }
14
- },
15
- "approved": true
16
- }
@@ -1,38 +0,0 @@
1
- {
2
- "links": {
3
- "self": {
4
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/commit/61d9e64348f9da407e62f64726337fd3bb24b466/comments/530189"
5
- },
6
- "code": {
7
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/diff/61d9e64348f9da407e62f64726337fd3bb24b466?path=pom.xml"
8
- },
9
- "html": {
10
- "href": "https://api.bitbucket.org/atlassian/atlassian-rest/commits/61d9e64348f9da407e62f64726337fd3bb24b466#comment-530189"
11
- }
12
- },
13
- "content": {
14
- "raw": "Inline test comment.",
15
- "markup": "markdown",
16
- "html": "<p>Inline test comment.</p>"
17
- },
18
- "created_on": "2013-11-07T23:55:24.486865+00:00",
19
- "user": {
20
- "username": "evzijst",
21
- "display_name": "Erik van Zijst",
22
- "links": {
23
- "self": {
24
- "href": "https://api.bitbucket.org/2.0/users/evzijst"
25
- },
26
- "avatar": {
27
- "href": "https://secure.gravatar.com/avatar/f6bcbb4e3f665e74455bd8c0b4b3afba?d=https%3A%2F%2Fd3oaxc4q5k2d6q.cloudfront.net%2Fm%2Fbf1e763db20f%2Fimg%2Fdefault_avatar%2F32%2Fuser_blue.png&s=32"
28
- }
29
- }
30
- },
31
- "inline": {
32
- "to": null,
33
- "from": 381,
34
- "path": "pom.xml"
35
- },
36
- "updated_on": "2013-11-07T23:55:24.502477+00:00",
37
- "id": 530189
38
- }
@@ -1,40 +0,0 @@
1
- {
2
- "values": [{
3
- "links": {
4
- "self": {
5
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/commit/61d9e64348f9da407e62f64726337fd3bb24b466/comments/530189"
6
- },
7
- "code": {
8
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/diff/61d9e64348f9da407e62f64726337fd3bb24b466?path=pom.xml"
9
- },
10
- "html": {
11
- "href": "https://bitbucket.org/atlassian/atlassian-rest/commits/61d9e64348f9da407e62f64726337fd3bb24b466#comment-530189"
12
- }
13
- },
14
- "content": {
15
- "raw": "Inline test comment.",
16
- "markup": "markdown",
17
- "html": "<p>Inline test comment.</p>"
18
- },
19
- "created_on": "2013-11-07T23:55:24.486865+00:00",
20
- "user": {
21
- "username": "evzijst",
22
- "display_name": "Erik van Zijst",
23
- "links": {
24
- "self": {
25
- "href": "https://api.bitbucket.org/2.0/users/evzijst"
26
- },
27
- "avatar": {
28
- "href": "https://secure.gravatar.com/avatar/f6bcbb4e3f665e74455bd8c0b4b3afba?d=https%3A%2F%2Fd3oaxc4q5k2d6q.cloudfront.net%2Fm%2Fbf1e763db20f%2Fimg%2Fdefault_avatar%2F32%2Fuser_blue.png&s=32"
29
- }
30
- }
31
- },
32
- "inline": {
33
- "to": null,
34
- "from": 381,
35
- "path": "pom.xml"
36
- },
37
- "updated_on": "2013-11-07T23:55:24.502477+00:00",
38
- "id": 530189
39
- }]
40
- }
@@ -1,83 +0,0 @@
1
- {
2
- "hash": "61d9e64348f9da407e62f64726337fd3bb24b466",
3
- "links": {
4
- "self": {
5
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/commit/61d9e64348f9da407e62f64726337fd3bb24b466"
6
- },
7
- "comments": {
8
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/commit/61d9e64348f9da407e62f64726337fd3bb24b466/comments"
9
- },
10
- "patch": {
11
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/patch/61d9e64348f9da407e62f64726337fd3bb24b466"
12
- },
13
- "html": {
14
- "href": "https://api.bitbucket.org/atlassian/atlassian-rest/commits/61d9e64348f9da407e62f64726337fd3bb24b466"
15
- },
16
- "diff": {
17
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/diff/61d9e64348f9da407e62f64726337fd3bb24b466"
18
- },
19
- "approve": {
20
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/commit/61d9e64348f9da407e62f64726337fd3b24b466/approve"
21
- }
22
- },
23
- "repository": {
24
- "links": {
25
- "self": {
26
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest"
27
- },
28
- "avatar": {
29
- "href": "https://d3oaxc4q5k2d6q.cloudfront.net/m/bf1e763db20f/img/language-avatars/java_16.png"
30
- }
31
- },
32
- "full_name": "atlassian/atlassian-rest",
33
- "name": "atlassian-rest"
34
- },
35
- "author": {
36
- "raw": "Joseph Walton <jwalton@atlassian.com>",
37
- "user": {
38
- "username": "jwalton",
39
- "display_name": "Joseph Walton",
40
- "links": {
41
- "self": {
42
- "href": "https://api.bitbucket.org/2.0/users/jwalton"
43
- },
44
- "avatar": {
45
- "href": "https://secure.gravatar.com/avatar/8e6e91101e3ed8a332dbebfdf59a3cef?d=https%3A%2F%2Fd3oaxc4q5k2d6q.cloudfront.net%2Fm%2Fbf1e763db20f%2Fimg%2Fdefault_avatar%2F32%2Fuser_blue.png&s=32"
46
- }
47
- }
48
- }
49
- },
50
- "participants": [{
51
- "role": "PARTICIPANT",
52
- "user": {
53
- "username": "evzijst",
54
- "display_name": "Erik van Zijst",
55
- "links": {
56
- "self": {
57
- "href": "https://api.bitbucket.org/2.0/users/evzijst"
58
- },
59
- "avatar": {
60
- "href": "https://secure.gravatar.com/avatar/f6bcbb4e3f665e74455bd8c0b4b3afba?d=https%3A%2F%2Fd3oaxc4q5k2d6q.cloudfront.net%2Fm%2Fbf1e763db20f%2Fimg%2Fdefault_avatar%2F32%2Fuser_blue.png&s=32"
61
- }
62
- }
63
- },
64
- "approved": false
65
- }],
66
- "parents": [{
67
- "hash": "59721f593b020123a75424285845325126f56e2e",
68
- "links": {
69
- "self": {
70
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/commit/59721f593b020123a75424285845325126f56e2e"
71
- }
72
- }
73
- }, {
74
- "hash": "56c49d8b2ae3a094fa7ba5a1251d6dd2c7c66993",
75
- "links": {
76
- "self": {
77
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/commit/56c49d8b2ae3a094fa7ba5a1251d6dd2c7c66993"
78
- }
79
- }
80
- }],
81
- "date": "2013-10-21T07:21:51+00:00",
82
- "message": "Merge remote-tracking branch 'origin/rest-2.8.x' "
83
- }
@@ -1,16 +0,0 @@
1
- {
2
- "state": "SUCCESSFUL",
3
- "type": "build",
4
- "key": "BAMBOO-PROJECT-X",
5
- "name": "Build #34",
6
- "url": "https://example.com/path/to/build",
7
- "description": "Changes by John Doe",
8
- "links": {
9
- "self": {
10
- "href": "https://api.bitbucket.org/2.0/repositories/emmap1/MyRepo/commits/61d9e64348f9da407e62f64726337fd3bb24b466/statuses/build/BAMBOO-PROJECT-X"
11
- },
12
- "commit": {
13
- "href": "https://api.bitbucket.org/2.0/repositories/emmap1/MyRepo/commits/61d9e64348f9da407e62f64726337fd3bb24b466"
14
- }
15
- }
16
- }
@@ -1,16 +0,0 @@
1
- {
2
- "state": "SUCCESSFUL",
3
- "type": "build",
4
- "key": "BAMBOO-PROJECT-X",
5
- "name": "Build #34",
6
- "url": "https://example.com/path/to/build",
7
- "description": "Changes by John Doe",
8
- "links": {
9
- "self": {
10
- "href": "https://api.bitbucket.org/2.0/repositories/emmap1/MyRepo/commits/61d9e64348f9da407e62f64726337fd3bb24b466/statuses/build/BAMBOO-PROJECT-X"
11
- },
12
- "commit": {
13
- "href": "https://api.bitbucket.org/2.0/repositories/emmap1/MyRepo/commits/61d9e64348f9da407e62f64726337fd3bb24b466"
14
- }
15
- }
16
- }
@@ -1,16 +0,0 @@
1
- {
2
- "state": "SUCCESSFUL",
3
- "type": "build",
4
- "key": "BAMBOO-PROJECT-X",
5
- "name": "Build #34",
6
- "url": "https://example.com/path/to/build",
7
- "description": "Changes by John Doe",
8
- "links": {
9
- "self": {
10
- "href": "https://api.bitbucket.org/2.0/repositories/emmap1/MyRepo/commits/61d9e64348f9da407e62f64726337fd3bb24b466/statuses/build/BAMBOO-PROJECT-X"
11
- },
12
- "commit": {
13
- "href": "https://api.bitbucket.org/2.0/repositories/emmap1/MyRepo/commits/61d9e64348f9da407e62f64726337fd3bb24b466"
14
- }
15
- }
16
- }
@@ -1,73 +0,0 @@
1
- {
2
- "pagelen": 30,
3
- "values": [
4
- {
5
- "hash": "61d9e64348f9da407e62f64726337fd3bb24b466",
6
- "links": {
7
- "self": {
8
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/commit/61d9e64348f9da407e62f64726337fd3bb24b466"
9
- },
10
- "comments": {
11
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/commit/61d9e64348f9da407e62f64726337fd3bb24b466/comments"
12
- },
13
- "patch": {
14
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/patch/61d9e64348f9da407e62f64726337fd3bb24b466"
15
- },
16
- "html": {
17
- "href": "https://api.bitbucket.org/atlassian/atlassian-rest/commits/61d9e64348f9da407e62f64726337fd3bb24b466"
18
- },
19
- "diff": {
20
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/diff/61d9e64348f9da407e62f64726337fd3bb24b466"
21
- },
22
- "approve": {
23
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/commit/61d9e64348f9da407e62f64726337fd3bb24b466/approve"
24
- }
25
- },
26
- "repository": {
27
- "links": {
28
- "self": {
29
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest"
30
- },
31
- "avatar": {
32
- "href": "https://d3oaxc4q5k2d6q.cloudfront.net/m/bf1e763db20f/img/language-avatars/java_16.png"
33
- }
34
- },
35
- "full_name": "atlassian/atlassian-rest",
36
- "name": "atlassian-rest"
37
- },
38
- "author": {
39
- "raw": "Joseph Walton <jwalton@atlassian.com>",
40
- "user": {
41
- "username": "jwalton",
42
- "display_name": "Joseph Walton",
43
- "links": {
44
- "self": {
45
- "href": "https://api.bitbucket.org/2.0/users/jwalton"
46
- },
47
- "avatar": {
48
- "href": "https://secure.gravatar.com/avatar/8e6e91101e3ed8a332dbebfdf59a3cef?d=https%3A%2F%2Fd3oaxc4q5k2d6q.cloudfront.net%2Fm%2Fbf1e763db20f%2Fimg%2Fdefault_avatar%2F32%2Fuser_blue.png&s=32"
49
- }
50
- }
51
- }
52
- },
53
- "parents": [{
54
- "hash": "59721f593b020123a75424285845325126f56e2e",
55
- "links": {
56
- "self": {
57
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/commit/59721f593b020123a75424285845325126f56e2e"
58
- }
59
- }
60
- }, {
61
- "hash": "56c49d8b2ae3a094fa7ba5a1251d6dd2c7c66993",
62
- "links": {
63
- "self": {
64
- "href": "https://api.bitbucket.org/2.0/repositories/atlassian/atlassian-rest/commit/56c49d8b2ae3a094fa7ba5a1251d6dd2c7c66993"
65
- }
66
- }
67
- }],
68
- "date": "2013-10-21T07:21:51+00:00",
69
- "message": "Merge remote-tracking branch 'origin/rest-2.8.x' "
70
- }
71
- ],
72
- "page": 1
73
- }
@@ -1,21 +0,0 @@
1
- diff --git a/index.html b/index.html
2
- --- a/index.html
3
- +++ b/index.html
4
- @@ -82,7 +82,7 @@
5
- </td>
6
- <td>
7
- <blockquote><p>“Here's to the crazy ones, the misfits, the rebels, the troublemakers, the round pegs in the square holes... the ones who see things differently -- they're not fond of rules... You can quote them, disagree with them, glorify or vilify them, but the only thing you can't do is ignore them because they change things... they push the human race forward, and while some may see them as the crazy ones, we see genius, because the ones who are crazy enough to think that they can change the world, are the ones who do.”</p>
8
- - <cite>Steve Jobs, Founder Of Apple Inc.</cite>
9
- + <cite>Steve Jobs, Founder of Apple Inc.</cite>
10
- </blockquote>
11
- </td>
12
- </tr>
13
- @@ -122,7 +122,7 @@
14
- </td>
15
- <td>
16
- <blockquote><p>“No.”</p>
17
- - <cite>Steve Jobs, Founder Of Apple Inc.</cite>
18
- + <cite>Steve Jobs, Founder of Apple Inc.</cite>
19
- </blockquote>
20
- </td>
21
- </tr>