build_eval 0.0.15 → 0.0.16

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
- MjgwN2ZiZjMyOWY1YTM2YzZmNmQyZmQ0NjJhZGM4ZTY4YWQ5NTRlMw==
5
- data.tar.gz: !binary |-
6
- MTZkMmJjYjQyMjc3NWI0ZWNmY2NhMzNlMzU5YWZhMjMzNjk5ZjY3ZA==
2
+ SHA1:
3
+ metadata.gz: d2356aecba835ad6fd9b8047daf67bde2a30ad63
4
+ data.tar.gz: e4b8ad2d8e2822c1ebbac59b3702176e66d0e663
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MmRhMmNhMWJhNDZkM2RlNDZlYTEwZWE5MDIxMDYyYzJkNmQ3M2ZlMzc5OTJm
10
- MjIxOGZjZTU2ZmMwOWFmODhjMTg5YzM2Y2IyNjgyMWJjZTIyMWQxZDc0YTk0
11
- YmJiNWM0ZjA1YWIwZDkxMDZlNTYzYTEyZjBjNzMzMThjNTUwZmI=
12
- data.tar.gz: !binary |-
13
- MTU3YmRhYTZiZGRhYTVhZGJmZTZiNjlmZTliZjk3OTQzNWY0NTViZjQ0OWE1
14
- YTZlNTM2NmYxYjI0N2U0MmVlZDRjZTE0ZjU4OGE0MGY5NzRjNzA1OTkzYzUx
15
- MDFiOWM3OGQyNzQ3NDdhNDhjYTJmZDc1NjFlZTYwYjZhYzI0MzY=
6
+ metadata.gz: 49a15adab51fac059518cdcb7619805eb866957d796a8241c9c81306a0979d22d15e6c74f635fa7db7d69b46459112b0c76ba307f519be16fcded84056ab8f4b
7
+ data.tar.gz: 32e01316f973beb1e694db1e075a707c2a8453f1169d29c9d01d71cd60e66c712f4606aa593df42826c7e8fb9484656380054038970d512439f93daf84b16fd0
data/lib/build_eval.rb CHANGED
@@ -19,7 +19,7 @@ require_relative 'build_eval/server/invalid_selector_error'
19
19
  require_relative 'build_eval/server/decorator'
20
20
  require_relative 'build_eval/server/cruise_control_response'
21
21
  require_relative 'build_eval/server/team_city'
22
- require_relative 'build_eval/server/travis'
22
+ require_relative 'build_eval/server/travis_org'
23
23
  require_relative 'build_eval/server/travis_pro'
24
24
  require_relative 'build_eval/server/jenkins'
25
25
  require_relative 'build_eval/monitor/base'
@@ -1,7 +1,7 @@
1
1
  module BuildEval
2
2
  module Server
3
3
 
4
- class Travis
4
+ class TravisOrg
5
5
 
6
6
  def initialize(args)
7
7
  @username = args[:username]
@@ -18,7 +18,7 @@ module BuildEval
18
18
  end
19
19
 
20
20
  def to_s
21
- "Travis CI #{@username}"
21
+ "Travis CI Org #{@username}"
22
22
  end
23
23
 
24
24
  end
@@ -1,3 +1,3 @@
1
1
  module BuildEval
2
- VERSION = "0.0.15".freeze
2
+ VERSION = "0.0.16".freeze
3
3
  end
@@ -1,4 +1,4 @@
1
- describe BuildEval::Server::Travis do
1
+ describe BuildEval::Server::TravisOrg do
2
2
 
3
3
  let(:username) { "some_username" }
4
4
  let(:constructor_args) { { username: username } }
@@ -57,8 +57,8 @@ describe BuildEval::Server::Travis do
57
57
 
58
58
  subject { travis_server.to_s }
59
59
 
60
- it "returns a string indicating it uses the Travis CI service" do
61
- expect(subject).to include("Travis CI")
60
+ it "returns a string indicating it uses the Travis CI Org service" do
61
+ expect(subject).to include("Travis CI Org")
62
62
  end
63
63
 
64
64
  it "returns a string containing the username" do
@@ -1,8 +1,8 @@
1
1
  describe BuildEval, "integrating with a real CI server", smoke: true do
2
2
 
3
- let(:build_configurations) { BuildEval::Examples::Travis.build_configurations }
3
+ let(:build_configurations) { BuildEval::Examples::TravisOrg.build_configurations }
4
4
 
5
- let(:monitor) { BuildEval::Examples::Travis.monitor }
5
+ let(:monitor) { BuildEval::Examples::TravisOrg.monitor }
6
6
 
7
7
  describe "the evaluated results from a build monitor for the server" do
8
8
 
data/spec/spec_helper.rb CHANGED
@@ -16,7 +16,7 @@ if ENV['coverage']
16
16
  end
17
17
 
18
18
  require_relative '../lib/build_eval'
19
- require_relative '../examples/travis'
19
+ require_relative '../examples/travis_org'
20
20
 
21
21
  %w( shared_examples shared_context ).each do |file_type|
22
22
  Dir[::File.expand_path("../**/*_#{file_type}.rb", __FILE__)].each { |file| require file }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: build_eval
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Ueckerman
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-06-29 00:00:00.000000000 Z
13
+ date: 2016-08-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nokogiri
@@ -55,89 +55,89 @@ dependencies:
55
55
  - !ruby/object:Gem::Version
56
56
  version: '11.2'
57
57
  - !ruby/object:Gem::Dependency
58
- name: travis-lint
58
+ name: rubocop
59
59
  requirement: !ruby/object:Gem::Requirement
60
60
  requirements:
61
61
  - - ~>
62
62
  - !ruby/object:Gem::Version
