build_eval 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +13 -5
  2. data/lib/build_eval/error.rb +4 -0
  3. data/lib/build_eval/http.rb +5 -1
  4. data/lib/build_eval/monitor/base.rb +4 -0
  5. data/lib/build_eval/monitor/composite.rb +4 -0
  6. data/lib/build_eval/monitor/server.rb +4 -0
  7. data/lib/build_eval/result/build_result.rb +6 -0
  8. data/lib/build_eval/result/composite_result.rb +4 -0
  9. data/lib/build_eval/result/server_result.rb +4 -0
  10. data/lib/build_eval/result/status.rb +11 -5
  11. data/lib/build_eval/server/cruise_control_response.rb +6 -2
  12. data/lib/build_eval/server/decorator.rb +4 -0
  13. data/lib/build_eval/server/invalid_selector_error.rb +4 -0
  14. data/lib/build_eval/server/jenkins.rb +4 -0
  15. data/lib/build_eval/server/team_city.rb +6 -2
  16. data/lib/build_eval/server/{travis_org.rb → travis.rb} +7 -4
  17. data/lib/build_eval/server/{travis_com.rb → travis_pro.rb} +9 -5
  18. data/lib/build_eval/version.rb +1 -1
  19. data/lib/build_eval.rb +7 -2
  20. data/spec/lib/build_eval/error_spec.rb +8 -4
  21. data/spec/lib/build_eval/http_shared_context.rb +3 -1
  22. data/spec/lib/build_eval/http_spec.rb +48 -29
  23. data/spec/lib/build_eval/monitor/base_spec.rb +7 -3
  24. data/spec/lib/build_eval/monitor/composite_spec.rb +8 -5
  25. data/spec/lib/build_eval/monitor/server_spec.rb +10 -6
  26. data/spec/lib/build_eval/result/build_result_spec.rb +29 -19
  27. data/spec/lib/build_eval/result/composite_result_spec.rb +18 -10
  28. data/spec/lib/build_eval/result/server_result_spec.rb +25 -13
  29. data/spec/lib/build_eval/result/status_spec.rb +70 -34
  30. data/spec/lib/build_eval/server/cruise_control_response_spec.rb +41 -25
  31. data/spec/lib/build_eval/server/decorator_spec.rb +31 -17
  32. data/spec/lib/build_eval/server/invalid_selector_error_spec.rb +11 -7
  33. data/spec/lib/build_eval/server/jenkins_integration_spec.rb +15 -10
  34. data/spec/lib/build_eval/server/jenkins_spec.rb +18 -13
  35. data/spec/lib/build_eval/server/server_shared_examples.rb +7 -3
  36. data/spec/lib/build_eval/server/team_city_integration_spec.rb +28 -19
  37. data/spec/lib/build_eval/server/team_city_spec.rb +17 -12
  38. data/spec/lib/build_eval/server/travis_pro_spec.rb +92 -0
  39. data/spec/lib/build_eval/server/{travis_org_spec.rb → travis_spec.rb} +24 -23
  40. data/spec/lib/build_eval_smoke_spec.rb +9 -6
  41. data/spec/lib/build_eval_spec.rb +16 -8
  42. metadata +92 -91
  43. data/spec/lib/build_eval/server/travis_com_spec.rb +0 -91
