capistrano-ci 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/lib/capistrano/ci/clients/travis.rb +1 -1
- data/lib/capistrano/ci/clients/travis_pro.rb +1 -1
- data/lib/capistrano/ci/version.rb +1 -1
- data/spec/capistrano/ci/clients/circle_spec.rb +1 -1
- data/spec/capistrano/ci/clients/travis_pro_spec.rb +2 -2
- data/spec/vcr/Capistrano_CI_Clients_Circle/_state/when_repository_was_not_found/.yml +1 -1
- data/spec/vcr/Capistrano_CI_Clients_Travis/_passed_/when_failed/.yml +20 -20
- data/spec/vcr/Capistrano_CI_Clients_Travis/_passed_/when_passed/.yml +31 -30
- data/spec/vcr/Capistrano_CI_Clients_Travis/_state/when_failed/.yml +19 -19
- data/spec/vcr/Capistrano_CI_Clients_Travis/_state/when_passed/.yml +33 -32
- data/spec/vcr/Capistrano_CI_Clients_Travis/_state/when_repository_was_not_found/.yml +14 -8
- data/spec/vcr/Capistrano_CI_Clients_TravisPro/_passed_/when_not_passed/.yml +24 -24
- data/spec/vcr/Capistrano_CI_Clients_TravisPro/_passed_/when_passed/.yml +25 -26
- data/spec/vcr/Capistrano_CI_Clients_TravisPro/_state/when_not_passed/.yml +23 -23
- data/spec/vcr/Capistrano_CI_Clients_TravisPro/_state/when_passed/.yml +23 -24
- data/spec/vcr/Capistrano_CI_Clients_TravisPro/_state/when_repository_was_not_found/.yml +6 -6
- metadata +21 -21
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
OTIyMDNkOGMyNzAwMTBlOWJmZTkwOTczNjU0ZDNjZGQyNWM0NWRmZWU3YWNl
|
10
|
-
Mzc4N2E0Zjk2NTA5MDRlNGE5Y2M4OWE1YWNkMzQ1NGUyNTgyNDU2YTBlOGVl
|
11
|
-
NTBiZDc5NTM3NDY2ZWVhYmZkMjIyODNlZmFjMDBjYmRkY2ZkMmU=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NzEzZWM4MzUzOWNmZjk2NzQyY2ZjNDhkYmI2MTZhMmNiOWFjZTIzMzRhNWEx
|
14
|
-
YTMxYzQ4ZjBmNTFmMmY1Zjg3YTNmY2I1OTk2NzM5ZjI3OTdmMTIyOTMyM2M5
|
15
|
-
MjJhNDlmNmI2ZDlmMWRjNTBmZGY4Nzc1NWRkNGI0OTY5NzViNGE=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 4d3f5e76fb2f62d3a5f8a2339981c0e8cb2982fc
|
4
|
+
data.tar.gz: f7ca0270be922cebc7664f3f4d1a87538a80a09c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f0115e758c4db10667b253e3f698408caf8c811de8aa1c6eae5e83e9ce28bb73e0cb4788396380e677c0ceb9ffb76cbbfee649b2c6f5995ce399a21bd8a789c4
|
7
|
+
data.tar.gz: e46208e4df6ba9897b9c42075acb928b387d692b7ef55036a8c0bd6f9415f5249c4720622307ca567cfb82a610fc49a1a46f48567ee6088b2f6fd48d322a2ccf
|
@@ -7,7 +7,7 @@ module Capistrano
|
|
7
7
|
attr_reader :repository_name
|
8
8
|
|
9
9
|
def initialize(settings = {})
|
10
|
-
self.class.headers 'Accept' => 'application/json
|
10
|
+
self.class.headers 'Accept' => 'application/vnd.travis-ci.2+json'
|
11
11
|
|
12
12
|
@repository_name = settings[:ci_repository]
|
13
13
|
end
|
@@ -7,7 +7,7 @@ module Capistrano
|
|
7
7
|
def initialize(settings = {})
|
8
8
|
@repository_name = settings[:ci_repository]
|
9
9
|
|
10
|
-
self.class.headers 'Accept' => 'application/json
|
10
|
+
self.class.headers 'Accept' => 'application/vnd.travis-ci.2+json', "Authorization" => "token #{settings[:ci_access_token]}"
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
@@ -41,7 +41,7 @@ describe Capistrano::CI::Clients::Circle, :vcr do
|
|
41
41
|
end
|
42
42
|
|
43
43
|
context "when repository was not found" do
|
44
|
-
let(:client){ described_class.new ci_repository: "
|
44
|
+
let(:client){ described_class.new ci_repository: "rails-private-blabla", ci_access_token: "api_token" }
|
45
45
|
|
46
46
|
it{ expect{ subject }.to raise_error(Capistrano::CI::Clients::ResponseError) }
|
47
47
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Capistrano::CI::Clients::TravisPro, :vcr do
|
4
|
-
let(:client){ described_class.new(ci_repository: "rails
|
4
|
+
let(:client){ described_class.new(ci_repository: "rails-private", ci_access_token: "secret_token") }
|
5
5
|
|
6
6
|
describe "#passed?" do
|
7
7
|
subject{ client.passed?(branch_name) }
|
@@ -13,7 +13,7 @@ describe Capistrano::CI::Clients::TravisPro, :vcr do
|
|
13
13
|
end
|
14
14
|
|
15
15
|
context "when not passed" do
|
16
|
-
let(:branch_name){ "
|
16
|
+
let(:branch_name){ "failed-branch" }
|
17
17
|
|
18
18
|
it{ should == false }
|
19
19
|
end
|
@@ -2,7 +2,7 @@
|
|
2
2
|
http_interactions:
|
3
3
|
- request:
|
4
4
|
method: get
|
5
|
-
uri: https://circleci.com/api/v1/project/
|
5
|
+
uri: https://circleci.com/api/v1/project/rails-private-blabla?circle-token=api_token
|
6
6
|
body:
|
7
7
|
encoding: US-ASCII
|
8
8
|
string: ''
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
|
-
- application/json
|
11
|
+
- application/vnd.travis-ci.2+json
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
Access-Control-Allow-Credentials:
|
18
18
|
- 'true'
|
19
19
|
Access-Control-Allow-Origin:
|
20
|
-
-
|
20
|
+
- "*"
|
21
21
|
Access-Control-Expose-Headers:
|
22
22
|
- Content-Type, Cache-Control, Expires, Etag, Last-Modified
|
23
23
|
Age:
|
@@ -27,11 +27,11 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json;charset=utf-8
|
29
29
|
Date:
|
30
|
-
- Sat,
|
30
|
+
- Sat, 21 Jun 2014 13:11:53 GMT
|
31
31
|
Etag:
|
32
|
-
-
|
32
|
+
- '"9404b52a024d8acd3b0fa887dd10a91b"'
|
33
33
|
Server:
|
34
|
-
- nginx/1.5.
|
34
|
+
- nginx/1.5.7
|
35
35
|
Status:
|
36
36
|
- 200 OK
|
37
37
|
Strict-Transport-Security:
|
@@ -47,18 +47,18 @@ http_interactions:
|
|
47
47
|
X-Oauth-Scopes:
|
48
48
|
- public
|
49
49
|
X-Pattern:
|
50
|
-
- /:owner_name/:name
|
50
|
+
- "/:owner_name/:name"
|
51
51
|
X-Rack-Cache:
|
52
|
-
-
|
52
|
+
- stale, valid, store
|
53
53
|
Content-Length:
|
54
54
|
- '318'
|
55
55
|
Connection:
|
56
56
|
- keep-alive
|
57
57
|
body:
|
58
|
-
encoding:
|
59
|
-
string:
|
58
|
+
encoding: UTF-8
|
59
|
+
string: '{"repo":{"id":544757,"slug":"railsware/zero_deploy","description":"","last_build_id":5983202,"last_build_number":"2","last_build_state":"failed","last_build_duration":31,"last_build_language":null,"last_build_started_at":"2013-04-02T11:13:13Z","last_build_finished_at":"2013-04-02T11:13:30Z","github_language":"Ruby"}}'
|
60
60
|
http_version:
|
61
|
-
recorded_at: Sat,
|
61
|
+
recorded_at: Sat, 21 Jun 2014 13:11:53 GMT
|
62
62
|
- request:
|
63
63
|
method: get
|
64
64
|
uri: https://api.travis-ci.org/repos/544757/branches/master
|
@@ -67,7 +67,7 @@ http_interactions:
|
|
67
67
|
string: ''
|
68
68
|
headers:
|
69
69
|
Accept:
|
70
|
-
- application/json
|
70
|
+
- application/vnd.travis-ci.2+json
|
71
71
|
response:
|
72
72
|
status:
|
73
73
|
code: 200
|
@@ -76,7 +76,7 @@ http_interactions:
|
|
76
76
|
Access-Control-Allow-Credentials:
|
77
77
|
- 'true'
|
78
78
|
Access-Control-Allow-Origin:
|
79
|
-
-
|
79
|
+
- "*"
|
80
80
|
Access-Control-Expose-Headers:
|
81
81
|
- Content-Type, Cache-Control, Expires, Etag, Last-Modified
|
82
82
|
Age:
|
@@ -86,11 +86,11 @@ http_interactions:
|
|
86
86
|
Content-Type:
|
87
87
|
- application/json;charset=utf-8
|
88
88
|
Date:
|
89
|
-
- Sat,
|
89
|
+
- Sat, 21 Jun 2014 13:11:54 GMT
|
90
90
|
Etag:
|
91
|
-
-
|
91
|
+
- '"3df414de985c21517500253bb7f0c9ca"'
|
92
92
|
Server:
|
93
|
-
- nginx/1.5.
|
93
|
+
- nginx/1.5.7
|
94
94
|
Status:
|
95
95
|
- 200 OK
|
96
96
|
Strict-Transport-Security:
|
@@ -106,7 +106,7 @@ http_interactions:
|
|
106
106
|
X-Oauth-Scopes:
|
107
107
|
- public
|
108
108
|
X-Pattern:
|
109
|
-
- /:repository_id/branches/:branch
|
109
|
+
- "/:repository_id/branches/:branch"
|
110
110
|
X-Rack-Cache:
|
111
111
|
- miss, store
|
112
112
|
Content-Length:
|
@@ -114,9 +114,9 @@ http_interactions:
|
|
114
114
|
Connection:
|
115
115
|
- keep-alive
|
116
116
|
body:
|
117
|
-
encoding:
|
118
|
-
string:
|
117
|
+
encoding: UTF-8
|
118
|
+
string: '{"branch":{"id":5983202,"repository_id":544757,"commit_id":1766529,"number":"2","config":{"language":"ruby","rvm":["1.9.3","2.0.0"],".result":"configured"},"state":"failed","started_at":"2013-04-02T11:13:13Z","finished_at":"2013-04-02T11:13:30Z","duration":31,"job_ids":[5983203,5983204],"pull_request":false},"commit":{"id":1766529,"sha":"ef87117a529b2e20a34d9ddbdee82c6baf906abd","branch":"master","message":"CI
|
119
119
|
status added","committed_at":"2013-04-02T11:10:49Z","author_name":"gregolsen","author_email":"anotheroneman@yahoo.com","committer_name":"gregolsen","committer_email":"anotheroneman@yahoo.com","compare_url":"https://github.com/railsware/zero_deploy/compare/0a2aaa3d7050...ef87117a529b"}}'
|
120
120
|
http_version:
|
121
|
-
recorded_at: Sat,
|
122
|
-
recorded_with: VCR 2.
|
121
|
+
recorded_at: Sat, 21 Jun 2014 13:11:54 GMT
|
122
|
+
recorded_with: VCR 2.9.2
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
|
-
- application/json
|
11
|
+
- application/vnd.travis-ci.2+json
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
Access-Control-Allow-Credentials:
|
18
18
|
- 'true'
|
19
19
|
Access-Control-Allow-Origin:
|
20
|
-
-
|
20
|
+
- "*"
|
21
21
|
Access-Control-Expose-Headers:
|
22
22
|
- Content-Type, Cache-Control, Expires, Etag, Last-Modified
|
23
23
|
Age:
|
@@ -27,11 +27,11 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json;charset=utf-8
|
29
29
|
Date:
|
30
|
-
- Sat,
|
30
|
+
- Sat, 21 Jun 2014 13:11:54 GMT
|
31
31
|
Etag:
|
32
|
-
-
|
32
|
+
- '"3a990d581565244c976c26d77fbbbda9"'
|
33
33
|
Server:
|
34
|
-
- nginx/1.5.
|
34
|
+
- nginx/1.5.7
|
35
35
|
Status:
|
36
36
|
- 200 OK
|
37
37
|
Strict-Transport-Security:
|
@@ -41,24 +41,24 @@ http_interactions:
|
|
41
41
|
X-Accepted-Oauth-Scopes:
|
42
42
|
- public
|
43
43
|
X-Content-Digest:
|
44
|
-
-
|
44
|
+
- 262b36bf960c1d0314c49e8b0c8f1018dfbab708
|
45
45
|
X-Endpoint:
|
46
46
|
- Travis::Api::App::Endpoint::Repos
|
47
47
|
X-Oauth-Scopes:
|
48
48
|
- public
|
49
49
|
X-Pattern:
|
50
|
-
- /:owner_name/:name
|
50
|
+
- "/:owner_name/:name"
|
51
51
|
X-Rack-Cache:
|
52
52
|
- miss, store
|
53
53
|
Content-Length:
|
54
|
-
- '
|
54
|
+
- '326'
|
55
55
|
Connection:
|
56
56
|
- keep-alive
|
57
57
|
body:
|
58
|
-
encoding:
|
59
|
-
string:
|
60
|
-
http_version:
|
61
|
-
recorded_at: Sat,
|
58
|
+
encoding: UTF-8
|
59
|
+
string: '{"repo":{"id":891,"slug":"rails/rails","description":"Ruby on Rails","last_build_id":28102736,"last_build_number":"17783","last_build_state":"passed","last_build_duration":26269,"last_build_language":null,"last_build_started_at":"2014-06-21T10:28:05Z","last_build_finished_at":"2014-06-21T10:55:50Z","github_language":"Ruby"}}'
|
60
|
+
http_version:
|
61
|
+
recorded_at: Sat, 21 Jun 2014 13:11:54 GMT
|
62
62
|
- request:
|
63
63
|
method: get
|
64
64
|
uri: https://api.travis-ci.org/repos/891/branches/master
|
@@ -67,7 +67,7 @@ http_interactions:
|
|
67
67
|
string: ''
|
68
68
|
headers:
|
69
69
|
Accept:
|
70
|
-
- application/json
|
70
|
+
- application/vnd.travis-ci.2+json
|
71
71
|
response:
|
72
72
|
status:
|
73
73
|
code: 200
|
@@ -76,7 +76,7 @@ http_interactions:
|
|
76
76
|
Access-Control-Allow-Credentials:
|
77
77
|
- 'true'
|
78
78
|
Access-Control-Allow-Origin:
|
79
|
-
-
|
79
|
+
- "*"
|
80
80
|
Access-Control-Expose-Headers:
|
81
81
|
- Content-Type, Cache-Control, Expires, Etag, Last-Modified
|
82
82
|
Age:
|
@@ -86,11 +86,11 @@ http_interactions:
|
|
86
86
|
Content-Type:
|
87
87
|
- application/json;charset=utf-8
|
88
88
|
Date:
|
89
|
-
- Sat,
|
89
|
+
- Sat, 21 Jun 2014 13:11:55 GMT
|
90
90
|
Etag:
|
91
|
-
-
|
91
|
+
- '"4e32726abdbef67e21fb0419810fc26e"'
|
92
92
|
Server:
|
93
|
-
- nginx/1.5.
|
93
|
+
- nginx/1.5.7
|
94
94
|
Status:
|
95
95
|
- 200 OK
|
96
96
|
Strict-Transport-Security:
|
@@ -100,27 +100,28 @@ http_interactions:
|
|
100
100
|
X-Accepted-Oauth-Scopes:
|
101
101
|
- public
|
102
102
|
X-Content-Digest:
|
103
|
-
-
|
103
|
+
- e50dfe76c3f088d404b2d17ea679a0c0109e640a
|
104
104
|
X-Endpoint:
|
105
105
|
- Travis::Api::App::Endpoint::Repos
|
106
106
|
X-Oauth-Scopes:
|
107
107
|
- public
|
108
108
|
X-Pattern:
|
109
|
-
- /:repository_id/branches/:branch
|
109
|
+
- "/:repository_id/branches/:branch"
|
110
110
|
X-Rack-Cache:
|
111
111
|
- miss, store
|
112
112
|
Content-Length:
|
113
|
-
- '
|
113
|
+
- '1998'
|
114
114
|
Connection:
|
115
115
|
- keep-alive
|
116
116
|
body:
|
117
|
-
encoding:
|
118
|
-
string:
|
119
|
-
gem install bundler"
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
117
|
+
encoding: UTF-8
|
118
|
+
string: '{"branch":{"id":28048479,"repository_id":891,"commit_id":8094485,"number":"17770","config":{"script":"ci/travis.rb","before_install":["travis_retry
|
119
|
+
gem install bundler","rvm current | grep ''jruby'' && export AR_JDBC=true
|
120
|
+
|| echo"],"rvm":["1.9.3","2.0.0",2.1,"ruby-head","rbx-2","jruby"],"env":["GEM=railties","GEM=ap,am,amo,as,av","GEM=ar:mysql","GEM=ar:mysql2","GEM=ar:sqlite3","GEM=ar:postgresql"],"matrix":{"allow_failures":[{"rvm":"1.9.3","env":"GEM=ar:mysql"},{"rvm":"rbx-2"},{"rvm":"jruby"},{"rvm":"ruby-head"}],"fast_finish":true},"notifications":{"email":false,"irc":{"on_success":"change","on_failure":"always","channels":["irc.freenode.org#rails-contrib"]},"campfire":{"on_success":"change","on_failure":"always","rooms":[{"secure":"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},"bundler_args":"--path
|
121
|
+
vendor/bundle --without test","services":["memcached"],".result":"configured","language":"ruby","os":"linux"},"state":"passed","started_at":"2014-06-20T14:41:12Z","finished_at":"2014-06-20T15:18:30Z","duration":33550,"job_ids":[28048480,28048481,28048482,28048483,28048484,28048485,28048486,28048487,28048488,28048489,28048490,28048491,28048492,28048493,28048494,28048495,28048496,28048497,28048498,28048499,28048500,28048501,28048502,28048503,28048504,28048505,28048506,28048507,28048508,28048509,28048510,28048511,28048512,28048513,28048514,28048515],"pull_request":false},"commit":{"id":8094485,"sha":"081eec4ba68d161623791d4f6c885ce0d442f31c","branch":"master","message":"Merge
|
122
|
+
pull request #15764 from arthurnn/dependencies_name_error\n\nMake dependencies.rb
|
123
|
+
add a name to NameError","committed_at":"2014-06-20T14:39:45Z","author_name":"Matthew
|
124
|
+
Draper","author_email":"matthew@trebex.net","committer_name":"Matthew Draper","committer_email":"matthew@trebex.net","compare_url":"https://github.com/rails/rails/compare/c2d5b31073d9...081eec4ba68d"}}'
|
125
|
+
http_version:
|
126
|
+
recorded_at: Sat, 21 Jun 2014 13:11:55 GMT
|
127
|
+
recorded_with: VCR 2.9.2
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
|
-
- application/json
|
11
|
+
- application/vnd.travis-ci.2+json
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
Access-Control-Allow-Credentials:
|
18
18
|
- 'true'
|
19
19
|
Access-Control-Allow-Origin:
|
20
|
-
-
|
20
|
+
- "*"
|
21
21
|
Access-Control-Expose-Headers:
|
22
22
|
- Content-Type, Cache-Control, Expires, Etag, Last-Modified
|
23
23
|
Age:
|
@@ -27,11 +27,11 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json;charset=utf-8
|
29
29
|
Date:
|
30
|
-
- Sat,
|
30
|
+
- Sat, 21 Jun 2014 13:11:50 GMT
|
31
31
|
Etag:
|
32
|
-
-
|
32
|
+
- '"9404b52a024d8acd3b0fa887dd10a91b"'
|
33
33
|
Server:
|
34
|
-
- nginx/1.5.
|
34
|
+
- nginx/1.5.7
|
35
35
|
Status:
|
36
36
|
- 200 OK
|
37
37
|
Strict-Transport-Security:
|
@@ -47,7 +47,7 @@ http_interactions:
|
|
47
47
|
X-Oauth-Scopes:
|
48
48
|
- public
|
49
49
|
X-Pattern:
|
50
|
-
- /:owner_name/:name
|
50
|
+
- "/:owner_name/:name"
|
51
51
|
X-Rack-Cache:
|
52
52
|
- miss, store
|
53
53
|
Content-Length:
|
@@ -55,10 +55,10 @@ http_interactions:
|
|
55
55
|
Connection:
|
56
56
|
- keep-alive
|
57
57
|
body:
|
58
|
-
encoding:
|
59
|
-
string:
|
58
|
+
encoding: UTF-8
|
59
|
+
string: '{"repo":{"id":544757,"slug":"railsware/zero_deploy","description":"","last_build_id":5983202,"last_build_number":"2","last_build_state":"failed","last_build_duration":31,"last_build_language":null,"last_build_started_at":"2013-04-02T11:13:13Z","last_build_finished_at":"2013-04-02T11:13:30Z","github_language":"Ruby"}}'
|
60
60
|
http_version:
|
61
|
-
recorded_at: Sat,
|
61
|
+
recorded_at: Sat, 21 Jun 2014 13:11:50 GMT
|
62
62
|
- request:
|
63
63
|
method: get
|
64
64
|
uri: https://api.travis-ci.org/repos/544757/branches/master
|
@@ -67,7 +67,7 @@ http_interactions:
|
|
67
67
|
string: ''
|
68
68
|
headers:
|
69
69
|
Accept:
|
70
|
-
- application/json
|
70
|
+
- application/vnd.travis-ci.2+json
|
71
71
|
response:
|
72
72
|
status:
|
73
73
|
code: 200
|
@@ -76,7 +76,7 @@ http_interactions:
|
|
76
76
|
Access-Control-Allow-Credentials:
|
77
77
|
- 'true'
|
78
78
|
Access-Control-Allow-Origin:
|
79
|
-
-
|
79
|
+
- "*"
|
80
80
|
Access-Control-Expose-Headers:
|
81
81
|
- Content-Type, Cache-Control, Expires, Etag, Last-Modified
|
82
82
|
Age:
|
@@ -86,11 +86,11 @@ http_interactions:
|
|
86
86
|
Content-Type:
|
87
87
|
- application/json;charset=utf-8
|
88
88
|
Date:
|
89
|
-
- Sat,
|
89
|
+
- Sat, 21 Jun 2014 13:11:51 GMT
|
90
90
|
Etag:
|
91
|
-
-
|
91
|
+
- '"3df414de985c21517500253bb7f0c9ca"'
|
92
92
|
Server:
|
93
|
-
- nginx/1.5.
|
93
|
+
- nginx/1.5.7
|
94
94
|
Status:
|
95
95
|
- 200 OK
|
96
96
|
Strict-Transport-Security:
|
@@ -106,7 +106,7 @@ http_interactions:
|
|
106
106
|
X-Oauth-Scopes:
|
107
107
|
- public
|
108
108
|
X-Pattern:
|
109
|
-
- /:repository_id/branches/:branch
|
109
|
+
- "/:repository_id/branches/:branch"
|
110
110
|
X-Rack-Cache:
|
111
111
|
- miss, store
|
112
112
|
Content-Length:
|
@@ -114,9 +114,9 @@ http_interactions:
|
|
114
114
|
Connection:
|
115
115
|
- keep-alive
|
116
116
|
body:
|
117
|
-
encoding:
|
118
|
-
string:
|
117
|
+
encoding: UTF-8
|
118
|
+
string: '{"branch":{"id":5983202,"repository_id":544757,"commit_id":1766529,"number":"2","config":{"language":"ruby","rvm":["1.9.3","2.0.0"],".result":"configured"},"state":"failed","started_at":"2013-04-02T11:13:13Z","finished_at":"2013-04-02T11:13:30Z","duration":31,"job_ids":[5983203,5983204],"pull_request":false},"commit":{"id":1766529,"sha":"ef87117a529b2e20a34d9ddbdee82c6baf906abd","branch":"master","message":"CI
|
119
119
|
status added","committed_at":"2013-04-02T11:10:49Z","author_name":"gregolsen","author_email":"anotheroneman@yahoo.com","committer_name":"gregolsen","committer_email":"anotheroneman@yahoo.com","compare_url":"https://github.com/railsware/zero_deploy/compare/0a2aaa3d7050...ef87117a529b"}}'
|
120
120
|
http_version:
|
121
|
-
recorded_at: Sat,
|
122
|
-
recorded_with: VCR 2.
|
121
|
+
recorded_at: Sat, 21 Jun 2014 13:11:51 GMT
|
122
|
+
recorded_with: VCR 2.9.2
|
@@ -8,7 +8,7 @@ http_interactions:
|
|
8
8
|
string: ''
|
9
9
|
headers:
|
10
10
|
Accept:
|
11
|
-
- application/json
|
11
|
+
- application/vnd.travis-ci.2+json
|
12
12
|
response:
|
13
13
|
status:
|
14
14
|
code: 200
|
@@ -17,7 +17,7 @@ http_interactions:
|
|
17
17
|
Access-Control-Allow-Credentials:
|
18
18
|
- 'true'
|
19
19
|
Access-Control-Allow-Origin:
|
20
|
-
-
|
20
|
+
- "*"
|
21
21
|
Access-Control-Expose-Headers:
|
22
22
|
- Content-Type, Cache-Control, Expires, Etag, Last-Modified
|
23
23
|
Age:
|
@@ -27,11 +27,11 @@ http_interactions:
|
|
27
27
|
Content-Type:
|
28
28
|
- application/json;charset=utf-8
|
29
29
|
Date:
|
30
|
-
- Sat,
|
30
|
+
- Sat, 21 Jun 2014 13:11:51 GMT
|
31
31
|
Etag:
|
32
|
-
-
|
32
|
+
- '"3a990d581565244c976c26d77fbbbda9"'
|
33
33
|
Server:
|
34
|
-
- nginx/1.5.
|
34
|
+
- nginx/1.5.7
|
35
35
|
Status:
|
36
36
|
- 200 OK
|
37
37
|
Strict-Transport-Security:
|
@@ -41,24 +41,24 @@ http_interactions:
|
|
41
41
|
X-Accepted-Oauth-Scopes:
|
42
42
|
- public
|
43
43
|
X-Content-Digest:
|
44
|
-
-
|
44
|
+
- 262b36bf960c1d0314c49e8b0c8f1018dfbab708
|
45
45
|
X-Endpoint:
|
46
46
|
- Travis::Api::App::Endpoint::Repos
|
47
47
|
X-Oauth-Scopes:
|
48
48
|
- public
|
49
49
|
X-Pattern:
|
50
|
-
- /:owner_name/:name
|
50
|
+
- "/:owner_name/:name"
|
51
51
|
X-Rack-Cache:
|
52
|
-
-
|
52
|
+
- miss, store
|
53
53
|
Content-Length:
|
54
|
-
- '
|
54
|
+
- '326'
|
55
55
|
Connection:
|
56
56
|
- keep-alive
|
57
57
|
body:
|
58
|
-
encoding:
|
59
|
-
string:
|
60
|
-
http_version:
|
61
|
-
recorded_at: Sat,
|
58
|
+
encoding: UTF-8
|
59
|
+
string: '{"repo":{"id":891,"slug":"rails/rails","description":"Ruby on Rails","last_build_id":28102736,"last_build_number":"17783","last_build_state":"passed","last_build_duration":26269,"last_build_language":null,"last_build_started_at":"2014-06-21T10:28:05Z","last_build_finished_at":"2014-06-21T10:55:50Z","github_language":"Ruby"}}'
|
60
|
+
http_version:
|
61
|
+
recorded_at: Sat, 21 Jun 2014 13:11:51 GMT
|
62
62
|
- request:
|
63
63
|
method: get
|
64
64
|
uri: https://api.travis-ci.org/repos/891/branches/master
|
@@ -67,7 +67,7 @@ http_interactions:
|
|
67
67
|
string: ''
|
68
68
|
headers:
|
69
69
|
Accept:
|
70
|
-
- application/json
|
70
|
+
- application/vnd.travis-ci.2+json
|
71
71
|
response:
|
72
72
|
status:
|
73
73
|
code: 200
|
@@ -76,7 +76,7 @@ http_interactions:
|
|
76
76
|
Access-Control-Allow-Credentials:
|
77
77
|
- 'true'
|
78
78
|
Access-Control-Allow-Origin:
|
79
|
-
-
|
79
|
+
- "*"
|
80
80
|
Access-Control-Expose-Headers:
|
81
81
|
- Content-Type, Cache-Control, Expires, Etag, Last-Modified
|
82
82
|
Age:
|
@@ -86,11 +86,11 @@ http_interactions:
|
|
86
86
|
Content-Type:
|
87
87
|
- application/json;charset=utf-8
|
88
88
|
Date:
|
89
|
-
- Sat,
|
89
|
+
- Sat, 21 Jun 2014 13:11:52 GMT
|
90
90
|
Etag:
|
91
|
-
-
|
91
|
+
- '"4e32726abdbef67e21fb0419810fc26e"'
|
92
92
|
Server:
|
93
|
-
- nginx/1.5.
|
93
|
+
- nginx/1.5.7
|
94
94
|
Status:
|
95
95
|
- 200 OK
|
96
96
|
Strict-Transport-Security:
|
@@ -100,27 +100,28 @@ http_interactions:
|
|
100
100
|
X-Accepted-Oauth-Scopes:
|
101
101
|
- public
|
102
102
|
X-Content-Digest:
|
103
|
-
-
|
103
|
+
- e50dfe76c3f088d404b2d17ea679a0c0109e640a
|
104
104
|
X-Endpoint:
|
105
105
|
- Travis::Api::App::Endpoint::Repos
|
106
106
|
X-Oauth-Scopes:
|
107
107
|
- public
|
108
108
|
X-Pattern:
|
109
|
-
- /:repository_id/branches/:branch
|
109
|
+
- "/:repository_id/branches/:branch"
|
110
110
|
X-Rack-Cache:
|
111
|
-
-
|
111
|
+
- miss, store
|
112
112
|
Content-Length:
|
113
|
-
- '
|
113
|
+
- '1998'
|
114
114
|
Connection:
|
115
115
|
- keep-alive
|
116
116
|
body:
|
117
|
-
encoding:
|
118
|
-
string:
|
119
|
-
gem install bundler"
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
117
|
+
encoding: UTF-8
|
118
|
+
string: '{"branch":{"id":28048479,"repository_id":891,"commit_id":8094485,"number":"17770","config":{"script":"ci/travis.rb","before_install":["travis_retry
|
119
|
+
gem install bundler","rvm current | grep ''jruby'' && export AR_JDBC=true
|
120
|
+
|| echo"],"rvm":["1.9.3","2.0.0",2.1,"ruby-head","rbx-2","jruby"],"env":["GEM=railties","GEM=ap,am,amo,as,av","GEM=ar:mysql","GEM=ar:mysql2","GEM=ar:sqlite3","GEM=ar:postgresql"],"matrix":{"allow_failures":[{"rvm":"1.9.3","env":"GEM=ar:mysql"},{"rvm":"rbx-2"},{"rvm":"jruby"},{"rvm":"ruby-head"}],"fast_finish":true},"notifications":{"email":false,"irc":{"on_success":"change","on_failure":"always","channels":["irc.freenode.org#rails-contrib"]},"campfire":{"on_success":"change","on_failure":"always","rooms":[{"secure":"YA1alef1ESHWGFNVwvmVGCkMe4cUy4j+UcNvMUESraceiAfVyRMAovlQBGs6\n9kBRm7DHYBUXYC2ABQoJbQRLDr/1B5JPf/M8+Qd7BKu8tcDC03U01SMHFLpO\naOs/HLXcDxtnnpL07tGVsm0zhMc5N8tq4/L3SHxK7Vi+TacwQzI="}]}},"bundler_args":"--path
|
121
|
+
vendor/bundle --without test","services":["memcached"],".result":"configured","language":"ruby","os":"linux"},"state":"passed","started_at":"2014-06-20T14:41:12Z","finished_at":"2014-06-20T15:18:30Z","duration":33550,"job_ids":[28048480,28048481,28048482,28048483,28048484,28048485,28048486,28048487,28048488,28048489,28048490,28048491,28048492,28048493,28048494,28048495,28048496,28048497,28048498,28048499,28048500,28048501,28048502,28048503,28048504,28048505,28048506,28048507,28048508,28048509,28048510,28048511,28048512,28048513,28048514,28048515],"pull_request":false},"commit":{"id":8094485,"sha":"081eec4ba68d161623791d4f6c885ce0d442f31c","branch":"master","message":"Merge
|
122
|
+
pull request #15764 from arthurnn/dependencies_name_error\n\nMake dependencies.rb
|
123
|
+
add a name to NameError","committed_at":"2014-06-20T14:39:45Z","author_name":"Matthew
|
124
|
+
Draper","author_email":"matthew@trebex.net","committer_name":"Matthew Draper","committer_email":"matthew@trebex.net","compare_url":"https://github.com/rails/rails/compare/c2d5b31073d9...081eec4ba68d"}}'
|
125
|
+
http_version:
|
126
|
+
recorded_at: Sat, 21 Jun 2014 13:11:52 GMT
|
127
|
+
recorded_with: VCR 2.9.2
|