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 CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MDQ4NDgxNzJiMWM2Njk5OGU0ZGMzMWJmYzA2YTk2YjVjNDEzOWIxMw==
5
- data.tar.gz: !binary |-
6
- OWE0MTNhNGE1OWRmNjMzMjEwYTE4NmU2N2YyZGRkZmRjYzNkYmRhOQ==
7
- !binary "U0hBNTEy":
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; version=2'
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; version=2', "Authorization" => "token #{settings[:ci_access_token]}"
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
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Ci
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  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: "sendgridlabs/loaderio-web-blabla", ci_access_token: "api_token" }
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/rails-private", ci_access_token: "secret_token") }
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){ "events-framework" }
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/sendgridlabs/loaderio-web-blabla?circle-token=api_token
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; version=2
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, 19 Oct 2013 08:57:28 GMT
30
+ - Sat, 21 Jun 2014 13:11:53 GMT
31
31
  Etag:
32
- - ! '"239eb3427e8c413b25e58cba9ffe5b3d"'
32
+ - '"9404b52a024d8acd3b0fa887dd10a91b"'
33
33
  Server:
34
- - nginx/1.5.2
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
- - miss, store
52
+ - stale, valid, store
53
53
  Content-Length:
54
54
  - '318'
55
55
  Connection:
56
56
  - keep-alive
57
57
  body:
58
- encoding: US-ASCII
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"}}'
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, 19 Oct 2013 08:57:33 GMT
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; version=2
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, 19 Oct 2013 08:57:29 GMT
89
+ - Sat, 21 Jun 2014 13:11:54 GMT
90
90
  Etag:
91
- - ! '"8112a97fe15ce9bfbe1191c9368b5ae1"'
91
+ - '"3df414de985c21517500253bb7f0c9ca"'
92
92
  Server:
93
- - nginx/1.5.2
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: US-ASCII
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
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, 19 Oct 2013 08:57:33 GMT
122
- recorded_with: VCR 2.6.0
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; version=2
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, 19 Oct 2013 08:57:25 GMT
30
+ - Sat, 21 Jun 2014 13:11:54 GMT
31
31
  Etag:
32
- - ! '"7e14dca3cc77b42dd6088a8fa2ae950b"'
32
+ - '"3a990d581565244c976c26d77fbbbda9"'
33
33
  Server:
34
- - nginx/1.5.2
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
- - 3c97c9e10513f412d2e9d4380ae1f67e9b0c2aac
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
- - '308'
54
+ - '326'
55
55
  Connection:
56
56
  - keep-alive
57
57
  body:
58
- encoding: US-ASCII
59
- string: ! '{"repo":{"id":891,"slug":"rails/rails","description":"Ruby on Rails","last_build_id":12751152,"last_build_number":"11026","last_build_state":"started","last_build_duration":null,"last_build_language":null,"last_build_started_at":"2013-10-19T08:50:23Z","last_build_finished_at":null,"github_language":"Ruby"}}'
60
- http_version:
61
- recorded_at: Sat, 19 Oct 2013 08:57:30 GMT
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; version=2
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, 19 Oct 2013 08:57:27 GMT
89
+ - Sat, 21 Jun 2014 13:11:55 GMT
90
90
  Etag:
91
- - ! '"7160009bce524a384403a2c66bec49b4"'
91
+ - '"4e32726abdbef67e21fb0419810fc26e"'
92
92
  Server:
93
- - nginx/1.5.2
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
- - ff1abe891a5a8148bfdfe458b057ecf04d364bd9
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
- - '1731'
113
+ - '1998'
114
114
  Connection:
115
115
  - keep-alive
116
116
  body:
117
- encoding: US-ASCII
118
- string: ! '{"branch":{"id":12719548,"repository_id":891,"commit_id":3729815,"number":"11020","config":{"script":"ci/travis.rb","before_install":["travis_retry
119
- gem install bundler"],"rvm":["1.9.3","2.0.0","jruby-head","rbx-19mode"],"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":"jruby-head"},{"rvm":"rbx-19mode"}]},"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
120
- vendor/bundle --without test",".result":"configured"},"state":"passed","started_at":"2013-10-18T16:30:29Z","finished_at":"2013-10-18T16:51:44Z","duration":31114,"job_ids":[12719549,12719550,12719551,12719552,12719553,12719554,12719555,12719556,12719557,12719558,12719559,12719560,12719561,12719562,12719563,12719564,12719565,12719566,12719567,12719568,12719569,12719570,12719571,12719572],"pull_request":false},"commit":{"id":3729815,"sha":"7ec3f354958ef1709f1543b16fea5131b516f3cf","branch":"master","message":"Merge
121
- pull request #11839 from chocoby/fix/convert_port_number\n\nConvert Fixnum
122
- into String the port number like `db:structure:dump` task in MySQL.","committed_at":"2013-10-18T14:15:31Z","author_name":"Yves
123
- Senn","author_email":"yves.senn@gmail.com","committer_name":"Yves Senn","committer_email":"yves.senn@gmail.com","compare_url":"https://github.com/rails/rails/compare/6c2810b8ed69...7ec3f354958e"}}'
124
- http_version:
125
- recorded_at: Sat, 19 Oct 2013 08:57:32 GMT
126
- recorded_with: VCR 2.6.0
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; version=2
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, 19 Oct 2013 08:57:43 GMT
30
+ - Sat, 21 Jun 2014 13:11:50 GMT
31
31
  Etag:
32
- - ! '"239eb3427e8c413b25e58cba9ffe5b3d"'
32
+ - '"9404b52a024d8acd3b0fa887dd10a91b"'
33
33
  Server:
34
- - nginx/1.5.2
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: US-ASCII
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"}}'
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, 19 Oct 2013 08:57:48 GMT
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; version=2
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, 19 Oct 2013 08:57:44 GMT
89
+ - Sat, 21 Jun 2014 13:11:51 GMT
90
90
  Etag:
91
- - ! '"8112a97fe15ce9bfbe1191c9368b5ae1"'
91
+ - '"3df414de985c21517500253bb7f0c9ca"'
92
92
  Server:
93
- - nginx/1.5.2
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: US-ASCII
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
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, 19 Oct 2013 08:57:48 GMT
122
- recorded_with: VCR 2.6.0
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; version=2
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, 19 Oct 2013 08:57:29 GMT
30
+ - Sat, 21 Jun 2014 13:11:51 GMT
31
31
  Etag:
32
- - ! '"7e14dca3cc77b42dd6088a8fa2ae950b"'
32
+ - '"3a990d581565244c976c26d77fbbbda9"'
33
33
  Server:
34
- - nginx/1.5.2
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
- - 3c97c9e10513f412d2e9d4380ae1f67e9b0c2aac
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
- - stale, valid, store
52
+ - miss, store
53
53
  Content-Length:
54
- - '308'
54
+ - '326'
55
55
  Connection:
56
56
  - keep-alive
57
57
  body:
58
- encoding: US-ASCII
59
- string: ! '{"repo":{"id":891,"slug":"rails/rails","description":"Ruby on Rails","last_build_id":12751152,"last_build_number":"11026","last_build_state":"started","last_build_duration":null,"last_build_language":null,"last_build_started_at":"2013-10-19T08:50:23Z","last_build_finished_at":null,"github_language":"Ruby"}}'
60
- http_version:
61
- recorded_at: Sat, 19 Oct 2013 08:57:34 GMT
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; version=2
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, 19 Oct 2013 08:57:30 GMT
89
+ - Sat, 21 Jun 2014 13:11:52 GMT
90
90
  Etag:
91
- - ! '"7160009bce524a384403a2c66bec49b4"'
91
+ - '"4e32726abdbef67e21fb0419810fc26e"'
92
92
  Server:
93
- - nginx/1.5.2
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
- - ff1abe891a5a8148bfdfe458b057ecf04d364bd9
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
- - stale, valid, store
111
+ - miss, store
112
112
  Content-Length:
113
- - '1731'
113
+ - '1998'
114
114
  Connection:
115
115
  - keep-alive
116
116
  body:
117
- encoding: US-ASCII
118
- string: ! '{"branch":{"id":12719548,"repository_id":891,"commit_id":3729815,"number":"11020","config":{"script":"ci/travis.rb","before_install":["travis_retry
119
- gem install bundler"],"rvm":["1.9.3","2.0.0","jruby-head","rbx-19mode"],"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":"jruby-head"},{"rvm":"rbx-19mode"}]},"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
120
- vendor/bundle --without test",".result":"configured"},"state":"passed","started_at":"2013-10-18T16:30:29Z","finished_at":"2013-10-18T16:51:44Z","duration":31114,"job_ids":[12719549,12719550,12719551,12719552,12719553,12719554,12719555,12719556,12719557,12719558,12719559,12719560,12719561,12719562,12719563,12719564,12719565,12719566,12719567,12719568,12719569,12719570,12719571,12719572],"pull_request":false},"commit":{"id":3729815,"sha":"7ec3f354958ef1709f1543b16fea5131b516f3cf","branch":"master","message":"Merge
121
- pull request #11839 from chocoby/fix/convert_port_number\n\nConvert Fixnum
122
- into String the port number like `db:structure:dump` task in MySQL.","committed_at":"2013-10-18T14:15:31Z","author_name":"Yves
123
- Senn","author_email":"yves.senn@gmail.com","committer_name":"Yves Senn","committer_email":"yves.senn@gmail.com","compare_url":"https://github.com/rails/rails/compare/6c2810b8ed69...7ec3f354958e"}}'
124
- http_version:
125
- recorded_at: Sat, 19 Oct 2013 08:57:35 GMT
126
- recorded_with: VCR 2.6.0
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