@@ -0,0 +1,92 @@
1
+ describe BuildEval::Server::TravisPro do
2
+ include_context "stubbed http interactions"
3
+
4
+ let(:username) { "some_username" }
5
+ let(:github_token) { "ABCD1234" }
6
+ let(:constructor_args) do
7
+ {
8
+ username: username,
9
+ github_token: github_token
10
+ }
11
+ end
12
+
13
+ let(:travis_pro_server) { described_class.new(constructor_args) }
14
+
15
+ before(:example) { allow(::Travis::Pro).to receive(:github_auth) }
16
+
17
+ describe "#initialize" do
18
+
19
+ subject { described_class.new(constructor_args) }
20
+
21
+ it "establishes the GitHub auth token" do
22
+ expect(Travis::Pro).to receive(:github_auth).with(github_token)
23
+
24
+ subject
25
+ end
26
+
27
+ end
28
+
29
+ describe "#build_result" do
30
+
31
+ let(:build_name) { "some_build_name" }
32
+ let(:travis_repository) { instance_double(Travis::Client::Repository) }
33
+ let(:travis_build) { instance_double(Travis::Client::Build) }
34
+ let(:build_result) { instance_double(BuildEval::Result::BuildResult) }
35
+
36
+ subject { travis_pro_server.build_result(build_name) }
37
+
38
+ before(:example) do
39
+ allow(Travis::Pro::Repository).to receive(:find).and_return(travis_repository)
40
+ allow(travis_repository).to receive(:last_build).and_return(travis_build)
41
+ allow(travis_build).to receive(:failed?).and_return(false)
42
+ allow(BuildEval::Result::BuildResult).to receive(:create).and_return(build_result)
43
+ end
44
+
45
+ it "retrieves the relevant Travis repository" do
46
+ expect(Travis::Pro::Repository).to receive(:find).with("#{username}/#{build_name}").and_return(travis_repository)
47
+
48
+ subject
49
+ end
50
+
51
+ it "retrieves the last build on the Travis repository" do
52
+ expect(travis_repository).to receive(:last_build).and_return(travis_build)
53
+
54
+ subject
55
+ end
56
+
57
+ it "retrieves the build status from the build" do
58
+ expect(travis_build).to receive(:failed?).and_return(false)
59
+
60
+ subject
61
+ end
62
+
63
+ it "creates a build result" do
64
+ expect(BuildEval::Result::BuildResult).to receive(:create).with(
65
+ build_name: "#{username}/#{build_name}",
66
+ status_name: "Success"
67
+ ).and_return(build_result)
68
+
69
+ subject
70
+ end
71
+
72
+ it "returns the parsed build result" do
73
+ expect(subject).to eql(build_result)
74
+ end
75
+
76
+ end
77
+
78
+ describe "#to_s" do
79
+
80
+ subject { travis_pro_server.to_s }
81
+
82
+ it "returns a string indicating it uses the Travis Pro service" do
83
+ expect(subject).to include("Travis CI Pro")
84
+ end
85
+
86
+ it "returns a string containing the username" do
87
+ expect(subject).to include(username)
88
+ end
89
+
90
+ end
91
+
92
+ end
@@ -1,16 +1,17 @@
1
- describe BuildEval::Server::TravisOrg do
2
- include_context 'stubbed http interactions'
1
+ describe BuildEval::Server::Travis do
2
+ include_context "stubbed http interactions"
3
3
 
4
- let(:username) { 'some_username' }
4
+ let(:username) { "some_username" }
5
5
  let(:constructor_args) { { username: username } }
6
6
 
7
7
  let(:travis_server) { described_class.new(constructor_args) }
8
8
 
9
- describe '#build_result' do
10
- let(:build_name) { 'some_build_name' }
11
- let(:travis_repository) { instance_double(Travis::Client::Repository) }
12
- let(:travis_build) { instance_double(Travis::Client::Build) }
13
- let(:build_result) { instance_double(BuildEval::Result::BuildResult) }
9
+ describe "#build_result" do
10
+
11
+ let(:build_name) { "some_build_name" }
12
+ let(:travis_repository) { instance_double(Travis::Client::Repository) }
13
+ let(:travis_build) { instance_double(Travis::Client::Build) }
14
+ let(:build_result) { instance_double(BuildEval::Result::BuildResult) }
14
15
 
15
16
  subject { travis_server.build_result(build_name) }
16
17
 
@@ -21,51 +22,51 @@ describe BuildEval::Server::TravisOrg do
21
22
  allow(BuildEval::Result::BuildResult).to receive(:create).and_return(build_result)
22
23
  end
23
24
 
24
- it 'retrieves the relevant Travis repository' do
25
+ it "retrieves the relevant Travis repository" do
25
26
  expect(Travis::Repository).to receive(:find).with("#{username}/#{build_name}").and_return(travis_repository)
26
27
 
27
- begin
28
- subject
29
- rescue
30
- Exception
31
- end
28
+ subject
32
29
  end
33
30
 
34
- it 'retrieves the last build on the Travis repository' do
31
+ it "retrieves the last build on the Travis repository" do
35
32
  expect(travis_repository).to receive(:last_build).and_return(travis_build)
36
33
 
37
34
  subject
38
35
  end
39
36
 
