zenflow 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.zenflow +1 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +12 -1
- data/README.markdown +19 -13
- data/VERSION.yml +1 -1
- data/lib/zenflow/cli.rb +28 -20
- data/lib/zenflow/helpers/ask.rb +10 -0
- data/lib/zenflow/helpers/branch.rb +22 -3
- data/lib/zenflow/helpers/branch_command.rb +3 -2
- data/lib/zenflow/helpers/branch_commands/finish.rb +2 -3
- data/lib/zenflow/helpers/branch_commands/start.rb +2 -2
- data/lib/zenflow/helpers/branch_commands/update.rb +3 -3
- data/lib/zenflow/helpers/changelog.rb +1 -1
- data/lib/zenflow/helpers/github.rb +8 -6
- data/lib/zenflow/helpers/pull_request.rb +1 -1
- data/spec/fixtures/cassettes/create_bad_pull_request.yml +10 -10
- data/spec/fixtures/cassettes/create_pull_request.yml +14 -16
- data/spec/fixtures/cassettes/existing_pull_request.yml +30 -34
- data/spec/fixtures/cassettes/pull_request_by_ref.yml +30 -34
- data/spec/fixtures/cassettes/pull_request_find.yml +9 -11
- data/spec/fixtures/cassettes/pull_request_for_non-existent_ref.yml +30 -34
- data/spec/fixtures/cassettes/pull_request_list.yml +15 -17
- data/spec/fixtures/cassettes/unexisting_pull_request.yml +30 -34
- data/spec/spec_helper.rb +6 -0
- data/spec/zenflow/helpers/ask_spec.rb +4 -0
- data/spec/zenflow/helpers/branch_command_spec.rb +116 -38
- data/spec/zenflow/helpers/branch_spec.rb +40 -0
- data/spec/zenflow/helpers/changelog_spec.rb +2 -2
- data/spec/zenflow/helpers/cli_spec.rb +31 -10
- data/spec/zenflow/helpers/help_spec.rb +4 -3
- data/spec/zenflow/helpers/log_spec.rb +1 -1
- data/spec/zenflow/helpers/pull_request_spec.rb +31 -28
- metadata +3 -3
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
Authorization:
|
11
11
|
- token <ZENFLOW-TOKEN>
|
12
12
|
User-Agent:
|
13
|
-
- Zencoder/Zenflow-0.8.
|
13
|
+
- Zencoder/Zenflow-0.8.2
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 200
|
@@ -19,28 +19,26 @@ http_interactions:
|
|
19
19
|
Server:
|
20
20
|
- GitHub.com
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Thu, 18 Jul 2013 17:06:47 GMT
|
23
23
|
Content-Type:
|
24
24
|
- application/json; charset=utf-8
|
25
|
-
Connection:
|
26
|
-
- keep-alive
|
27
25
|
Status:
|
28
26
|
- 200 OK
|
29
27
|
X-Ratelimit-Limit:
|
30
28
|
- '5000'
|
31
29
|
X-Ratelimit-Remaining:
|
32
|
-
- '
|
30
|
+
- '4964'
|
33
31
|
X-Ratelimit-Reset:
|
34
|
-
- '
|
32
|
+
- '1374170098'
|
35
33
|
Vary:
|
36
34
|
- Accept, Authorization, Cookie
|
37
35
|
- Accept-Encoding
|
38
36
|
Cache-Control:
|
39
37
|
- private, max-age=60, s-maxage=60
|
40
38
|
Last-Modified:
|
41
|
-
-
|
39
|
+
- Thu, 18 Jul 2013 17:06:43 GMT
|
42
40
|
Etag:
|
43
|
-
- '"
|
41
|
+
- '"af409b40cdb9d4e9ef6e64d86511ac52"'
|
44
42
|
X-Oauth-Scopes:
|
45
43
|
- repo
|
46
44
|
X-Accepted-Oauth-Scopes:
|
@@ -50,7 +48,7 @@ http_interactions:
|
|
50
48
|
X-Content-Type-Options:
|
51
49
|
- nosniff
|
52
50
|
Content-Length:
|
53
|
-
- '
|
51
|
+
- '28761'
|
54
52
|
Access-Control-Allow-Credentials:
|
55
53
|
- 'true'
|
56
54
|
Access-Control-Expose-Headers:
|
@@ -60,15 +58,15 @@ http_interactions:
|
|
60
58
|
- '*'
|
61
59
|
body:
|
62
60
|
encoding: UTF-8
|
63
|
-
string: '[{"url":"https://api.github.com/repos/zencoder/zenflow-example/pulls/
|
64
|
-
new-branch","user":{"login":"<GITHUB-USER>","id":
|
65
|
-
a new pull request","created_at":"2013-07-
|
66
|
-
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-
|
67
|
-
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-
|
61
|
+
string: '[{"url":"https://api.github.com/repos/zencoder/zenflow-example/pulls/6","id":7019653,"html_url":"https://github.com/zencoder/zenflow-example/pull/6","diff_url":"https://github.com/zencoder/zenflow-example/pull/6.diff","patch_url":"https://github.com/zencoder/zenflow-example/pull/6.patch","issue_url":"https://github.com/zencoder/zenflow-example/issues/6","number":6,"state":"open","title":"Feaure:
|
62
|
+
new-branch","user":{"login":"<GITHUB-USER>","id":54364,"avatar_url":"https://secure.gravatar.com/avatar/daec6f7c331960b73022735818b0b0d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"daec6f7c331960b73022735818b0b0d4","url":"https://api.github.com/users/<GITHUB-USER>","html_url":"https://github.com/<GITHUB-USER>","followers_url":"https://api.github.com/users/<GITHUB-USER>/followers","following_url":"https://api.github.com/users/<GITHUB-USER>/following{/other_user}","gists_url":"https://api.github.com/users/<GITHUB-USER>/gists{/gist_id}","starred_url":"https://api.github.com/users/<GITHUB-USER>/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/<GITHUB-USER>/subscriptions","organizations_url":"https://api.github.com/users/<GITHUB-USER>/orgs","repos_url":"https://api.github.com/users/<GITHUB-USER>/repos","events_url":"https://api.github.com/users/<GITHUB-USER>/events{/privacy}","received_events_url":"https://api.github.com/users/<GITHUB-USER>/received_events","type":"User"},"body":"making
|
63
|
+
a new pull request","created_at":"2013-07-18T17:06:43Z","updated_at":"2013-07-18T17:06:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc4ce6080ae02222a689749e415c42fe2360fdc4","assignee":null,"milestone":null,"commits_url":"https://github.com/zencoder/zenflow-example/pull/6/commits","review_comments_url":"https://github.com/zencoder/zenflow-example/pull/6/comments","review_comment_url":"/repos/zencoder/zenflow-example/pulls/comments/{number}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/6/comments","head":{"label":"zencoder:feature/new-branch","ref":"feature/new-branch","sha":"2243a1dee7be96c9a4eb8dc3f1fbb9a043af1206","user":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"repo":{"id":11319183,"name":"zenflow-example","full_name":"zencoder/zenflow-example","owner":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"private":false,"html_url":"https://github.com/zencoder/zenflow-example","description":"An
|
64
|
+
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-18T17:06:43Z","pushed_at":"2013-07-10T22:52:00Z","git_url":"git://github.com/zencoder/zenflow-example.git","ssh_url":"git@github.com:zencoder/zenflow-example.git","clone_url":"https://github.com/zencoder/zenflow-example.git","svn_url":"https://github.com/zencoder/zenflow-example","homepage":null,"size":212,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"master_branch":"master","default_branch":"master"}},"base":{"label":"zencoder:master","ref":"master","sha":"1c7849cede0cd2ba857a2db42cf3ebf5042e04ff","user":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"repo":{"id":11319183,"name":"zenflow-example","full_name":"zencoder/zenflow-example","owner":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"private":false,"html_url":"https://github.com/zencoder/zenflow-example","description":"An
|
65
|
+
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-18T17:06:43Z","pushed_at":"2013-07-10T22:52:00Z","git_url":"git://github.com/zencoder/zenflow-example.git","ssh_url":"git@github.com:zencoder/zenflow-example.git","clone_url":"https://github.com/zencoder/zenflow-example.git","svn_url":"https://github.com/zencoder/zenflow-example","homepage":null,"size":212,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"master_branch":"master","default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zencoder/zenflow-example/pulls/6"},"html":{"href":"https://github.com/zencoder/zenflow-example/pull/6"},"issue":{"href":"https://api.github.com/repos/zencoder/zenflow-example/issues/6"},"comments":{"href":"https://api.github.com/repos/zencoder/zenflow-example/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/zencoder/zenflow-example/pulls/6/comments"}}},{"url":"https://api.github.com/repos/zencoder/zenflow-example/pulls/1","id":6841810,"html_url":"https://github.com/zencoder/zenflow-example/pull/1","diff_url":"https://github.com/zencoder/zenflow-example/pull/1.diff","patch_url":"https://github.com/zencoder/zenflow-example/pull/1.patch","issue_url":"https://github.com/zencoder/zenflow-example/issues/1","number":1,"state":"open","title":"feature:
|
68
66
|
example","user":{"login":"brandonarbini","id":151,"avatar_url":"https://secure.gravatar.com/avatar/4ebddee9146bb9c4f4f8ce7229c6615d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"4ebddee9146bb9c4f4f8ce7229c6615d","url":"https://api.github.com/users/brandonarbini","html_url":"https://github.com/brandonarbini","followers_url":"https://api.github.com/users/brandonarbini/followers","following_url":"https://api.github.com/users/brandonarbini/following{/other_user}","gists_url":"https://api.github.com/users/brandonarbini/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonarbini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonarbini/subscriptions","organizations_url":"https://api.github.com/users/brandonarbini/orgs","repos_url":"https://api.github.com/users/brandonarbini/repos","events_url":"https://api.github.com/users/brandonarbini/events{/privacy}","received_events_url":"https://api.github.com/users/brandonarbini/received_events","type":"User"},"body":"Updated
|
69
67
|
readme.","created_at":"2013-07-10T17:44:22Z","updated_at":"2013-07-10T17:44:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"892f0b7663af762bfc486ecd3493cc50376ea39c","assignee":null,"milestone":null,"commits_url":"https://github.com/zencoder/zenflow-example/pull/1/commits","review_comments_url":"https://github.com/zencoder/zenflow-example/pull/1/comments","review_comment_url":"/repos/zencoder/zenflow-example/pulls/comments/{number}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/1/comments","head":{"label":"zencoder:feature/example","ref":"feature/example","sha":"4aee6709aba12cf2122063da8b67af0921d532af","user":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"repo":{"id":11319183,"name":"zenflow-example","full_name":"zencoder/zenflow-example","owner":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"private":false,"html_url":"https://github.com/zencoder/zenflow-example","description":"An
|
70
|
-
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-
|
71
|
-
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-
|
68
|
+
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-18T17:06:43Z","pushed_at":"2013-07-10T22:52:00Z","git_url":"git://github.com/zencoder/zenflow-example.git","ssh_url":"git@github.com:zencoder/zenflow-example.git","clone_url":"https://github.com/zencoder/zenflow-example.git","svn_url":"https://github.com/zencoder/zenflow-example","homepage":null,"size":212,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"master_branch":"master","default_branch":"master"}},"base":{"label":"zencoder:master","ref":"master","sha":"1c7849cede0cd2ba857a2db42cf3ebf5042e04ff","user":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"repo":{"id":11319183,"name":"zenflow-example","full_name":"zencoder/zenflow-example","owner":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"private":false,"html_url":"https://github.com/zencoder/zenflow-example","description":"An
|
69
|
+
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-18T17:06:43Z","pushed_at":"2013-07-10T22:52:00Z","git_url":"git://github.com/zencoder/zenflow-example.git","ssh_url":"git@github.com:zencoder/zenflow-example.git","clone_url":"https://github.com/zencoder/zenflow-example.git","svn_url":"https://github.com/zencoder/zenflow-example","homepage":null,"size":212,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"master_branch":"master","default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zencoder/zenflow-example/pulls/1"},"html":{"href":"https://github.com/zencoder/zenflow-example/pull/1"},"issue":{"href":"https://api.github.com/repos/zencoder/zenflow-example/issues/1"},"comments":{"href":"https://api.github.com/repos/zencoder/zenflow-example/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/zencoder/zenflow-example/pulls/1/comments"}}}]'
|
72
70
|
http_version:
|
73
|
-
recorded_at:
|
71
|
+
recorded_at: Thu, 18 Jul 2013 17:06:47 GMT
|
74
72
|
recorded_with: VCR 2.5.0
|
@@ -10,7 +10,7 @@ http_interactions:
|
|
10
10
|
Authorization:
|
11
11
|
- token <ZENFLOW-TOKEN>
|
12
12
|
User-Agent:
|
13
|
-
- Zencoder/Zenflow-0.8.
|
13
|
+
- Zencoder/Zenflow-0.8.2
|
14
14
|
response:
|
15
15
|
status:
|
16
16
|
code: 200
|
@@ -19,28 +19,26 @@ http_interactions:
|
|
19
19
|
Server:
|
20
20
|
- GitHub.com
|
21
21
|
Date:
|
22
|
-
-
|
22
|
+
- Thu, 18 Jul 2013 17:06:46 GMT
|
23
23
|
Content-Type:
|
24
24
|
- application/json; charset=utf-8
|
25
|
-
Connection:
|
26
|
-
- keep-alive
|
27
25
|
Status:
|
28
26
|
- 200 OK
|
29
27
|
X-Ratelimit-Limit:
|
30
28
|
- '5000'
|
31
29
|
X-Ratelimit-Remaining:
|
32
|
-
- '
|
30
|
+
- '4968'
|
33
31
|
X-Ratelimit-Reset:
|
34
|
-
- '
|
32
|
+
- '1374170098'
|
35
33
|
Vary:
|
36
34
|
- Accept, Authorization, Cookie
|
37
35
|
- Accept-Encoding
|
38
36
|
Cache-Control:
|
39
37
|
- private, max-age=60, s-maxage=60
|
40
38
|
Last-Modified:
|
41
|
-
-
|
39
|
+
- Thu, 18 Jul 2013 17:06:43 GMT
|
42
40
|
Etag:
|
43
|
-
- '"
|
41
|
+
- '"af409b40cdb9d4e9ef6e64d86511ac52"'
|
44
42
|
X-Oauth-Scopes:
|
45
43
|
- repo
|
46
44
|
X-Accepted-Oauth-Scopes:
|
@@ -50,7 +48,7 @@ http_interactions:
|
|
50
48
|
X-Content-Type-Options:
|
51
49
|
- nosniff
|
52
50
|
Content-Length:
|
53
|
-
- '
|
51
|
+
- '28761'
|
54
52
|
Access-Control-Allow-Credentials:
|
55
53
|
- 'true'
|
56
54
|
Access-Control-Expose-Headers:
|
@@ -60,17 +58,17 @@ http_interactions:
|
|
60
58
|
- '*'
|
61
59
|
body:
|
62
60
|
encoding: UTF-8
|
63
|
-
string: '[{"url":"https://api.github.com/repos/zencoder/zenflow-example/pulls/
|
64
|
-
new-branch","user":{"login":"<GITHUB-USER>","id":
|
65
|
-
a new pull request","created_at":"2013-07-
|
66
|
-
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-
|
67
|
-
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-
|
61
|
+
string: '[{"url":"https://api.github.com/repos/zencoder/zenflow-example/pulls/6","id":7019653,"html_url":"https://github.com/zencoder/zenflow-example/pull/6","diff_url":"https://github.com/zencoder/zenflow-example/pull/6.diff","patch_url":"https://github.com/zencoder/zenflow-example/pull/6.patch","issue_url":"https://github.com/zencoder/zenflow-example/issues/6","number":6,"state":"open","title":"Feaure:
|
62
|
+
new-branch","user":{"login":"<GITHUB-USER>","id":54364,"avatar_url":"https://secure.gravatar.com/avatar/daec6f7c331960b73022735818b0b0d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"daec6f7c331960b73022735818b0b0d4","url":"https://api.github.com/users/<GITHUB-USER>","html_url":"https://github.com/<GITHUB-USER>","followers_url":"https://api.github.com/users/<GITHUB-USER>/followers","following_url":"https://api.github.com/users/<GITHUB-USER>/following{/other_user}","gists_url":"https://api.github.com/users/<GITHUB-USER>/gists{/gist_id}","starred_url":"https://api.github.com/users/<GITHUB-USER>/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/<GITHUB-USER>/subscriptions","organizations_url":"https://api.github.com/users/<GITHUB-USER>/orgs","repos_url":"https://api.github.com/users/<GITHUB-USER>/repos","events_url":"https://api.github.com/users/<GITHUB-USER>/events{/privacy}","received_events_url":"https://api.github.com/users/<GITHUB-USER>/received_events","type":"User"},"body":"making
|
63
|
+
a new pull request","created_at":"2013-07-18T17:06:43Z","updated_at":"2013-07-18T17:06:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc4ce6080ae02222a689749e415c42fe2360fdc4","assignee":null,"milestone":null,"commits_url":"https://github.com/zencoder/zenflow-example/pull/6/commits","review_comments_url":"https://github.com/zencoder/zenflow-example/pull/6/comments","review_comment_url":"/repos/zencoder/zenflow-example/pulls/comments/{number}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/6/comments","head":{"label":"zencoder:feature/new-branch","ref":"feature/new-branch","sha":"2243a1dee7be96c9a4eb8dc3f1fbb9a043af1206","user":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"repo":{"id":11319183,"name":"zenflow-example","full_name":"zencoder/zenflow-example","owner":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"private":false,"html_url":"https://github.com/zencoder/zenflow-example","description":"An
|
64
|
+
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-18T17:06:43Z","pushed_at":"2013-07-10T22:52:00Z","git_url":"git://github.com/zencoder/zenflow-example.git","ssh_url":"git@github.com:zencoder/zenflow-example.git","clone_url":"https://github.com/zencoder/zenflow-example.git","svn_url":"https://github.com/zencoder/zenflow-example","homepage":null,"size":212,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"master_branch":"master","default_branch":"master"}},"base":{"label":"zencoder:master","ref":"master","sha":"1c7849cede0cd2ba857a2db42cf3ebf5042e04ff","user":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"repo":{"id":11319183,"name":"zenflow-example","full_name":"zencoder/zenflow-example","owner":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"private":false,"html_url":"https://github.com/zencoder/zenflow-example","description":"An
|
65
|
+
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-18T17:06:43Z","pushed_at":"2013-07-10T22:52:00Z","git_url":"git://github.com/zencoder/zenflow-example.git","ssh_url":"git@github.com:zencoder/zenflow-example.git","clone_url":"https://github.com/zencoder/zenflow-example.git","svn_url":"https://github.com/zencoder/zenflow-example","homepage":null,"size":212,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"master_branch":"master","default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zencoder/zenflow-example/pulls/6"},"html":{"href":"https://github.com/zencoder/zenflow-example/pull/6"},"issue":{"href":"https://api.github.com/repos/zencoder/zenflow-example/issues/6"},"comments":{"href":"https://api.github.com/repos/zencoder/zenflow-example/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/zencoder/zenflow-example/pulls/6/comments"}}},{"url":"https://api.github.com/repos/zencoder/zenflow-example/pulls/1","id":6841810,"html_url":"https://github.com/zencoder/zenflow-example/pull/1","diff_url":"https://github.com/zencoder/zenflow-example/pull/1.diff","patch_url":"https://github.com/zencoder/zenflow-example/pull/1.patch","issue_url":"https://github.com/zencoder/zenflow-example/issues/1","number":1,"state":"open","title":"feature:
|
68
66
|
example","user":{"login":"brandonarbini","id":151,"avatar_url":"https://secure.gravatar.com/avatar/4ebddee9146bb9c4f4f8ce7229c6615d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"4ebddee9146bb9c4f4f8ce7229c6615d","url":"https://api.github.com/users/brandonarbini","html_url":"https://github.com/brandonarbini","followers_url":"https://api.github.com/users/brandonarbini/followers","following_url":"https://api.github.com/users/brandonarbini/following{/other_user}","gists_url":"https://api.github.com/users/brandonarbini/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonarbini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonarbini/subscriptions","organizations_url":"https://api.github.com/users/brandonarbini/orgs","repos_url":"https://api.github.com/users/brandonarbini/repos","events_url":"https://api.github.com/users/brandonarbini/events{/privacy}","received_events_url":"https://api.github.com/users/brandonarbini/received_events","type":"User"},"body":"Updated
|
69
67
|
readme.","created_at":"2013-07-10T17:44:22Z","updated_at":"2013-07-10T17:44:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"892f0b7663af762bfc486ecd3493cc50376ea39c","assignee":null,"milestone":null,"commits_url":"https://github.com/zencoder/zenflow-example/pull/1/commits","review_comments_url":"https://github.com/zencoder/zenflow-example/pull/1/comments","review_comment_url":"/repos/zencoder/zenflow-example/pulls/comments/{number}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/1/comments","head":{"label":"zencoder:feature/example","ref":"feature/example","sha":"4aee6709aba12cf2122063da8b67af0921d532af","user":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"repo":{"id":11319183,"name":"zenflow-example","full_name":"zencoder/zenflow-example","owner":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"private":false,"html_url":"https://github.com/zencoder/zenflow-example","description":"An
|
70
|
-
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-
|
71
|
-
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-
|
68
|
+
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-18T17:06:43Z","pushed_at":"2013-07-10T22:52:00Z","git_url":"git://github.com/zencoder/zenflow-example.git","ssh_url":"git@github.com:zencoder/zenflow-example.git","clone_url":"https://github.com/zencoder/zenflow-example.git","svn_url":"https://github.com/zencoder/zenflow-example","homepage":null,"size":212,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"master_branch":"master","default_branch":"master"}},"base":{"label":"zencoder:master","ref":"master","sha":"1c7849cede0cd2ba857a2db42cf3ebf5042e04ff","user":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"repo":{"id":11319183,"name":"zenflow-example","full_name":"zencoder/zenflow-example","owner":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"private":false,"html_url":"https://github.com/zencoder/zenflow-example","description":"An
|
69
|
+
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-18T17:06:43Z","pushed_at":"2013-07-10T22:52:00Z","git_url":"git://github.com/zencoder/zenflow-example.git","ssh_url":"git@github.com:zencoder/zenflow-example.git","clone_url":"https://github.com/zencoder/zenflow-example.git","svn_url":"https://github.com/zencoder/zenflow-example","homepage":null,"size":212,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"master_branch":"master","default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zencoder/zenflow-example/pulls/1"},"html":{"href":"https://github.com/zencoder/zenflow-example/pull/1"},"issue":{"href":"https://api.github.com/repos/zencoder/zenflow-example/issues/1"},"comments":{"href":"https://api.github.com/repos/zencoder/zenflow-example/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/zencoder/zenflow-example/pulls/1/comments"}}}]'
|
72
70
|
http_version:
|
73
|
-
recorded_at:
|
71
|
+
recorded_at: Thu, 18 Jul 2013 17:06:46 GMT
|
74
72
|
- request:
|
75
73
|
method: get
|
76
74
|
uri: https://api.github.com/repos/zencoder/zenflow-example/pulls
|
@@ -81,7 +79,7 @@ http_interactions:
|
|
81
79
|
Authorization:
|
82
80
|
- token <ZENFLOW-TOKEN>
|
83
81
|
User-Agent:
|
84
|
-
- Zencoder/Zenflow-0.8.
|
82
|
+
- Zencoder/Zenflow-0.8.2
|
85
83
|
response:
|
86
84
|
status:
|
87
85
|
code: 200
|
@@ -90,28 +88,26 @@ http_interactions:
|
|
90
88
|
Server:
|
91
89
|
- GitHub.com
|
92
90
|
Date:
|
93
|
-
-
|
91
|
+
- Thu, 18 Jul 2013 17:06:46 GMT
|
94
92
|
Content-Type:
|
95
93
|
- application/json; charset=utf-8
|
96
|
-
Connection:
|
97
|
-
- keep-alive
|
98
94
|
Status:
|
99
95
|
- 200 OK
|
100
96
|
X-Ratelimit-Limit:
|
101
97
|
- '5000'
|
102
98
|
X-Ratelimit-Remaining:
|
103
|
-
- '
|
99
|
+
- '4967'
|
104
100
|
X-Ratelimit-Reset:
|
105
|
-
- '
|
101
|
+
- '1374170098'
|
106
102
|
Vary:
|
107
103
|
- Accept, Authorization, Cookie
|
108
104
|
- Accept-Encoding
|
109
105
|
Cache-Control:
|
110
106
|
- private, max-age=60, s-maxage=60
|
111
107
|
Last-Modified:
|
112
|
-
-
|
108
|
+
- Thu, 18 Jul 2013 17:06:43 GMT
|
113
109
|
Etag:
|
114
|
-
- '"
|
110
|
+
- '"af409b40cdb9d4e9ef6e64d86511ac52"'
|
115
111
|
X-Oauth-Scopes:
|
116
112
|
- repo
|
117
113
|
X-Accepted-Oauth-Scopes:
|
@@ -121,7 +117,7 @@ http_interactions:
|
|
121
117
|
X-Content-Type-Options:
|
122
118
|
- nosniff
|
123
119
|
Content-Length:
|
124
|
-
- '
|
120
|
+
- '28761'
|
125
121
|
Access-Control-Allow-Credentials:
|
126
122
|
- 'true'
|
127
123
|
Access-Control-Expose-Headers:
|
@@ -131,15 +127,15 @@ http_interactions:
|
|
131
127
|
- '*'
|
132
128
|
body:
|
133
129
|
encoding: UTF-8
|
134
|
-
string: '[{"url":"https://api.github.com/repos/zencoder/zenflow-example/pulls/
|
135
|
-
new-branch","user":{"login":"<GITHUB-USER>","id":
|
136
|
-
a new pull request","created_at":"2013-07-
|
137
|
-
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-
|
138
|
-
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-
|
130
|
+
string: '[{"url":"https://api.github.com/repos/zencoder/zenflow-example/pulls/6","id":7019653,"html_url":"https://github.com/zencoder/zenflow-example/pull/6","diff_url":"https://github.com/zencoder/zenflow-example/pull/6.diff","patch_url":"https://github.com/zencoder/zenflow-example/pull/6.patch","issue_url":"https://github.com/zencoder/zenflow-example/issues/6","number":6,"state":"open","title":"Feaure:
|
131
|
+
new-branch","user":{"login":"<GITHUB-USER>","id":54364,"avatar_url":"https://secure.gravatar.com/avatar/daec6f7c331960b73022735818b0b0d4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"daec6f7c331960b73022735818b0b0d4","url":"https://api.github.com/users/<GITHUB-USER>","html_url":"https://github.com/<GITHUB-USER>","followers_url":"https://api.github.com/users/<GITHUB-USER>/followers","following_url":"https://api.github.com/users/<GITHUB-USER>/following{/other_user}","gists_url":"https://api.github.com/users/<GITHUB-USER>/gists{/gist_id}","starred_url":"https://api.github.com/users/<GITHUB-USER>/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/<GITHUB-USER>/subscriptions","organizations_url":"https://api.github.com/users/<GITHUB-USER>/orgs","repos_url":"https://api.github.com/users/<GITHUB-USER>/repos","events_url":"https://api.github.com/users/<GITHUB-USER>/events{/privacy}","received_events_url":"https://api.github.com/users/<GITHUB-USER>/received_events","type":"User"},"body":"making
|
132
|
+
a new pull request","created_at":"2013-07-18T17:06:43Z","updated_at":"2013-07-18T17:06:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc4ce6080ae02222a689749e415c42fe2360fdc4","assignee":null,"milestone":null,"commits_url":"https://github.com/zencoder/zenflow-example/pull/6/commits","review_comments_url":"https://github.com/zencoder/zenflow-example/pull/6/comments","review_comment_url":"/repos/zencoder/zenflow-example/pulls/comments/{number}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/6/comments","head":{"label":"zencoder:feature/new-branch","ref":"feature/new-branch","sha":"2243a1dee7be96c9a4eb8dc3f1fbb9a043af1206","user":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"repo":{"id":11319183,"name":"zenflow-example","full_name":"zencoder/zenflow-example","owner":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"private":false,"html_url":"https://github.com/zencoder/zenflow-example","description":"An
|
133
|
+
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-18T17:06:43Z","pushed_at":"2013-07-10T22:52:00Z","git_url":"git://github.com/zencoder/zenflow-example.git","ssh_url":"git@github.com:zencoder/zenflow-example.git","clone_url":"https://github.com/zencoder/zenflow-example.git","svn_url":"https://github.com/zencoder/zenflow-example","homepage":null,"size":212,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"master_branch":"master","default_branch":"master"}},"base":{"label":"zencoder:master","ref":"master","sha":"1c7849cede0cd2ba857a2db42cf3ebf5042e04ff","user":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"repo":{"id":11319183,"name":"zenflow-example","full_name":"zencoder/zenflow-example","owner":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"private":false,"html_url":"https://github.com/zencoder/zenflow-example","description":"An
|
134
|
+
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-18T17:06:43Z","pushed_at":"2013-07-10T22:52:00Z","git_url":"git://github.com/zencoder/zenflow-example.git","ssh_url":"git@github.com:zencoder/zenflow-example.git","clone_url":"https://github.com/zencoder/zenflow-example.git","svn_url":"https://github.com/zencoder/zenflow-example","homepage":null,"size":212,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"master_branch":"master","default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zencoder/zenflow-example/pulls/6"},"html":{"href":"https://github.com/zencoder/zenflow-example/pull/6"},"issue":{"href":"https://api.github.com/repos/zencoder/zenflow-example/issues/6"},"comments":{"href":"https://api.github.com/repos/zencoder/zenflow-example/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/zencoder/zenflow-example/pulls/6/comments"}}},{"url":"https://api.github.com/repos/zencoder/zenflow-example/pulls/1","id":6841810,"html_url":"https://github.com/zencoder/zenflow-example/pull/1","diff_url":"https://github.com/zencoder/zenflow-example/pull/1.diff","patch_url":"https://github.com/zencoder/zenflow-example/pull/1.patch","issue_url":"https://github.com/zencoder/zenflow-example/issues/1","number":1,"state":"open","title":"feature:
|
139
135
|
example","user":{"login":"brandonarbini","id":151,"avatar_url":"https://secure.gravatar.com/avatar/4ebddee9146bb9c4f4f8ce7229c6615d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png","gravatar_id":"4ebddee9146bb9c4f4f8ce7229c6615d","url":"https://api.github.com/users/brandonarbini","html_url":"https://github.com/brandonarbini","followers_url":"https://api.github.com/users/brandonarbini/followers","following_url":"https://api.github.com/users/brandonarbini/following{/other_user}","gists_url":"https://api.github.com/users/brandonarbini/gists{/gist_id}","starred_url":"https://api.github.com/users/brandonarbini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandonarbini/subscriptions","organizations_url":"https://api.github.com/users/brandonarbini/orgs","repos_url":"https://api.github.com/users/brandonarbini/repos","events_url":"https://api.github.com/users/brandonarbini/events{/privacy}","received_events_url":"https://api.github.com/users/brandonarbini/received_events","type":"User"},"body":"Updated
|
140
136
|
readme.","created_at":"2013-07-10T17:44:22Z","updated_at":"2013-07-10T17:44:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"892f0b7663af762bfc486ecd3493cc50376ea39c","assignee":null,"milestone":null,"commits_url":"https://github.com/zencoder/zenflow-example/pull/1/commits","review_comments_url":"https://github.com/zencoder/zenflow-example/pull/1/comments","review_comment_url":"/repos/zencoder/zenflow-example/pulls/comments/{number}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/1/comments","head":{"label":"zencoder:feature/example","ref":"feature/example","sha":"4aee6709aba12cf2122063da8b67af0921d532af","user":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"repo":{"id":11319183,"name":"zenflow-example","full_name":"zencoder/zenflow-example","owner":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"private":false,"html_url":"https://github.com/zencoder/zenflow-example","description":"An
|
141
|
-
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-
|
142
|
-
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-
|
137
|
+
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-18T17:06:43Z","pushed_at":"2013-07-10T22:52:00Z","git_url":"git://github.com/zencoder/zenflow-example.git","ssh_url":"git@github.com:zencoder/zenflow-example.git","clone_url":"https://github.com/zencoder/zenflow-example.git","svn_url":"https://github.com/zencoder/zenflow-example","homepage":null,"size":212,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"master_branch":"master","default_branch":"master"}},"base":{"label":"zencoder:master","ref":"master","sha":"1c7849cede0cd2ba857a2db42cf3ebf5042e04ff","user":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"repo":{"id":11319183,"name":"zenflow-example","full_name":"zencoder/zenflow-example","owner":{"login":"zencoder","id":23879,"avatar_url":"https://secure.gravatar.com/avatar/5cda1d68355c595fdb0e890dc8bf7f6d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-org-420.png","gravatar_id":"5cda1d68355c595fdb0e890dc8bf7f6d","url":"https://api.github.com/users/zencoder","html_url":"https://github.com/zencoder","followers_url":"https://api.github.com/users/zencoder/followers","following_url":"https://api.github.com/users/zencoder/following{/other_user}","gists_url":"https://api.github.com/users/zencoder/gists{/gist_id}","starred_url":"https://api.github.com/users/zencoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zencoder/subscriptions","organizations_url":"https://api.github.com/users/zencoder/orgs","repos_url":"https://api.github.com/users/zencoder/repos","events_url":"https://api.github.com/users/zencoder/events{/privacy}","received_events_url":"https://api.github.com/users/zencoder/received_events","type":"Organization"},"private":false,"html_url":"https://github.com/zencoder/zenflow-example","description":"An
|
138
|
+
example repository for zenflow tests.","fork":false,"url":"https://api.github.com/repos/zencoder/zenflow-example","forks_url":"https://api.github.com/repos/zencoder/zenflow-example/forks","keys_url":"https://api.github.com/repos/zencoder/zenflow-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zencoder/zenflow-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zencoder/zenflow-example/teams","hooks_url":"https://api.github.com/repos/zencoder/zenflow-example/hooks","issue_events_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/events{/number}","events_url":"https://api.github.com/repos/zencoder/zenflow-example/events","assignees_url":"https://api.github.com/repos/zencoder/zenflow-example/assignees{/user}","branches_url":"https://api.github.com/repos/zencoder/zenflow-example/branches{/branch}","tags_url":"https://api.github.com/repos/zencoder/zenflow-example/tags","blobs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zencoder/zenflow-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zencoder/zenflow-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/zencoder/zenflow-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zencoder/zenflow-example/statuses/{sha}","languages_url":"https://api.github.com/repos/zencoder/zenflow-example/languages","stargazers_url":"https://api.github.com/repos/zencoder/zenflow-example/stargazers","contributors_url":"https://api.github.com/repos/zencoder/zenflow-example/contributors","subscribers_url":"https://api.github.com/repos/zencoder/zenflow-example/subscribers","subscription_url":"https://api.github.com/repos/zencoder/zenflow-example/subscription","commits_url":"https://api.github.com/repos/zencoder/zenflow-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/zencoder/zenflow-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/zencoder/zenflow-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/zencoder/zenflow-example/issues/comments/{number}","contents_url":"https://api.github.com/repos/zencoder/zenflow-example/contents/{+path}","compare_url":"https://api.github.com/repos/zencoder/zenflow-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zencoder/zenflow-example/merges","archive_url":"https://api.github.com/repos/zencoder/zenflow-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zencoder/zenflow-example/downloads","issues_url":"https://api.github.com/repos/zencoder/zenflow-example/issues{/number}","pulls_url":"https://api.github.com/repos/zencoder/zenflow-example/pulls{/number}","milestones_url":"https://api.github.com/repos/zencoder/zenflow-example/milestones{/number}","notifications_url":"https://api.github.com/repos/zencoder/zenflow-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zencoder/zenflow-example/labels{/name}","created_at":"2013-07-10T17:42:21Z","updated_at":"2013-07-18T17:06:43Z","pushed_at":"2013-07-10T22:52:00Z","git_url":"git://github.com/zencoder/zenflow-example.git","ssh_url":"git@github.com:zencoder/zenflow-example.git","clone_url":"https://github.com/zencoder/zenflow-example.git","svn_url":"https://github.com/zencoder/zenflow-example","homepage":null,"size":212,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"master_branch":"master","default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zencoder/zenflow-example/pulls/1"},"html":{"href":"https://github.com/zencoder/zenflow-example/pull/1"},"issue":{"href":"https://api.github.com/repos/zencoder/zenflow-example/issues/1"},"comments":{"href":"https://api.github.com/repos/zencoder/zenflow-example/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/zencoder/zenflow-example/pulls/1/comments"}}}]'
|
143
139
|
http_version:
|
144
|
-
recorded_at:
|
140
|
+
recorded_at: Thu, 18 Jul 2013 17:06:46 GMT
|
145
141
|
recorded_with: VCR 2.5.0
|
data/spec/spec_helper.rb
CHANGED
@@ -92,6 +92,7 @@ describe Zenflow do
|
|
92
92
|
it{expect(Zenflow::Query.handle_response('Y')).to eq('y')}
|
93
93
|
it{expect(Zenflow::Query.handle_response('N')).to eq('n')}
|
94
94
|
it{expect(Zenflow::Query.handle_response('', default: 'foo')).to eq('foo')}
|
95
|
+
it{expect(Zenflow::Query.handle_response('', default: 'FOO')).to eq('foo')}
|
95
96
|
end
|
96
97
|
end
|
97
98
|
|
@@ -104,6 +105,9 @@ describe Zenflow do
|
|
104
105
|
it{expect(Zenflow::Query.valid_response?('foo', required: true)).to eq(true)}
|
105
106
|
it{expect(Zenflow::Query.valid_response?('foo', required: false)).to eq(true)}
|
106
107
|
it{expect(Zenflow::Query.valid_response?('', required: false)).to eq(true)}
|
108
|
+
it{expect(Zenflow::Query.valid_response?('', default: 'MERGE', options: ['merge', 'rebase'])).to eq(true)}
|
109
|
+
it{expect(Zenflow::Query.valid_response?('MERGE', options: ['merge', 'rebase'])).to eq(true)}
|
110
|
+
it{expect(Zenflow::Query.valid_response?('rebase', options: ['MERGE', 'REBASE'])).to eq(true)}
|
107
111
|
end
|
108
112
|
|
109
113
|
describe '.build_error_message' do
|
@@ -106,13 +106,34 @@ module BranchCommandSpec
|
|
106
106
|
end
|
107
107
|
|
108
108
|
describe "#update" do
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
109
|
+
context "merge_strategy: merge" do
|
110
|
+
before do
|
111
|
+
Zenflow::Config.should_receive(:[]).with(:merge_strategy).and_return('merge')
|
112
|
+
Zenflow::Branch.should_receive(:current).with("test").and_return("new-test-branch")
|
113
|
+
Zenflow::Branch.should_receive(:checkout).with("test/new-test-branch")
|
114
|
+
Zenflow::Branch.should_receive(:merge).with("master")
|
115
|
+
|
116
|
+
context "no override for --rebase" do
|
117
|
+
Zenflow::Branch.should_receive(:update).with("master", nil)
|
118
|
+
it { TestCommand.new.invoke(:update) }
|
119
|
+
end
|
120
|
+
|
121
|
+
context "override for --rebase" do
|
122
|
+
Zenflow::Branch.should_receive(:update).with("master", true)
|
123
|
+
it { TestCommand.new.invoke(:update, true) }
|
124
|
+
end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
context "merge_strategy: rebase" do
|
129
|
+
before do
|
130
|
+
Zenflow::Config.should_receive(:[]).with(:merge_strategy).and_return('rebase')
|
131
|
+
Zenflow::Branch.should_receive(:current).with("test").and_return("new-test-branch")
|
132
|
+
Zenflow::Branch.should_receive(:update).with("master", nil)
|
133
|
+
Zenflow::Branch.should_receive(:rebase).with("test/new-test-branch", 'master')
|
134
|
+
end
|
135
|
+
it { TestCommand.new.invoke(:update) }
|
114
136
|
end
|
115
|
-
it { TestCommand.new.invoke(:update) }
|
116
137
|
end
|
117
138
|
|
118
139
|
describe "#diff" do
|
@@ -236,7 +257,7 @@ module BranchCommandSpec
|
|
236
257
|
context "with confirmations" do
|
237
258
|
it "without deployment to staging" do
|
238
259
|
Zenflow::Config.should_receive(:[]).with(:confirm_staging).and_return(true)
|
239
|
-
Zenflow.should_receive(:Ask).with("Has this been tested in a staging environment first?", options: ["Y", "n"], default: "
|
260
|
+
Zenflow.should_receive(:Ask).with("Has this been tested in a staging environment first?", options: ["Y", "n"], default: "y").and_return("n")
|
240
261
|
Zenflow.should_receive(:Log).with("Sorry, deploy to a staging environment first", color: :red)
|
241
262
|
expect{TestCommand.new.invoke(:finish)}.to raise_error(SystemExit)
|
242
263
|
end
|
@@ -244,8 +265,8 @@ module BranchCommandSpec
|
|
244
265
|
it "without review" do
|
245
266
|
Zenflow::Config.should_receive(:[]).with(:confirm_staging).and_return(true)
|
246
267
|
Zenflow::Config.should_receive(:[]).with(:confirm_review).and_return(true)
|
247
|
-
Zenflow.should_receive(:Ask).with("Has this been tested in a staging environment first?", options: ["Y", "n"], default: "
|
248
|
-
Zenflow.should_receive(:Ask).with("Has this been code reviewed yet?", options: ["Y", "n"], default: "
|
268
|
+
Zenflow.should_receive(:Ask).with("Has this been tested in a staging environment first?", options: ["Y", "n"], default: "y").and_return("y")
|
269
|
+
Zenflow.should_receive(:Ask).with("Has this been code reviewed yet?", options: ["Y", "n"], default: "y").and_return("n")
|
249
270
|
Zenflow.should_receive(:Log).with("Please have someone look at this first", color: :red)
|
250
271
|
expect{TestCommand.new.invoke(:finish)}.to raise_error(SystemExit)
|
251
272
|
end
|
@@ -257,51 +278,108 @@ module BranchCommandSpec
|
|
257
278
|
Zenflow::Config.should_receive(:[]).with(:confirm_review).and_return(false)
|
258
279
|
end
|
259
280
|
|
260
|
-
context "
|
281
|
+
context "with a merge_strategy of 'merge'" do
|
261
282
|
before do
|
262
|
-
Zenflow::
|
263
|
-
|
264
|
-
|
283
|
+
Zenflow::Config.should_receive(:[]).with(:merge_strategy).and_return('merge')
|
284
|
+
end
|
285
|
+
|
286
|
+
context "when online" do
|
287
|
+
before do
|
288
|
+
Zenflow::Branch.should_receive(:update).with("production")
|
289
|
+
Zenflow::Branch.should_receive(:checkout).with("test/new-test-branch")
|
290
|
+
Zenflow::Branch.should_receive(:merge).with("production")
|
265
291
|
|
266
|
-
|
292
|
+
Zenflow::Version.should_receive(:update).with(:patch)
|
267
293
|
|
268
|
-
|
294
|
+
Zenflow::Changelog.should_receive(:update).with(rotate: true, name: "new-test-branch").and_return("YES")
|
269
295
|
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
296
|
+
Zenflow::Branch.should_receive(:checkout).with("master")
|
297
|
+
Zenflow::Branch.should_receive(:merge).with("test/new-test-branch")
|
298
|
+
Zenflow::Branch.should_receive(:push).with("master")
|
299
|
+
Zenflow::Branch.should_receive(:checkout).with("production")
|
300
|
+
Zenflow::Branch.should_receive(:merge).with("test/new-test-branch")
|
301
|
+
Zenflow::Branch.should_receive(:push).with("production")
|
276
302
|
|
277
|
-
|
278
|
-
|
303
|
+
Zenflow::Branch.should_receive(:tag).with(Zenflow::Version.current.to_s, "YES")
|
304
|
+
Zenflow::Branch.should_receive(:push).with(:tags)
|
279
305
|
|
280
|
-
|
281
|
-
|
306
|
+
Zenflow::Branch.should_receive(:delete_remote).with("test/new-test-branch")
|
307
|
+
Zenflow::Branch.should_receive(:delete_local).with("test/new-test-branch", force: true)
|
308
|
+
end
|
309
|
+
it { TestCommand.new.invoke(:finish) }
|
310
|
+
end
|
311
|
+
|
312
|
+
context "when offline" do
|
313
|
+
before do
|
314
|
+
Zenflow::Branch.should_receive(:checkout).with("test/new-test-branch")
|
315
|
+
Zenflow::Branch.should_receive(:merge).with("production")
|
316
|
+
|
317
|
+
Zenflow::Version.should_receive(:update).with(:patch)
|
318
|
+
|
319
|
+
Zenflow::Changelog.should_receive(:update).with(rotate: true, name: "new-test-branch").and_return("YES")
|
320
|
+
|
321
|
+
Zenflow::Branch.should_receive(:checkout).with("master")
|
322
|
+
Zenflow::Branch.should_receive(:merge).with("test/new-test-branch")
|
323
|
+
Zenflow::Branch.should_receive(:checkout).with("production")
|
324
|
+
Zenflow::Branch.should_receive(:merge).with("test/new-test-branch")
|
325
|
+
|
326
|
+
Zenflow::Branch.should_receive(:tag).with(Zenflow::Version.current.to_s, "YES")
|
327
|
+
|
328
|
+
Zenflow::Branch.should_receive(:delete_local).with("test/new-test-branch", force: true)
|
329
|
+
end
|
330
|
+
it { TestCommand.new.invoke(:finish, [], offline: true) }
|
282
331
|
end
|
283
|
-
it { TestCommand.new.invoke(:finish) }
|
284
332
|
end
|
285
333
|
|
286
|
-
context "
|
334
|
+
context "with a merge_strategy of 'rebase'" do
|
287
335
|
before do
|
288
|
-
Zenflow::
|
289
|
-
|
336
|
+
Zenflow::Config.should_receive(:[]).with(:merge_strategy).and_return('rebase')
|
337
|
+
end
|
338
|
+
|
339
|
+
context "when online" do
|
340
|
+
before do
|
341
|
+
Zenflow::Branch.should_receive(:update).with("production")
|
342
|
+
Zenflow::Branch.should_receive(:rebase).with("test/new-test-branch", 'production')
|
343
|
+
|
344
|
+
Zenflow::Version.should_receive(:update).with(:patch)
|
345
|
+
|
346
|
+
Zenflow::Changelog.should_receive(:update).with(rotate: true, name: "new-test-branch").and_return("YES")
|
347
|
+
|
348
|
+
Zenflow::Branch.should_receive(:checkout).with("master")
|
349
|
+
Zenflow::Branch.should_receive(:merge).with("test/new-test-branch")
|
350
|
+
Zenflow::Branch.should_receive(:push).with("master")
|
351
|
+
Zenflow::Branch.should_receive(:checkout).with("production")
|
352
|
+
Zenflow::Branch.should_receive(:merge).with("test/new-test-branch")
|
353
|
+
Zenflow::Branch.should_receive(:push).with("production")
|
354
|
+
|
355
|
+
Zenflow::Branch.should_receive(:tag).with(Zenflow::Version.current.to_s, "YES")
|
356
|
+
Zenflow::Branch.should_receive(:push).with(:tags)
|
357
|
+
|
358
|
+
Zenflow::Branch.should_receive(:delete_remote).with("test/new-test-branch")
|
359
|
+
Zenflow::Branch.should_receive(:delete_local).with("test/new-test-branch", force: true)
|
360
|
+
end
|
361
|
+
it { TestCommand.new.invoke(:finish) }
|
362
|
+
end
|
363
|
+
|
364
|
+
context "when offline" do
|
365
|
+
before do
|
366
|
+
Zenflow::Branch.should_receive(:rebase).with("test/new-test-branch", 'production')
|
290
367
|
|
291
|
-
|
368
|
+
Zenflow::Version.should_receive(:update).with(:patch)
|
292
369
|
|
293
|
-
|
370
|
+
Zenflow::Changelog.should_receive(:update).with(rotate: true, name: "new-test-branch").and_return("YES")
|
294
371
|
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
372
|
+
Zenflow::Branch.should_receive(:checkout).with("master")
|
373
|
+
Zenflow::Branch.should_receive(:merge).with("test/new-test-branch")
|
374
|
+
Zenflow::Branch.should_receive(:checkout).with("production")
|
375
|
+
Zenflow::Branch.should_receive(:merge).with("test/new-test-branch")
|
299
376
|
|
300
|
-
|
377
|
+
Zenflow::Branch.should_receive(:tag).with(Zenflow::Version.current.to_s, "YES")
|
301
378
|
|
302
|
-
|
379
|
+
Zenflow::Branch.should_receive(:delete_local).with("test/new-test-branch", force: true)
|
380
|
+
end
|
381
|
+
it { TestCommand.new.invoke(:finish, [], offline: true) }
|
303
382
|
end
|
304
|
-
it { TestCommand.new.invoke(:finish, [], offline: true) }
|
305
383
|
end
|
306
384
|
end
|
307
385
|
end
|