travis 1.6.7.travis.441.6 → 1.6.7.travis.442.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZThkM2MyNTBkOGJkYTcyZTNjYjljMzQ2N2I4NDM0ZTRkNTk3MzQzMA==
4
+ NzEyOTliZjJkZjEwZmFkZTdjZTA5NTIyY2I0ODNmNTJiYTcxMTExOQ==
5
5
  data.tar.gz: !binary |-
6
- NmVhMGE3ZTdhMWQ0YmU4OWU5NTI2M2Y2YmExZWNhMDQyNjZjNWZhOQ==
6
+ ZmE0ODJlOWZmOWY2NzFjNzk3YzJmMmRlZTU3MWM2MDc3M2Y4ZDdmOQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NTY1MDRkMThhNGY3ODQ1ZjYzNDQ5MjFkZjA1ZjA3MzM2MzRlM2IyOGY2ZWJi
10
- ODMyMzdkM2EzZjI1YTUwNGM1YzJlY2IzZWQzNDkxYjAxZmI0NzJjZTYyNGVi
11
- MjdlNTdlY2NhNmVkYzEwMzVlMDA0YmJlM2VkYTFlM2QwNjgyZGY=
9
+ NGE1NWQ4ZWRhZTliZDI0YjViODQzYTk5YTk0NjI1NGE0OTAzZTY0NmZjODNj
10
+ OWFmNjIzY2MzMGJmNDIwMjRjOGUxZDZjM2EzOGJmZTU1M2I1YWFlODE1YjU3
11
+ NDNlZjE5ZDdlM2VkYmRiYjRkNjdjNWI2YWEzMTMxM2U3MzQ4YTE=
12
12
  data.tar.gz: !binary |-
13
- NjYyMjlmZGM2OTk3OGQ2OWVkYzE3ODlhYTUwMDM3ZjBlZjNjYTJjNDE4NDVj
14
- YWQxMjM3ODJkZTgwMWYzMzY4ZGQ5N2RjYjMyZmZjZTQ0MTljMWY4NTVkMWJj
15
- NTRmMzM1N2U3YTEyNzNkNzMzY2U2ZDFkMGVhODc0MzcwZDkwZjY=
13
+ NmEwYWMwZDQ1Y2IzMDU5MzYwOTkyMWI2YTRmYjRlNjhiZmU0MDRlZTQ3ZWVi
14
+ NTI5NDA2MDU3Yjk0MzM1MzE1MjkwN2JlMzYwNDY3OWFhNTQ2N2I5NjIzZmEw
15
+ ZjY2MjM4ZDlhZjM0MDYyYjM0NjEzNjFlMDkwOTlmMWIwNjljZmE=
@@ -0,0 +1,15 @@
1
+ require 'travis/client'
2
+
3
+ module Travis
4
+ module Client
5
+ class Annotation < Entity
6
+ attributes :job_id, :provider_name, :status, :url, :description
7
+
8
+ # @!parse attr_reader :job
9
+ has :job
10
+
11
+ one :annotation
12
+ many :annotations
13
+ end
14
+ end
15
+ end
@@ -0,0 +1,14 @@
1
+ require 'spec_helper'
2
+
3
+ describe Travis::Client::Annotation do
4
+ let(:session) { Travis::Client.new }
5
+ let(:job) { session.job(4125097) }
6
+ subject { job.annotations.first }
7
+ its(:id) { should be == 1 }
8
+ its(:description) { should be == "The job passed." }
9
+ its(:provider_name) { should be == "Travis CI" }
10
+ its(:url) { should be == "https://travis-ci.org/rails/rails/jobs/4125097" }
11
+ its(:status) { should be == '' }
12
+
13
+ it { should be == subject.job.annotations.first }
14
+ end
data/travis.gemspec CHANGED
@@ -15,15 +15,16 @@ Gem::Specification.new do |s|
15
15
  "Henrik Hodne",
16
16
  "Aaron Hill",
17
17
  "Peter Souter",
18
+ "Hiro Asari",
18
19
  "Peter van Dijk",
19
- "Max Barnash",
20
20
  "joshua-anderson",
21
+ "Max Barnash",
21
22
  "Mathias Meyer",
22
- "Justin Lambert",
23
23
  "Adrien Brault",
24
24
  "Laurent Petit",
25
25
  "Maarten van Vliet",
26
26
  "Mario Visic",
27
+ "Miro Hron\xC4\x8Dok",
27
28
  "Neamar",
28
29
  "Piotr Sarnacki",
29
30
  "Rapha\xC3\xABl Pinson",
@@ -33,7 +34,8 @@ Gem::Specification.new do |s|
33
34
  "Adam Lavin",