40
- it 'retrieves the build status from the build' do
37
+ it "retrieves the build status from the build" do
41
38
  expect(travis_build).to receive(:failed?).and_return(false)
42
39
 
43
40
  subject
44
41
  end
45
42
 
46
- it 'creates a build result' do
43
+ it "creates a build result" do
47
44
  expect(BuildEval::Result::BuildResult).to receive(:create).with(
48
45
  build_name: "#{username}/#{build_name}",
49
- status_name: 'Success'
46
+ status_name: "Success"
50
47
  ).and_return(build_result)
51
48
 
52
49
  subject
53
50
  end
54
51
 
55
- it 'returns the parsed build result' do
52
+ it "returns the parsed build result" do
56
53
  expect(subject).to eql(build_result)
57
54
  end
55
+
58
56
  end
59
57
 
60
- describe '#to_s' do
58
+ describe "#to_s" do
59
+
61
60
  subject { travis_server.to_s }
62
61
 
63
- it 'returns a string indicating it uses the Travis CI Org service' do
64
- expect(subject).to include('Travis CI Org')
62
+ it "returns a string indicating it uses the Travis CI service" do
63
+ expect(subject).to include("Travis CI")
65
64
  end
66
65
 
67
- it 'returns a string containing the username' do
66
+ it "returns a string containing the username" do
68
67
  expect(subject).to include(username)
69
68
  end
69
+
70
70
  end
71
+
71
72
  end
@@ -1,9 +1,10 @@
1
- describe BuildEval, 'integrating with a real CI server', smoke: true do
2
- let(:server) { BuildEval.server(type: :TravisOrg, username: 'MYOB-Technology') }
1
+ describe BuildEval, "integrating with a real CI server", smoke: true do
2
+ let(:server) { BuildEval.server(type: :Travis, username: "MYOB-Technology") }
3
3
 
4
- let(:monitor) { server.monitor('build_eval') }
4
+ let(:monitor) { server.monitor("build_eval") }
5
+
6
+ describe "the evaluated results from a build monitor for the server" do
5
7
 
6
- describe 'the evaluated results from a build monitor for the server' do
7
8
  let(:tolerated_statuses) do
