codeship 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +1 -0
- data/README.md +1 -1
- data/codeship.gemspec +4 -3
- data/lib/codeship/status.rb +3 -3
- data/lib/codeship/version.rb +1 -1
- data/spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_infrastructure_failure.yml +54 -0
- data/spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_stopped.yml +54 -0
- data/spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_infrastructure_failure.yml +54 -0
- data/spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_stopped.yml +54 -0
- data/spec/spec_helper.rb +91 -6
- data/spec/status_spec.rb +5 -5
- metadata +38 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35660fe374388cb46c34306463692bf828ebca1e
|
4
|
+
data.tar.gz: 79f767420a9ed9a77940ffb11a01307edfcad180
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c3ecfdf22bccae0aa5b8133c845916d347d6d11077140911804d780a4e21ce9f1d87fcf6f1643e8158d198e67ac86fd1a540927b23cf1f93e9fda93dc927a1e
|
7
|
+
data.tar.gz: 787f30033897b831fff967773a7ca3a1362dd22706b197912284f85bcaacf12e92060663cfd27635c2a4d27ac1216ead5c4b9c93caa0b6202e198dc32ea9eb11
|
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/README.md
CHANGED
@@ -44,7 +44,7 @@ Or install it yourself as:
|
|
44
44
|
|
45
45
|
### States
|
46
46
|
|
47
|
-
:branchnotfound, :error, :ignored, :projectnotfound, :success, :testing, :waiting
|
47
|
+
:branchnotfound, :error, :ignored, :projectnotfound, :success, :testing, :waiting, stopped, :infrastructure_failure
|
48
48
|
|
49
49
|
## Contributing
|
50
50
|
|
data/codeship.gemspec
CHANGED
@@ -20,9 +20,10 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_dependency "json"
|
22
22
|
|
23
|
-
spec.add_development_dependency "bundler"
|
23
|
+
spec.add_development_dependency "bundler"
|
24
24
|
spec.add_development_dependency "rake"
|
25
|
-
spec.add_development_dependency "rspec"
|
26
|
-
spec.add_development_dependency "vcr"
|
25
|
+
spec.add_development_dependency "rspec"
|
26
|
+
spec.add_development_dependency "vcr"
|
27
27
|
spec.add_development_dependency "webmock"
|
28
|
+
spec.add_development_dependency "pry"
|
28
29
|
end
|
data/lib/codeship/status.rb
CHANGED
@@ -6,9 +6,9 @@ module Codeship
|
|
6
6
|
include Request
|
7
7
|
|
8
8
|
STATES = [:branchnotfound, :error, :ignored, :projectnotfound,
|
9
|
-
:success, :testing, :waiting]
|
9
|
+
:success, :testing, :waiting, :stopped, :infrastructure_failure]
|
10
10
|
|
11
|
-
def initialize
|
11
|
+
def initialize(uuid, options = {})
|
12
12
|
@uuid = uuid
|
13
13
|
@branch = options.delete(:branch)
|
14
14
|
end
|
@@ -24,7 +24,7 @@ module Codeship
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def head
|
27
|
-
@head ||= http_request.head
|
27
|
+
@head ||= http_request.head(project_url)
|
28
28
|
end
|
29
29
|
|
30
30
|
def project_url
|
data/lib/codeship/version.rb
CHANGED
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: head
|
5
|
+
uri: https://codeship.com/projects/infrastructure_failure/status
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- '*/*'
|
12
|
+
User-Agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Cache-Control:
|
20
|
+
- private
|
21
|
+
Content-Disposition:
|
22
|
+
- inline; filename="status_infrastructure_failure.png"
|
23
|
+
Content-Transfer-Encoding:
|
24
|
+
- binary
|
25
|
+
Content-Type:
|
26
|
+
- image/png
|
27
|
+
Date:
|
28
|
+
- Mon, 19 Aug 2013 21:03:57 GMT
|
29
|
+
Etag:
|
30
|
+
- '"4d19aacfee1ad8cc9d908df7383b0718"'
|
31
|
+
Status:
|
32
|
+
- 200 OK
|
33
|
+
Vary:
|
34
|
+
- Accept-Encoding
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
37
|
+
X-Frame-Options:
|
38
|
+
- SAMEORIGIN
|
39
|
+
X-Request-Id:
|
40
|
+
- e0557e10-a4e8-4ab1-92ba-31cf050deb67
|
41
|
+
X-Runtime:
|
42
|
+
- '0.022914'
|
43
|
+
X-Ua-Compatible:
|
44
|
+
- chrome=1
|
45
|
+
X-Xss-Protection:
|
46
|
+
- 1; mode=block
|
47
|
+
Connection:
|
48
|
+
- keep-alive
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: ''
|
52
|
+
http_version:
|
53
|
+
recorded_at: Mon, 19 Aug 2013 21:03:57 GMT
|
54
|
+
recorded_with: VCR 2.5.0
|
data/spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_stopped.yml
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: head
|
5
|
+
uri: https://codeship.com/projects/stopped/status
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- '*/*'
|
12
|
+
User-Agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Cache-Control:
|
20
|
+
- private
|
21
|
+
Content-Disposition:
|
22
|
+
- inline; filename="status_stopped.png"
|
23
|
+
Content-Transfer-Encoding:
|
24
|
+
- binary
|
25
|
+
Content-Type:
|
26
|
+
- image/png
|
27
|
+
Date:
|
28
|
+
- Mon, 19 Aug 2013 21:03:57 GMT
|
29
|
+
Etag:
|
30
|
+
- '"4d19aacfee1ad8cc9d908df7383b0718"'
|
31
|
+
Status:
|
32
|
+
- 200 OK
|
33
|
+
Vary:
|
34
|
+
- Accept-Encoding
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
37
|
+
X-Frame-Options:
|
38
|
+
- SAMEORIGIN
|
39
|
+
X-Request-Id:
|
40
|
+
- e0557e10-a4e8-4ab1-92ba-31cf050deb67
|
41
|
+
X-Runtime:
|
42
|
+
- '0.022914'
|
43
|
+
X-Ua-Compatible:
|
44
|
+
- chrome=1
|
45
|
+
X-Xss-Protection:
|
46
|
+
- 1; mode=block
|
47
|
+
Connection:
|
48
|
+
- keep-alive
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: ''
|
52
|
+
http_version:
|
53
|
+
recorded_at: Mon, 19 Aug 2013 21:03:57 GMT
|
54
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: head
|
5
|
+
uri: https://codeship.com/projects/infrastructure_failure/status?branch=master
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- '*/*'
|
12
|
+
User-Agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Cache-Control:
|
20
|
+
- private
|
21
|
+
Content-Disposition:
|
22
|
+
- inline; filename="status_infrastructure_failure.png"
|
23
|
+
Content-Transfer-Encoding:
|
24
|
+
- binary
|
25
|
+
Content-Type:
|
26
|
+
- image/png
|
27
|
+
Date:
|
28
|
+
- Mon, 19 Aug 2013 21:26:47 GMT
|
29
|
+
Etag:
|
30
|
+
- '"4d19aacfee1ad8cc9d908df7383b0718"'
|
31
|
+
Status:
|
32
|
+
- 200 OK
|
33
|
+
Vary:
|
34
|
+
- Accept-Encoding
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
37
|
+
X-Frame-Options:
|
38
|
+
- SAMEORIGIN
|
39
|
+
X-Request-Id:
|
40
|
+
- 816234d4-d3fc-4939-8850-f2627fb379f2
|
41
|
+
X-Runtime:
|
42
|
+
- '0.044395'
|
43
|
+
X-Ua-Compatible:
|
44
|
+
- chrome=1
|
45
|
+
X-Xss-Protection:
|
46
|
+
- 1; mode=block
|
47
|
+
Connection:
|
48
|
+
- keep-alive
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: ''
|
52
|
+
http_version:
|
53
|
+
recorded_at: Mon, 19 Aug 2013 21:26:48 GMT
|
54
|
+
recorded_with: VCR 2.5.0
|
@@ -0,0 +1,54 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: head
|
5
|
+
uri: https://codeship.com/projects/stopped/status?branch=master
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- '*/*'
|
12
|
+
User-Agent:
|
13
|
+
- Ruby
|
14
|
+
response:
|
15
|
+
status:
|
16
|
+
code: 200
|
17
|
+
message: OK
|
18
|
+
headers:
|
19
|
+
Cache-Control:
|
20
|
+
- private
|
21
|
+
Content-Disposition:
|
22
|
+
- inline; filename="status_stopped.png"
|
23
|
+
Content-Transfer-Encoding:
|
24
|
+
- binary
|
25
|
+
Content-Type:
|
26
|
+
- image/png
|
27
|
+
Date:
|
28
|
+
- Mon, 19 Aug 2013 21:26:47 GMT
|
29
|
+
Etag:
|
30
|
+
- '"4d19aacfee1ad8cc9d908df7383b0718"'
|
31
|
+
Status:
|
32
|
+
- 200 OK
|
33
|
+
Vary:
|
34
|
+
- Accept-Encoding
|
35
|
+
X-Content-Type-Options:
|
36
|
+
- nosniff
|
37
|
+
X-Frame-Options:
|
38
|
+
- SAMEORIGIN
|
39
|
+
X-Request-Id:
|
40
|
+
- 816234d4-d3fc-4939-8850-f2627fb379f2
|
41
|
+
X-Runtime:
|
42
|
+
- '0.044395'
|
43
|
+
X-Ua-Compatible:
|
44
|
+
- chrome=1
|
45
|
+
X-Xss-Protection:
|
46
|
+
- 1; mode=block
|
47
|
+
Connection:
|
48
|
+
- keep-alive
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: ''
|
52
|
+
http_version:
|
53
|
+
recorded_at: Mon, 19 Aug 2013 21:26:48 GMT
|
54
|
+
recorded_with: VCR 2.5.0
|
data/spec/spec_helper.rb
CHANGED
@@ -1,14 +1,99 @@
|
|
1
1
|
require 'codeship'
|
2
2
|
require 'vcr'
|
3
3
|
|
4
|
+
# This file was generated by the `rspec --init` command. Conventionally, all
|
5
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
6
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
7
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
8
|
+
# files.
|
9
|
+
#
|
10
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
11
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
12
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
13
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
14
|
+
# a separate helper file that requires the additional dependencies and performs
|
15
|
+
# the additional setup, and require it from the spec files that actually need
|
16
|
+
# it.
|
17
|
+
#
|
18
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
19
|
+
# users commonly want.
|
20
|
+
#
|
21
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
22
|
+
RSpec.configure do |config|
|
23
|
+
# rspec-expectations config goes here. You can use an alternate
|
24
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
25
|
+
# assertions if you prefer.
|
26
|
+
config.expect_with :rspec do |expectations|
|
27
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
28
|
+
# and `failure_message` of custom matchers include text for helper methods
|
29
|
+
# defined using `chain`, e.g.:
|
30
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
31
|
+
# # => "be bigger than 2 and smaller than 4"
|
32
|
+
# ...rather than:
|
33
|
+
# # => "be bigger than 2"
|
34
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
35
|
+
end
|
36
|
+
|
37
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
38
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
39
|
+
config.mock_with :rspec do |mocks|
|
40
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
41
|
+
# a real object. This is generally recommended, and will default to
|
42
|
+
# `true` in RSpec 4.
|
43
|
+
mocks.verify_partial_doubles = true
|
44
|
+
end
|
45
|
+
|
46
|
+
# The settings below are suggested to provide a good initial experience
|
47
|
+
# with RSpec, but feel free to customize to your heart's content.
|
48
|
+
|
49
|
+
# These two settings work together to allow you to limit a spec run
|
50
|
+
# to individual examples or groups you care about by tagging them with
|
51
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
52
|
+
# get run.
|
53
|
+
config.filter_run :focus
|
54
|
+
config.run_all_when_everything_filtered = true
|
55
|
+
|
56
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
57
|
+
# recommended. For more details, see:
|
58
|
+
# - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
|
59
|
+
# - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
60
|
+
# - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
|
61
|
+
config.disable_monkey_patching!
|
62
|
+
|
63
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
64
|
+
# be too noisy due to issues in dependencies.
|
65
|
+
config.warnings = true
|
66
|
+
|
67
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
68
|
+
# file, and it's useful to allow more verbose output when running an
|
69
|
+
# individual spec file.
|
70
|
+
if config.files_to_run.one?
|
71
|
+
# Use the documentation formatter for detailed output,
|
72
|
+
# unless a formatter has already been configured
|
73
|
+
# (e.g. via a command-line flag).
|
74
|
+
config.default_formatter = 'doc'
|
75
|
+
end
|
76
|
+
|
77
|
+
# Print the 10 slowest examples and example groups at the
|
78
|
+
# end of the spec run, to help surface which specs are running
|
79
|
+
# particularly slow.
|
80
|
+
config.profile_examples = 10
|
81
|
+
|
82
|
+
# Run specs in random order to surface order dependencies. If you find an
|
83
|
+
# order dependency and want to debug it, you can fix the order by providing
|
84
|
+
# the seed, which is printed after each run.
|
85
|
+
# --seed 1234
|
86
|
+
config.order = :random
|
87
|
+
|
88
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
89
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
90
|
+
# test failures related to randomization by passing the same `--seed` value
|
91
|
+
# as the one that triggered the failure.
|
92
|
+
Kernel.srand config.seed
|
93
|
+
end
|
94
|
+
|
4
95
|
VCR.configure do |c|
|
5
96
|
c.cassette_library_dir = 'spec/fixtures/cassettes'
|
6
97
|
c.hook_into :webmock
|
7
98
|
c.configure_rspec_metadata!
|
8
99
|
end
|
9
|
-
|
10
|
-
RSpec.configure do |c|
|
11
|
-
# so we can use :vcr rather than :vcr => true;
|
12
|
-
# in RSpec 3 this will no longer be necessary.
|
13
|
-
c.treat_symbols_as_metadata_keys_with_true_values = true
|
14
|
-
end
|
data/spec/status_spec.rb
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
|
-
describe Codeship::Status do
|
3
|
+
RSpec.describe Codeship::Status do
|
4
4
|
|
5
5
|
context 'parsing the project status', :vcr do
|
6
6
|
Codeship::Status::STATES.each do |state|
|
7
7
|
it "should parse #{state}" do
|
8
|
-
project_status = Codeship::Status.new
|
9
|
-
project_status.status.
|
8
|
+
project_status = Codeship::Status.new(state)
|
9
|
+
expect(project_status.status).to eq(state)
|
10
10
|
end
|
11
11
|
end
|
12
12
|
end
|
@@ -14,8 +14,8 @@ describe Codeship::Status do
|
|
14
14
|
context 'parsing the project status on a certain branch', :vcr do
|
15
15
|
Codeship::Status::STATES.each do |state|
|
16
16
|
it "should parse #{state}" do
|
17
|
-
project_status = Codeship::Status.new
|
18
|
-
project_status.status.
|
17
|
+
project_status = Codeship::Status.new(state, branch: 'master')
|
18
|
+
expect(project_status.status).to eq(state)
|
19
19
|
end
|
20
20
|
end
|
21
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codeship
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- beanieboi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -28,16 +28,16 @@ dependencies:
|
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,30 +56,30 @@ dependencies:
|
|
56
56
|
name: rspec
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: vcr
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: webmock
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: pry
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
97
111
|
description: easily interact with Codeship.io
|
98
112
|
email:
|
99
113
|
- ben@codeship.io
|
@@ -102,6 +116,7 @@ extensions: []
|
|
102
116
|
extra_rdoc_files: []
|
103
117
|
files:
|
104
118
|
- ".gitignore"
|
119
|
+
- ".rspec"
|
105
120
|
- Gemfile
|
106
121
|
- LICENSE.txt
|
107
122
|
- README.md
|
@@ -117,14 +132,18 @@ files:
|
|
117
132
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_branchnotfound.yml
|
118
133
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_error.yml
|
119
134
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_ignored.yml
|
135
|
+
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_infrastructure_failure.yml
|
120
136
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_projectnotfound.yml
|
137
|
+
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_stopped.yml
|
121
138
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_success.yml
|
122
139
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_testing.yml
|
123
140
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_waiting.yml
|
124
141
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_branchnotfound.yml
|
125
142
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_error.yml
|
126
143
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_ignored.yml
|
144
|
+
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_infrastructure_failure.yml
|
127
145
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_projectnotfound.yml
|
146
|
+
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_stopped.yml
|
128
147
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_success.yml
|
129
148
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_testing.yml
|
130
149
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_waiting.yml
|
@@ -150,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
169
|
version: '0'
|
151
170
|
requirements: []
|
152
171
|
rubyforge_project:
|
153
|
-
rubygems_version: 2.
|
172
|
+
rubygems_version: 2.4.5
|
154
173
|
signing_key:
|
155
174
|
specification_version: 4
|
156
175
|
summary: easily interact with Codeship.io
|
@@ -158,14 +177,18 @@ test_files:
|
|
158
177
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_branchnotfound.yml
|
159
178
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_error.yml
|
160
179
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_ignored.yml
|
180
|
+
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_infrastructure_failure.yml
|
161
181
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_projectnotfound.yml
|
182
|
+
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_stopped.yml
|
162
183
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_success.yml
|
163
184
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_testing.yml
|
164
185
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status/should_parse_waiting.yml
|
165
186
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_branchnotfound.yml
|
166
187
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_error.yml
|
167
188
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_ignored.yml
|
189
|
+
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_infrastructure_failure.yml
|
168
190
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_projectnotfound.yml
|
191
|
+
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_stopped.yml
|
169
192
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_success.yml
|
170
193
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_testing.yml
|
171
194
|
- spec/fixtures/cassettes/Codeship_Status/parsing_the_project_status_on_a_certain_branch/should_parse_waiting.yml
|