63
- version: '2.0'
63
+ version: '0.42'
64
64
  type: :development
65
65
  prerelease: false
66
66
  version_requirements: !ruby/object:Gem::Requirement
67
67
  requirements:
68
68
  - - ~>
69
69
  - !ruby/object:Gem::Version
70
- version: '2.0'
70
+ version: '0.42'
71
71
  - !ruby/object:Gem::Dependency
72
- name: rubocop
72
+ name: rspec
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: '0.41'
77
+ version: '3.5'
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ~>
83
83
  - !ruby/object:Gem::Version
84
- version: '0.41'
84
+ version: '3.5'
85
85
  - !ruby/object:Gem::Dependency
86
- name: rspec
86
+ name: fakeweb
87
87
  requirement: !ruby/object:Gem::Requirement
88
88
  requirements:
89
89
  - - ~>
90
90
  - !ruby/object:Gem::Version
91
- version: '3.4'
91
+ version: '1.3'
92
92
  type: :development
93
93
  prerelease: false
94
94
  version_requirements: !ruby/object:Gem::Requirement
95
95
  requirements:
96
96
  - - ~>
97
97
  - !ruby/object:Gem::Version
98
- version: '3.4'
98
+ version: '1.3'
99
99
  - !ruby/object:Gem::Dependency
100
- name: fakeweb
100
+ name: simplecov
101
101
  requirement: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - ~>
104
104
  - !ruby/object:Gem::Version
105
- version: '1.3'
105
+ version: '0.12'
106
106
  type: :development
107
107
  prerelease: false
108
108
  version_requirements: !ruby/object:Gem::Requirement
109
109
  requirements:
110
110
  - - ~>
111
111
  - !ruby/object:Gem::Version
112
- version: '1.3'
112
+ version: '0.12'
113
113
  - !ruby/object:Gem::Dependency
114
- name: simplecov
114
+ name: codeclimate-test-reporter
115
115
  requirement: !ruby/object:Gem::Requirement
116
116
  requirements:
117
117
  - - ~>
118
118
  - !ruby/object:Gem::Version
119
- version: '0.11'
119
+ version: '0.6'
120
120
  type: :development
121
121
  prerelease: false
122
122
  version_requirements: !ruby/object:Gem::Requirement
123
123
  requirements:
124
124
  - - ~>
125
125
  - !ruby/object:Gem::Version
126
- version: '0.11'
126
+ version: '0.6'
127
127
  - !ruby/object:Gem::Dependency
128
- name: codeclimate-test-reporter
128
+ name: travis-lint
129
129
  requirement: !ruby/object:Gem::Requirement
130
130
  requirements:
131
131
  - - ~>
132
132
  - !ruby/object:Gem::Version
133
- version: '0.6'
133
+ version: '2.0'
134
134
  type: :development
135
135
  prerelease: false
136
136
  version_requirements: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - ~>
139
139
  - !ruby/object:Gem::Version
140
- version: '0.6'
140
+ version: '2.0'
141
141
  description: Evaluates the effective status of continuous integration builds. Useful
142
142
  for subsequent display on information radiators.
143
143
  email: matthew.ueckerman@myob.com
@@ -160,7 +160,7 @@ files:
160
160
  - ./lib/build_eval/server/invalid_selector_error.rb
161
161
  - ./lib/build_eval/server/jenkins.rb
162
162
  - ./lib/build_eval/server/team_city.rb
163
- - ./lib/build_eval/server/travis.rb
163
+ - ./lib/build_eval/server/travis_org.rb
164
164
  - ./lib/build_eval/server/travis_pro.rb
165
165
  - ./lib/build_eval/travis.rb
166
166
  - ./lib/build_eval/travis/session.rb
@@ -186,8 +186,8 @@ files:
186
186
  - ./spec/lib/build_eval/server/server_shared_examples.rb
187
187
  - ./spec/lib/build_eval/server/team_city_integration_spec.rb
188
188
  - ./spec/lib/build_eval/server/team_city_spec.rb
189
+ - ./spec/lib/build_eval/server/travis_org_spec.rb
189
190
  - ./spec/lib/build_eval/server/travis_pro_spec.rb
190
- - ./spec/lib/build_eval/server/travis_spec.rb
191
191
  - ./spec/lib/build_eval/travis/session/factory_spec.rb
192
192
  - ./spec/lib/build_eval/travis/session/pool_spec.rb
193
193
  - ./spec/lib/build_eval/travis/session/session_spec.rb
@@ -206,12 +206,12 @@ require_paths:
206
206
  - lib
207
207
  required_ruby_version: !ruby/object:Gem::Requirement
208
208
  requirements:
209
- - - ! '>='
209
+ - - '>='
210
210
  - !ruby/object:Gem::Version
211
211
  version: 1.9.3
212
212
  required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  requirements:
214
- - - ! '>='
214
+ - - '>='
215
215
  - !ruby/object:Gem::Version
216
216
  version: '0'
217
217
  requirements: []
@@ -239,8 +239,8 @@ test_files:
239
239
  - ./spec/lib/build_eval/server/server_shared_examples.rb
240
240
  - ./spec/lib/build_eval/server/team_city_integration_spec.rb
241
241
  - ./spec/lib/build_eval/server/team_city_spec.rb
242
+ - ./spec/lib/build_eval/server/travis_org_spec.rb
242
243
  - ./spec/lib/build_eval/server/travis_pro_spec.rb
243
- - ./spec/lib/build_eval/server/travis_spec.rb
244
244
  - ./spec/lib/build_eval/travis/session/factory_spec.rb
245
245
  - ./spec/lib/build_eval/travis/session/pool_spec.rb
246
246
  - ./spec/lib/build_eval/travis/session/session_spec.rb