8
9
  [
9
10
  BuildEval::Result::Status::SUCCESS,
@@ -15,12 +16,14 @@ describe BuildEval, 'integrating with a real CI server', smoke: true do
15
16
 
16
17
  subject { monitor.evaluate }
17
18
 
18
- it 'indicate the builds status' do
19
+ it "indicate the builds status" do
19
20
  expect(tolerated_statuses).to include(subject.status)
20
21
  end
21
22
 
22
- it "describe the build and it's status" do
23
+ it "describe the build and its status" do
23
24
  expect(subject.to_s).to match(/build_eval: (#{tolerated_statuses.map(&:to_s).join("|")})/)
24
25
  end
26
+
25
27
  end
28
+
26
29
  end
@@ -1,30 +1,34 @@
1
1
  describe BuildEval do
2
- describe '::server' do
2
+
3
+ describe "::server" do
4
+
3
5
  class BuildEval::Server::TestableServer
6
+
4
7
  def initialize(_args)
5
8
  # Intentionally blank
6
9
  end
10
+
7
11
  end
8
12
 
9
13
  let(:server_type) { :TestableServer }
10
- let(:server_arguments) { { key1: 'value1', key2: 'value2', key3: 'value3' } }
14
+ let(:server_arguments) { { key1: "value1", key2: "value2", key3: "value3" } }
11
15
  let(:args) { { type: server_type }.merge(server_arguments) }
12
16
 
13
17
  subject { described_class.server(args) }
14
18
 
15
- it 'constructs an instance of the server with the provided type' do
19
+ it "constructs an instance of the server with the provided type" do
16
20
  expect(BuildEval::Server::TestableServer).to receive(:new)
17
21
 
18
22
  subject
19
23
  end
20
24
 
21
- it 'constructs the instance with additional arguments' do
25
+ it "constructs the instance with additional arguments" do
22
26
  expect(BuildEval::Server::TestableServer).to receive(:new).with(server_arguments)
23
27
 
24
28
  subject
25
29
  end
26
30
 
27
- it 'decorates the server with standard server behaviour' do
31
+ it "decorates the server with standard server behaviour" do
28
32
  server = instance_double(BuildEval::Server::TestableServer)
29
33
  allow(BuildEval::Server::TestableServer).to receive(:new).and_return(server)
30
34
  expect(BuildEval::Server::Decorator).to receive(:new).with(server)
@@ -32,19 +36,23 @@ describe BuildEval do
32
36
  subject
33
37
  end
34
38
 
35
- it 'returns the decorated server' do
39
+ it "returns the decorated server" do
36
40
  server_decorator = instance_double(BuildEval::Server::Decorator)
37
41
  allow(BuildEval::Server::Decorator).to receive(:new).and_return(server_decorator)
38
42
 
39
43
  expect(subject).to eql(server_decorator)
40
44
  end
41
45
 
42
- context 'when a server of the provided type is not found' do
46
+ context "when a server of the provided type is not found" do
47
+
43
48
  let(:server_type) { :invalid_type }
44
49
 
45
- it 'raises an error indicating the server type is invalid' do
50
+ it "raises an error indicating the server type is invalid" do
46
51
  expect { subject }.to raise_error("Server type '#{server_type}' is invalid")
47
52
  end
53
+
48
54
  end
55
+
49
56
  end
57
+
50
58
  end
metadata CHANGED
@@ -1,140 +1,141 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: build_eval
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Ueckerman
8
8
  - Ryan Davis
9
+ - Andy King
9
10
  autorequire:
10
11
  bindir: bin
11
12
  cert_chain: []
12
- date: 2016-06-01 00:00:00.000000000 Z
13
+ date: 2016-06-22 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: nokogiri
16
17
  requirement: !ruby/object:Gem::Requirement
17
18
  requirements:
18
- - - "~>"
19
+ - - ~>
19
20
  - !ruby/object:Gem::Version
20
21
  version: '1.6'
21
22
  type: :runtime
22
23
  prerelease: false
23
24
  version_requirements: !ruby/object:Gem::Requirement
24
25
  requirements:
25
- - - "~>"
26
+ - - ~>
26
27
  - !ruby/object:Gem::Version
27
28
  version: '1.6'
28
29
  - !ruby/object:Gem::Dependency
29
30
  name: travis
30
31
  requirement: !ruby/object:Gem::Requirement
31
32
  requirements:
32
- - - "~>"
33
+ - - ~>
33
34
  - !ruby/object:Gem::Version
34
35
  version: '1.8'
35
36
  type: :runtime
36
37
  prerelease: false
37
38
  version_requirements: !ruby/object:Gem::Requirement
38
39
  requirements:
39
- - - "~>"
40
+ - - ~>
40
41
  - !ruby/object:Gem::Version
41
42
  version: '1.8'
42
43
  - !ruby/object:Gem::Dependency
43
44
  name: rake
44
45
  requirement: !ruby/object:Gem::Requirement
45
46
  requirements:
46
- - - "~>"
47
+ - - ~>
47
48
  - !ruby/object:Gem::Version
48
- version: '11.1'
49
+ version: '11.2'
49
50
  type: :development
50
51
  prerelease: false
51
52
  version_requirements: !ruby/object:Gem::Requirement
52
53
  requirements:
53
- - - "~>"
54
+ - - ~>
54
55
  - !ruby/object:Gem::Version
55
- version: '11.1'
56
+ version: '11.2'
56
57
  - !ruby/object:Gem::Dependency
57
58
  name: travis-lint
58
59
  requirement: !ruby/object:Gem::Requirement
59
60
  requirements:
60
- - - "~>"
61
+ - - ~>
61
62
  - !ruby/object:Gem::Version
62
63
  version: '2.0'
63
64
  type: :development
64
65
  prerelease: false
65
66
  version_requirements: !ruby/object:Gem::Requirement
66
67
  requirements:
67
- - - "~>"
68
+ - - ~>
68
69
  - !ruby/object:Gem::Version
69
70
  version: '2.0'
70
71
  - !ruby/object:Gem::Dependency
71
72
  name: rubocop
72
73
  requirement: !ruby/object:Gem::Requirement
73
74
  requirements:
74
- - - "~>"
75
+ - - ~>
75
76
  - !ruby/object:Gem::Version
76
- version: 0.40.0
77
+ version: '0.40'
77
78
  type: :development
78
79
  prerelease: false
79
80
  version_requirements: !ruby/object:Gem::Requirement
80
81
  requirements:
81
- - - "~>"
82
+ - - ~>
82
83
  - !ruby/object:Gem::Version
83
- version: 0.40.0
84
+ version: '0.40'
84
85
  - !ruby/object:Gem::Dependency
85
86
  name: rspec
86
87
  requirement: !ruby/object:Gem::Requirement
87
88
  requirements:
88
- - - "~>"
89
+ - - ~>
89
90
  - !ruby/object:Gem::Version
90
91
  version: '3.4'
91
92
  type: :development
92
93
  prerelease: false
93
94
  version_requirements: !ruby/object:Gem::Requirement
94
95
  requirements:
95
- - - "~>"
96
+ - - ~>
96
97
  - !ruby/object:Gem::Version
97
98
  version: '3.4'
98
99
  - !ruby/object:Gem::Dependency
99
100
  name: fakeweb
100
101
  requirement: !ruby/object:Gem::Requirement
101
102
  requirements:
102
- - - "~>"
103
+ - - ~>
103
104
  - !ruby/object:Gem::Version
104
105
  version: '1.3'
105
106
  type: :development
106
107
  prerelease: false
107
108
  version_requirements: !ruby/object:Gem::Requirement
108
109
  requirements:
109
- - - "~>"
110
+ - - ~>
110
111
  - !ruby/object:Gem::Version
111
112
  version: '1.3'
112
113
  - !ruby/object:Gem::Dependency
113
114
  name: simplecov
114
115
  requirement: !ruby/object:Gem::Requirement
115
116
  requirements:
116
- - - "~>"
117
+ - - ~>
117
118
  - !ruby/object:Gem::Version
118
119
  version: '0.11'
119
120
  type: :development
120
121
  prerelease: false
121
122
  version_requirements: !ruby/object:Gem::Requirement
122
123
  requirements:
123
- - - "~>"
124
+ - - ~>
124
125
  - !ruby/object:Gem::Version
125
126
  version: '0.11'
126
127
  - !ruby/object:Gem::Dependency
127
128
  name: codeclimate-test-reporter
128
129
  requirement: !ruby/object:Gem::Requirement
129
130
  requirements:
130
- - - "~>"
131
+ - - ~>
131
132
  - !ruby/object:Gem::Version
132
133
  version: '0.5'
133
134
  type: :development
134
135
  prerelease: false
135
136
  version_requirements: !ruby/object:Gem::Requirement
136
137
  requirements:
137
- - - "~>"
138
+ - - ~>
138
139
  - !ruby/object:Gem::Version
139
140
  version: '0.5'
140
141
  description: Evaluates the effective status of continuous integration builds. Useful
@@ -144,47 +145,47 @@ executables: []
144
145
  extensions: []
145
146
  extra_rdoc_files: []
146
147
  files:
147
- - "./lib/build_eval.rb"
148
- - "./lib/build_eval/error.rb"
149
- - "./lib/build_eval/http.rb"
150
- - "./lib/build_eval/monitor/base.rb"
151
- - "./lib/build_eval/monitor/composite.rb"
152
- - "./lib/build_eval/monitor/server.rb"
153
- - "./lib/build_eval/result/build_result.rb"
154
- - "./lib/build_eval/result/composite_result.rb"
155
- - "./lib/build_eval/result/server_result.rb"
156
- - "./lib/build_eval/result/status.rb"
157
- - "./lib/build_eval/server/cruise_control_response.rb"
158
- - "./lib/build_eval/server/decorator.rb"
159
- - "./lib/build_eval/server/invalid_selector_error.rb"
160
- - "./lib/build_eval/server/jenkins.rb"
161
- - "./lib/build_eval/server/team_city.rb"
162
- - "./lib/build_eval/server/travis_com.rb"
163
- - "./lib/build_eval/server/travis_org.rb"
164
- - "./lib/build_eval/version.rb"
165
- - "./spec/lib/build_eval/error_spec.rb"
166
- - "./spec/lib/build_eval/http_shared_context.rb"
167
- - "./spec/lib/build_eval/http_spec.rb"
168
- - "./spec/lib/build_eval/monitor/base_spec.rb"
169
- - "./spec/lib/build_eval/monitor/composite_spec.rb"
170
- - "./spec/lib/build_eval/monitor/server_spec.rb"
171
- - "./spec/lib/build_eval/result/build_result_spec.rb"
172
- - "./spec/lib/build_eval/result/composite_result_spec.rb"
173
- - "./spec/lib/build_eval/result/server_result_spec.rb"
174
- - "./spec/lib/build_eval/result/status_spec.rb"
175
- - "./spec/lib/build_eval/server/cruise_control_response_spec.rb"
176
- - "./spec/lib/build_eval/server/decorator_spec.rb"
177
- - "./spec/lib/build_eval/server/invalid_selector_error_spec.rb"
178
- - "./spec/lib/build_eval/server/jenkins_integration_spec.rb"
179
- - "./spec/lib/build_eval/server/jenkins_spec.rb"
180
- - "./spec/lib/build_eval/server/server_shared_examples.rb"
181
- - "./spec/lib/build_eval/server/team_city_integration_spec.rb"
182
- - "./spec/lib/build_eval/server/team_city_spec.rb"
183
- - "./spec/lib/build_eval/server/travis_com_spec.rb"
184
- - "./spec/lib/build_eval/server/travis_org_spec.rb"
185
- - "./spec/lib/build_eval_smoke_spec.rb"
186
- - "./spec/lib/build_eval_spec.rb"
187
- - "./spec/spec_helper.rb"
148
+ - ./lib/build_eval.rb
149
+ - ./lib/build_eval/error.rb
150
+ - ./lib/build_eval/http.rb
151
+ - ./lib/build_eval/monitor/base.rb
152
+ - ./lib/build_eval/monitor/composite.rb
153
+ - ./lib/build_eval/monitor/server.rb
154
+ - ./lib/build_eval/result/build_result.rb
155
+ - ./lib/build_eval/result/composite_result.rb
156
+ - ./lib/build_eval/result/server_result.rb
157
+ - ./lib/build_eval/result/status.rb
158
+ - ./lib/build_eval/server/cruise_control_response.rb
159
+ - ./lib/build_eval/server/decorator.rb
160
+ - ./lib/build_eval/server/invalid_selector_error.rb
161
+ - ./lib/build_eval/server/jenkins.rb
162
+ - ./lib/build_eval/server/team_city.rb
163
+ - ./lib/build_eval/server/travis.rb
164
+ - ./lib/build_eval/server/travis_pro.rb
165
+ - ./lib/build_eval/version.rb
166
+ - ./spec/lib/build_eval/error_spec.rb
167
+ - ./spec/lib/build_eval/http_shared_context.rb
168
+ - ./spec/lib/build_eval/http_spec.rb
169
+ - ./spec/lib/build_eval/monitor/base_spec.rb
170
+ - ./spec/lib/build_eval/monitor/composite_spec.rb
171
+ - ./spec/lib/build_eval/monitor/server_spec.rb
172
+ - ./spec/lib/build_eval/result/build_result_spec.rb
173
+ - ./spec/lib/build_eval/result/composite_result_spec.rb
174
+ - ./spec/lib/build_eval/result/server_result_spec.rb
175
+ - ./spec/lib/build_eval/result/status_spec.rb
176
+ - ./spec/lib/build_eval/server/cruise_control_response_spec.rb
177
+ - ./spec/lib/build_eval/server/decorator_spec.rb
178
+ - ./spec/lib/build_eval/server/invalid_selector_error_spec.rb
179
+ - ./spec/lib/build_eval/server/jenkins_integration_spec.rb
180
+ - ./spec/lib/build_eval/server/jenkins_spec.rb
181
+ - ./spec/lib/build_eval/server/server_shared_examples.rb
182
+ - ./spec/lib/build_eval/server/team_city_integration_spec.rb
183
+ - ./spec/lib/build_eval/server/team_city_spec.rb
184
+ - ./spec/lib/build_eval/server/travis_pro_spec.rb
185
+ - ./spec/lib/build_eval/server/travis_spec.rb
186
+ - ./spec/lib/build_eval_smoke_spec.rb
187
+ - ./spec/lib/build_eval_spec.rb
188
+ - ./spec/spec_helper.rb
188
189
  homepage: http://github.com/MYOB-Technology/build_eval
189
190
  licenses:
190
191
  - MIT
@@ -195,41 +196,41 @@ require_paths:
195
196
  - lib
196
197
  required_ruby_version: !ruby/object:Gem::Requirement
197
198
  requirements:
198
- - - ">="
199
+ - - ! '>='
199
200
  - !ruby/object:Gem::Version
200
201
  version: 1.9.3
201
202
  required_rubygems_version: !ruby/object:Gem::Requirement
202
203
  requirements:
203
- - - ">="
204
+ - - ! '>='
204
205
  - !ruby/object:Gem::Version
205
206
  version: '0'
206
207
  requirements: []
207
208
  rubyforge_project: build_eval
208
- rubygems_version: 2.5.1
209
+ rubygems_version: 2.4.8
209
210
  signing_key:
210
211
  specification_version: 4
211
212
  summary: Evaluates the effective status of continuous integration builds
212
213
  test_files:
213
- - "./spec/lib/build_eval/error_spec.rb"
214
- - "./spec/lib/build_eval/http_shared_context.rb"
215
- - "./spec/lib/build_eval/http_spec.rb"
216
- - "./spec/lib/build_eval/monitor/base_spec.rb"
217
- - "./spec/lib/build_eval/monitor/composite_spec.rb"
218
- - "./spec/lib/build_eval/monitor/server_spec.rb"
219
- - "./spec/lib/build_eval/result/build_result_spec.rb"
220
- - "./spec/lib/build_eval/result/composite_result_spec.rb"
221
- - "./spec/lib/build_eval/result/server_result_spec.rb"
222
- - "./spec/lib/build_eval/result/status_spec.rb"
223
- - "./spec/lib/build_eval/server/cruise_control_response_spec.rb"
224
- - "./spec/lib/build_eval/server/decorator_spec.rb"
225
- - "./spec/lib/build_eval/server/invalid_selector_error_spec.rb"
226
- - "./spec/lib/build_eval/server/jenkins_integration_spec.rb"
227
- - "./spec/lib/build_eval/server/jenkins_spec.rb"
228
- - "./spec/lib/build_eval/server/server_shared_examples.rb"
229
- - "./spec/lib/build_eval/server/team_city_integration_spec.rb"
230
- - "./spec/lib/build_eval/server/team_city_spec.rb"
231
- - "./spec/lib/build_eval/server/travis_com_spec.rb"
232
- - "./spec/lib/build_eval/server/travis_org_spec.rb"
233
- - "./spec/lib/build_eval_smoke_spec.rb"
234
- - "./spec/lib/build_eval_spec.rb"
235
- - "./spec/spec_helper.rb"
214
+ - ./spec/lib/build_eval/error_spec.rb
215
+ - ./spec/lib/build_eval/http_shared_context.rb
216
+ - ./spec/lib/build_eval/http_spec.rb
217
+ - ./spec/lib/build_eval/monitor/base_spec.rb
218
+ - ./spec/lib/build_eval/monitor/composite_spec.rb
219
+ - ./spec/lib/build_eval/monitor/server_spec.rb
220
+ - ./spec/lib/build_eval/result/build_result_spec.rb
221
+ - ./spec/lib/build_eval/result/composite_result_spec.rb
222
+ - ./spec/lib/build_eval/result/server_result_spec.rb
223
+ - ./spec/lib/build_eval/result/status_spec.rb
224
+ - ./spec/lib/build_eval/server/cruise_control_response_spec.rb
225
+ - ./spec/lib/build_eval/server/decorator_spec.rb
226
+ - ./spec/lib/build_eval/server/invalid_selector_error_spec.rb
227
+ - ./spec/lib/build_eval/server/jenkins_integration_spec.rb
228
+ - ./spec/lib/build_eval/server/jenkins_spec.rb
229
+ - ./spec/lib/build_eval/server/server_shared_examples.rb
230
+ - ./spec/lib/build_eval/server/team_city_integration_spec.rb
231
+ - ./spec/lib/build_eval/server/team_city_spec.rb
232
+ - ./spec/lib/build_eval/server/travis_pro_spec.rb
233
+ - ./spec/lib/build_eval/server/travis_spec.rb
234
+ - ./spec/lib/build_eval_smoke_spec.rb
235
+ - ./spec/lib/build_eval_spec.rb
236
+ - ./spec/spec_helper.rb