34
35
  "Benjamin Manns",
35
36
  "Jacob Burkhart",
36
- "Josh Kalderimis"
37
+ "Josh Kalderimis",
38
+ "Justin Lambert"
37
39
  ]
38
40
 
39
41
  # generated from git shortlog -sne
@@ -43,6 +45,7 @@ Gem::Specification.new do |s|
43
45
  "me@henrikhodne.com",
44
46
  "p.morsou@gmail.com",
45
47
  "henrik@hodne.io",
48
+ "asari.ruby@gmail.com",
46
49
  "peter.van.dijk@netherlabs.nl",
47
50
  "j@zatigo.com",
48
51
  "i.am@anhero.ru",
@@ -54,6 +57,7 @@ Gem::Specification.new do |s|
54
57
  "mario@mariovisic.com",
55
58
  "jlambert@eml.cc",
56
59
  "josh.kalderimis@gmail.com",
60
+ "miro@hroncok.cz",
57
61
  "neamar@neamar.fr",
58
62
  "jburkhart@engineyard.com",
59
63
  "drogus@gmail.com",
@@ -156,6 +160,7 @@ Gem::Specification.new do |s|
156
160
  "lib/travis/cli/whoami.rb",
157
161
  "lib/travis/client.rb",
158
162
  "lib/travis/client/account.rb",
163
+ "lib/travis/client/annotation.rb",
159
164
  "lib/travis/client/artifact.rb",
160
165
  "lib/travis/client/broadcast.rb",
161
166
  "lib/travis/client/build.rb",
@@ -200,6 +205,7 @@ Gem::Specification.new do |s|
200
205
  "spec/cli/version_spec.rb",
201
206
  "spec/cli/whoami_spec.rb",
202
207
  "spec/client/account_spec.rb",
208
+ "spec/client/annotation_spec.rb",
203
209
  "spec/client/broadcast_spec.rb",
204
210
  "spec/client/build_spec.rb",
205
211
  "spec/client/commit_spec.rb",
metadata CHANGED
@@ -1,22 +1,23 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: travis
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.7.travis.441.6
4
+ version: 1.6.7.travis.442.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
8
8
  - Henrik Hodne
9
9
  - Aaron Hill
10
10
  - Peter Souter
11
+ - Hiro Asari
11
12
  - Peter van Dijk
12
- - Max Barnash
13
13
  - joshua-anderson
14
+ - Max Barnash
14
15
  - Mathias Meyer
15
- - Justin Lambert
16
16
  - Adrien Brault
17
17
  - Laurent Petit
18
18
  - Maarten van Vliet
19
19
  - Mario Visic
20
+ - Miro Hrončok
20
21
  - Neamar
21
22
  - Piotr Sarnacki
22
23
  - Raphaël Pinson
@@ -27,6 +28,7 @@ authors:
27
28
  - Benjamin Manns
28
29
  - Jacob Burkhart
29
30
  - Josh Kalderimis
31
+ - Justin Lambert
30
32
  autorequire:
31
33
  bindir: bin
32
34
  cert_chain: []
@@ -221,6 +223,7 @@ email:
221
223
  - me@henrikhodne.com
222
224
  - p.morsou@gmail.com
223
225
  - henrik@hodne.io
226
+ - asari.ruby@gmail.com
224
227
  - peter.van.dijk@netherlabs.nl
225
228
  - j@zatigo.com
226
229
  - i.am@anhero.ru
@@ -232,6 +235,7 @@ email:
232
235
  - mario@mariovisic.com
233
236
  - jlambert@eml.cc
234
237
  - josh.kalderimis@gmail.com
238
+ - miro@hroncok.cz
235
239
  - neamar@neamar.fr
236
240
  - jburkhart@engineyard.com
237
241
  - drogus@gmail.com
@@ -335,6 +339,7 @@ files:
335
339
  - lib/travis/cli/whoami.rb
336
340
  - lib/travis/client.rb
337
341
  - lib/travis/client/account.rb
342
+ - lib/travis/client/annotation.rb
338
343
  - lib/travis/client/artifact.rb
339
344
  - lib/travis/client/broadcast.rb
340
345
  - lib/travis/client/build.rb
@@ -379,6 +384,7 @@ files:
379
384
  - spec/cli/version_spec.rb
380
385
  - spec/cli/whoami_spec.rb
381
386
  - spec/client/account_spec.rb
387
+ - spec/client/annotation_spec.rb
382
388
  - spec/client/broadcast_spec.rb
383
389
  - spec/client/build_spec.rb
384
390
  - spec/client/commit_spec.rb